joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449090
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ecx + 0xb]
push esi
lea esi, [ecx + 4]
cmp al, 0xff
je 0x449135
xor ecx, ecx
cmp al, 7
sete cl
test cl, cl
jne 0x449177
cmp al, 0xff
mov eax, esi
jne 0x4490c9
mov eax, dword [esi]
cmp byte [eax], 0x2e
je 0x449177
mov ecx, esi
call fcn.0043f510
cmp eax, 3
jne 0x44914c
mov cl, byte [esi + 7]
mov eax, esi
cmp cl, 0xff
jne 0x4490ea
mov eax, dword [esi]
cmp byte [eax + 1], 0x3a
jne 0x44914c
mov eax, esi
cmp cl, 0xff
jne 0x4490f9
mov eax, dword [esi]
cmp byte [eax + 2], 0x5c
jne 0x44914c
cmp cl, 0xff
jne 0x449106
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x449121
cmp eax, 4
je 0x449121
cmp eax, 2
je 0x449121
cmp eax, 6
jne 0x449177
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
cmp byte [esi + 4], 0
jne 0x4490c1
cmp byte [esi + 5], 0
jne 0x4490c1
cmp byte [esi + 6], 0
je 0x449177
jmp 0x4490c1
cmp byte [esi + 7], 0xff
jne 0x449154
mov esi, dword [esi]
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x449177
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x144], 0x10
jne 0x449121
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret

Function at 0x449190
Capabilities:
Get disk information

Disassembly:
push esi
lea esi, [ecx + 4]
mov ecx, esi
call fcn.0043f510
cmp eax, 2
jb 0x4491d6
mov al, byte [esi + 7]
mov ecx, esi
cmp al, 0xff
jne 0x4491ab
mov ecx, dword [esi]
cmp byte [ecx + 1], 0x3a
jne 0x4491d6
cmp al, 0xff
jne 0x4491b7
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4491ca
mov eax, 1
pop esi
ret
xor ecx, ecx
cmp eax, 2
sete cl
pop esi
mov eax, ecx
ret
xor eax, eax
pop esi
ret

Function at 0x44af90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x7fffffff
jne 0x44afa9
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x28], 0
jne 0x44afe3
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemFloatingPointProcessor
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44afa3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44aff0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x94
lea eax, [ebp - 0x98]
push 0
or edi, 0xffffffff
push eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], 0
call fcn.0045f090
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dx, word [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
mov word [ebp - 0xa8], dx
xor edx, edx
cmp dword [ebp - 0x88], 2
mov word [ebp - 0xac], ax
sete dl
mov word [ebp - 0xaa], cx
mov esi, edx
test esi, esi
je 0x44b08a
mov edi, 8
jmp 0x44b0ab
cmp ax, 4
jae 0x44b097
mov edi, 2
jmp 0x44b0ab
jne 0x44b0ab
cmp cx, 0xa
sbb edi, edi
and edi, 0xfffffc04
add edi, 0x400
test ebx, ebx
je 0x44b17b
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0xd0]
cmp eax, 3
ja case.default.0x44b0d0
jmp dword [eax*4 + 0x44b190]
test esi, esi
je 0x44b118
mov ax, word [ebp - 0xac]
cmp ax, 3
ja 0x44b0f4
jne 0x44b118
cmp word [ebp - 0xaa], 0x32
jb 0x44b118
movzx eax, word [ebp - 0xb0]
sub eax, 4
js 0x44b13d
test eax, eax
je 0x44b136
cmp eax, 1
je 0x44b12f
sub eax, 2
neg eax
sbb eax, eax
and eax, 0xfffffffb
lea esi, [eax + 4]
jmp 0x44b15c
mov eax, dword [ebp - 0xb8]
sub eax, 0x182
je 0x44b13d
sub eax, 0x64
je 0x44b136
sub eax, 0x64
jne case.default.0x44b0d0
mov esi, 2
jmp 0x44b15c
mov esi, 1
jmp 0x44b15c
mov esi, 0xfffffffe
jmp 0x44b15c
mov esi, 0x40
jmp 0x44b15c
mov esi, 0x20
jmp 0x44b15c
mov esi, 8
jmp 0x44b15c
or esi, 0xffffffff
call fcn.0044af90
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa8]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret

Function at 0x4503f0
Capabilities:
Get common file path

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

Function at 0x451100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 2]
shr eax, 1
push 2
push eax
call fcn.00460249
mov esi, eax
add esp, 8
test esi, esi
jne 0x451125
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
push ecx
push edi
push 1
push esi
call fcn.00464924
xor edx, edx
cmp eax, edi
setne dl
push esi
mov edi, edx
call fcn.0046020f
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x451a40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.0045f090
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x451bba
push eax
call fcn.0045fae8
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x451bba
mov eax, dword [0x4a26ba]
push ebx
mov ebx, esi
imul ebx, ebx, 0x16
mov ecx, dword [ebx + eax + 6]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebx + eax + 6]
mov eax, dword [0x4a254e]
mov dword [ebp - 0x214], edx
test eax, eax
je 0x451ba3
lea edx, [ebp - 0x20c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x451ac8
cmp byte [ebp - 0x20c], cl
je 0x451b11
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451ae3
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x451b11
lea edi, [ebp - 0x20c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x451b00
mov ax, word [0x47e754]
mov word [edi], ax
push 1
push esi
call fcn.004571d0
add esp, 8
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x451b20
lea edi, [ebp - 0x20c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x451b32
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
lea ecx, [ebp - 0x20c]
push ecx
call esi
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004683f1
mov ecx, dword [0x4a26ba]
movsx edx, byte [ebx + ecx]
add esp, 8
push edx
lea eax, [ebp - 0x20c]
push eax
call esi
mov ecx, dword [ebp - 0x210]
pop ebx
pop edi
mov dword [ecx], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
pop ebx
mov dword [edi], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], 0
pop edi
xor ecx, ebp
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x451fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4a256c]
cmp dword [ecx], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x210], eax
jne 0x452010
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx]
push esi
push edi
push ecx
push eax
push 1
push edx
call fcn.00464924
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x452030
test edi, edi
jne 0x452154
cmp byte [0x4a26b0], 0
je 0x452154
xor edi, edi
mov dword [0x4a2576], edi
mov esi, dword [0x4a256c]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.0045f090
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x452070
push eax
call fcn.0045fae8
add esp, 4
mov dword [esi], 0
mov eax, dword [0x4a26b6]
cmp eax, dword [0x4a26b2]
je 0x452154
mov ecx, dword [0x4a256c]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.0045f090
mov edx, dword [0x4a26b2]
push 1
push edx
call fcn.004571d0
mov edx, dword [0x4a256c]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4520b7
mov eax, dword [0x4a26b2]
mov ecx, dword [0x4a26ba]
imul eax, eax, 0x16
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x4a256c]
add eax, 0x23
push 0x481a5c
push eax
mov dword [0x4a2572], edx
call fcn.0045fd50
mov ecx, dword [0x4a256c]
mov dword [ecx], eax
mov eax, dword [0x4a256c]
add esp, 8
cmp dword [eax], 0
je 0x45216c
mov edx, dword [eax]
push edx
call fcn.004690ab
push eax
call fcn.00468148
add esp, 8
cmp eax, dword [0x4a2572]
jne 0x452192
mov eax, dword [0x4a256c]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
push ecx
push esi
add edx, edi
push 1
push edx
call fcn.00464924
inc dword [0x4a26b2]
sub esi, eax
add esp, 0x10
add edi, eax
mov dword [ebp - 0x210], esi
test esi, esi
jg 0x452045
add dword [0x4a2576], edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
add eax, 0x23
push eax
push 0x3e8
call fcn.00453cb0
add esp, 8
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
push 0x47e7fe
push 0x3f2
call fcn.00453cb0
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x452220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x452230
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [0x4a2572]
sub eax, ebx
cmp byte [0x4a26b0], 0
push esi
push edi
mov dword [0x4a2572], eax
je 0x452441
test eax, eax
jns 0x452441
add eax, ebx
cmp byte [0x4a2571], 0
mov dword [0x4a2572], eax
je 0x4522cf
test eax, eax
je 0x4522cf
mov ecx, dword [0x4a256c]
mov edx, dword [ecx + 4]
push edx
push eax
mov eax, dword [0x4a2646]
push 1
push eax
call fcn.00464660
mov eax, dword [0x4a26b2]
add esp, 0x10
test eax, eax
je 0x45228e
dec eax
jmp 0x452290
xor eax, eax
mov ecx, dword [0x4a256c]
push 1
push eax
add ecx, 4
push ecx
call fcn.00451a40
mov edx, dword [0x4a256c]
add edx, 0x23
push edx
push 0xbef
call fcn.00454c80
add esp, 0x14
cmp eax, 0x6b
je 0x45247e
call fcn.004521c0
test eax, eax
jne 0x45248d
mov eax, dword [0x4a26b2]
xor edi, edi
cmp eax, dword [0x4a26b6]
jae 0x4524a0
mov ecx, dword [0x4a256c]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.0045f090
mov edx, dword [0x4a26b2]
push 1
push edx
call fcn.004571d0
mov edx, dword [0x4a256c]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x452312
mov eax, dword [0x4a26b2]
mov ecx, dword [0x4a26ba]
imul eax, eax, 0x16
mov esi, dword [eax + ecx + 2]
call fcn.00459890
mov byte [0x4a2571], al
test al, al
je 0x45235c
mov edx, dword [0x4a256c]
add edx, 0x23
push edx
call fcn.00451bd0
add esp, 4
cmp eax, 1
je 0x45248d
mov al, byte [0x4a2571]
mov ecx, dword [0x4a2572]
inc dword [0x4a26b2]
mov edx, ebx
sub edx, ecx
sub edx, edi
cmp esi, edx
ja 0x4523ff
test al, al
je 0x4523c2
mov eax, dword [0x4a256c]
mov edx, dword [eax + 4]
mov eax, dword [0x4a2646]
push edx
push esi
add eax, ecx
add eax, edi
push 1
push eax
call fcn.00464660
mov ecx, dword [0x4a256c]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00454c80
add esp, 0x18
cmp eax, 0x6b
je 0x45247e
call fcn.004521c0
test eax, eax
jne 0x45248d
mov eax, dword [0x4a26b2]
test eax, eax
je 0x4523ce
dec eax
jmp 0x4523d0
xor eax, eax
mov edx, dword [0x4a256c]
push 1
push eax
add edx, 4
push edx
call fcn.00451a40
mov eax, dword [0x4a26b2]
add esp, 0xc
add edi, esi
cmp eax, dword [0x4a26b6]
jb 0x4522e2
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
test al, al
je 0x45242e
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x4a2646]
mov edx, ebx
sub edx, ecx
sub edx, edi
push edx
add eax, ecx
add eax, edi
push 1
push eax
call fcn.00464660
mov ecx, dword [0x4a2572]
add esp, 0x10
sub esi, ebx
add esi, edi
add ecx, esi
pop edi
pop esi
mov dword [0x4a2572], ecx
xor eax, eax
pop ebx
pop ebp
ret
cmp byte [0x4a2571], 0
je 0x4524a0
mov ecx, dword [0x4a256c]
mov edx, dword [ecx + 4]
mov eax, dword [0x4a2646]
push edx
push ebx
push 1
push eax
call fcn.00464660
mov ecx, dword [0x4a256c]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00454c80
add esp, 0x18
cmp eax, 0x6b
jne 0x452497
push 0
push 0x3fb
call fcn.00453cb0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
call fcn.004521c0
test eax, eax
jne 0x45248d
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x452540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045f090
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.0045f090
add esp, 0x18
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x20c], 0
je 0x4525d1
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4525a5
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x4525d1
lea edi, [ebp - 0x20c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4525c0
mov ax, word [0x47e754]
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push str._sXZIP_d
push edx
call fcn.0046018b
add esp, 0x10
cmp byte [ebp - 0x108], 0
je 0x452631
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452605
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x452631
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x452620
mov ax, word [0x47e754]
mov word [edi], ax
lea ecx, [ebp - 0x108]
push ecx
call fcn.004519a0
add esp, 4
lea eax, [ebp - 0x108]
mov edx, esi
mov ecx, eax
pop edi
sub edx, ecx
pop esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x452650
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x4544d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x30c]
push eax
push esi
mov byte [esi + 0xd], 0xfa
call fcn.00453fc0
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.0045f090
push 0x49
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0045fdb0
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push 0x49
push edx
call fcn.0045b8e0
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x30c]
push ecx
push esi
mov dword [esi + 0x49], eax
call fcn.00453fc0
push edi
push 0x4d
lea edx, [ebp - 0x30c]
push 1
push edx
call fcn.00464660
add esp, 0x44
cmp eax, 0x4d
je 0x45457d
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
add dword [0x4a257a], 0x4d
cmp byte [esi + 0x13], 0
jne 0x4545c3
cmp byte [0x4a2663], 0
je 0x4545c3
mov ecx, dword [0x4a253a]
test ecx, ecx
jle 0x4545c3
mov eax, dword [0x4a2566]
test eax, eax
je 0x4545c3
push edi
push ecx
push 1
push eax
call fcn.00464660
mov ecx, dword [0x4a253a]
add esp, 0x10
cmp eax, ecx
jne 0x454568
add dword [0x4a257a], ecx
cmp byte [esi + 0x13], 0
push ebx
je 0x45460b
movzx eax, byte [esi + 0x14]
mov ecx, dword [0x4a256c]
movzx ebx, byte [esi + 0x14]
push edi
push eax
add ecx, 0x437
push 1
push ecx
call fcn.00464660
add esp, 0x10
cmp eax, ebx
je 0x454605
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
add dword [0x4a257a], ebx
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x4547b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a253e]
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004510d0
push esi
call fcn.0047d14c
add esp, 0xc
cmp eax, 0x4034b50
jne 0x454827
mov ecx, dword [0x4a256c]
mov byte [ecx + 0xb], 1
mov edx, dword [0x4a253e]
push edx
push esi
call fcn.004510d0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00454f70
add esp, 0x10
cmp eax, 1
jne 0x45491f
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
cmp eax, 0x70695a58
jne 0x454813
mov ecx, dword [0x4a256c]
mov byte [ecx + 0xb], 0
mov edx, dword [0x4a253e]
push edx
push esi
call fcn.004510d0
push esi
push 0x4d
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.00464924
add esp, 0x18
cmp eax, 0x4d
jne 0x454813
lea ecx, [ebp - 0x208]
push 0x4a2658
push ecx
call fcn.004541d0
add esp, 8
cmp byte [0x4a2663], 0
je 0x45489c
cmp byte [0x4a266b], 0
jne 0x45489c
mov edx, dword [0x4a267d]
push edx
push esi
call fcn.00451100
add esp, 8
test eax, eax
jne 0x454813
lea eax, [ebp - 0x208]
push eax
call fcn.00454460
add esp, 4
cmp eax, 1
je 0x454813
cmp byte [0x4a266b], 0
je 0x45491f
cmp byte [ebp + 0xc], 0
je 0x45491f
movzx ecx, byte [0x4a266c]
mov edx, dword [0x4a256c]
push esi
push ecx
add edx, 0x437
push 1
push edx
call fcn.00464924
movzx ecx, byte [0x4a266c]
add esp, 0x10
cmp eax, ecx
jne 0x454813
mov dl, byte [0x4a266b]
mov eax, dword [0x4a256c]
mov byte [eax + 0x17], dl
mov ecx, dword [0x4a266d]
movzx edx, byte [0x4a266b]
push ecx
push edx
call fcn.00455cc0
add esp, 8
test eax, eax
jne 0x454813
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret

Function at 0x454f70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00464941
mov eax, dword [0x4a26a8]
add esp, 4
test eax, eax
jne 0x454fbb
push 0x108
push 1
call fcn.00460249
add esp, 8
mov dword [0x4a26a8], eax
test eax, eax
jne 0x454fbb
push str._Zip_cloacking
push 0x3fa
call fcn.00453cb0
add esp, 8
mov eax, 1
pop esi
pop ebp
ret
push esi
push 0x1e
push 1
push eax
call fcn.00464924
add esp, 0x10
cmp eax, 0x1e
jne 0x454fb3
mov eax, dword [0x4a26a8]
movzx ecx, word [eax + 0x1a]
push esi
push ecx
lea edx, [ebp + 0xc]
push 1
push edx
call fcn.00464924
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x454fb3
push esi
push 0x4d
push 1
push 0x4a2658
call fcn.00464924
xor ecx, ecx
add esp, 0x10
cmp eax, 0x4d
setne cl
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x455020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a26a8], 0
jne 0x455079
push 0x108
push 1
call fcn.00460249
add esp, 8
mov dword [0x4a26a8], eax
test eax, eax
jne 0x455079
push str._Zip_cloacking
push 0x3fa
call fcn.00453cb0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0045f090
push 0
push 0
call fcn.004571d0
lea edx, [ebp - 0x108]
add esp, 0x14
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4550a0
mov ecx, dword [0x4a26a8]
mov dword [ecx], 0x4034b50
mov eax, dword [0x4a26a8]
mov edx, 0x14
mov word [eax + 4], dx
mov edx, dword [0x4a26a8]
mov ecx, 2
mov word [edx + 6], cx
mov ecx, dword [0x4a26a8]
mov eax, 0xb
mov word [ecx + 8], ax
mov eax, dword [0x4a26a8]
xor edx, edx
mov word [eax + 0xa], dx
mov edx, dword [0x4a26a8]
xor ecx, ecx
mov word [edx + 0xc], cx
mov eax, dword [0x4a26a8]
mov dword [eax + 0xe], ecx
mov ecx, dword [0x4a26a8]
mov dword [ecx + 0x12], 0
mov edx, dword [0x4a26ba]
mov eax, dword [edx + 2]
mov ecx, dword [0x4a26a8]
mov dword [ecx + 0x16], eax
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455130
sub eax, edx
mov edx, dword [0x4a26a8]
mov word [edx + 0x1a], ax
mov ecx, dword [0x4a26a8]
mov eax, 0x4d
mov word [ecx + 0x1c], ax
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
mov ecx, dword [0x4a26a8]
push eax
push 0x1e
push 1
push ecx
call fcn.00464660
add esp, 0x10
cmp eax, 0x1e
je 0x455199
push 0x47e7fe
push 0x3ef
call fcn.00453cb0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00464660
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x455174
mov eax, dword [0x4a256c]
mov ecx, dword [eax + 4]
push ecx
push 0x4a2658
call fcn.004544d0
add esp, 8
test eax, eax
jne 0x455174
push esi
mov esi, dword [0x4a26a8]
push edi
lea edi, [esi + 0x1e]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
movsw word es:[edi], word [esi]
pop edi
xor ecx, ebp
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x455860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a26a8], 0
push edi
mov edi, dword [ebp + 8]
jne 0x4558be
push 0x108
push 1
call fcn.00460249
add esp, 8
mov dword [0x4a26a8], eax
test eax, eax
jne 0x4558be
push str._Zip_cloacking
push 0x3fa
call fcn.00453cb0
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a256c]
mov ecx, dword [eax]
push ecx
call fcn.00464941
mov edx, dword [0x4a256c]
mov eax, dword [edx]
mov ecx, dword [0x4a26a8]
push eax
push 0x1e
push 1
push ecx
call fcn.00464924
add esp, 0x14
cmp eax, 0x1e
je 0x455912
push 0x47e7fe
push 0x3e9
call fcn.00453cb0
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4a256c]
mov eax, dword [edx]
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00464924
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x4558ec
push esi
movzx esi, word [ecx + 0x1c]
cmp esi, 0xa00b0
jbe 0x455967
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x45597c
jmp 0x455970
push edi
call fcn.00468fb7
add esp, 4
dec esi
jne 0x455970
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret