joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000319a
cmp byte [esi + 0x3d], 0
je 0x1000319a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10003188
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10003150
sub eax, 1
je 0x10003154
sub eax, 2
jne 0x10003188
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005264
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10003171
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1000a05e
add esp, 0x10
cmp edi, eax
jne 0x10003188
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005264
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005264
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10005264
mov esp, ebp
pop ebp
ret

Function at 0x100035e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001aa90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10028014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10005272
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10004951
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10010341
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100101b7
Function at 0x418360
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x418370
xor eax, eax
jmp 0x41850d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4184ce
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x443698]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x443698]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x443698]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x443698]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x443698]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x443698]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x443698]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x443698]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x418379
cmp dword [ebp + 0x10], 0
je 0x418507
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x443698]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x4184d4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x418510
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul eax, eax, 0
movsx ecx, byte [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
imul eax, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x443698]
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + eax]
mov eax, 4
shl eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + eax], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax]
imul edx, edx, 0x8088405
add edx, 1
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], edx
mov edx, 4
shl edx, 1
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 0x18
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + edx]
and eax, 0xff
mov edx, 4
shl edx, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx]
shr edx, 8
xor edx, dword [eax*4 + 0x443698]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], edx
pop ebp
ret

Function at 0x419620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44983c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x419679
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41966f
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x4196d3
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x419699
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00424d60
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b72
mov esp, ebp
pop ebp
ret
Function at 0x41b030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44983c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x41b054
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x41b05e
mov eax, 0x1000000
jmp 0x41b165
mov edx, dword [ebp - 0x10]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x10]
add eax, 0x140
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ebp - 0x12], al
add dword [ebp - 0x18], 1
cmp byte [ebp - 0x12], 0
jne 0x41b087
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x24]
mov al, byte [edx + 0x13f]
mov byte [ebp - 9], al
movsx ecx, byte [ebp - 9]
cmp ecx, 0x5c
je 0x41b0d9
movsx edx, byte [ebp - 9]
cmp edx, 0x2f
je 0x41b0d9
push 0x4432ec
mov eax, dword [ebp - 0x10]
add eax, 0x140
push eax
call fcn.0041ca10
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x41b11d
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x41b101
mov dword [ebp - 0x1c], 1
jmp 0x41b108
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x41b11d
mov eax, 0x2000000
jmp 0x41b165
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004192d0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41b143
mov eax, dword [ebp - 8]
jmp 0x41b165
mov edx, dword [ebp - 0x20]
push edx
call fcn.00419a50
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x41b163
mov eax, 0x200
jmp 0x41b165
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b72
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41bda0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x44983c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x41bdd4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41bdd4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x41bde3
jmp 0x41bf40
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41be3e
mov edx, dword [ebp - 0x214]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x41be21
mov ecx, dword [ebp - 0x214]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x41be2d
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
jmp 0x41bdf8
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp + 0xc]
je 0x41bec4
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00424d60
add esp, 0xc
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 0x104
jae 0x41be8f
jmp 0x41be94
call fcn.00423813
mov edx, dword [ebp - 0x21c]
mov byte [ebp + edx - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bda0
add esp, 8
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
mov eax, 1
imul eax, eax, 0
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0x104
jae 0x41bee0
jmp 0x41bee5
call fcn.00423813
mov ecx, dword [ebp - 0x220]
mov byte [ebp + ecx - 0x108], 0
cmp dword [ebp + 8], 0
je 0x41bf0c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041ca30
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041ca10
add esp, 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41bf40
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b72
mov esp, ebp
pop ebp
ret
Function at 0x41d6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x41d71e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
cmp dword [edx + 0x10], 1
jle 0x41d71e
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x41d5c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x41d730
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x41d759
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0
mov esp, ebp
pop ebp
ret
Function at 0x421250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43aef8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x44983c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x421290
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x42129c
mov al, 1
jmp 0x42143f
mov dword [ebp - 0x54], 8
call fcn.0041cb10
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.0041cb10
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0041ca90
add esp, 8
movzx eax, al
test eax, eax
je 0x4212df
xor al, al
jmp 0x42143f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00406ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.004067b0
mov ecx, eax
call fcn.004075b0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00401b20
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.004067b0
mov ecx, eax
call fcn.004075b0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.00421b40
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x42135a
cmp dword [ebp - 0x3c], 1
je 0x421361
cmp dword [ebp - 0x3c], 3
je 0x4213fb
jmp 0x421413
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004067b0
mov ecx, eax
call fcn.004075b0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4213c4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.004067b0
mov ecx, eax
call fcn.004075b0
push eax
call fcn.004245c5
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4213c4
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ac0
mov al, byte [ebp - 0x34]
jmp 0x42143f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x4213e7
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ac0
mov al, byte [ebp - 0x31]
jmp 0x42143f
cmp dword [ebp - 0x38], 0
jne 0x4213f9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00401be0
jmp 0x42142b
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ac0
mov al, byte [ebp - 0x33]
jmp 0x42143f
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ac0
mov al, byte [ebp - 0x32]
jmp 0x42143f
jmp 0x4212f2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422b72
mov esp, ebp
pop ebp
ret
Function at 0x433660
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042ae5a
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x433698
xor eax, eax
jmp 0x4336c4
cmp esi, dword [ebp - 4]
je 0x4336c1
cmp dword [ebp + 0xc], 0
je 0x4336c1
push dword [edi + 0x9c]
call fcn.0043326e
push dword [edi + 0x9c]
mov esi, eax
call fcn.00429459
pop ecx
pop ecx
cmp esi, eax
je 0x433694
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4338e2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44983c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00428ef7
mov dword [ebp - 0x14], eax
cmp dword [0x44bc34], edi
jne 0x4339d3
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x433960
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x433ab3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x433ab3
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433ab3
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x44bc34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x44bc38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x44bc3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44bc44], eax
test eax, eax
je 0x4339d0
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44bc40], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4339f8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4339eb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x433a0d
push 4
pop eax
jmp 0x433ab5
cmp dword [ebp - 0x14], edi
je 0x433a0d
push dword [0x44bc34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4339f2
mov eax, dword [0x44bc40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x433a6b
cmp dword [0x44bc44], esi
je 0x433a6b
push eax
call ebx
push dword [0x44bc44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x433a6b
test eax, eax
je 0x433a6b
call ecx
test eax, eax
je 0x433a60
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x433a60
test byte [ebp - 8], 1
jne 0x433a6b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x433a9b
mov eax, dword [0x44bc38]
cmp eax, esi
je 0x433a98
push eax
call ebx
test eax, eax
je 0x433a98
call eax
mov edi, eax
test edi, edi
je 0x433a98
mov eax, dword [0x44bc3c]
cmp eax, esi
je 0x433a98
push eax
call ebx
test eax, eax
je 0x433a98
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x44bc34]
call ebx
test eax, eax
je 0x433ab3
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x433ab5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422b72
leave
ret
Function at 0x40f5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422240
xor eax, eax
nop
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f5d0
lea eax, [ebp - 8]
push 0x488140
push eax
call fcn.00413650
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410e60
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414d04
add esp, 0x10
cmp eax, 0x18
jl 0x40f691
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f660
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f67e
cmp ecx, 0x14
je 0x425d1e
inc edx
cmp edx, esi
jl 0x40f640
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.004150d1
add esp, 0xc
jmp 0x40f614
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f69f
inc ecx
jmp 0x40f652
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f6b4
add ecx, 2
jmp 0x40f652
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425d16
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425d05
add ecx, 4
jmp 0x40f652
inc ebx
add byte [ecx + 0x4939cc1d], cl
add byte [ebx], dh
fisttp dword [ecx + 0x4939d01d]
add byte [ecx + 0x4939d41d], cl
add byte [ebx + 0x45a312], bh

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret