joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ec54108
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6f618018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6f618018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6ec54167
jmp 0x6ec541a6
jmp 0x6ec541e5
jmp 0x6ec54224
jmp 0x6ec54263
jmp 0x6ec542a2
jmp 0x6ec542e1
jmp 0x6ec54320
jmp 0x6ec5435f
jmp 0x6ec5439e
jmp 0x6ec543dd
jmp 0x6ec5441c
jmp 0x6ec5445b
jmp 0x6ec5449a
jmp 0x6ec544d9
jmp 0x6ec54518
jmp 0x6ec54557
jmp 0x6ec54596
mov dword [ebp - 0x14], 0
jmp 0x6ec545dc
jmp 0x6ec5461b
jmp 0x6ec5465a
jmp 0x6ec54699
jmp 0x6ec546d8
jmp 0x6ec54717
jmp 0x6ec54756
jmp 0x6ec54795
jmp 0x6ec547d4
jmp 0x6ec54813
jmp 0x6ec54852
jmp 0x6ec54891
jmp 0x6ec548d0
jmp 0x6ec5490f
jmp 0x6ec5494e
jmp 0x6ec5498d
jmp 0x6ec549cc
jmp 0x6ec54a0b
mov dword [ebp - 0x18], 0
jmp 0x6ec54a51
jmp 0x6ec54a90
jmp 0x6ec54acf
jmp 0x6ec54b0e
jmp 0x6ec54b4d
jmp 0x6ec54b8c
jmp 0x6ec54bcb
jmp 0x6ec54c0a
jmp 0x6ec54c49
jmp 0x6ec54c88
jmp 0x6ec54cc7
jmp 0x6ec54d06
jmp 0x6ec54d45
jmp 0x6ec54d84
jmp 0x6ec54dc3
jmp 0x6ec54e02
jmp 0x6ec54e41
jmp 0x6ec54e80
mov dword [ebp - 0x10], 0
jmp 0x6ec54ec6
jmp 0x6ec54f05
jmp 0x6ec54f44
jmp 0x6ec54f83
jmp 0x6ec54fc2
jmp 0x6ec55001
jmp 0x6ec55040
jmp 0x6ec5507f
jmp 0x6ec550be
jmp 0x6ec550fd
jmp 0x6ec5513c
jmp 0x6ec5517b
jmp 0x6ec551ba
jmp 0x6ec551f9
jmp 0x6ec55238
jmp 0x6ec55277
jmp 0x6ec552b6
jmp 0x6ec552f5
mov dword [ebp - 0x10], 0
jmp 0x6ec5696f
jmp 0x6ec55340
jmp 0x6ec5537f
jmp 0x6ec553be
jmp 0x6ec553fd
jmp 0x6ec5543c
jmp 0x6ec5547b
jmp 0x6ec554ba
jmp 0x6ec554f9
jmp 0x6ec55538
jmp 0x6ec55577
jmp 0x6ec555b6
jmp 0x6ec555f5
jmp 0x6ec55634
jmp 0x6ec55673
jmp 0x6ec556b2
jmp 0x6ec556f1
jmp 0x6ec55730
jmp 0x6ec5576f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x6f618014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6ec557bf
jmp 0x6ec557fe
jmp 0x6ec5583d
jmp 0x6ec5587c
jmp 0x6ec558bb
jmp 0x6ec558fa
jmp 0x6ec55939
jmp 0x6ec55978
jmp 0x6ec559b7
jmp 0x6ec559f6
jmp 0x6ec55a35
jmp 0x6ec55a74
jmp 0x6ec55ab3
jmp 0x6ec55af2
jmp 0x6ec55b31
jmp 0x6ec55b70
jmp 0x6ec55baf
jmp 0x6ec55bee
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6f61801c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6ec55c3e
jmp 0x6ec55c7d
jmp 0x6ec55cbc
jmp 0x6ec55cfb
jmp 0x6ec55d3a
jmp 0x6ec55d79
jmp 0x6ec55db8
jmp 0x6ec55df7
jmp 0x6ec55e36
jmp 0x6ec55e75
jmp 0x6ec55eb4
jmp 0x6ec55ef3
jmp 0x6ec55f32
jmp 0x6ec55f71
jmp 0x6ec55fb0
jmp 0x6ec55fef
jmp 0x6ec5602e
jmp 0x6ec5606d
mov eax, dword [0x6f618008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp fcn.6ec560ca
mov eax, dword [0x6f618018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6ec55301
nop
leave
ret
Function at 0x412210
Capabilities:
Parse pe header

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

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1ce94343
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x298c1801
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x438c8b
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
push 0xef5ccfa1
pop ebx
call fcn.00438cb7
and ebx, eax
or eax, eax
dec ebx
xor dword [edi], edx
inc ebx
inc edi
sub eax, ebx
and ebx, eax
cmp edi, ecx
jne fcn.00438c8b
and eax, ebx
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push 0x5040d1
push 0x504088
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x40236a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4023c4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4023c4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4023b4
cmp esi, ecx
jae 0x4023c4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4023a2
cmp esi, ecx
jae 0x4023c4
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x4023c6
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x404842
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404881
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404881
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404881
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404881
cmp dword [ecx + 0x74], 0xe
jbe 0x404881
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402f50
Capabilities:
Query or enumerate registry value

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

Function at 0x403d1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x457044], 0
je 0x403d7d
cmp word [0x457218], 0xd7b2
jne 0x403d45
cmp dword [0x457220], 0
jbe 0x403d45
mov eax, 0x457214
call dword [0x457230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45506c
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 0x403da4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x455030], 0
jne 0x403d99
push 0
push 0x455064
push 0x45506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4050f8
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 0xf0019
push 0
push 0x405328
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40517b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405328
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40517b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405344
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405204
xor eax, eax
push ebp
push 0x4051fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404f40
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4051e2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405364
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4051e2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405204
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x40531e
cmp byte [ebp - 0xd], 0
jne 0x40524b
cmp byte [ebp - 0x12], 0
je 0x40531e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405264
dec ebx
cmp byte [ebx], 0x2e
je 0x405273
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405263
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40531e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4052b0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40531e
cmp byte [ebp - 0xd], 0
je 0x40531e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40531e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x405a24
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 0x405a8a
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.00404108
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a74
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a91
lea eax, [ebp - 0x10]
call fcn.00403e98
ret

Function at 0x40ad6c
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 0x40ada5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f88
jmp 0x40adae
mov eax, ebx
mov edx, esi
call fcn.00403eec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40adb8
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 0x40add9
mov al, byte [esp]
jmp 0x40addb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b460
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b2d8
mov eax, dword [0x4560ec]
cmp byte [eax], 0
je 0x40b4dc
mov eax, dword [0x455f04]
call fcn.00402980
call fcn.00402824
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.00408390
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 0x40b524
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b512
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x455eb0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x457660]
call fcn.00404f04
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 0x40bd78
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 0x40be4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f30
lea eax, [ebp - 8]
call fcn.004043a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404358
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be38
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be31
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.00404358
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be1b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be60
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be1b
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 0x40be38
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be55
lea eax, [ebp - 8]
call fcn.00403e98
ret

Function at 0x40c2cc
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 0x40c330
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.00404108
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e08
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c337
lea eax, [ebp - 0xc]
call fcn.00403e98
ret

Function at 0x41ac88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457884
cmp dword [edi], 0
jne 0x41ad04
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x457880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x455478
mov ecx, 2
call fcn.004028b8
mov edx, 0x41ac60
lea eax, [esi + 5]
call fcn.0041ac80
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ac80
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 0x41acd9
mov dword [0x457880], 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 0x41bf18
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 0x41bf1e
ret
Function at 0x41e3d4
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 0x41e425
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e40c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e3fc
jmp 0x41e425
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 0x41e40d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d614
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42d560
call sub.user32.dll_EnumWindows
ret

Function at 0x42d734
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42d7b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042d194
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42d759
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042cd94
cmp dword [ebp - 4], 0
je 0x42d79b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404358
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d7b8
lea eax, [ebp - 4]
call fcn.00403e98
ret

Function at 0x430cac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x430cfc]
test si, 4
je 0x430cc0
or bl, 1
test si, 8
je 0x430cca
or bl, 4
test si, 1
je 0x430cd4
or bl, 8
test si, 2
je 0x430cde
or bl, 0x10
test si, 0x10
je 0x430ce8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x430cf7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x430d00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x430d38]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x430d19
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x430d28
or bl, 4
test esi, 0x20000000
je 0x430d33
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4373e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4373f2
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004195d8
mov eax, dword [0x455eb8]
mov dword [eax + 4], ebx
mov dword [eax], 0x437784
mov eax, dword [0x455ec4]
mov dword [eax + 4], ebx
mov dword [eax], 0x437790
mov eax, ebx
call fcn.0043779c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411700]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411700]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411700]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411700]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411700]
call fcn.004030a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x433bb8
push eax
push 0
push 0
mov eax, dword [0x456014]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b61c]
call fcn.0041ca60
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b61c]
call fcn.0041ca60
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b61c]
call fcn.0041ca60
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00437bbc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x437a98
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x437a98
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x437a98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43752f
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret