joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d014
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49d04c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049b08f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049b067
jmp 0x49d058
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49e813
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49e855
call fcn.004a4a49
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49e855
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49e84c
xor eax, eax
jmp 0x49e85d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049e863
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a4f79
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a4fa7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a4fc5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a4edf
jmp 0x4a4fc5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a4fc5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a4edf
test edi, edi
mov eax, edi
jne 0x4a4faf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x6750f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16b000]
push edi
jmp 0x67510a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x675111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x675100
mov eax, 1
add ebx, ebx
jne 0x675123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x675134
jne 0x675153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x675153
dec eax
add ebx, ebx
jne 0x675140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x675118
add ebx, ebx
jne 0x67514f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6751a5
xor ecx, ecx
sub eax, 3
jb 0x67516b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6751da
sar eax, 1
mov ebp, eax
jmp 0x675176
add ebx, ebx
jne 0x675176
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x675144
inc ecx
add ebx, ebx
jne 0x675184
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x675144
add ebx, ebx
jne 0x675191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x675186
jne 0x6751a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x675186
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6751c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6751b6
jmp 0x675106
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6751c4
add edi, ecx
jmp 0x675106
pop esi
mov edi, esi
mov ecx, 0x88ca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6751e2
cmp byte [edi], 0x1e
jne 0x6751e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6751e7
lea edi, [esi + 0x272000]
mov eax, dword [edi]
or eax, eax
je 0x67525f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28b530]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28b668]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x675214
mov ecx, edi
jns 0x675243
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28b670]
or eax, eax
je 0x675259
mov dword [ebx], eax
add ebx, 4
jmp 0x675231
call dword [esi + 0x28b66c]
mov ebp, dword [esi + 0x28b674]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x675293
sub esp, 0xffffff80
jmp 0x51d381
Function at 0x10004e24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d8a0]
jne 0x10004e2e
repz ret
jmp fcn.1000951c

Function at 0x10005032
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1000d8b0]
je 0x1000504d
inc edi
cmp edi, 0x17
jb 0x1000503e
cmp edi, 0x17
jae 0x100051cd
push ebp
push 3
call fcn.10009cf4
cmp eax, 1
pop ecx
je 0x10005199
push 3
call fcn.10009cf4
test eax, eax
pop ecx
jne 0x10005081
cmp dword [0x1000e01c], 1
je 0x10005199
cmp ebx, 0xfc
je 0x100051cc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1000e1d8
push ebp
call fcn.10004b6b
add esp, 0xc
test eax, eax
je 0x100050b7
push esi
push esi
push esi
push esi
push esi
call fcn.1000434a
add esp, 0x14
push 0x104
mov esi, 0x1000e1f1
push esi
push 0
mov byte [0x1000e2f5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100050fb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10004b6b
add esp, 0xc
test eax, eax
je 0x100050fb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000434a
add esp, 0x14
push esi
call fcn.10004ae0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10005140
push esi
call fcn.10004ae0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1000e4ec
push 0x1000b85c
sub ecx, eax
push ecx
push eax
call fcn.100077a6
add esp, 0x14
test eax, eax
je 0x10005140
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1000434a
add esp, 0x14
jmp 0x10005142
xor esi, esi
push 0x1000b858
push ebx
push ebp
call fcn.100076ec
add esp, 0xc
test eax, eax
je 0x10005162
push esi
push esi
push esi
push esi
push esi
call fcn.1000434a
add esp, 0x14
push dword [edi*8 + 0x1000d8b4]
push ebx
push ebp
call fcn.100076ec
add esp, 0xc
test eax, eax
je 0x10005184
push esi
push esi
push esi
push esi
push esi
call fcn.1000434a
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10009b37
add esp, 0xc
jmp 0x100051cc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x100051cc
cmp ebp, 0xffffffff
je 0x100051cc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1000d8b4]
push dword [esi]
call fcn.10004ae0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10009b37
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000263f
xor ebx, ebx
cmp dword [0x1000e9a4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10009c0d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10009ced
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10009ced
push eax
call fcn.100025d1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000e9a4], eax
call esi
push eax
call fcn.100025d1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000e9a8], eax
call esi
push eax
call fcn.100025d1
mov dword [0x1000e9ac], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10002312
test eax, eax
pop ecx
pop ecx
je 0x10009bdb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000434a
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10009c0d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100025d1
cmp eax, ebx
pop ecx
mov dword [0x1000e9b4], eax
je 0x10009c0d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100025d1
pop ecx
mov dword [0x1000e9b0], eax
mov eax, dword [0x1000e9b0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10009c92
cmp dword [0x1000e9b4], ecx
je 0x10009c92
push eax
call fcn.10002648
push dword [0x1000e9b4]
mov esi, eax
call fcn.10002648
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10009c92
cmp edi, ebx
je 0x10009c92
call esi
cmp eax, ebx
je 0x10009c5f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10009c5f
test byte [ebp - 0x18], 1
jne 0x10009c92
lea eax, [ebp - 0x10]
push eax
call fcn.10002349
test eax, eax
pop ecx
je 0x10009c7a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000434a
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10009c89
or dword [ebp + 0x10], 0x200000
jmp 0x10009ccd
or dword [ebp + 0x10], 0x40000
jmp 0x10009ccd
mov eax, dword [0x1000e9a8]
cmp eax, dword [ebp - 8]
je 0x10009ccd
push eax
call fcn.10002648
cmp eax, ebx
pop ecx
je 0x10009ccd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10009ccd
mov eax, dword [0x1000e9ac]
cmp eax, dword [ebp - 8]
je 0x10009ccd
push eax
call fcn.10002648
cmp eax, ebx
pop ecx
je 0x10009ccd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000e9a4]
call fcn.10002648
cmp eax, ebx
pop ecx
je 0x10009ced
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10009cef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402590
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40259e
call dword [0x412018]
or eax, eax
je 0x40259f
ret
mov al, 1
jmp fcn.00402610

Function at 0x4025a8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025b6
call dword [0x41201c]
or eax, eax
jne 0x4025b7
ret
mov al, 2
jmp fcn.00402610

Function at 0x4025c0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025f8
test edx, edx
je 0x4025e2
push eax
mov eax, ecx
call dword [0x412020]
pop ecx
or eax, eax
je 0x4025f1
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402610
mov dword [eax], edx
mov eax, ecx
call dword [0x41201c]
or eax, eax
jne 0x4025db
ret
mov al, 1
jmp fcn.00402610
test edx, edx
je 0x40260c
push eax
mov eax, edx
call dword [0x412018]
pop ecx
or eax, eax
je 0x4025f1
mov dword [ecx], eax
ret

Function at 0x402610
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x413004]
test ecx, ecx
je 0x402620
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402639]
jns 0x402634
call fcn.00405828
mov eax, dword [eax + 4]
jmp fcn.004035ac

Function at 0x402654
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00405828
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x402669
ret
xor eax, eax
jmp fcn.00402610

Function at 0x402754
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402783
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036a0
jmp 0x4027a1
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004026dc
mov edi, eax
test ebx, ebx
je 0x4027a1
cmp dword [esi], 0
je 0x4027a1
dec ebx
jmp 0x40278a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40295c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4029d4
xor eax, eax
push ebp
push 0x4029cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402a10
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4029d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402b68
Capabilities:
Terminate process

Disassembly:
cmp dword [0x413018], 0
je 0x4027bb
call dword [0x413018]
mov eax, 0xd2
jmp fcn.004035ac
push eax
push ecx
mov eax, dword [eax]
call fcn.00402b38
pop ecx
pop eax
je 0x402b77
jmp ebx
pop ecx
jmp 0x4027ac
Function at 0x40331c
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x41349c
lea edi, [ebp - 0x3c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop dword [0x4134bc]
pop dword [0x4134b8]
mov dword [0x4134b0], ebp
mov dword [0x4134b4], ebx
mov dword [0x4134a4], eax
mov dword [0x4134ac], edx
lea ecx, [ebp - 0x3c]
mov dword [0x41349c], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x403365
mov ecx, dword [eax]
mov dword [0x4134a8], ecx
call fcn.00403214
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x4134c0], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x4134c4], edx
je 0x403388
call dword [ecx + eax*4]
mov edx, dword [esp + 4]
test edx, edx
je 0x403395
mov eax, dword [ebp + 0xc]
call edx
cmp dword [0x41301c], 0
jne 0x4033ab
mov byte [0x413024], 1
fnstcw word [section.DATA]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00403480
call fcn.004032bc
ret 4

Function at 0x4035a0
Capabilities:
Terminate process

Disassembly:
mov dword [0x413030], eax
jmp fcn.00403480

Function at 0x403b4c
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402610
test edx, edx
je fcn.00403b10
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403b10
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403b08
ret

Function at 0x403b9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0
je 0x403c82
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403bec
cmp al, 0xb
je 0x403c06
cmp al, 0xc
je 0x403c1d
cmp al, 0xd
je 0x403c2c
cmp al, 0xe
je 0x403c4a
cmp al, 0xf
je 0x403c60
cmp al, 0x11
je 0x403c6f
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402610
cmp ecx, 1
mov eax, ebx
jg 0x403bfd
call fcn.004035b8
jmp 0x403c7e
mov edx, ecx
call fcn.004035dc
jmp 0x403c7e
cmp ecx, 1
mov eax, ebx
jg 0x403c14
call fcn.00403b10
jmp 0x403c7e
mov edx, ecx
call fcn.00403b28
jmp 0x403c7e
mov eax, ebx
add ebx, 0x10
call fcn.0040436c
dec edi
jg 0x403c1d
jmp 0x403c7e
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00403b9c
dec edi
jg 0x403c2f
pop ebp
jmp 0x403c7e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403b70
dec edi
jg 0x403c4d
pop ebp
jmp 0x403c7e
mov eax, ebx
add ebx, 4
call fcn.00404b8c
dec edi
jg 0x403c60
jmp 0x403c7e
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404560
dec edi
jg 0x403c6f
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x403c84
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403b9c
Function at 0x403c90
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x403cbc
mov edx, eax
add eax, esi
add edx, ebx
call fcn.0040269c
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x403cfb
cmp cl, 0xb
je 0x403d0c
cmp cl, 0xc
je 0x403d1d
cmp cl, 0xd
je 0x403d2e
cmp cl, 0xe
je 0x403d4e
cmp cl, 0xf
je 0x403d67
cmp cl, 0x11
je 0x403d78
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402610
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040360c
mov eax, 4
jmp 0x403d89
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b4c
mov eax, 4
jmp 0x403d89
lea edx, [esi + eax]
add eax, ebx
call fcn.00404028
mov eax, 0x10
jmp 0x403d89
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.00403dac
pop eax
jmp 0x403d89
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00403c90
pop eax
jmp 0x403d89
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404ba4
mov eax, 4
jmp 0x403d89
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040459c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x403caa
pop ecx
sub ecx, eax
jle 0x403da5
lea edx, [ebx + eax]
add eax, esi
call fcn.0040269c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403dac
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x403df2
cmp cl, 0xb
je 0x403e09
cmp cl, 0xc
je 0x403e1d
cmp cl, 0xd
je 0x403e31
cmp cl, 0xe
je 0x403e52
cmp cl, 0xf
je 0x403e6f
cmp cl, 0x11
je 0x403e83
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402610
mov eax, ebx
mov edx, dword [esi]
call fcn.0040360c
add ebx, 4
add esi, 4
dec ebp
jne 0x403df2
jmp 0x403e97
mov eax, ebx
mov edx, dword [esi]
call fcn.00403b4c
add ebx, 4
add esi, 4
dec ebp
jne 0x403e09
jmp 0x403e97
mov eax, ebx
mov edx, esi
call fcn.00404028
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x403e1d
jmp 0x403e97
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.00403dac
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x403e3a
jmp 0x403e97
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00403c90
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x403e52
jmp 0x403e97
mov eax, ebx
mov edx, dword [esi]
call fcn.00404ba4
add ebx, 4
add esi, 4
dec ebp
jne 0x403e6f
jmp 0x403e97
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.0040459c
add ebx, 4
add esi, 4
dec ebp
jne 0x403e83
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404028
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402610
cmp eax, edx
je 0x4040c0
cmp word [eax], 8
jb 0x404060
push eax
push edx
cmp word [eax], 0x100
je 0x404056
cmp word [eax], 0x101
je 0x40404e
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40405e
call dword [0x4133e0]
jmp 0x40405e
add eax, 8
call fcn.004035b8
pop edx
pop eax
cmp word [edx], 8
jae 0x404077
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x404092
cmp word [edx], 0x101
jne 0x4040ac
push eax
call 0x404066
pop eax
jmp dword [0x4133e8]
mov edx, dword [edx + 8]
or edx, edx
je 0x4040a3
mov ecx, dword [edx - 8]
inc ecx
jle 0x4040a3
lock inc dword [edx - 8]
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403fdc
ret
Function at 0x4047cc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404988
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40482d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4049a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40489f
xor eax, eax
push ebp
push 0x404898
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404624
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404881
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4049c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40489f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404980
cmp byte [ebp - 0xd], 0
jne 0x4048e1
cmp byte [ebp - 0x12], 0
je 0x404980
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4048fa
dec ebx
cmp byte [ebx], 0x2e
je 0x404909
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4048f9
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404980
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404936
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404980
cmp byte [ebp - 0xd], 0
je 0x404980
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404980
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408d98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x408dd1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004036a0
jmp 0x408dda
mov eax, ebx
mov edx, esi
call fcn.0040360c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4