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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x446664
mov eax, esi
call fcn.0042e69c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x446664
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x446664
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4467a3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4466a4
cmp eax, 0x108
ja 0x4466a4
mov eax, esi
call fcn.0042e69c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44679a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4467a3
jmp 0x44679a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x446783
cmp eax, 0x20a
ja 0x446783
test byte [esi + 0x50], 0x80
jne 0x4466d6
sub eax, 0x203
je 0x4466d3
sub eax, 3
je 0x4466d3
sub eax, 3
jne 0x4466d6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4466ea
dec eax
je 0x4466ff
dec eax
je 0x44671c
dec eax
je 0x4466ff
jmp 0x446723
mov ecx, ebx
mov eax, dword [0x458434]
mov eax, dword [eax]
mov edx, esi
call fcn.00437cc4
jmp 0x44679a
cmp byte [esi + 0x5d], 1
jne 0x446715
mov eax, esi
mov si, 0xffed
call fcn.004034a4
jmp 0x4467a3
or word [esi + 0x54], 1
jmp 0x44679a
and word [esi + 0x54], 0xfffe
jmp 0x44679a
mov eax, dword [0x459b70]
cmp byte [eax + 0x20], 0
je 0x44679a
mov eax, dword [0x459b70]
cmp dword [eax + 0x1c], 0
je 0x44679a
mov eax, dword [ebx]
mov edx, dword [0x459b70]
cmp eax, dword [edx + 0x1c]
jne 0x44679a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042e5e0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004034a4
jmp 0x4467a3
cmp eax, 0xb00b
jne 0x44679a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00444f80
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449c24
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x449c40
cmp dword [esi + 4], 0
je 0x449c6d
test byte [ebx + 0x55], 1
jne 0x449c5f
mov eax, ebx
call fcn.00448830
test eax, eax
jne 0x449c5f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x449d7d
mov edx, esi
mov eax, ebx
call fcn.00449748
jmp 0x449d7d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x449d76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ba94
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044654c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00449c24
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ba94
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d7d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45018c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4585ac]
cmp byte [eax + 0xc], 0
je 0x4502f9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4502f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x459bc4], 0
jne 0x4501e0
push 0x450300
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x450308
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc4], eax
cmp dword [0x457d44], 0
jne 0x4502db
push 0x450318
call sub.kernel32.dll_LoadLibraryA
mov dword [0x457d44], eax
cmp dword [0x457d44], 0
je 0x4502db
push 0x450324
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc8], eax
push 0x450334
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bcc], eax
push 0x450348
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd0], eax
push 0x450360
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd4], eax
push 0x450378
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd8], eax
push 0x45038c
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bdc], eax
push 0x4503a4
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459be0], eax
push 0x4503bc
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459be4], eax
push 0x4503d8
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459be8], eax
push 0x4503e4
mov eax, dword [0x457d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4502f9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450ad4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402cbc
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x451574
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov esi, 0x457d54
xor eax, 0xffffffff
mov ebx, ecx
shr ebx, 3
dec ebx
test ebx, ebx
jl 0x451647
inc ebx
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 4]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 5]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 6]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 7]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
add edx, 8
dec ebx
jne 0x45158e
mov ebx, ecx
shr ebx, 3
shl ebx, 3
dec ecx
sub ecx, ebx
jl 0x451671
inc ecx
xchg ecx, ebx
xor ecx, ecx
mov cl, byte [edx]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [esi + ecx*4]
shr eax, 8
xor ecx, eax
mov eax, ecx
inc edx
dec ebx
jne 0x451657
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
ret

Function at 0x453b5c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x105
call fcn.00402cbc
push esp
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404250
mov eax, dword [ebx]
call fcn.004042a0
dec eax
jle 0x453bc6
mov eax, dword [ebx]
call fcn.004042a0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x453bc6
mov eax, ebx
mov edx, 0x453bd8
call fcn.004042a8
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x455270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4552aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, ebx
call fcn.004044a0
push eax
push 0x4552bc
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4552b4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4552c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4553a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402cbc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call sub.user32.dll_GetDesktopWindow
mov dword [ebp - 0x34], eax
mov eax, ebx
call fcn.004044a0
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.004044a0
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00408820
mov eax, dword [ebp - 0x40]
call fcn.004044a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
xor eax, eax
push ebp
push 0x455386
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x45537c
jmp 0x455361
push 0xa
call sub.kernel32.dll_Sleep_1
push 0x64
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x45535a
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455392
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4553af
lea eax, [ebp - 0x40]
call fcn.00403fe0
ret
Function at 0x4c6e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x84000]
push edi
jmp 0x4c6e9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c6ea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c6e90
mov eax, 1
add ebx, ebx
jne 0x4c6eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c6ec4
jne 0x4c6ee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c6ee3
dec eax
add ebx, ebx
jne 0x4c6ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c6ea8
add ebx, ebx
jne 0x4c6edf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c6f35
xor ecx, ecx
sub eax, 3
jb 0x4c6efb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c6f6a
sar eax, 1
mov ebp, eax
jmp 0x4c6f06
add ebx, ebx
jne 0x4c6f06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c6ed4
inc ecx
add ebx, ebx
jne 0x4c6f14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c6ed4
add ebx, ebx
jne 0x4c6f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c6f16
jne 0x4c6f32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c6f16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c6f54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c6f46
jmp 0x4c6e96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c6f54
add edi, ecx
jmp 0x4c6e96
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c6f72
cmp byte [edi], 0x13
jne 0x4c6f72
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 0x4c6f77
lea edi, [esi + 0xc2000]
mov eax, dword [edi]
or eax, eax
je 0x4c6fef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdc614]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdc768]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c6fa4
mov ecx, edi
jns 0x4c6fd3
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 + 0xdc76c]
or eax, eax
je 0x4c6fe9
mov dword [ebx], eax
add ebx, 4
jmp 0x4c6fc1
call dword [esi + 0xdc77c]
mov ebp, dword [esi + 0xdc770]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4c7023
sub esp, 0xffffff80
jmp 0x4165c1

Function at 0x403000
Capabilities:
Log keystrokes via application hook
Terminate process

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x401017], eax
push 0
push 0x403027
push 0
push 0x25
push eax
call dword [sym.imp.user32.dll_DialogBoxParamA]
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x41cda0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x28], 0x1223f
mov dword [ebp - 0xc], 0x7ced
mov dword [ebp - 0x2c], 0xc6b8
mov dword [ebp - 0x30], 0x4963
mov dword [ebp - 0x34], 0x9291
mov dword [ebp - 0x24], 0x16ed0
mov dword [ebp - 0x38], 0xc581
mov dword [ebp - 0x3c], 0x986c
mov dword [ebp - 0x40], 0xd841
mov dword [ebp - 0x44], 0x86f4
mov dword [ebp - 0x48], 0x1a2c
mov dword [ebp - 0x4c], 0x7523
mov dword [ebp - 0x50], 0xbfef
mov dword [ebp - 0x1c], 0x16de4
mov dword [ebp - 0x54], 0x1469e
mov dword [ebp - 0x58], 0x11bfe
mov dword [ebp - 0x18], 0xe848
mov dword [ebp - 0x14], 0x1028a
mov dword [ebp - 0x5c], 0x40e3
mov dword [ebp - 0x60], 0x102b5
mov dword [ebp - 0x10], 0x3de7
mov dword [ebp - 0x64], 0x70d8
mov dword [ebp - 0x68], 0x6712
mov dword [ebp - 0x20], 0x1121d
mov dword [ebp - 4], 0
jmp 0x41ce60
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10289
cmp dword [ebp - 4], ecx
jge 0x41ce79
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x41ce57
mov dword [ebp - 8], 0
jmp 0x41ce8b
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0xe847
cmp dword [ebp - 8], ecx
jge 0x41ceaa
mov edx, dword [0x4c9d68]
add edx, 1
mov dword [0x4c9d68], edx
jmp 0x41ce82
mov eax, dword [ebp - 0x1c]
sub eax, 0x8423
push eax
call fcn.0040c1a0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x44d7b9
Capabilities:
Parse pe header

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

Function at 0x459e64
Capabilities:
Parse pe header

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

Function at 0x479ae9
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004799bd
Function at 0x47a5e4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4cd680]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x47a62f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0047aa84
test al, al
jne 0x47a629
sub edx, 2
cmp edx, edi
jne 0x47a60f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x47a651
lea eax, [edi + 2]
cmp edx, eax
je 0x47a651
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0047a2ab
add esp, 0x10
jmp 0x47a74b
push esi
lea ecx, [ebp - 0x255]
call fcn.0047aa84
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47a694
push dword [ebp - 0x25c]
jmp 0x47a641
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x47a6d1
cmp word [ebp - 0x226], 0
je 0x47a6f2
cmp word [ebp - 0x226], ax
jne 0x47a6d1
cmp word [ebp - 0x224], 0
je 0x47a6f2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0047a2ab
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x47a73e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x47a6ab
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x47a726
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x47a74b
push 0x479cfb
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00485870
add esp, 0x10
jmp 0x47a71b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044dd29
leave
ret
Function at 0x47bfcb
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 0x47c068
push ebx
push esi
call fcn.0047bf87
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.0047bec4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x47c015
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x47c067
push edi
push eax
call fcn.0047e7ce
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x47c035
call fcn.00479ca9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x47c066
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0047bec4
add esp, 0x20
test eax, eax
jne 0x47c054
push edi
call fcn.00479ca9
jmp 0x47c05c
push ebx
call fcn.00479ca9
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 0x47c06b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x47c07c
pop esi
ret
push ebx
push edi
push esi
call fcn.0047bf87
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0047e7ce
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x47c0a4
push ebx
push esi
push edi
call fcn.004568d0
add esp, 0xc
push 0
call fcn.00479ca9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x47c993
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047c319

Function at 0x480ae6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00479003
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x480b55
cmp esi, dword [ebp - 4]
je 0x480b50
cmp dword [ebp + 0xc], 0
je 0x480b50
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x480b2d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00480638
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x480b57
xor eax, eax
inc eax
jmp 0x480b57
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x480bbc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4cd680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00479003
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00479003
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x480c33
cmp word [ecx], dx
je 0x480c33
mov eax, dword [0x4c022c]
push edi
dec eax
push eax
push 0x4c0118
call fcn.00480b5b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x480ca6
cmp word [eax], dx
je 0x480ca6
mov eax, dword [edi]
test eax, eax
je 0x480c57
cmp word [eax], dx
je 0x480c57
lea eax, [ebp - 0x10]
push eax
call fcn.0048053e
jmp 0x480c60
lea eax, [ebp - 0x10]
push eax
call fcn.004805d9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x480cd0
mov eax, dword [0x4c0114]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4bfe08
call fcn.00480b5b
add esp, 0xc
test al, al
je 0x480cd0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x480c9b
cmp word [eax], di
je 0x480c9b
lea eax, [ebp - 0x10]
push eax
call fcn.0048053e
pop ecx
jmp 0x480cd2
lea eax, [ebp - 0x10]
push eax
call fcn.004805d9
jmp 0x480c98
mov eax, dword [edi]
test eax, eax
je 0x480cbd
cmp word [eax], dx
je 0x480cbd
lea eax, [ebp - 0x10]
push eax
call fcn.004804d5
pop ecx
jmp 0x480cd0
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x480d9b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004809e0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x480d9b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x480d9b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x480d9b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x480d28
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00481aab
test ebx, ebx
je 0x480d96
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00481aab
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x480d9b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x480d9b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00486d33
add esp, 0x10
xor eax, eax
inc eax
jmp 0x480d9d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044dd29
leave
ret