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

Disassembly:
push 0xffffffffffffffff
push 0x48cd83
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.0047e43a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.00483bb0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00485108
test eax, eax
je 0x449b5c
mov ecx, dword [esp + 0x3c]
call fcn.00483bdd
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 0x449b20
push edi
mov ecx, esi
call fcn.0048119a
mov ecx, esi
call fcn.00449cc0
cmp dword [esp + 0x38], 1
jne 0x449b55
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.00481304
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 0x44c570
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44c5a3
push esi
call fcn.0044f680
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44c59c
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 0x44c629
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44c612
mov eax, dword [esi + 8]
test eax, eax
je 0x44c5c7
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 0x44c60e
cmp eax, 2
je 0x44c612
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44c5ba
cmp eax, 3
je 0x44c5ed
cmp eax, 1
jne 0x44c5ba
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 0x44c5ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44c5ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044c650
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44c638
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044c650
add esp, 4
pop esi
ret

Function at 0x459580
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x459623
test eax, eax
jbe 0x459623
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x459623
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4595ce
xor esi, esi
jmp 0x4595d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4595ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045b550
add esi, eax
push esi
mov ebx, esi
call fcn.0045b550
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4595e0
pop ebp
test edi, edi
pop edi
jne 0x459623
test ebx, ebx
je 0x459623
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046c120
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x459765
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45987d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45987d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047e88c
mov esi, eax
test esi, esi
je 0x45987d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45987d
mov ecx, esi
call fcn.004596d0
cmp edi, eax
jge 0x45987d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x459803
mov dword [esp + 0x34], 1
jmp 0x45985e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45987d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00458cc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45d6e0
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 0x45d746
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 0x45d746
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45d727
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45dad0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45db08
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 0x45e790
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 0x45e7d9
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 0x45ec50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d760
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.0045e800
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045e880
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045e880
lea ecx, [esi + 0xc]
call fcn.0047cd9e
lea ecx, [esi + 0x10]
call fcn.0047cd9e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045fe10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045fe10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045fe10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047ce13
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047ce13
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47f230
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47f268
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.0047d2ba
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047d292
jmp 0x47f274
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48091e
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 0x480960
call fcn.004868c5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x480960
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x480957
xor eax, eax
jmp 0x480968
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048096e
pop edi
pop esi
pop ebx
ret 4

Function at 0x486df5
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 0x486e23
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x486e41
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00486d5b
jmp 0x486e41
mov eax, dword [esi + 0x14]
test eax, eax
je 0x486e41
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00486d5b
test edi, edi
mov eax, edi
jne 0x486e2b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405850
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
push 0x46c624
push ecx
call fcn.00431b72
mov esi, eax
add esp, 8
test esi, esi
je 0x4058c0
push esi
call fcn.0043b8f5
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.00435074
push dword [esp + 0x28]
call fcn.004318a9
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4058c0
push esi
push 1
push dword [esp + 0x24]
push edi
call fcn.004331db
push esi
call fcn.00431d31
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0040b758
add esp, 0x34
ret
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040b758
add esp, 0x34
ret

Function at 0x40c326
Capabilities:
Parse pe header

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

Function at 0x434f54
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x465688
push esi
call fcn.00445fdf
pop ecx
pop ecx
test eax, eax
jne 0x434f82
xor al, al
jmp 0x434fff
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00434bb1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x434fbc
push dword [ebp - 0x210]
call fcn.0043274e
xor al, al
jmp 0x434ffd
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x434fc2
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x434fe2
push edx
call fcn.00434e8b
pop ecx
test al, al
je 0x434fad
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x434ff0
mov bl, 1
push dword [ebp - 0x210]
call fcn.0043274e
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b758
leave
ret

Function at 0x438cc7
Capabilities:
Parse pe header

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

Function at 0x43e16e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4662bc
push 0x4662b4
push str.FlsAlloc
push 0x1f
call fcn.0043de3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e1a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x464178]
call esi
jmp 0x43e1a8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x43e1ec
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4662cc
push 0x4662c4
push str.FlsGetValue
push 0x21
call fcn.0043de3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e223
push dword [ebp + 8]
mov ecx, esi
call dword [0x464178]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43e22b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4662d4
push 0x4662cc
push str.FlsSetValue
push 0x22
call fcn.0043de3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e265
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x464178]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x444658
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 + 0x473a30]
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 0x444698
cmp byte [ebx], 0xa
jne 0x444698
or byte [edi + eax + 0x28], 4
jmp 0x44469d
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 0x44479c
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44477f
inc eax
cmp dl, 0xd
je 0x4446c9
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4446ef
cmp eax, ecx
jae 0x4446fd
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 0x4446b1
jmp 0x44479c
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 0x44477a
cmp dword [ebp - 0x10], 0
je 0x44477a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x473a30]
test byte [eax + edi + 0x28], 0x48
je 0x444754
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44473f
mov byte [esi], dl
jmp 0x444750
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x473a30]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44479c
cmp byte [ebp - 1], 0xa
jne 0x444763
cmp esi, ebx
jne 0x444763
mov byte [esi], 0xa
jmp 0x44479b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00456e40
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44479c
mov byte [esi], 0xd
jmp 0x44479b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x473a30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x444799
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44479c
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4447a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x473a30]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4447eb
cmp word [ebx], dx
jne 0x4447eb
or byte [eax + edi + 0x28], 4
jmp 0x4447f0
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x444953
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x444933
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x444831
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x444867
cmp eax, edx
jae 0x444875
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x44480c
jmp 0x444953
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44492e
cmp dword [ebp - 0x18], 0
je 0x44492e
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x473a30]
test byte [eax + edi + 0x28], 0x48
je 0x444904
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4448c8
mov word [esi], cx
jmp 0x4448ff
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x473a30]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x473a30]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x473a30]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x444953
pop eax
cmp word [ebp - 4], ax
jne 0x444914
cmp esi, ebx
jne 0x444914
mov word [esi], ax
jmp 0x444950
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00456e40
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x444953
push 0xd
pop eax
jmp 0x44490f
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x473a30]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44494d
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x444953
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x449e49
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00449d1d
Function at 0x44a686
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
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 0x44a6d1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044aa22
test al, al
jne 0x44a6cb
sub edx, 2
cmp edx, edi
jne 0x44a6b1
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44a6f3
lea eax, [edi + 2]
cmp edx, eax
je 0x44a6f3
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044a34d
add esp, 0x10
jmp 0x44a7ed
push esi
lea ecx, [ebp - 0x255]
call fcn.0044aa22
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 0x44a736
push dword [ebp - 0x25c]
jmp 0x44a6e3
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 0x44a773
cmp word [ebp - 0x226], 0
je 0x44a794
cmp word [ebp - 0x226], ax
jne 0x44a773
cmp word [ebp - 0x224], 0
je 0x44a794
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044a34d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44a7e0
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x44a74d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44a7c8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44a7ed
push 0x449e6c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00458240
add esp, 0x10
jmp 0x44a7bd
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.0040b758
leave
ret
Function at 0x44baea
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 0x44bb87
push ebx
push esi
call fcn.0044baa6
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.00446c4c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44bb34
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44bb86
push edi
push eax
call fcn.0044009a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44bb54
call fcn.0043d7c5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44bb85
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00446c4c
add esp, 0x20
test eax, eax
jne 0x44bb73
push edi
call fcn.0043d7c5
jmp 0x44bb7b
push ebx
call fcn.0043d7c5
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 0x44bb8a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x44bb9b
pop esi
ret
push ebx
push edi
push esi
call fcn.0044baa6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044009a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44bbc3
push ebx
push esi
push edi
call fcn.004151e0
add esp, 0xc
push 0
call fcn.0043d7c5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x44c4a8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044be38

Function at 0x44f017
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043fd7d
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 0x44f086
cmp esi, dword [ebp - 4]
je 0x44f081
cmp dword [ebp + 0xc], 0
je 0x44f081
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44f05e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044eb68
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44f088
xor eax, eax
inc eax
jmp 0x44f088
xor eax, eax
pop edi
pop esi
leave
ret