joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d834
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43d84b
add esp, 0xfffffff0
call fcn.004030a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411bd8
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40bce8]
call fcn.00402d90
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40bce8]
call fcn.00402d90
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x4137d4]
call fcn.004191c0
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x43d9c0
mov eax, dword [0x441ac4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00419590
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43f340
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x441ac4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00409904
test eax, eax
je 0x43d93e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407f98
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040992c
test eax, eax
je 0x43d952
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403c60
mov eax, dword [0x4419e8]
cmp byte [eax], 0
jne 0x43d983
mov eax, ebx
call fcn.0043daac
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43d9b5
call fcn.00403100
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43dd1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4427cc]
cmp dword [eax + 0x24], 0
je 0x43ddbf
cmp dword [ebx + 0x84], 0
jne 0x43ddb9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43dcac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x43ddb9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43dd82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43ddb9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040d3ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43dd91
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43e7cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x43e801
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403b18
jmp 0x43e80b
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403a84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43f6b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x43f6ec
mov eax, esi
call fcn.004274bc
test al, al
je 0x43f6ec
mov eax, dword [ebx + 0x74]
call fcn.004271c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f6ec
push 0
mov eax, dword [ebx + 0x74]
call fcn.004271c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43fddc
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, eax
lea eax, [esp + 4]
mov edx, 0x43ff14
call fcn.00407ff4
push esp
lea eax, [esp + 8]
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x43fe12
mov esi, 0x80004005
jmp 0x43ff00
lea eax, [esp + 4]
mov edx, ebx
call fcn.00407f98
mov eax, 0x104
call sub.borlndmm.dll__Borlndmm_SysGetMem_qqri
mov ebx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00407f98
lea eax, [esp + 4]
call fcn.00407f30
push eax
push ebx
push 1
push 0
push 0x43ff3c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43fe70
mov eax, ebx
call sub.borlndmm.dll__Borlndmm_SysFreeMem_qqrpv
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esi, 0x80004005
jmp 0x43ff00
lea eax, [esp + 4]
mov edx, 0x43ff4c
call fcn.00407ff4
push esp
lea eax, [esp + 8]
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
je 0x43fea9
mov eax, ebx
call sub.borlndmm.dll__Borlndmm_SysFreeMem_qqrpv
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esi, 0x80004005
jmp 0x43ff00
mov edx, 0x43ff80
mov eax, ebx
call fcn.00407ff4
lea eax, [esp + 4]
call fcn.00407f30
push eax
push ebx
push 1
push 0
push 0x43ffa8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43feee
mov eax, ebx
call sub.borlndmm.dll__Borlndmm_SysFreeMem_qqrpv
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esi, 0x80004005
jmp 0x43ff00
xor esi, esi
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
call sub.borlndmm.dll__Borlndmm_SysFreeMem_qqrpv
mov eax, esi
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x43ffb4
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebx
add esp, 0xfffffef4
lea eax, [esp + 4]
mov edx, 0x440048
call fcn.00407ff4
push esp
lea eax, [esp + 8]
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x43ffe4
mov ebx, 0x80004005
jmp 0x440035
push 0x440070
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
je 0x440007
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov ebx, 0x80004005
jmp 0x440035
push 0x440070
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
je 0x44002a
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov ebx, 0x80004005
jmp 0x440035
xor ebx, ebx
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10c
pop ebx
ret

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x4011c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x4011eb
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4011d4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x40cbe0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40cbfb
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x40cc29
cmp dword [esi + 8], 0
jne 0x40cc29
push 0
push 0
push esi
push 0x40cd50
push 0
push 0
call fcn.0041583f
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x40cc29
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [esi]
pop esi
ret

Function at 0x4189d2
Capabilities:
Parse pe header

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

Function at 0x41c175
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c92c
push 0x42c924
push str.FlsAlloc
push 0x1f
call fcn.0041bfbf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c1a9
push dword [ebp + 8]
mov ecx, esi
call dword [0x4291c8]
call esi
jmp 0x41c1af
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41c1f3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c93c
push 0x42c934
push str.FlsGetValue
push 0x21
call fcn.0041bfbf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c22a
push dword [ebp + 8]
mov ecx, esi
call dword [0x4291c8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41c232
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c944
push 0x42c93c
push str.FlsSetValue
push 0x22
call fcn.0041bfbf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c26c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4291c8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41ed51
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00411d60
mov eax, dword [0x438014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041d160
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ed93
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41eeef
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427e40
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x439d38]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041f176
mov ecx, dword [esi*4 + 0x439d38]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x41eee8
cmp eax, dword [ecx + edi + 0x24]
jne 0x41eee8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41eee8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f176
add esp, 0x14
test edx, edx
jl 0x41eee8
jg 0x41ee5e
test eax, eax
jb 0x41eee8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41eee8
jl 0x41ee78
cmp dword [ebp - 0x1008], eax
ja 0x41eee8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ee96
test ebx, ebx
je 0x41eecf
cmp ecx, edi
jae 0x41eecf
mov al, byte [ecx]
cmp al, 0xd
jne 0x41eeb0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41eebc
cmp byte [ecx + 1], 0xa
jne 0x41eebc
inc ecx
jmp 0x41eebc
movzx eax, al
movsx eax, byte [eax + 0x438960]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ee96
cmp edx, ebx
jne 0x41ee96
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41eeed
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00410ff4
leave
ret
Function at 0x421b84
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x438014]
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 0x421bcf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421d1f
test al, al
jne 0x421bc9
sub edx, 2
cmp edx, edi
jne 0x421baf
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421bf1
lea eax, [edi + 2]
cmp edx, eax
je 0x421bf1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421ad0
add esp, 0x10
jmp 0x421ceb
push esi
lea ecx, [ebp - 0x255]
call fcn.00421d1f
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 0x421c34
push dword [ebp - 0x25c]
jmp 0x421be1
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 0x421c71
cmp word [ebp - 0x226], 0
je 0x421c92
cmp word [ebp - 0x226], ax
jne 0x421c71
cmp word [ebp - 0x224], 0
je 0x421c92
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421ad0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421cde
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421c4b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421cc6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421ceb
push 0x421900
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004269e0
add esp, 0x10
jmp 0x421cbb
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.00410ff4
leave
ret

Function at 0x422669
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x42267a
pop esi
ret
push ebx
push edi
push esi
call fcn.00422632
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041b632
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4226a2
push ebx
push esi
push edi
call fcn.00412550
add esp, 0xc
push 0
call fcn.0041af72
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x422a72
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004226b7
Function at 0x424cf6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041b2ea
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 0x424d65
cmp esi, dword [ebp - 4]
je 0x424d60
cmp dword [ebp + 0xc], 0
je 0x424d60
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x424d3d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00424848
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x424d67
xor eax, eax
inc eax
jmp 0x424d67
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x424dcc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x438014]
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.0041b2ea
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.0041b2ea
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 0x424e43
cmp word [ecx], dx
je 0x424e43
mov eax, dword [0x42d114]
push edi
dec eax
push eax
push 0x42d000
call fcn.00424d6b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x424eb6
cmp word [eax], dx
je 0x424eb6
mov eax, dword [edi]
test eax, eax
je 0x424e67
cmp word [eax], dx
je 0x424e67
lea eax, [ebp - 0x10]
push eax
call fcn.0042474e
jmp 0x424e70
lea eax, [ebp - 0x10]
push eax
call fcn.004247e9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x424ee0
mov eax, dword [0x42cffc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42ccf0
call fcn.00424d6b
add esp, 0xc
test al, al
je 0x424ee0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x424eab
cmp word [eax], di
je 0x424eab
lea eax, [ebp - 0x10]
push eax
call fcn.0042474e
pop ecx
jmp 0x424ee2
lea eax, [ebp - 0x10]
push eax
call fcn.004247e9
jmp 0x424ea8
mov eax, dword [edi]
test eax, eax
je 0x424ecd
cmp word [eax], dx
je 0x424ecd
lea eax, [ebp - 0x10]
push eax
call fcn.00424703
pop ecx
jmp 0x424ee0
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 0x424fab
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00424bf0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x424fab
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x424fab
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x424fab
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x424f38
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041c372
test ebx, ebx
je 0x424fa6
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041c372
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424fab
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 0x424fab
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042717a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x424fad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410ff4
leave
ret
Function at 0x42591d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x439d38]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42595d
cmp byte [ebx], 0xa
jne 0x42595d
or byte [edi + eax + 0x28], 4
jmp 0x425962
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x425a61
mov dl, byte [eax]
cmp dl, 0x1a
je 0x425a44
inc eax
cmp dl, 0xd
je 0x42598e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4259b4
cmp eax, ecx
jae 0x4259c2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x425976
jmp 0x425a61
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425a3f
cmp dword [ebp - 0x10], 0
je 0x425a3f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x439d38]
test byte [eax + edi + 0x28], 0x48
je 0x425a19
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425a04
mov byte [esi], dl
jmp 0x425a15
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x439d38]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425a61
cmp byte [ebp - 1], 0xa
jne 0x425a28
cmp esi, ebx
jne 0x425a28
mov byte [esi], 0xa
jmp 0x425a60
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041f194
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425a61
mov byte [esi], 0xd
jmp 0x425a60
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x439d38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a5e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425a61
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret