joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100155d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov ecx, 0xd
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, 0x100037e8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf003f
lea ecx, [esp + 0x24]
push 0
push ecx
push reloc.WS2_32.dll_bind
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100156f3
mov ecx, 0x1f3
lea edi, [esp + 0x55]
mov byte [esp + 0x54], al
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x54]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 7
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0x100037e0
push edx
mov dword [esp + 0x30], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100156e8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esp + 0x54]
mov esi, ecx
test si, si
je 0x100156f3
cmp si, 1
je 0x100156f3
push 0x100032a8
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x100156d8
mov eax, esi
and eax, 0xffff
test si, si
lea ebx, [ebx + eax + 1]
lea ebp, [eax + ebp + 1]
je 0x100156f3
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1001568d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x814
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x814
ret
Function at 0x10015740
Capabilities:
Contain obfuscated stackstrings
Set file attributes

Disassembly:
sub esp, 0x440
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6e
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x46], 0x33
mov byte [esp + 0x47], 0x32
mov byte [esp + 0x48], 0x2e
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x6c
mov byte [esp + 0x4c], 0
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x46
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x454]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
mov dword [esp + 0x64], eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001593a
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x4c], 0
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x5005
xor edi, edi
idiv ecx
mov ebp, edx
test ebp, ebp
jle 0x10015918
mov edx, edi
and edx, 0x800003ff
jns 0x100158dc
dec edx
or edx, 0xfffffc00
inc edx
jne 0x100158fd
xor esi, esi
call dword [sym.imp.MSVCRT.dll_rand]
add eax, esi
mov ecx, 0xff
cdq
idiv ecx
inc esi
cmp esi, 0x400
mov byte [esp + esi + 0x4f], dl
jl 0x100158e0
lea edx, [esp + 0x4c]
push 0
push edx
lea eax, [esp + 0x58]
push 0x400
push eax
push ebx
call dword [esp + 0x5c]
inc edi
cmp edi, ebp
jl 0x100158ca
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x10003620]
mov edx, dword [esp + 0x454]
and ecx, 0xffff
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret
Function at 0x4069bf
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea edx, [ecx - 1]
push esi
mov ebx, edx
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
cmp edi, ebx
jge 0x406a22
lea esi, [eax + eax]
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebp
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.00404942
movzx eax, al
xor eax, 1
imul edi, edi, 0x18
inc eax
add eax, esi
pop ecx
imul esi, eax, 0x18
pop ecx
add edi, ebp
push 6
pop ecx
add esi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, eax
cmp eax, ebx
jl 0x4069e5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp eax, ebx
jne 0x406a3f
test cl, 1
jne 0x406a3f
imul eax, ecx, 0x18
lea esi, [ebp - 0x18]
imul edi, edi, 0x18
push 6
pop ecx
add esi, eax
add edi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, edx
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.00406aec
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x408114
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push 0x6c078965
push dword [esp + 0xc]
or dword [esi + 0x1384], 0xffffffff
call fcn.0041460b
mov eax, esi
pop esi
ret 4
Function at 0x4115d4
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x411729
push 0x29
pop edi
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x411729
cmp eax, edi
jne 0x411614
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x411729
cmp eax, edi
jne 0x411614
test dword [esi + 0x50], ebp
je 0x411738
cmp eax, 0x2e
jne 0x41162f
push 5
lea ecx, [esi + 0x24]
call fcn.00413396
mov ecx, esi
call fcn.004133cc
jmp 0x411714
cmp eax, 0x5c
jne 0x411681
mov ecx, esi
call fcn.004133cc
test byte [esi + 0x50], 0x80
je 0x411675
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x41165e
push 4
lea ecx, [esi + 0x24]
call fcn.00413396
mov ecx, esi
call fcn.004133cc
jmp 0x41171b
cmp al, 0x42
jne 0x411675
push 4
lea ecx, [esi + 0x24]
call fcn.00413396
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x411652
mov ecx, esi
call fcn.00411742
jmp 0x411714
cmp eax, 0x5b
jne 0x4116a1
mov ecx, esi
call fcn.004133cc
mov ecx, esi
call fcn.00411d18
cmp dword [esi + 0x4c], 0x5d
je 0x411623
push 4
jmp 0x41173a
cmp eax, 0x28
jne 0x4116bd
mov ecx, esi
call fcn.004133cc
mov ecx, esi
call fcn.00413858
mov bl, al
cmp dword [esi + 0x4c], edi
jne 0x411738
jmp 0x411709
cmp eax, 0x5e
jne 0x4116c6
push 2
jmp 0x41164a
cmp eax, 0x24
jne 0x4116d2
push 3
jmp 0x41164a
cmp eax, 0x2a
je 0x411734
cmp eax, 0x2b
je 0x411734
cmp eax, 0x3f
je 0x411734
cmp eax, 0x7b
je 0x411734
cmp eax, 0x7d
jne 0x4116f0
test dword [esi + 0x50], ebp
je 0x411730
cmp eax, 0x5d
jne 0x4116fa
test dword [esi + 0x50], ebp
je 0x41169a
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00410ffd
mov bl, 1
mov ecx, esi
call fcn.004133cc
test bl, bl
je 0x41171b
mov ecx, esi
call fcn.004133fa
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4115ee
pop edi
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x41173a
push 0xa
jmp 0x41173a
push 5
mov ecx, esi
call fcn.00412a9b
int3

Function at 0x4134c5
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, 0x7fffffff
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4134dd
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x41351e
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebp
pop ebx
ret
Function at 0x41358b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x413594
pop esi
ret

Function at 0x41460b
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x414620
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8
Function at 0x42f26d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4b2384]
xor eax, esp
mov dword [esp + 0x68], eax
cmp byte [esp + 0x70], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
je 0x42f3d0
push 5
pop ebx
push 4
pop esi
xor edx, edx
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ebx
lea ebp, [ecx + 0x74]
mov dword [esp + 0x30], esi
lea edi, [esp + 0x28]
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x3c], 0x15
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 8
mov dword [esp + 0x48], 0xb
mov dword [esp + 0x4c], 0x12
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], 0x11
mov dword [esp + 0x60], 0xe
mov dword [esp + 0x64], 0x16
mov dword [esp + 0x68], 0x17
mov dword [esp + 0x6c], 0x20
mov dword [esp + 0x70], 0x14
mov dword [esp + 0x74], 0x13
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 9
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [ebp]
mov ecx, dword [esp + 0x14]
jne 0x42f38c
add eax, dword [esp + 0x18]
push 0
push 1
push 1
push edi
push edx
push dword [ecx + eax*4]
mov ecx, dword [ecx + 0x20]
call dword [0x45819c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebp, esi
mov dword [esp + 0x10], eax
cmp eax, ebx
jb 0x42f35b
mov eax, dword [esp + 0x18]
add eax, ebx
mov dword [esp + 0x18], eax
cmp eax, 0x1d
jb 0x42f355
inc edi
lea ebp, [ecx + 0x74]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x10], ebx
jb 0x42f343
inc edx
lea ebp, [ecx + 0x74]
mov dword [esp + 0x20], edx
cmp edx, esi
jb 0x42f339
jmp 0x42f3fe
push 4
xor ebp, ebp
lea edi, [ecx + 0x24]
pop esi
xor ebx, ebx
mov ecx, dword [ecx + 0x20]
push 0
push 1
push 1
push ebx
push ebp
push dword [edi]
call dword [0x45819c]
mov ecx, dword [esp + 0x14]
inc ebx
add edi, esi
cmp ebx, 5
jb 0x42f3da
inc ebp
cmp ebp, esi
jb 0x42f3d8
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044d404
add esp, 0x6c
ret 4
Function at 0x62ba12
Capabilities:
Encode data using xor

Disassembly:
mov ebx, dword [esp]
push edx
push esp
pop edx
add edx, 4
push eax
jmp 0x62ba01
mov dword [esp], esp
add dword [esp], 4
push dword [esp]
pop ebx
jmp 0x62c1cd
inc edx
xor edx, 0x8a4e2ad8
push edx
pop esi
jmp 0x62bbda
sub esp, 4
jmp 0x62b7b2
mov edi, esp
push eax
mov eax, 4
jmp 0x62c184
mov eax, 0x7eeff5c1
not eax
sub eax, 0x81100a3a
add edx, eax
mov eax, dword [esp]
push ebp
mov ebp, esp
push esi
push eax
mov eax, 0x7ff79294
xor eax, 0xd883482
jmp 0x62c07a
add ebx, 0x16fe6031
add ebx, edi
sub ebx, 0x16fe6031
add ebx, 0x5beb3979
mov edi, dword [esp]
add esp, 4
jmp 0x62c178
add eax, 4
jmp 0x62bcb8
pop edx
xor eax, esi
jmp 0x62c18b
not esi
sub esi, 0x5f9fcd5f
push ebx
push ebp
mov ebp, 0x7fe6116b
jmp 0x62be81
add ebx, eax
add ebx, 0x77f7fd54
pop eax
jmp 0x62bf65
mov ecx, 0x7fbf8ca2
sub ebx, ecx
mov ecx, dword [esp]
push ebx
mov dword [esp], eax
mov dword [esp], ebp
jmp 0x62bf46
xchg dword [esp], eax
mov esp, dword [esp]
xor esi, 0x7c9c7db4
xor esi, 0x2cb24ec1
add ebp, esi
pop esi
add ebp, 4
xchg dword [esp], ebp
mov esp, dword [esp]
push edx
push dword [esp + 4]
mov edx, dword [esp]
add esp, 4
pop dword [esp]
jmp 0x62c106
shl esi, 6
jmp 0x62c24c
pop ebp
xor esi, ebx
jmp 0x62bfa7
add ebp, 0xb98f9a6c
mov ebx, ebp
jmp 0x62be3f
push esp
pop ebp
add ebp, 4
add ebp, 4
xor ebp, dword [esp]
xor dword [esp], ebp
jmp 0x62bff4
add ebx, 0x737728cb
add ebx, dword [esp]
push edx
mov edx, 0x6d75fef4
sub edx, 0x7e7d1cad
shl edx, 4
xor edx, 0x9cf90cbb
add ebx, 0x7bf7dc91
sub ebx, edx
sub ebx, 0x7bf7dc91
pop edx
jmp 0x62c28e
mov ebx, dword [esp]
push eax
mov eax, esp
jmp 0x62c0ee
xor ebp, dword [esp]
jmp 0x62c0ab
sub edi, 0x3f7db06f
sub edi, 0xf0a75487
sub ebx, edi
pop edi
jmp 0x62ba35
add ebp, 0x73ea80fb
xor ebp, 0x6f5e2337
dec ebp
xor ebp, 0xf434bcd0
and edx, ebp
mov ebp, dword [esp]
jmp fcn.0062bbe2
mov esi, eax
pop eax
push eax
mov dword [esp], ebp
mov ebp, 0x3b7b0c1c
sub esi, ebp
pop ebp
jmp 0x62bc1e
mov esp, dword [esp]
push ebx
jmp 0x62b8f8
push ecx
mov ecx, 4
jmp 0x62c128
mov esp, dword [esp]
sti
sub esp, 4
mov dword [esp], eax
mov eax, 0x7de56673
push esi
push edx
push ebx
mov dword [esp], 0x71c91773
pop edx
jmp 0x62c14c
add eax, ecx
pop ecx
jmp 0x62bb37
or edx, 0x772a2cc4
not edx
jmp 0x62b8c9
push esi
jmp 0x62c29c
add edi, eax
jmp 0x62c1dd
pop esi
sub ebx, 0x77f7fd54
jmp 0x62bc6c
push ebx
mov dword [esp], 0xc9c4e28
mov dword [esp], edi
jmp 0x62b9f4
pop eax
push esi
mov esi, 0x277fadc0
or esi, 0x3fde0ddc
jmp 0x62bd55
not esi
inc esi
xor esi, 0x148904
add edi, esi
mov esi, dword [esp]
add esp, 4
xchg dword [esp], edi
jmp 0x62c278
mov esp, dword [esp]
push edi
mov edi, 4
push edi
mov edi, 0x73efc191
neg edi
jmp 0x62bffc
sub esp, 4
mov dword [esp], ecx
jmp 0x62bc96
mov esi, 4
add ebx, esi
pop esi
xor ebx, dword [esp]
jmp 0x62c2ac
xor dword [esp], ebx
jmp 0x62c2b4
xor ebx, dword [esp]
mov esp, dword [esp]
push ecx
mov dword [esp], esi
mov dword [esp], 0x7d7e064e
sub esp, 4
mov dword [esp], edi
push esi
push edx
mov edx, 0x7c37d7d2
not edx
neg edx
push ebp
mov ebp, 0x73b3152c
jmp 0x62c010
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401aa0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40e068]
test eax, eax
je 0x401adf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401adf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401adf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401adf
cmp dword [ecx + 0x74], 0xe
jbe 0x401adf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x425c20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x47c
push ebx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], 0
push eax
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push str.C:Windows
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x42ba74], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [0x42ba78], ecx
cmp dword [ecx], 0x4550
jne 0x425fd5
xor edx, edx
push ebp
mov dx, word [ecx + 0x14]
push esi
mov esi, edx
mov edx, dword [0x42ba64]
mov edi, ecx
lea edx, [edx + edx*4]
add edi, esi
lea esi, [edi + edx*8 + 0x18]
mov edx, dword [0x42b030]
mov edi, edx
inc edx
cmp edi, 1
mov dword [0x42ba7c], esi
mov dword [0x42b030], edx
jne 0x425d9d
mov edx, 0x425c00
sub edx, eax
mov dword [0x42ba5c], edx
xor edx, edx
mov dx, word [ecx + 6]
mov dword [0x42ba80], edx
mov edi, dword [ecx + 0x80]
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [ecx + 0xa0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edi
xor edi, edi
test edx, edx
jmp 0x4301ed
jmp 0x10303e1
pop edi
xor eax, eax
pop ebx
add esp, 0x47c
ret

Function at 0x4263d6
Capabilities:
Terminate process

Disassembly:
cmp dword [0x42bbb0], 2
je 0x4263e4
jmp fcn.0042f941
push dword [esp + 4]
call fcn.00427769
pop ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x427769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42b190
cmp edx, dword [eax]
je 0x42778b
add eax, 8
inc ecx
cmp eax, 0x42b220
jl 0x42777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42b190]
jne 0x4278b9
mov eax, dword [0x42bbb0]
cmp eax, 1
je 0x427893
test eax, eax
jne 0x4277bc
cmp dword [0x42b0e4], 1
je 0x427893
cmp edx, 0xfc
je 0x4278b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4277f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00428670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00428490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00428490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42a45c
push edi
call fcn.00428f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00428670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00428680
lea eax, [ebp - 0xa0]
push 0x42a43c
push eax
call fcn.00428680
push dword [esi + 0x42b194]
lea eax, [ebp - 0xa0]
push eax
jmp 0x430714
lea eax, [ebp + 8]
lea esi, [esi + 0x42b194]
push 0
push eax
push dword [esi]
call fcn.00428490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4036b0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040ea60
mov eax, dword [0x2c4fbe4]
mov ecx, dword [0x2c4fb58]
shr eax, 3
test eax, eax
jbe 0x4037eb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403700
cmp dword [0x2c4fbe4], 0x959
jne 0x4037cd
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d88
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402da8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402dec
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402df4
push 0x402e0c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004034e0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret