joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x67d664]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x681298], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.0043e4ac
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e270
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x681290]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043e270
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x67d664]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x44f6a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e270
mov esp, ebp
pop ebp
ret 4
Function at 0x434c60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e0d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x67d664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434e41
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434b80
cmp dword [ebp - 0x1c], 0
jne 0x434e32
cmp dword [ebx + 8], 0x15555555
je 0x434e55
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0043e465
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x451100]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x451100]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434dd5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.00442650
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0043ecd0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434dae
cmp eax, 0x200
jae 0x434dac
shl eax, 3
cmp eax, ecx
jae 0x434dae
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004362f0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434b80
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434dd8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434e14
mov dword [ecx + eax*8], esi
jmp 0x434e27
cmp dword [ecx + eax*8], edx
jne 0x434e1e
mov dword [ecx + eax*8], esi
jmp 0x434e2b
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434e2b
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0043f419
int3
Function at 0x4362f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x436443
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004361f0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x436416
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43638e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x436409
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x4363ca
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x4363c2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x436409
mov edi, eax
cmp ebx, eax
je 0x4363e6
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43641f
cmp ebx, eax
jne 0x4363d0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x436352
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x436409
push str.invalid_hash_bucket_count
call fcn.0043f419
int3
Function at 0x445043
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45335c
push 0x453354
push str.FlsAlloc
push 0x1e
call fcn.00444f21
mov esi, eax
add esp, 0x10
test esi, esi
je 0x445077
push dword [ebp + 8]
mov ecx, esi
call dword [0x44f308]
call esi
jmp 0x44507d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4450c1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45336c
push 0x453364
push str.FlsGetValue
push 0x20
call fcn.00444f21
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4450f8
push dword [ebp + 8]
mov ecx, esi
call dword [0x44f308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44698b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x446a28
push ebx
push esi
call fcn.00446954
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00444cf4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4469d5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x446a27
push edi
push eax
call fcn.004449e1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4469f5
call fcn.004449a7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x446a26
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00444cf4
add esp, 0x20
test eax, eax
jne 0x446a14
push edi
call fcn.004449a7
jmp 0x446a1c
push ebx
call fcn.004449a7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40d980
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x42e180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x110]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x40c494
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40da63
push edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x10c], 1
push eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], edi
push eax
push ebx
push ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40da52
cmp dword [ebp - 0x10c], 2
mov byte [ebp - 5], bl
jne 0x40da23
push edi
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x40da52
lea ecx, [ebp - 0x108]
sub ecx, esi
lea eax, [edi + 0x7ffffefa]
test eax, eax
je 0x40da44
mov al, byte [ecx + esi]
test al, al
je 0x40da44
mov byte [esi], al
inc esi
sub edi, 1
jne 0x40da2b
test edi, edi
jne 0x40da49
dec esi
mov byte [esi], bl
xor ebx, ebx
test edi, edi
setne bl
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x40da65
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00429960
leave
ret
Function at 0x412d85
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x42e180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x214]
xor ebx, ebx
push eax
mov esi, 0x20019
mov dword [ebp - 0x214], ebx
push esi
push ebx
push 0x403340
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412e05
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
push 0x403368
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x412e16
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429960
leave
ret
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x4033c0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412e78
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412df9
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412e6a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x4033d4
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412ee5
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412e6a
lea eax, [ebp - 0x224]
push eax
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412ed7
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x4033e8
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x224]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push 0x4033fc
push 4
call fcn.00427b50
add esp, 0xc
test esi, esi
jne 0x412e05
mov eax, dword [edi + 0x228]
test eax, eax
je 0x412fa7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi + 0x228], ebx
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 0x228], eax
test eax, eax
je 0x412e05
mov al, 1
jmp 0x412e07
Function at 0x418e52
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x42e180]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x418e94
cmp dword [ebp - 0x114], 6
jb 0x418e94
mov al, 1
jmp 0x418e96
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429960
leave
ret
Function at 0x427501
Capabilities:
Print debug messages

Disassembly:
push 8
mov eax, 0x42a923
call fcn.00429a68
lea ecx, [ebp - 0x10]
xor esi, esi
call sub.MFC42u.dll_CString::CString_1
cmp byte [ebp + 0x10], 0
mov dword [ebp - 4], esi
je 0x427534
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.00427cdf
test al, al
jne 0x4275cc
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 0x409
push dword [ebp + 0xc]
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4275a0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x427571
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x4275a0
push esi
push dword [ebp + 0xc]
call fcn.00427a62
push eax
lea eax, [ebp - 0x10]
push 0x40adf0
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4275ba
push dword [ebp + 0xc]
call fcn.00427a62
push eax
lea eax, [ebp - 0x10]
push 0x4028e4
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0xc
push dword [ebp - 0x10]
push 0x40adfc
push 4
call fcn.00427b50
add esp, 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42u.dll_CString::CString_3
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString
mov eax, dword [ebp + 8]
call fcn.00429a36
ret 0xc

Function at 0x427b50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x42e180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x427c78
push esi
sub eax, 1
je 0x427b9e
sub eax, 1
je 0x427b97
sub eax, 1
je 0x427b90
sub eax, 1
jne 0x427c77
mov esi, 0x42e17c
jmp 0x427ba3
mov esi, 0x42e178
jmp 0x427ba3
mov esi, 0x42e174
jmp 0x427ba3
mov esi, 0x42e170
push ebx
push edi
mov ebx, 0x808
lea eax, [ebp - 0x80c]
push ebx
xor edi, edi
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx eax, word [ebp - 0x80e]
push eax
movzx eax, word [ebp - 0x810]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
push 0x40af54
push 0x40af60
lea eax, [ebp - 0x80c]
push ebx
push eax
call fcn.004281c3
add esp, 0x28
lea eax, [ebp - 0x820]
push eax
push SysReAllocString
lea eax, [ebp - 0x80c]
push eax
call fcn.00428234
test eax, eax
js 0x427c2f
mov edi, dword [ebp - 0x820]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov eax, 0x404
sub eax, edi
add eax, eax
push eax
lea eax, [ebp - 0x80c]
lea eax, [eax + edi*2]
push eax
call fcn.004281fb
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40af1c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.msvcrt.dll__putws]
pop ecx
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429960
leave
ret
Function at 0x427cdf
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0x7ffbffff
push ebx
mov bl, 1
cmp eax, 0x58
ja case.default.0x427cf8
jmp dword [eax*4 + 0x42805f]
push 0x40afac
push dword [ebp + 0xc]
call sub.MFC42u.dll_CString::Format
pop ecx
pop ecx
jmp 0x428055
push 0x40afdc
jmp 0x427d04
push 0x40affc
jmp 0x427d04
push 0x40b024
jmp 0x427d04
push 0x40b054
jmp 0x427d04
push 0x40b084
jmp 0x427d04
push 0x40b0a8
jmp 0x427d04
push 0x40b0d0
jmp 0x427d04
push 0x40b104
jmp 0x427d04
push 0x40b130
jmp 0x427d04
push 0x40b170
jmp 0x427d04
push 0x40b18c
jmp 0x427d04
push 0x40b1b4
jmp 0x427d04
push 0x40b1e8
jmp 0x427d04
push 0x40b218
jmp 0x427d04
push 0x40b24c
jmp 0x427d04
push 0x40b278
jmp 0x427d04
push 0x40b29c
jmp 0x427d04
push 0x40b2d0
jmp 0x427d04
push 0x40b300
jmp 0x427d04
push 0x40b330
jmp 0x427d04
push 0x40b360
jmp 0x427d04
push 0x40b388
jmp 0x427d04
push 0x40b3b0
jmp 0x427d04
push 0x40b3dc
jmp 0x427d04
push 0x40b408
jmp 0x427d04
push 0x40b430
jmp 0x427d04
push 0x40b454
jmp 0x427d04
push 0x40b47c
jmp 0x427d04
push 0x40b4a0
jmp 0x427d04
push 0x40b4c4
jmp 0x427d04
push 0x40b4e8
jmp 0x427d04
push 0x40b510
jmp 0x427d04
push 0x40b530
jmp 0x427d04
push 0x40b554
jmp 0x427d04
push 0x40b574
jmp 0x427d04
push 0x40b5a0
jmp 0x427d04
push 0x40b5cc
jmp 0x427d04
push 0x40b5f8
jmp 0x427d04
push 0x40b61c
jmp 0x427d04
push 0x40b650
jmp 0x427d04
push 0x40b66c
jmp 0x427d04
push 0x40b698
jmp 0x427d04
push 0x40b6c8
jmp 0x427d04
push 0x40b6f0
jmp 0x427d04
push 0x40b724
jmp 0x427d04
push 0x40b754
jmp 0x427d04
push 0x40b77c
jmp 0x427d04
push 0x40b7b0
jmp 0x427d04
push 0x40b7d0
jmp 0x427d04
push 0x40b804
jmp 0x427d04
push 0x40b834
jmp 0x427d04
push 0x40b854
jmp 0x427d04
push 0x40b87c
jmp 0x427d04
push 0x40b8a4
jmp 0x427d04
push 0x40b8d0
jmp 0x427d04
push 0x40b900
jmp 0x427d04
push 0x40b92c
jmp 0x427d04
push 0x40b95c
jmp 0x427d04
push 0x40b98c
jmp 0x427d04
push 0x40b9c4
jmp 0x427d04
push 0x40b9e4
jmp 0x427d04
push 0x40ba08
jmp 0x427d04
push 0x40ba3c
jmp 0x427d04
push 0x40ba68
jmp 0x427d04
push 0x40ba8c
jmp 0x427d04
push 0x40bab4
jmp 0x427d04
push 0x40bae0
jmp 0x427d04
push 0x40bb00
jmp 0x427d04
push 0x40bb40
jmp 0x427d04
push 0x40bb80
jmp 0x427d04
push 0x40bbbc
jmp 0x427d04
push 0x40bc00
jmp 0x427d04
push 0x40bc48
jmp 0x427d04
push 0x40bc88
jmp 0x427d04
push 0x40bcd0
jmp 0x427d04
push 0x40bd20
jmp 0x427d04
push 0x40bd60
jmp 0x427d04
push 0x40bd8c
jmp 0x427d04
push 0x40bdb4
jmp 0x427d04
push 0x40bdd4
jmp 0x427d04
push 0x40be04
jmp 0x427d04
push 0x40be34
jmp 0x427d04
push 0x40be5c
jmp 0x427d04
push 0x40be8c
jmp 0x427d04
push 0x40beb0
jmp 0x427d04
push 0x40bed0
jmp 0x427d04
push 0x40bf04
jmp 0x427d04
push 0x40bf2c
jmp 0x427d04
xor bl, bl
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x4282cd
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x42e180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x808
lea eax, [ebp - 0x80c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push 0
push 0x404
push eax
call fcn.00428281
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40af1c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.msvcrt.dll__putws]
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429960
leave
ret

Function at 0x4295d3
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x42dae0
call fcn.0042a138
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x42f050
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x429625
cmp eax, esi
jne 0x429618
xor esi, esi
inc esi
mov edi, esi
jmp 0x429628
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4295fc
xor esi, esi
inc esi
cmp dword [0x42f054], esi
jne 0x42963a
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x429674
cmp dword [0x42f054], ebx
jne 0x42966e
mov dword [0x42f054], esi
push 0x401020
push 0x401014
call fcn.004297ae
pop ecx
pop ecx
test eax, eax
je 0x429674
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42979e
mov dword [0x42ecf0], esi
cmp dword [0x42f054], esi
jne 0x429697
push 0x401010
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x42f054], 2
test edi, edi
jne 0x4296a4
xor eax, eax
mov ecx, 0x42f050
xchg dword [ecx], eax
cmp dword [0x42f060], 0
je 0x4296d0
push 0x42f060
call fcn.00429f90
pop ecx
test eax, eax
je 0x4296d0
push ebx
push 2
push ebx
mov esi, dword [0x42f060]
mov ecx, esi
call dword [0x43058c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x42965d
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp ax, si
ja 0x42973b
test ax, ax
je 0x42970a
test edx, edx
jne 0x42973b
test ax, ax
je 0x42970a
cmp ax, si
ja 0x42970a
add ecx, 2
mov dword [ebp - 0x20], ecx
movzx eax, word [ecx]
jmp 0x4296f5
test byte [ebp - 0x3c], 1
je 0x429716
movzx eax, word [ebp - 0x38]
jmp 0x429719
push 0xa
pop eax
push eax
push ecx
push ebx
push 0x400000
call main
mov dword [0x42ecec], eax
cmp dword [0x42ed04], 0
jne 0x429783
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x42974c
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x1c], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x4296e4
cmp dword [0x42ecf0], 0
jne 0x429797
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x42ecec]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0055c000
jmp 0x4295d3