joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x442165
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x4421ba
push dword [edi + 0x1dc]
call esi
mov ebx, eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x4421ba
mov edx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x1808]
jne 0x4421bd
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp eax, dword [ebx + 0xc]
jne 0x4421bd
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, esi
je 0x4421bd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x4421d9
cmp byte [esi + 4], 0
jne 0x4421d9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x208]
test ecx, ecx
je 0x442217
mov eax, dword [ebp + 0x10]
movzx eax, ax
cmp eax, dword [edi + 0x20c]
jne 0x442217
cmp edx, dword [ecx + 0x1808]
jne 0x44215a
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x38]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443a50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x443aa3
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
inc ecx
lea ecx, [edx + ecx*4]
mov dword [ebp + 0xc], ecx
cmp edi, esi
jne 0x443abf
mov ecx, esi
jmp 0x443ac3
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x443b13
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x443ad5
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
jmp 0x443ab7
mov ecx, dword [ebx]
mov edx, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
nop
cmp edi, esi
jne 0x443ae8
mov ecx, esi
jmp 0x443aec
mov ecx, dword [ebx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x443afc
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jne 0x443afc
mov eax, dword [eax]
jmp 0x443ae0
cmp edx, eax
je 0x443b13
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x444030
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x444083
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4440af
cmp dword [ecx], edi
jne 0x4440a7
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x4440b7
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4440b7
cmp dword [ecx], edi
jne 0x4440ba
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call fcn.0048cf69
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x444770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x4447c2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx + 8]
mov edx, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + ecx]
cmp eax, edx
jne 0x4447d8
mov esi, edx
jmp 0x4447de
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4447f0
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x44483e
cmp esi, eax
jne 0x4447e4
push edi
push dword [edx]
mov ecx, ebx
call fcn.004455e0
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x444825
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x44484e
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x444870
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x444856
mov dword [ecx], edi
jmp 0x444870
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x444870
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00444890
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x444ae0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x444b34
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x444b63
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x444b63
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x444ba7
cmp esi, eax
jne 0x444b57
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x444b91
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x444bc3
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x444be5
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.004450a0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x444bcb
mov dword [ecx], edi
jmp 0x444be5
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x444be5
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004450f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444c00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x444c54
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x444c83
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x444c83
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x444cc7
cmp esi, eax
jne 0x444c77
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x444cb1
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x444ce3
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x444d05
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.004451b0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x444ceb
mov dword [ecx], edi
jmp 0x444d05
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x444d05
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004451f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444f70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x444fc2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x444ff0
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x444ff0
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x445033
cmp esi, eax
jne 0x444fe4
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x44501d
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x445061
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x445083
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call fcn.0048cf69
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x445069
mov dword [ecx], edi
jmp 0x445083
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x445083
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00444890
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x446eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x446ece
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x446f59
mov edi, dword [esp + 0x10]
test edi, edi
je 0x446f59
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x446f10
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x446f18
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446f20
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446f70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x446f8e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x447019
mov edi, dword [esp + 0x10]
test edi, edi
je 0x447019
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x446fd0
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x446fd8
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446fe0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447d00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov edx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
lea esi, [edi + 4]
mov ecx, esi
call fcn.00428ee0
add esp, 4
test al, al
jne 0x447d82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x447d74
cmp eax, 0x21
je 0x447d74
cmp eax, 5
jne 0x447d4d
mov eax, 0x3e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x14], 8
jb 0x447d55
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
lea eax, [ecx*2 + 0x3e9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3ea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x20], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x447f70
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b0780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x44801f
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x44801f
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041aec0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x447fd7
mov eax, dword [esi]
jmp 0x447fd9
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x44800c
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x44800c
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041aec0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00490c9e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490c9e
mov esp, ebp
pop ebp
ret
Function at 0x4482f7
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
call fcn.004482ca
mov eax, dword [ebp + 8]
lea ebx, [esi + 0xc]
push ebx
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x4483ec
push edi
xor edi, edi
inc edi
cmp dword [ebx], edi
jle 0x4483db
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov eax, dword [esi]
push 0x401228
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x44834c
mov dword [esi + 4], 0x401138
jmp 0x4483d1
mov eax, dword [esi]
push 0x401244
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x448362
mov byte [esi + 0x14], 1
jmp 0x4483d1
mov eax, dword [esi]
push 0x401258
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x448378
mov byte [esi + 0x15], 1
jmp 0x4483d1
mov eax, dword [esi]
push 0x401278
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x44838e
mov byte [esi + 0x16], 1
jmp 0x4483d1
mov eax, dword [esi]
push 0x401298
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4483a4
mov byte [esi + 0x17], 1
jmp 0x4483d1
mov eax, dword [esi]
push 0x4012b8
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4483bd
mov dword [esi + 0x10], 1
jmp 0x4483d1
mov eax, dword [esi]
push 0x4012cc
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4483d1
mov byte [esi + 0x18], 1
inc edi
cmp edi, dword [esi + 0xc]
jl 0x448330
cmp byte [esi + 0x16], 0
pop edi
jne 0x4483ec
cmp byte [esi + 0x15], 0
sete al
mov byte [esi + 0x14], al
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ebx
pop ebp
ret 4

Function at 0x448593
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b1e04]
sub esp, 0x208
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x448618
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.00449f04
add esp, 0xc
mov esi, ebx
xor eax, eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi + 0x4012fc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x448600
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x4b1e04], eax
jmp 0x448605
mov eax, dword [0x4b1e04]
test eax, eax
jne 0x448618
add esi, 4
cmp esi, 0xc
jb 0x4485c0
mov eax, dword [0x4b1e10]
jmp 0x44864f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4013d0
push eax
call esi
push 0x4013dc
push dword [0x4b1e04]
mov dword [0x4b1e08], eax
call esi
push 0x4013e8
push dword [0x4b1e04]
mov dword [0x4b1e0c], eax
call esi
mov dword [0x4b1e10], eax
cmp dword [0x4b1e08], ebx
je 0x448666
cmp dword [0x4b1e0c], ebx
je 0x448666
test eax, eax
je 0x448666
xor ebx, ebx
inc ebx
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44898e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov edi, 0x104
push edi
push esi
call fcn.0044a01a
add esp, 0xc
test al, al
je 0x448a3d
push 0x4016bc
push edi
push esi
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x448a3d
push edi
push esi
call fcn.0044a055
mov ebx, eax
sub edi, ebx
pop ecx
pop ecx
cmp edi, 0xb
jb 0x448a3d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
lea ecx, [esi + ebx*2]
push 0xa
mov dword [ebp + 0xc], eax
pop eax
push edi
dec eax
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push 4
push eax
call fcn.00449f97
add esp, 0x10
test al, al
je 0x448a3d
lea eax, [ebx + 5]
mov ecx, esi
push eax
call fcn.00449ee7
push 0x4014d0
push 0x104
push esi
call fcn.00449ff2
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x448a46
inc dword [ebp + 0xc]
lea ecx, [esi + ebx*2]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4489ed
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x413458
push 0x104
push esi
call fcn.00449ff2
add esp, 0xc
jmp 0x448a3f

Function at 0x448a5b
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push dword [ebp + 8]
xor eax, eax
mov ebx, 0x104
mov word [ebp - 0x254], ax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.0044a01a
add esp, 0xc
test al, al
je 0x448b99
push dword [ebp + 0xc]
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x448b99
push 0x4014e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x448b99
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x24c]
push 0x24c
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.00449f04
add esp, 0xc
lea eax, [ebp - 0x250]
push esi
push esi
push 1
push eax
push esi
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x448b97
xor eax, eax
mov word [ebp - 0x460], ax
mov word [ebp - 0x668], ax
test byte [ebp - 0x250], 0x10
je 0x448b7e
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea esi, [ebp - 0x1c]
cmove esi, eax
push esi
call fcn.00448df7
pop ecx
test al, al
jne 0x448b7e
push dword [ebp + 8]
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.0044a01a
add esp, 0xc
test al, al
je 0x448b7e
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x448b7e
lea eax, [ebp - 0x668]
push eax
call fcn.00449089
pop ecx
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x448b20
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret