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

Disassembly:
sub esp, 0xb0
mov al, byte [0x660049]
mov cl, byte [0x660048]
xor cl, al
push esi
mov byte [0x660048], cl
mov cl, byte [0x660043]
or cl, 8
mov esi, dword [esp + 0xb8]
shr cl, 3
and ecx, 0xff
push 5
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x663960]
fadd qword [0x660050]
fstp qword [0x663950]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44b67e
or dword [esi], 0x4000000
mov al, byte [0x660046]
mov dl, byte [0x660045]
xor al, dl
mov byte [0x660046], al
or al, 0x30
shr al, 4
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x6639c0]
fstp qword [0x663950]
fld qword [0x660050]
fadd qword [0x663960]
fstp qword [0x663960]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, esi
pop esi
add esp, 0xb0
ret

Function at 0x56b6dd
Capabilities:
Encode data using xor

Disassembly:
cld
dec ebp
lds edi, [edi]
jne 0x56b68a
arpl bp, ax
or dword [edi + 9], ecx
jae 0x56b66a
dec edi
or dword [ebx - 4], esi
imul eax, dword [edx - 0x3a7ca7b1], 0x7f
test ebx, eax
fcmovu st(0), st(7)
cdq
ret
rep movsb byte es:[edi], byte [esi]
push dword [0xec53295b]
add eax, ebp
mov edi, 0xaf25aff9
push cs
retf
push ebp
ja 0x56b661
push dword [ebp + 0x5ad3a9ef]
mov byte [edi + 0x7f], 0x25
mov ch, 0xef
test eax, 0x47c65ad3
jg 0x56b70b
das
xor bl, al
ja 0x56b6fa
add eax, 0x20ed397f
xchg ebx, eax
aad 0x83
nop
ja 0x56b70f
cld
test al, 0xd3
loope 0x56b72a
das
add eax, 0x9723b52a
push edx
push ebp
add edx, dword [ecx]
hlt
jb 0x56b6f9
in eax, dx
push dword [0x50574c6f]
dec esp
push edi
push eax
jae 0x56b6d9
sar ecx, cl
bound edi, qword [edx - 0x74]
pop eax
ret
cmp ch, dh
add dl, byte [eax + edi*8 - 8]
clc
inc ebp
scasd eax, dword es:[edi]
jae 0x56b783
jl 0x56b70a
and eax, 0xc0bfb438
stosd dword es:[edi], eax
movsd dword es:[edi], dword [esi]
fstp xword [ebx - 0x44]
sub byte [ebx + 0x71], 0xfd
ror byte [esi - 4], 0xb
push ebp
outsb dx, byte [esi]
jno 0x56b7af
push ds
cwde
cmc
fst qword [0x706f293a]
frstor dword [ebp + ebx*8 + 0x6f179bb3]
loopne 0x56b724
sub byte [0xfefa36a8], ah
fsubr st(5)
sbb dh, byte [esi + 0x14]
sub eax, 0x1f70ae24
push ebp
dec edi
invalid
sbb dword [edi + 0xe9ed2a9], ebp
test al, 0x7e
mov ebp, 0x199abc84
dec edi
xor eax, 0x4963737f
arpl cx, bx
dec ecx
leave
jo 0x56b78b
jp 0x56b77d
mov dword [0xff85cf4c], eax
mov cl, 0xef
movsb byte es:[edi], byte [esi]
sbb dword [esi + 0x13], 0xffffff84
or byte [ebp + 0x2f], ah
pop ebx
aam 0x32
inc esp
vsubss xmm0 {k6}, xmm1, xmm6, {rd-sae}
pop dword [edx]
inc ebp
outsb dx, byte [esi]
stc
ficom word [ebp - 0x49156b6e]
invalid
pop esp
invalid
Function at 0x5fefad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cwde
push esp
stosd dword es:[edi], eax
aam 0x91
add eax, 0xe08eb0ca
push cs
xor dword [ebx + 0x7d], ecx
sub ah, bl
sbb eax, 0xf915be3f
aas
mov esi, 0x6b98f915
mov esp, 0x557d5ff5
lahf
xlatb
aas
mov esi, 0x6b98f915
mov esp, 0x557d5ff5
lahf
xlatb
add al, 0x2d
leave
js 0x5fefea
fisub word [ebp - 0x7cb1eb8e]
hlt
push ebx
and al, 0xff
pop ds
outsb dx, byte [esi]
push ebp
in eax, dx
std
inc ebx
inc ebx
in eax, 0x5d
lds esi, [edx + 0x19e1bee1]
rol dword [ecx - 0x38], 0xce
cmp edi, dword [esi - 7]
movsb byte es:[edi], byte [esi]
popfd
cmpsd dword [esi], dword es:[edi]
push cs
pop edi
pushfd
sbb byte [ecx + 0x1f], bl
mov ebp, 0x1fb20ef5
jnp 0x5fef9c
pop edi
cmpsb byte [esi], byte es:[edi]
fidiv dword [esi + ebp*4 + 0x592509bd]
mov bl, 0xf
aad 0x47
movsb byte es:[edi], byte cs:[esi]
leave
add al, 0xa5
outsb dx, byte [esi]
out 0x48, al
xchg esi, eax
xor dword [ebp - 0x4a], ebp
pop ds
scasd eax, dword es:[edi]
mov ah, bl
retf

Function at 0x657a0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x660398
cmp edx, dword [eax]
je 0x657a2f
add eax, 8
inc ecx
cmp eax, 0x660428
jl 0x657a20
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x660398]
jne 0x657b5d
mov eax, dword [0xa5cd74]
cmp eax, 1
je 0x657b37
test eax, eax
jne 0x657a60
cmp dword [0x6602c4], 1
je 0x657b37
cmp edx, 0xfc
je 0x657b5d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657a97
lea eax, [ebp - 0x1a4]
push 0x65cab0
push eax
call fcn.006583f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657ada
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65caac
push edi
call fcn.0065a750
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ca90
push eax
call fcn.006583f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658400
lea eax, [ebp - 0xa0]
push 0x65ca8c
push eax
call fcn.00658400
push dword [esi + 0x66039c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658400
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65ca64
push eax
call fcn.0065a6c4
add esp, 0x2c
pop edi
jmp 0x657b5d
lea eax, [ebp + 8]
lea esi, [esi + 0x66039c]
push 0
push eax
push dword [esi]
call fcn.00658880
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40aa00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4328bd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x443080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x444ce4]
mov edx, dword [eax + edx*4]
mov eax, dword [0x444be0]
cmp eax, dword [edx + 4]
jg 0x40abb5
mov ecx, dword [0x444bac]
test ecx, ecx
jne 0x40aad0
push 0x444bb0
mov dword [ebp - 0x10], 0x444bb0
call fcn.004142c3
add esp, 4
test eax, eax
jne 0x40ac2f
cmp dword [0x444bdc], 0x7fffffff
je 0x40ac36
mov dword [ebp - 4], eax
cmp dword [0x444bac], eax
jne 0x40aab6
push 8
call fcn.00414764
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40aaaf
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 4], 0x20019
mov dword [eax], vtable.AppHelper::CGlobalAppHelper.0
jmp 0x40aab1
xor eax, eax
mov dword [0x444bac], eax
push 0x444bb0
mov dword [ebp - 4], 0xffffffff
call fcn.004142d4
mov ecx, dword [0x444bac]
add esp, 4
push 1
push 0
push 0x434da0
call fcn.0040ef90
mov dword [edi + 0x38], eax
test eax, eax
je 0x40aba2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.cef_wraper_set_callback
push eax
call esi
push str.cef_wraper_set_render_request_callback
push dword [edi + 0x38]
mov dword [edi], eax
call esi
push str.cef_wraper_init
push dword [edi + 0x38]
mov dword [edi + 4], eax
call esi
push str.cef_wraper_create_browser
push dword [edi + 0x38]
mov dword [edi + 8], eax
call esi
push str.cef_wraper_load_url
push dword [edi + 0x38]
mov dword [edi + 0xc], eax
call esi
push str.cef_wraper_run_messageloop
push dword [edi + 0x38]
mov dword [edi + 0x10], eax
call esi
push str.cef_wraper_quit_MessageLoop
push dword [edi + 0x38]
mov dword [edi + 0x14], eax
call esi
push 0x434e7c
push dword [edi + 0x38]
mov dword [edi + 0x18], eax
call esi
push str.cef_wraper_run_js
push dword [edi + 0x38]
mov dword [edi + 0x1c], eax
call esi
push str.cef_wraper_show_devtool
push dword [edi + 0x38]
mov dword [edi + 0x20], eax
call esi
push str.cef_close_all_window
push dword [edi + 0x38]
mov dword [edi + 0x24], eax
call esi
push str.cef_register_scheme
push dword [edi + 0x38]
mov dword [edi + 0x28], eax
call esi
push str.cef_send_notify
push dword [edi + 0x38]
mov dword [edi + 0x2c], eax
call esi
push str.cef_set_browser_parmaters
push dword [edi + 0x38]
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x444be0
call fcn.00414a7d
add esp, 4
cmp dword [0x444be0], 0xffffffff
jne 0x40aa47
xorps xmm0, xmm0
mov dword [0x444bd4], 0
push 0x444be0
movups xmmword [0x444bbc], xmm0
mov dword [0x444bb4], 0
movq qword [0x444bcc], xmm0
mov dword [0x444bb8], 0
mov dword [0x444bd8], 0xffffffff
mov dword [0x444bb0], 0x102
mov dword [0x444bdc], 0
call fcn.00414a2c
add esp, 4
jmp 0x40aa47
push 5
call fcn.00414488
push 6
mov dword [0x444bdc], 0x7ffffffe
call fcn.00414488
int3
Function at 0x410250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4332cd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x443080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, 2
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.004147a2
add esp, 4
mov dword [ebp - 0x14], eax
push str.C:config.ini
push esi
push eax
test edi, edi
mov dword [ebp - 4], 0
mov ecx, 0x434308
cmovne ecx, edi
push ecx
push dword [ebp - 0x18]
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x14]
mov ecx, esi
push eax
push edi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00409f10
test edi, edi
je 0x410303
push edi
call fcn.004147ab
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414ae1
mov esp, ebp
pop ebp
ret
Function at 0x411080
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4110e8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.pcm_plugin_ininitialize
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x4110e8
push str.pcm_plugin_action
push dword [esi + 0x18]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x4110e8
push str.pcm_plugin_buffer_allocate
push dword [esi + 0x18]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x4110e8
push str.pcm_plugin_buffer_free
push dword [esi + 0x18]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x4110e8
push str.pcm_plugin_deininitialize
push dword [esi + 0x18]
call edi
mov dword [esi + 0x14], eax
mov eax, 1
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x411850
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x443080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4118d6
push ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4118d5
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x14]
jl 0x4118d5
jg 0x4118bb
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x10]
jb 0x4118d5
mov eax, dword [esi + 0x64]
cmp eax, 0xffffffff
je 0x4118cd
push eax
call ebx
mov dword [esi + 0x64], 0xffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00414ae1
mov esp, ebp
pop ebp
ret 4

Function at 0x412430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x443080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 7
jbe 0x412460
mov eax, dword [esi]
xor edx, edx
mov word [eax], dx
mov eax, edi
cmp dword [edi + 0x14], 7
mov dword [ebp - 8], edx
jbe 0x412472
mov eax, dword [edi]
lea edx, [ebp - 8]
push edx
push 0
push 0
push 2
push eax
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebx], eax
test eax, eax
jne 0x41252f
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x4124b2
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x4124aa
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4124be
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00413570
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4124c8
mov eax, dword [esi]
cmp dword [edi + 0x14], 7
jbe 0x4124d0
mov edi, dword [edi]
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push 0
push 2
push edi
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebx], eax
test eax, eax
je 0x412503
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 7
jbe 0x4124fc
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
jmp 0x41252f
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x10]
shr eax, 1
dec eax
cmp eax, ecx
ja 0x412523
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 7
jbe 0x41251b
mov esi, dword [esi]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x41252f
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00413570
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414ae1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x443080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 8], 0
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [edx], 0
mov edi, dword [ebp + 0xc]
je 0x412fb3
cmp dword [esi + 0x14], 0xf
mov eax, esi
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jbe 0x412f96
mov eax, dword [esi]
push ecx
push eax
mov ecx, edx
call fcn.00411a00
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x412fbe
mov esi, dword [esi]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00414ae1
mov esp, ebp
pop ebp
ret 8

Function at 0x412fe0
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 0x41303b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41303b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41302a
cmp esi, edx
jae 0x41303b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x413018
cmp esi, edx
jae 0x41303b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x415534
Capabilities:
Parse pe header

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

Function at 0x4219bd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4382e0
push 0x4382d8
push str.FlsAlloc
push 0x1f
call fcn.004218a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4219f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x43424c]
call esi
jmp 0x4219f7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x421a3b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4382f0
push 0x4382e8
push str.FlsGetValue
push 0x21
call fcn.004218a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421a72
push dword [ebp + 8]
mov ecx, esi
call dword [0x43424c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x421a7a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4382f8
push 0x4382f0
push str.FlsSetValue
push 0x22
call fcn.004218a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421ab4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43424c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x424b3c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x443080]
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 0x424b87
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00424cd7
test al, al
jne 0x424b81
sub edx, 2
cmp edx, edi
jne 0x424b67
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x424ba9
lea eax, [edi + 2]
cmp edx, eax
je 0x424ba9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00424a88
add esp, 0x10
jmp 0x424ca3
push esi
lea ecx, [ebp - 0x255]
call fcn.00424cd7
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 0x424bec
push dword [ebp - 0x25c]
jmp 0x424b99
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 0x424c29
cmp word [ebp - 0x226], 0
je 0x424c4a
cmp word [ebp - 0x226], ax
jne 0x424c29
cmp word [ebp - 0x224], 0
je 0x424c4a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00424a88
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x424c96
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x424c03
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x424c7e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x424ca3
push 0x4248b8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042bbc0
add esp, 0x10
jmp 0x424c73
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.00414ae1
leave
ret
Function at 0x42821a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00421030
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 0x428289
cmp esi, dword [ebp - 4]
je 0x428284
cmp dword [ebp + 0xc], 0
je 0x428284
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428261
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00427d6c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42828b
xor eax, eax
inc eax
jmp 0x42828b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4282f0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x443080]
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.00421030
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.00421030
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 0x428367
cmp word [ecx], dx
je 0x428367
mov eax, dword [0x4391dc]
push edi
dec eax
push eax
push 0x4390c8
call fcn.0042828f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4283da
cmp word [eax], dx
je 0x4283da
mov eax, dword [edi]
test eax, eax
je 0x42838b
cmp word [eax], dx
je 0x42838b
lea eax, [ebp - 0x10]
push eax
call fcn.00427c72
jmp 0x428394
lea eax, [ebp - 0x10]
push eax
call fcn.00427d0d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x428404
mov eax, dword [0x4390c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x438db8
call fcn.0042828f
add esp, 0xc
test al, al
je 0x428404
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4283cf
cmp word [eax], di
je 0x4283cf
lea eax, [ebp - 0x10]
push eax
call fcn.00427c72
pop ecx
jmp 0x428406
lea eax, [ebp - 0x10]
push eax
call fcn.00427d0d
jmp 0x4283cc
mov eax, dword [edi]
test eax, eax
je 0x4283f1
cmp word [eax], dx
je 0x4283f1
lea eax, [ebp - 0x10]
push eax
call fcn.00427c27
pop ecx
jmp 0x428404
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 0x4284cf
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00428114
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4284cf
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4284cf
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4284cf
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42845c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00421bba
test ebx, ebx
je 0x4284ca
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00421bba
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4284cf
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 0x4284cf
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042c774
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4284d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414ae1
leave
ret
Function at 0x42f460
Capabilities:
Parse pe header

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