joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423078]
jne 0x4033c6
repz ret
jmp fcn.004053f1

Function at 0x40734b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004033cb
and dword [ebp - 0x14], 0
cmp dword [0xe59a94], 0
mov dword [ebp - 0x18], eax
jne 0x4073fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4074a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4074a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xe59a94], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xe59a98], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xe59a9c], eax
call edi
push eax
call esi
mov dword [0xe59aa4], eax
test eax, eax
je 0x4073fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xe59aa0], eax
mov eax, dword [0xe59aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407457
cmp dword [0xe59aa4], ecx
je 0x407457
push eax
call esi
push dword [0xe59aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407457
test ebx, ebx
je 0x407457
call edi
test eax, eax
je 0x40744e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40744e
test byte [ebp - 8], 1
jne 0x407457
or dword [ebp + 0x10], 0x200000
jmp 0x40748a
mov eax, dword [0xe59a98]
cmp eax, dword [ebp - 0x18]
je 0x40748a
push eax
call esi
test eax, eax
je 0x40748a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40748a
mov eax, dword [0xe59a9c]
cmp eax, dword [ebp - 0x18]
je 0x40748a
push eax
call esi
test eax, eax
je 0x40748a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xe59a94]
call esi
test eax, eax
je 0x4074a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4074a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004033bc
leave
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40611c
pop dword [ebp - 0xc]
mov eax, 0x43c4c957
add eax, 0xbc7b97c5
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x2a623b01
add dword [ebp - 0x1c], 0x23f00a4a
mov dword [ebp - 0x18], 0x1dca0050
sub dword [ebp - 0x18], 0xeb96b40b
mov dword [ebp - 0x14], 0x5c643815
add dword [ebp - 0x14], 0xefe80c19
mov dword [ebp - 0x10], 0xfe8abe1a
sub dword [ebp - 0x10], 0xfe8abe1a
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xec2ebf6
sub dword [ebp - 0x1c], 0x9a5082a0
mov dword [ebp - 0x18], 0x34189e08
sub dword [ebp - 0x18], 0xf2ac3c93
mov dword [ebp - 0x14], 0x55381da6
sub dword [ebp - 0x14], 0xf1c8b13a
mov dword [ebp - 0x10], 0x9e5ee81d
add dword [ebp - 0x10], 0x61a117e3
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3ae93
push 0
call eax
mov ecx, 0x5f3b8bfb
sub ecx, 0x5f3b32c5
mov edi, eax
mov edx, 0x7f847abb
sub edx, 0x7f437abb
add edx, dword [ebp - 0xc]
mov esi, 0x33d5da5a
add dword [ebp - 4], ebx
mov ebx, dword [edx]
sub dword [ebp - 8], 0x124d80ec
add ebx, esi
xor dword [ebp - 8], 0xbd72bcb2
mov dword [edi], ebx
mov dword [ebp - 8], 0x6d6f3b2
add edi, 0x59d1258e
add edi, 0xa62eda76
add edx, 0x6fc2c93
sub edx, 0x6fc2c8f
loop 0x40622e
add eax, 0x157ab
xor ebx, ebx
add ebx, eax
add eax, 0x7b40162f
add eax, 0x84bfe9d6
mov ecx, 0x4cd8aba
add ecx, 0xfb727546
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x403361
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [edi + 4]
xor ebx, ebx
cmp dword [0x2420900], 0x594
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], eax
jne 0x4033ae
push 0x402e08
push 0x402e14
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0x402e28
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [str.__niX]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4284ac]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.00403357
mov eax, dword [0x4284b0]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4284b4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
jmp 0x4033ec
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x2420900], 0xc
mov dword [ebp - 4], eax
jne 0x403451
push ebx
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc4c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2420900]
cmp eax, 0xfa9
jne 0x40346d
mov dword [0x241fe9c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40347a
mov dword [0x241f84c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add eax, esi
shr esi, cl
mov dword [ebp - 0x14], eax
mov dword [0x241fe98], 0xf4ea3dee
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor esi, dword [ebp - 4]
cmp dword [0x2420900], 0x213
mov dword [ebp - 0x14], esi
jne 0x4034b7
push 0x402e40
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea esi, [eax + edx]
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
xor eax, esi
xor dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0040335e
add dword [ebp - 0x10], 0x61c88647
dec dword [ebp - 0x20]
jne 0x4033e9
cmp dword [0x2420900], 0xa6d
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
jne 0x403523
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4056c0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x408560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x69]
rcl dword [ebp + 0x14], 0x50
mov eax, dword [ebp + 0x10]
and eax, dword [eax]
push ecx
mov ecx, dword [ebp + 0xc]

Function at 0x408db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
fcmovnb st(0), st(0)
setne cl
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
cmp cl, bh
inc eax
push esi
jg 0xf4c503
je 0x4090be
dec ecx
cmp ecx, 0xf
push cs
xchg dword [eax], eax
add esp, ecx
add byte [ebx], dh
shr byte [ebp + 0x4091ecc3], cl
add bh, bh
and al, 0x95
clc
nop
inc eax
add byte [ebx - 0xcccf78b], cl
mov ecx, dword [esi - 0x7e]
or dword [esi - 0x53], 0xffffff80
hlt
add byte [ecx + 0x34ecffb4], ah
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
adc dword [esi], 0xffffffdb
btr dword [ebp - 0x76], ebx
sar edi, cl
mov bl, 0x8f
cmp ecx, 0x8000
outsb dx, byte [esi]
or al, 0xb8
push ss
or byte [eax], al
sub dword [esi - 0x75], ebx
in eax, 0xed
ret 0x3d0c
Function at 0x4226cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4226db
pop dword [ebp - 0x44]
mov eax, 0x4226db
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3c1da
push 0
mov eax, 0xea09b0e5
sub eax, 0xe9c75ecd
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x412f
xor edx, edx
add edx, eax
mov edi, 0x8a2beeeb
add edi, 0x76176515
add edi, dword [ebp - 0x44]
mov esi, 0x51ad9f3b
add esi, 0xfde42fdd
mov dword [ebp - 0x28], 0x3e28a173
mov ebx, dword [edi]
sub dword [ebp - 0x28], edi
add ebx, esi
xor dword [ebp - 8], 0x53317f30
mov dword [edx], ebx
add edx, 0xdb9ef00e
sub edx, 0xdb9ef00a
add edi, 4
loop 0x422731
add eax, 0xcddb7e29
sub eax, 0xcdda869a
mov ebx, eax
add eax, 0x3af0806b
sub eax, 0x3af08066
mov ecx, 0x933fd91e
add ecx, 0x6d0026e2
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4034cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4034db
pop dword [ebp - 0x3c]
mov eax, 0x4034db
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x617645e3
sub dword [ebp - 0x4c], 0x13240098
mov dword [ebp - 0x48], 0xb501d1e5
sub dword [ebp - 0x48], 0x82ce85a0
mov dword [ebp - 0x44], 0x96eb0e81
add dword [ebp - 0x44], 0xb56135ad
mov dword [ebp - 0x40], 0xd0654daf
add dword [ebp - 0x40], 0x2f9ab251
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x6876745f
sub eax, 0x6836340b
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe4dc3358
add dword [ebp - 0x4c], 0x8f9635fe
mov dword [ebp - 0x48], 0x60b50e98
sub dword [ebp - 0x48], 0x1f48ad23
mov dword [ebp - 0x44], 0x77af0b54
add dword [ebp - 0x44], 0xebc06118
mov dword [ebp - 0x40], 0xc9f3fd70
add dword [ebp - 0x40], 0x360c0290
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x5ae9f22d
add eax, 0xa5564e23
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x368f0
push 0
call eax
mov ecx, 0xa4144931
add ecx, 0x5bebfd80
xor edx, edx
add edx, eax
mov esi, 0x408400
add esi, dword [ebp - 0x3c]
mov ebx, 0x4111c79f
xor dword [ebp - 0x28], 0xcc60cca6
mov edi, dword [esi]
xor dword [ebp - 0x10], 0x98ea9f1f
xor edi, ebx
xor dword [ebp - 0x24], 0x797f7d52
mov dword [edx], edi
mov dword [ebp - 0x20], 0x9d5ba8c9
add edx, 0x4d455df3
sub edx, 0x4d455def
add esi, 4
loop 0x4035ee
add eax, 0xd8bfba17
sub eax, 0xd8beac80
mov ebx, eax
add eax, 0x220e4600
add eax, 0xddf1ba05
mov ecx, 0x5110afdb
add ecx, 0xaf2f5025
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x402a3c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404088
test esi, esi
jne 0x402a72
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404178
jmp 0x402a90
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402950
mov edi, eax
test esi, esi
je 0x402a90
cmp dword [ebx], 0
je 0x402a90
dec esi
jmp 0x402a79
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403124
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40319c
xor eax, eax
push ebp
push 0x403195
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 0x4031d8
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 0x40319c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46a020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e88
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46c048], 0
je 0x403ee9
cmp word [0x46c21c], 0xd7b2
jne 0x403eb1
cmp dword [0x46c224], 0
jbe 0x403eb1
mov eax, 0x46c218
call dword [0x46c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46a06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46a030], 0
jne 0x403f05
push 0
push 0x46a064
push 0x46a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40403c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x46c049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404004
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405fa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406006
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004042f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ce8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ff0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40600d
lea eax, [ebp - 0x10]
call fcn.00404088
ret

Function at 0x40b6f4
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 0x40b72d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404178
jmp 0x40b736
mov eax, ebx
mov edx, esi
call fcn.004040dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b740
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b761
mov al, byte [esp]
jmp 0x40b763
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bde8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc60
mov eax, dword [0x46b948]
cmp byte [eax], 0
je 0x40be64
mov eax, dword [0x46b65c]
call fcn.00402b54
call fcn.00402844
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408d6c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40beac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be9a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46b5e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46c664]
call fcn.004054b4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c700
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c7d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404120
lea eax, [ebp - 8]
call fcn.00404598
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404548
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c7c0
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404548
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c7a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c7e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c7a3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7c0
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7dd
lea eax, [ebp - 8]
call fcn.00404088
ret

Function at 0x40cd5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cdc0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004042f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004086a4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdc7
lea eax, [ebp - 0xc]
call fcn.00404088
ret

Function at 0x41b034
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041ae8c
dec esi
jne 0x41b056
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41c198
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46c888
cmp dword [edi], 0
jne 0x41c214
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46c884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46a46c
mov ecx, 2
call fcn.00402910
mov edx, 0x41c170
lea eax, [esi + 5]
call fcn.0041c190
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c190
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c1e9
mov dword [0x46c884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d790
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41d796
ret

Function at 0x41fc2c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41fc7d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41fc64
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41fc54
jmp 0x41fc7d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41fc65
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428764
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404538
xor eax, eax
push ebp
push 0x428892
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x428865
xor eax, eax
push ebp
push 0x42885e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404348
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x428833
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x428822
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404348
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404548
mov edx, ebx
pop ecx
call fcn.00402910
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428829
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46b548]
mov dl, 1
mov eax, dword [0x4073c8]
call fcn.0040bf6c
call fcn.00403a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428899
lea eax, [ebp - 4]
call fcn.00404088
ret