joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ba20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x497b33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00488a4a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048e1bf
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048f717
test eax, eax
je 0x44bb3c
mov ecx, dword [esp + 0x3c]
call fcn.0048e1ec
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44bb00
push edi
mov ecx, esi
call fcn.0048b7b0
mov ecx, esi
call fcn.0044bce0
cmp dword [esp + 0x38], 1
jne 0x44bb35
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048b91a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44dd20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44dd53
push esi
call fcn.0045c0e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44dd4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44ddd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44ddc2
mov eax, dword [esi + 8]
test eax, eax
je 0x44dd77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44ddbe
cmp eax, 2
je 0x44ddc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44dd6a
cmp eax, 3
je 0x44dd9d
cmp eax, 1
jne 0x44dd6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44dd6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44dd6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044de00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44dde8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044de00
add esp, 4
pop esi
ret

Function at 0x44e680
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44e6a1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44e6a1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44e6a1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x469900
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49800b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x14]
push esi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jae 0x4699e0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x52a294
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, esi
je 0x4699e0
lea eax, [esp + 0x18]
push 0x1001
push eax
lea ecx, [esp + 0xc]
call fcn.00487a3b
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x134]
push str.lt_
push 0x52a288
mov ecx, esi
call fcn.004848da
push str.gt_
push 0x52a27c
mov ecx, esi
call fcn.004848da
mov esi, dword [esi]
lea ecx, [esp + 4]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00487cef
lea ecx, [esp + 4]
call fcn.00487db3
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0048741a
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.00487adb
jmp 0x4699f3
mov esi, dword [esp + 0x130]
push 0x547f6c
mov ecx, esi
call fcn.0048741a
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x46aca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46ad06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46ad06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46ace7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46b090
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46b0c8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46bda0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46bde9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46c260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046be10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046be90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046be90
lea ecx, [esi + 0xc]
call fcn.00487337
lea ecx, [esi + 0x10]
call fcn.00487337
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046d420
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046d420
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046d420
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004873ac
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004873ac
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48983f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x489877
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00487853
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048782b
jmp 0x489883
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48af31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48af73
call fcn.00490ed9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48af73
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48af6a
xor eax, eax
jmp 0x48af7b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048af81
pop edi
pop esi
pop ebx
ret 4

Function at 0x491409
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x491437
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x491455
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049136f
jmp 0x491455
mov eax, dword [esi + 0x14]
test eax, eax
je 0x491455
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049136f
test edi, edi
mov eax, edi
jne 0x49143f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x416860
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402cf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402090
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00405b94
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405b48
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x416a15
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x416936
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405c70
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x416a15
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404d24
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.00405bf4
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x416a15
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x4169b3
mov dword [ebp - 0x8c], 0
jmp 0x4169bf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x4169f6
mov dword [ebp - 0x90], 0
jmp 0x416a02
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x416904
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.004057f4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x416a3d
jmp 0x416a3c
ret
Function at 0x633c12d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 1
jne 0x633c12f3
mov dword [esp + 4], 5
mov dword [esp], str.cmd.exe
call sym._WinExec_8
sub esp, 8
mov eax, 1
leave
ret 0xc

Function at 0x633c1490
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x633c503c
call sym._EnterCriticalSection_4
mov ebx, dword [0x633c5034]
sub esp, 4
test ebx, ebx
je 0x633c14db
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x633c14d4
test esi, esi
je 0x633c14d4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x633c14b0
mov dword [esp], 0x633c503c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x633c16c0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x633c3070
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x633c1710
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x633c17e8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x633c174e
cmp eax, 4
jne 0x633c1770
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x633c175e
cmp edx, 4
je 0x633c175e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.633c16c0
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x397139ce
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x1c8a3590
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402f20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea edi, [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x402f7e
mov eax, esi
je 0x402f4a
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [esi + 0xb], 0
js 0x402f88
mov word [esi], 0
mov byte [esi + 0xb], 0
cmp esi, edi
je 0x402f68
cmp byte [esi + 0xb], 0
movzx eax, byte [edi + 0xb]
js 0x402fa8
test al, al
jns 0x402f98
mov ecx, esi
push dword [edi + 4]
push dword [edi]
call fcn.0040b8e0
cmp byte [edi + 0xb], 0
jns 0x402f78
push dword [edi]
call fcn.0040e180
add esp, 4
pop esi
pop edi
pop ebp
ret 0xc
cmp dword [esi + 4], 0
je 0x402f4a
mov eax, dword [esi]
jmp 0x402f34
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x402f4a
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [edi]
movsd qword [esi], xmm0
jmp 0x402f68
test al, al
jns 0x402fb3
mov eax, dword [edi + 4]
mov edx, dword [edi]
jmp 0x402fb8
and eax, 0x7f
mov edx, edi
mov ecx, esi
push eax
push edx
call fcn.0040b810
jmp 0x402f68

Function at 0x40e6b8
Capabilities:
Parse pe header

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

Function at 0x422b00
Capabilities:
Parse pe header

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

Function at 0x423c35
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44a4a4
push 0x44a49c
push 0x44a4a4
push 0x1f
call fcn.004240e8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423c69
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x423c6f
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x423cb3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44a4c8
push 0x44a4c0
push 0x44a4c8
push 0x21
call fcn.004240e8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423cea
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]

Function at 0x423cf2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44a4dc
push 0x44a4d4
push 0x44a4dc
push 0x22
call fcn.004240e8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423d2c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsSetValue]
Function at 0x428239
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x455010]
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.0042347c
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.0042347c
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 0x4282b0
cmp word [ecx], dx
je 0x4282b0
mov eax, dword [0x44ae94]
push edi
dec eax
push eax
push 0x44ad80
call fcn.00428429
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x428323
cmp word [eax], dx
je 0x428323
mov eax, dword [edi]
test eax, eax
je 0x4282d4
cmp word [eax], dx
je 0x4282d4
lea eax, [ebp - 0x10]
push eax
call fcn.0042848a
jmp 0x4282dd
lea eax, [ebp - 0x10]
push eax
call fcn.00428778
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42834d
mov eax, dword [0x44ad7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x44aa70
call fcn.00428429
add esp, 0xc
test al, al
je 0x42834d
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x428318
cmp word [eax], di
je 0x428318
lea eax, [ebp - 0x10]
push eax
call fcn.0042848a
pop ecx
jmp 0x42834f
lea eax, [ebp - 0x10]
push eax
call fcn.00428778
jmp 0x428315
mov eax, dword [edi]
test eax, eax
je 0x42833a
cmp word [eax], dx
je 0x42833a
lea eax, [ebp - 0x10]
push eax
call fcn.004288ac
pop ecx
jmp 0x42834d
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 0x428418
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042899e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x428418
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.DLL_IsValidCodePage]
test eax, eax
je 0x428418
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_IsValidLocale]
test eax, eax
je 0x428418
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4283a5
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00423f2b
test ebx, ebx
je 0x428413
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00423f2b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x428418
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 0x428418
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041e138
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42841a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040eab9
leave
ret
Function at 0x428aa4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042347c
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 0x428b13
cmp esi, dword [ebp - 4]
je 0x428b0e
cmp dword [ebp + 0xc], 0
je 0x428b0e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428aeb
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00428b6d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x428b15
xor eax, eax
inc eax
jmp 0x428b15
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x428efb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x455010]
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 0x428f46
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00429071
test al, al
jne 0x428f40
sub edx, 2
cmp edx, edi
jne 0x428f26
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x428f68
lea eax, [edi + 2]
cmp edx, eax
je 0x428f68
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00428e47
add esp, 0x10
jmp 0x429062
push esi
lea ecx, [ebp - 0x255]
call fcn.00429071
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 0x428fab
push dword [ebp - 0x25c]
jmp 0x428f58
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 0x428fe8
cmp word [ebp - 0x226], 0
je 0x429009
cmp word [ebp - 0x226], ax
jne 0x428fe8
cmp word [ebp - 0x224], 0
je 0x429009
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00428e47
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x429055
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x428fc2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42903d
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x429062
push 0x429095
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00430360
add esp, 0x10
jmp 0x429032
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.0040eab9
leave
ret