joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4309d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
push 0x40
push 0x3000
push 0x5d
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov edx, fcn.00489d80
shr eax, 8
sub edx, esi
mov byte [esi + 5], al
mov eax, ecx
mov byte [esi + 4], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 7], cl
mov ecx, fcn.0048a3e0
mov byte [esi + 6], al
sub ecx, esi
sub ecx, 0xd
mov dword [esi], 0x68e58955
mov eax, ecx
mov byte [esi + 9], cl
shr eax, 8
mov byte [esi + 0xa], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 0xc], cl
mov ecx, fcn.0048a0e0
mov byte [esi + 0xb], al
sub ecx, esi
sub ecx, 0x15
mov byte [esi + 8], 0xe8
mov eax, ecx
mov byte [esi + 0x11], cl
shr eax, 8
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x13], al
mov byte [esi + 0x14], cl
lea ecx, [edx - 0x1e]
mov eax, ecx
mov byte [esi + 0x1a], cl
shr eax, 8
mov byte [esi + 0x1b], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x1c], al
mov byte [esi + 0x1d], cl
lea ecx, [edx - 0x2a]
mov eax, ecx
mov byte [esi + 0x26], cl
shr eax, 8
mov byte [esi + 0x27], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov dword [esi + 0xd], 0xe804c483
mov dword [esi + 0x15], 0x5008458b
mov byte [esi + 0x19], 0xe8
mov dword [esi + 0x1e], 0x8b04c483
mov dword [esi + 0x22], 0xe8500c45
mov dword [esi + 0x2a], 0x8b04c483
mov dword [esi + 0x2e], 0xe8501045
mov dword [esi + 0x36], 0x8b04c483
mov dword [esi + 0x3a], 0xe8501445
mov dword [esi + 0x42], 0x6a04c483
mov word [esi + 0x46], 0xe804
mov dword [esi + 0x4c], 0x6a04c483
mov word [esi + 0x50], 0xe8ff
mov dword [esi + 0x56], 0x5d04c483
mov word [esi + 0x5a], 0x10c2
mov byte [esi + 0x5c], 0
mov byte [esi + 0x28], al
mov byte [esi + 0x29], cl
lea ecx, [edx - 0x36]
mov eax, ecx
mov byte [esi + 0x32], cl
shr eax, 8
mov byte [esi + 0x33], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x34], al
mov byte [esi + 0x35], cl
lea ecx, [edx - 0x42]
mov eax, ecx
mov byte [esi + 0x3e], cl
shr eax, 8
mov byte [esi + 0x3f], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x41], cl
mov ecx, fcn.004823a0
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x40], al
sub ecx, 0x4c
mov eax, ecx
mov byte [esi + 0x48], cl
shr eax, 8
mov byte [esi + 0x49], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x4b], cl
mov ecx, fcn.0047bb40
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x4a], al
sub ecx, 0x56
mov eax, ecx
mov byte [esi + 0x52], cl
shr eax, 8
mov byte [esi + 0x53], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x54], al
lea eax, [esp + 4]
push eax
push 0x10
push 0x5d
shr ecx, 0x18
push esi
mov byte [esi + 0x55], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ecx
ret
Function at 0x430b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
push 0x40
push 0x3000
push 0x63
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
mov byte [esi + 4], cl
shr ecx, 0x18
mov byte [esi + 7], cl
mov dword [esi + 8], 0xe8
mov dword [esi + 0x10], 0x68
mov dword [esi + 0x14], 0xe800
mov dword [esi + 0x18], 0xc4830000
mov dword [esi + 0x20], 0xe850
mov dword [esi + 0xc], 0x4c48300
mov dword [esi], 0x68e58955
mov dword [esi + 0x1c], 0x8458b04
mov dword [esi + 0x24], 0xc4830000
mov dword [esi + 0x28], 0xc458b04
mov dword [esi + 0x2c], 0xe850
mov dword [esi + 0x30], 0xc4830000
mov dword [esi + 0x34], 0x10458b04
mov dword [esi + 0x38], 0xe850
mov dword [esi + 0x3c], 0xc4830000
mov dword [esi + 0x40], 0xe8036a04
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x6a04c483
mov dword [esi + 0x4c], 0xe8ff
mov dword [esi + 0x50], 0xc4830000
mov dword [esi + 0x54], 0xcc25d04
mov byte [esi + 0x58], 0
mov ecx, dword [eax + 8]
mov eax, ecx
shr eax, 8
mov byte [esi + 0x12], al
mov eax, ecx
mov byte [esi + 0x11], cl
shr ecx, 0x18
mov byte [esi + 0x14], cl
mov ecx, fcn.0048a3e0
shr eax, 0x10
sub ecx, esi
sub ecx, 0xd
mov byte [esi + 0x13], al
mov eax, ecx
mov byte [esi + 9], cl
shr eax, 8
mov byte [esi + 0xa], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0xc], cl
mov ecx, fcn.0046cf50
shr eax, 0x10
sub ecx, esi
sub ecx, 0x1a
mov byte [esi + 0xb], al
mov eax, ecx
mov byte [esi + 0x16], cl
shr eax, 8
mov byte [esi + 0x17], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x19], cl
mov ecx, fcn.00489d80
shr eax, 0x10
sub ecx, esi
sub ecx, 0x26
mov byte [esi + 0x18], al
mov eax, ecx
mov byte [esi + 0x22], cl
shr eax, 8
mov byte [esi + 0x23], al
mov eax, ecx
mov edx, fcn.00489d80
shr eax, 0x10
sub edx, esi
mov byte [esi + 0x24], al
shr ecx, 0x18
mov byte [esi + 0x25], cl
lea ecx, [edx - 0x32]
mov eax, ecx
mov byte [esi + 0x2e], cl
shr eax, 8
mov byte [esi + 0x2f], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x30], al
mov byte [esi + 0x31], cl
lea ecx, [edx - 0x3e]
mov eax, ecx
mov byte [esi + 0x3a], cl
shr eax, 8
mov byte [esi + 0x3b], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x3d], cl
mov ecx, fcn.0048b840
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x3c], al
sub ecx, 0x48
mov eax, ecx
mov byte [esi + 0x44], cl
shr eax, 8
mov byte [esi + 0x45], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x47], cl
mov ecx, fcn.0047bb40
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x46], al
sub ecx, 0x52
mov eax, ecx
mov byte [esi + 0x4e], cl
shr eax, 8
mov byte [esi + 0x4f], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x50], al
lea eax, [esp + 4]
push eax
push 0x10
push 0x63
shr ecx, 0x18
push esi
mov byte [esi + 0x51], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ecx
ret
Function at 0x430d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
push 0x40
push 0x3000
push 0x51
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov edx, fcn.00489d80
shr eax, 8
sub edx, esi
mov byte [esi + 5], al
mov eax, ecx
mov byte [esi + 4], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 7], cl
mov ecx, fcn.0048a3e0
mov byte [esi + 6], al
sub ecx, esi
sub ecx, 0xd
mov dword [esi], 0x68e58955
mov eax, ecx
mov byte [esi + 9], cl
shr eax, 8
mov byte [esi + 0xa], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 0xc], cl
mov ecx, fcn.0048a0e0
mov byte [esi + 0xb], al
sub ecx, esi
sub ecx, 0x15
mov byte [esi + 8], 0xe8
mov eax, ecx
mov byte [esi + 0x11], cl
shr eax, 8
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x13], al
mov byte [esi + 0x14], cl
lea ecx, [edx - 0x1e]
mov eax, ecx
mov byte [esi + 0x1a], cl
shr eax, 8
mov byte [esi + 0x1b], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x1d], cl
lea ecx, [edx - 0x2a]
mov byte [esi + 0x1c], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x27], al
mov eax, ecx
mov byte [esi + 0x26], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x29], cl
lea ecx, [edx - 0x36]
mov dword [esi + 0xd], 0xe804c483
mov dword [esi + 0x15], 0x5008458b
mov byte [esi + 0x19], 0xe8
mov dword [esi + 0x1e], 0x8b04c483
mov dword [esi + 0x22], 0xe8500c45
mov dword [esi + 0x2a], 0x8b04c483
mov dword [esi + 0x2e], 0xe8501045
mov dword [esi + 0x36], 0x6a04c483
mov word [esi + 0x3a], 0xe803
mov dword [esi + 0x40], 0x6a04c483
mov word [esi + 0x44], 0xe8ff
mov dword [esi + 0x4a], 0x5d04c483
mov word [esi + 0x4e], 0xcc2
mov byte [esi + 0x50], 0
mov byte [esi + 0x28], al
mov byte [esi + 0x32], cl
mov eax, ecx
shr eax, 8
mov byte [esi + 0x33], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x35], cl
mov ecx, fcn.004823a0
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x34], al
sub ecx, 0x40
mov eax, ecx
mov byte [esi + 0x3c], cl
shr eax, 8
mov byte [esi + 0x3d], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x3f], cl
mov ecx, fcn.0047bb40
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x3e], al
sub ecx, 0x4a
mov eax, ecx
mov byte [esi + 0x46], cl
shr eax, 8
mov byte [esi + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x48], al
lea eax, [esp + 4]
push eax
push 0x10
push 0x51
shr ecx, 0x18
push esi
mov byte [esi + 0x49], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ecx
ret
Function at 0x4328f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push 0x24
call fcn.005142e5
mov ebx, eax
push 0x738f60
push dword [esp + 0x14]
mov dword [ebx], 0
call fcn.0050f171
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x432966
push esi
push edi
push 2
push 0
push ebp
call fcn.00514ecc
push ebp
call fcn.0051552b
push ebp
mov esi, eax
call fcn.00515641
push esi
call fcn.005142e5
push ebp
push esi
mov edi, eax
push 1
push edi
call fcn.00514b29
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [ebx + 0x14]
push ecx
push esi
push edi
call fcn.00432850
push ebp
mov dword [ebx], eax
call fcn.0050efc9
push edi
call fcn.005142ca
add esp, 0x40
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x456d50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x887490]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x10]
mov ebp, 0x108
mov eax, edi
xor ebx, ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
cmp esi, ebp
jbe 0x456d9d
lea eax, [esi + esi]
mov ebp, esi
push eax
call fcn.0048bf00
add esp, 4
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
xor ecx, ecx
test esi, esi
push 0
setne cl
push ecx
call fcn.00461550
add esp, 8
cmp esi, 2
jb 0x456ddc
cmp esi, ebp
jae 0x456ddc
cmp word [edi + 2], 0x3a
jne 0x456ddc
movzx eax, word [edi]
mov edx, eax
add eax, 0xffffff9f
cmp ax, 0x19
lea ecx, [edx - 0x20]
cmova ecx, edx
xor ebx, ebx
lea eax, [ecx - 0x41]
cmp eax, 0x19
cmovbe ebx, eax
lea eax, [esp + 0x10]
cmp edi, eax
je 0x456ded
push edi
call fcn.0048bed0
add esp, 4
mov ecx, dword [esp + 0x220]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005091ef
add esp, 0x214
ret

Function at 0x456e10
Capabilities:
Set current directory

Disassembly:
sub esp, 0xc
mov eax, dword [0x887490]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
test eax, eax
js 0x456e6c
cmp eax, 0x19
jg 0x456e6c
push esi
push edi
add eax, 0x41
mov dword [esp + 0xa], 0x3a
push 1
mov word [esp + 0xc], ax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
push edi
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
push esi
call fcn.00461550
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005091ef
add esp, 0xc
ret

Function at 0x456ed0
Capabilities:
Set current directory

Disassembly:
push ebx
push ebp
push esi
push dword [esp + 0x10]
call fcn.00457d80
add esp, 4
mov ebp, eax
call fcn.00452bb0
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
push esi
sbb ebx, ebx
neg ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
push ebx
call fcn.00461550
add esp, 8
call fcn.00452bb0
test ebp, ebp
je 0x456f21
push ebp
call fcn.0048bed0
add esp, 4
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x456f30
Capabilities:
Set current directory

Disassembly:
sub esp, 0x10
mov eax, dword [0x887490]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
call fcn.00452bb0
call fcn.00456d50
mov ebp, dword [esp + 0x20]
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebp, ebp
js 0x456f9f
cmp ebp, 0x19
jg 0x456f9f
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [ebp + 0x41]
push edi
push 1
mov word [esp + 0x18], cx
mov dword [esp + 0x1a], 0x3a
call ebx
mov edi, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
push edi
sbb esi, esi
neg esi
call ebx
push 0
push esi
call fcn.00461550
mov ebx, dword [esp + 0x18]
add esp, 8
pop edi
call fcn.00456d50
cmp ebp, eax
jne 0x456fac
xor esi, esi
jmp 0x456fb8
push ebx
call fcn.00456e10
add esp, 4
or esi, 0xffffffff
push esi
call fcn.00461530
add esp, 4
call fcn.00452bb0
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005091ef
add esp, 0x10
ret

Function at 0x4570e0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + 0xc], ebp
mov byte [ebx], 0
push esi
push edi
test ebp, ebp
jle 0x457129
call fcn.00452bb0
call fcn.00456d50
push 0
mov esi, eax
call fcn.00461530
add esp, 4
call fcn.00452bb0
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
cmp ebp, eax
je 0x457129
lea eax, [ebp - 1]
push eax
call fcn.00456f30
add esp, 4
call fcn.00452bb0
mov esi, dword [esp + 0x1c]
add esi, esi
push esi
call fcn.0048bf00
add esp, 4
mov edi, eax
xor eax, eax
push eax
push edi
push dword [esp + 0x24]
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
push eax
call fcn.00461550
xor eax, eax
mov word [esi + edi - 2], ax
mov eax, dword [esp + 0x24]
dec eax
push eax
push ebx
push edi
call fcn.0047b500
push edi
call fcn.0048bed0
add esp, 0x18
call fcn.00452bb0
call fcn.00461500
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp ebp, eax
je 0x4571a3
lea ecx, [eax - 1]
push ecx
call fcn.00456f30
push esi
call fcn.00461530
add esp, 8
mov eax, dword [esp + 0x1c]
mov byte [ebx + eax - 1], 0
test esi, esi
jne 0x45722d
mov cl, byte [ebx]
test cl, cl
je 0x45722d
mov esi, ebx
lea edx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4571c0
sub esi, edx
mov edi, ebx
cmp byte [ebx + 1], 0x3a
jne 0x4571da
mov cl, byte [ebx + 2]
lea edi, [ebx + 2]
sub esi, 2
movzx eax, cl
push eax
push 0x74dba0
call fcn.0050b3d0
add esp, 8
test eax, eax
je 0x4571f1
inc edi
dec esi
test esi, esi
je 0x457220
movzx eax, byte [edi + esi - 1]
push eax
push 0x74dba0
call fcn.0050b3d0
add esp, 8
test eax, eax
je 0x45720d
dec esi
test esi, esi
je 0x457220
cmp ebx, edi
je 0x457220
push esi
push edi
push ebx
call fcn.0050a630
add esp, 0xc
mov eax, dword [esp + 0x18]
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x457240
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x887490]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
call fcn.00452bb0
lea edi, [esp + 0x10]
mov ebp, 0x108
mov eax, edi
xor ebx, ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
cmp esi, ebp
jbe 0x457292
lea eax, [esi + esi]
mov ebp, esi
push eax
call fcn.0048bf00
add esp, 4
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
xor ecx, ecx
test esi, esi
push 0
setne cl
push ecx
call fcn.00461550
add esp, 8
cmp esi, 2
jb 0x4572d1
cmp esi, ebp
jae 0x4572d1
cmp word [edi + 2], 0x3a
jne 0x4572d1
movzx eax, word [edi]
mov edx, eax
add eax, 0xffffff9f
cmp ax, 0x19
lea ecx, [edx - 0x20]
cmova ecx, edx
xor ebx, ebx
lea eax, [ecx - 0x41]
cmp eax, 0x19
cmovbe ebx, eax
lea eax, [esp + 0x10]
cmp edi, eax
je 0x4572e2
push edi
call fcn.0048bed0
add esp, 4
push 0
call fcn.00461530
add esp, 4
call fcn.00452bb0
mov ecx, dword [esp + 0x220]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005091ef
add esp, 0x214
ret

Function at 0x457310
Capabilities:
Delete file

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00457d80
add esp, 4
mov edi, eax
call fcn.00452bb0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
push 0
sbb esi, esi
neg esi
push esi
call fcn.00461550
add esp, 8
call fcn.00452bb0
test edi, edi
je 0x45734f
push edi
call fcn.0048bed0
add esp, 4
pop edi
mov eax, esi
pop esi
ret

Function at 0x457770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
call fcn.00452bb0
mov ebx, dword [esp + 0x14]
xor esi, esi
push dword [esp + 0x10]
mov dword [ebx], 0
call fcn.00457d80
add esp, 4
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4577ae
push eax
call fcn.004f7620
add esp, 4
mov dword [ebx], eax
mov esi, 1
push 0
push esi
call fcn.00461550
add esp, 8
test edi, edi
je 0x4577c6
push edi
call fcn.0048bed0
add esp, 4
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x457aa0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp], 0
lea ecx, [eax + 1]
cmp ecx, 3
ja case.default.0x457ab6
jmp dword [ecx*4 + 0x457b30]
xor eax, eax
jmp case.default.0x457ab6
push 0xfffffffffffffff6
jmp 0x457acb
push 0xfffffffffffffff5
jmp 0x457acb
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push esi
push edi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x457af4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x457af4
xor esi, esi
jmp 0x457af9
mov esi, 1
push 0
push esi
call fcn.00461550
add esp, 8
test esi, esi
je 0x457b16
mov edx, dword [esp + 8]
xor eax, eax
or eax, edi
pop edi
pop esi
add esp, 8
ret
xorps xmm0, xmm0
movlpd qword [esp + 8], xmm0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret
Function at 0x457b40
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
js 0x457b77
call fcn.00452bb0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, esi
shr eax, cl
and al, 1
movzx esi, al
neg esi
sbb esi, esi
neg esi
dec esi
call fcn.00452bb0
push 0
call fcn.00461530
add esp, 4
mov eax, esi
pop esi
ret
push 0
or esi, 0xffffffff
call fcn.00461530
add esp, 4
mov eax, esi
pop esi
ret

Function at 0x457d30
Capabilities:
Create directory

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00457d80
add esp, 4
mov edi, eax
call fcn.00452bb0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
push 0
sbb esi, esi
neg esi
push esi
call fcn.00461550
add esp, 8
call fcn.00452bb0
test edi, edi
je 0x457d71
push edi
call fcn.0048bed0
add esp, 4
pop edi
mov eax, esi
pop esi
ret

Function at 0x458170
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
call fcn.00452bb0
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea edi, [esi + 1]
call fcn.004f7e70
test eax, eax
je 0x4581f1
mov dword [esp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
cmp edi, 3
ja case.default.0x4581ba
jmp dword [edi*4 + 0x4582ac]
xor esi, esi
jmp case.default.0x4581ba
push 0xfffffffffffffff6
jmp 0x4581cf
push 0xfffffffffffffff5
jmp 0x4581cf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
jmp 0x458283
mov dword [esp + 0x14], ebx
cmp edi, 3
ja case.default.0x4581fa
jmp dword [edi*4 + 0x4582bc]
xor eax, eax
jmp 0x458225
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
mov eax, esi
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x458260
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x458260
push 0
push 0
call fcn.00461550
add esp, 8
xor esi, esi
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
call fcn.00456d00
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
neg eax
push eax
call fcn.00461550
mov esi, dword [esp + 0x18]
add esp, 8
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4581c1
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
call fcn.00452bb0
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea edi, [esi + 1]
call fcn.004f7e70
test eax, eax
je 0x4581f1
mov dword [esp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
cmp edi, 3
ja case.default.0x4581ba
jmp dword [edi*4 + 0x4582ac]
xor esi, esi
jmp case.default.0x4581ba
push 0xfffffffffffffff6
jmp 0x4581cf
push 0xfffffffffffffff5
jmp 0x4581cf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
jmp 0x458283
mov dword [esp + 0x14], ebx
cmp edi, 3
ja case.default.0x4581fa
jmp dword [edi*4 + 0x4582bc]
xor eax, eax
jmp 0x458225
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
mov eax, esi
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x458260
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x458260
push 0
push 0
call fcn.00461550
add esp, 8
xor esi, esi
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
call fcn.00456d00
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
neg eax
push eax
call fcn.00461550
mov esi, dword [esp + 0x18]
add esp, 8
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4581c5
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
call fcn.00452bb0
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea edi, [esi + 1]
call fcn.004f7e70
test eax, eax
je 0x4581f1
mov dword [esp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
cmp edi, 3
ja case.default.0x4581ba
jmp dword [edi*4 + 0x4582ac]
xor esi, esi
jmp case.default.0x4581ba
push 0xfffffffffffffff6
jmp 0x4581cf
push 0xfffffffffffffff5
jmp 0x4581cf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
jmp 0x458283
mov dword [esp + 0x14], ebx
cmp edi, 3
ja case.default.0x4581fa
jmp dword [edi*4 + 0x4582bc]
xor eax, eax
jmp 0x458225
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x458225
mov eax, esi
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x458260
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x458260
push 0
push 0
call fcn.00461550
add esp, 8
xor esi, esi
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
call fcn.00456d00
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
neg eax
push eax
call fcn.00461550
mov esi, dword [esp + 0x18]
add esp, 8
call fcn.00452bb0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret