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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x68205f
call fcn.0059e74b
call fcn.0040e9a0
mov dword [ebp - 0x84], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0040e9f0
add esp, 8
movzx edx, al
test edx, edx
je 0x40f779
lea eax, [ebp + 8]
push eax
call fcn.0040f5a0
add esp, 4
jmp 0x40f91b
mov ecx, dword [ebp - 8]
call fcn.0040fb10
test eax, eax
je 0x40f7bb
mov ecx, dword [ebp - 8]
call fcn.0040fb10
mov esi, eax
mov ecx, dword [ebp - 8]
call fcn.0040e9c0
cmp esi, eax
jae 0x40f7bb
lea eax, [ebp + 8]
push eax
call fcn.004105a0
add esp, 4
mov bl, al
mov ecx, dword [ebp - 8]
call fcn.0040cac0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x40f91b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
jne 0x40f7ce
call fcn.0040e9a0
jmp 0x40f91b
mov ecx, dword [ebp - 8]
call fcn.0040cbf0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x40f826
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.004105a0
add esp, 4
movzx eax, al
push eax
call fcn.00406aa0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40f810
mov edx, dword [ebp + 8]
mov dword [ebp - 0x88], edx
jmp 0x40f81b
call fcn.0040e9a0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
jmp 0x40f91b
mov dword [ebp - 0xc], 0x20
lea eax, [ebp + 8]
push eax
call fcn.004105a0
add esp, 4
mov byte [ebp - 0x32], al
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x31]
push ecx
lea edx, [ebp - 0x32]
push edx
mov eax, dword [ebp - 8]
add eax, 0x40
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x38]
call fcn.0040f6d0
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x40f916
cmp dword [ebp - 0x88], 1
jle 0x40f890
cmp dword [ebp - 0x88], 3
je 0x40f8dd
jmp 0x40f916
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x40], eax
je 0x40f8c2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.005ac8aa
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x40f8c2
call fcn.0040e9a0
jmp 0x40f91b
mov eax, dword [ebp - 8]
mov byte [eax + 0x3d], 1
lea eax, [ebp - 0x32]
cmp dword [ebp - 0x38], eax
je 0x40f8d6
mov eax, dword [ebp + 8]
jmp 0x40f91b
call fcn.0040e9a0
jmp 0x40f91b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x32]
push edx
call fcn.00406aa0
add esp, 8
movzx eax, al
test eax, eax
je 0x40f903
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
jmp 0x40f90e
call fcn.0040e9a0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
jmp 0x40f91b
call fcn.0040e9a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret 4
Function at 0x410cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x68205f
call fcn.0059e74b
cmp dword [ebp + 0x10], 0
jg 0x410ce7
jl 0x410cde
cmp dword [ebp + 0xc], 0
ja 0x410ce7
xor eax, eax
xor edx, edx
jmp 0x410e1e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x410d09
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call fcn.00410e40
jmp 0x410e1e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
call fcn.0040bbb0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x410d78
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00404900
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040ef90
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405fc0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040edd0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x410e0f
mov ecx, dword [ebp - 8]
call fcn.0040cbf0
mov dword [ebp - 0x20], 0xfff
cmp dword [ebp - 0xc], 0xfff
jbe 0x410de8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
push 0xfff
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.005ac223
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0xfff
je 0x410de6
xor eax, eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, eax
mov eax, ecx
jmp 0x410e1e
jmp 0x410d94
cmp dword [ebp - 0xc], 0
jbe 0x410e0f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.005ac223
add esp, 0x10
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x68205f
call fcn.0059e74b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x410fb8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004110b0
jmp 0x41109a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.0040ca80
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0x10], 0
jl 0x41104c
jg 0x410fe0
cmp dword [ebp + 0xc], 0
jbe 0x41104c
cmp dword [ebp - 0x10], 0
jl 0x41104c
jg 0x410fee
cmp dword [ebp - 0x14], 0
jbe 0x41104c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x10]
jg 0x41100c
jl 0x411000
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x14]
jae 0x41100c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0040fb10
push eax
call fcn.00405fc0
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
sbb ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call fcn.0040fac0
cmp dword [ebp + 0x10], 0
jl 0x41108e
jg 0x41105a
cmp dword [ebp + 0xc], 0
jbe 0x41108e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x41108e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.005ac8aa
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
sbb edx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4212f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdaad
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x68209f
call fcn.0059e74b
push 0xc
lea ecx, [ebp - 0x20]
call fcn.0040d030
push 0
lea ecx, [ebp - 0x20]
call fcn.00413350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041fe80
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x421391
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414840
mov eax, dword [ebp - 0x2b4]
jmp 0x42142d
mov dword [ebp - 0x30], 0x100
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x230]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4213fe
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x20]
call fcn.004212f0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4213f5
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414840
mov eax, dword [ebp - 0x2b8]
jmp 0x42142d
mov dword [ebp - 0x30], 0x100
jmp 0x421398
lea ecx, [ebp - 0x20]
call fcn.004192b0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0041aa70
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414840
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret 4

Function at 0x4217f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x68209d
call fcn.0059e74b
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42185c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x421829
mov eax, 1
jmp 0x42187a
push str.RegDeleteKeyTransactedW
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42185a
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0xc]
jmp 0x42187a
jmp 0x421875
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x421875
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x42187a
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x423a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x68209f
call fcn.0059e74b
xor eax, eax
jne 0x423a16
cmp dword [ebp + 0xc], 0
je 0x423a29
mov dword [ebp - 0x58], 1
jmp 0x423a30
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x423a43
mov eax, 0xd
jmp 0x423aa0
xor eax, eax
jne 0x423a1a
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.005a7299
add esp, 4
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x423a54
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x68209f
call fcn.0059e74b
xor eax, eax
jne 0x423bb6
cmp dword [ebp + 0xc], 0
je 0x423bc9
mov dword [ebp - 0x4c], 1
jmp 0x423bd0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x423be3
mov eax, 0xd
jmp 0x423c12
xor eax, eax
jne 0x423bba
mov eax, dword [ebp + 0xc]
push eax
call fcn.005a7299
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cde05
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x6821ea
call fcn.0059e74b
push 4
lea ecx, [ebp - 0x18]
call fcn.0040d030
mov eax, dword [ebp + 8]
push eax
call fcn.00427c70
add esp, 4
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00427ce0
add esp, 8
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
call fcn.00427830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004281e0
mov dword [ebp - 0x1c], 0x427b30
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.00428320
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
call fcn.005ad318
add esp, 0x18
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4276f3
lea ecx, [ebp - 0x18]
call fcn.00428a20
jmp 0x427704
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
push 6
call fcn.0059d589
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004281e0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret 4

Function at 0x429780
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x682225
call fcn.0059e74b
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42af10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x682240
call fcn.0059e74b
mov dword [ebp - 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x67fdc0], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x42acd0
push 0
push 0
call fcn.005ad318
add esp, 0x18
mov dword [0x67fdbc], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret
Function at 0x42ccf0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x6822be
call fcn.0059e74b
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0xbb67ae85
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0x3c6ef372
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0xa54ff53a
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x682515
call fcn.0059e74b
cmp dword [ebp + 0xc], 0
je 0x42e199
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x42e19e
jmp 0x42e289
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x42e1db
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x42e1ca
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x42e1d0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
jmp 0x42e1aa
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x42e254
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
sar eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.005ad923
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
sar eax, 1
shl eax, 1
mov dword [ebp - 0x4e4], eax
cmp dword [ebp - 0x4e4], 0x208
jae 0x42e223
jmp 0x42e228
call fcn.0059e671
xor ecx, ecx
mov edx, dword [ebp - 0x4e4]
mov word [ebp + edx - 0x218], cx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e160
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.005ad901
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.005ad8d0
add esp, 8
push 0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret
Function at 0x42ec00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x682515
call fcn.0059e74b
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x42ec31
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
je 0x42ec3b
mov eax, 0x1000000
jmp 0x42ecc1
mov eax, dword [ebp - 8]
add eax, 0x138
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5f1adc
mov eax, dword [ebp - 8]
add eax, 0x138
push eax
call fcn.005ad8d0
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x42ec85
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x42ec85
mov eax, 0x2000000
jmp 0x42ecc1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433870
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42ecab
mov eax, dword [ebp - 0x10]
jmp 0x42ecc1
mov eax, dword [ebp - 0x14]
push eax
call fcn.00434390
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [0x67fe3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433a40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x682515
call fcn.0059e74b
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax]
test ecx, ecx
je 0x433aa6
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
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 - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x433a9c
mov eax, dword [ebp + 0x14]
mov byte [eax + 8], 1
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x433b00
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x433ac6
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.005a2910
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret