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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ecx + 0xb]
push esi
lea esi, [ecx + 4]
cmp al, 0xff
je 0x47bd85
xor ecx, ecx
cmp al, 7
sete cl
test cl, cl
jne 0x47bdc7
cmp al, 0xff
mov eax, esi
jne 0x47bd19
mov eax, dword [esi]
cmp byte [eax], 0x2e
je 0x47bdc7
mov ecx, esi
call fcn.004720a0
cmp eax, 3
jne 0x47bd9c
mov cl, byte [esi + 7]
mov eax, esi
cmp cl, 0xff
jne 0x47bd3a
mov eax, dword [esi]
cmp byte [eax + 1], 0x3a
jne 0x47bd9c
mov eax, esi
cmp cl, 0xff
jne 0x47bd49
mov eax, dword [esi]
cmp byte [eax + 2], 0x5c
jne 0x47bd9c
cmp cl, 0xff
jne 0x47bd56
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x47bd71
cmp eax, 4
je 0x47bd71
cmp eax, 2
je 0x47bd71
cmp eax, 6
jne 0x47bdc7
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
cmp byte [esi + 4], 0
jne 0x47bd11
cmp byte [esi + 5], 0
jne 0x47bd11
cmp byte [esi + 6], 0
je 0x47bdc7
jmp 0x47bd11
cmp byte [esi + 7], 0xff
jne 0x47bda4
mov esi, dword [esi]
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x47bdc7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x144], 0x10
jne 0x47bd71
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00493f43
mov esp, ebp
pop ebp
ret

Function at 0x47bde0
Capabilities:
Get disk information

Disassembly:
push esi
lea esi, [ecx + 4]
mov ecx, esi
call fcn.004720a0
cmp eax, 2
jb 0x47be26
mov al, byte [esi + 7]
mov ecx, esi
cmp al, 0xff
jne 0x47bdfb
mov ecx, dword [esi]
cmp byte [ecx + 1], 0x3a
jne 0x47be26
cmp al, 0xff
jne 0x47be07
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x47be1a
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 0x47dc30
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 0x47dc49
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 0x47dc83
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemFloatingPointProcessor
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47dc43
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 0x47dc90
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x4ff5d0]
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.00493d40
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 0x47dd2a
mov edi, 8
jmp 0x47dd4b
cmp ax, 4
jae 0x47dd37
mov edi, 2
jmp 0x47dd4b
jne 0x47dd4b
cmp cx, 0xa
sbb edi, edi
and edi, 0xfffffc04
add edi, 0x400
test ebx, ebx
je 0x47de1b
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0xd0]
cmp eax, 3
ja case.default.0x47dd70
jmp dword [eax*4 + 0x47de30]
test esi, esi
je 0x47ddb8
mov ax, word [ebp - 0xac]
cmp ax, 3
ja 0x47dd94
jne 0x47ddb8
cmp word [ebp - 0xaa], 0x32
jb 0x47ddb8
movzx eax, word [ebp - 0xb0]
sub eax, 4
js 0x47dddd
test eax, eax
je 0x47ddd6
cmp eax, 1
je 0x47ddcf
sub eax, 2
neg eax
sbb eax, eax
and eax, 0xfffffffb
lea esi, [eax + 4]
jmp 0x47ddfc
mov eax, dword [ebp - 0xb8]
sub eax, 0x182
je 0x47dddd
sub eax, 0x64
je 0x47ddd6
sub eax, 0x64
jne case.default.0x47dd70
mov esi, 2
jmp 0x47ddfc
mov esi, 1
jmp 0x47ddfc
mov esi, 0xfffffffe
jmp 0x47ddfc
mov esi, 0x40
jmp 0x47ddfc
mov esi, 0x20
jmp 0x47ddfc
mov esi, 8
jmp 0x47ddfc
or esi, 0xffffffff
call fcn.0047dc30
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.00493f43
mov esp, ebp
pop ebp
ret

Function at 0x483080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00482ae0

Function at 0x483d90
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.00495de6
mov esi, eax
add esp, 8
test esi, esi
jne 0x483db5
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.0049a5ee
xor edx, edx
cmp eax, edi
setne dl
push esi
mov edi, edx
call fcn.00495dac
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4846d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ff5d0]
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.00493d40
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x48484a
push eax
call fcn.00494a18
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x48484a
mov eax, dword [0x517472]
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 [0x517306]
mov dword [ebp - 0x214], edx
test eax, eax
je 0x484833
lea edx, [ebp - 0x20c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x484758
cmp byte [ebp - 0x20c], cl
je 0x4847a1
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x484773
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x4847a1
lea edi, [ebp - 0x20c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x484790
mov ax, word [0x4d19a0]
mov word [edi], ax
push 1
push esi
call fcn.00489e60
add esp, 8
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4847b0
lea edi, [ebp - 0x20c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4847c2
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.0049e521
mov ecx, dword [0x517472]
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.00493f43
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.00493f43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], 0
pop edi
xor ecx, ebp
pop esi
call fcn.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x484c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x517324]
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 0x484ca0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx]
push esi
push edi
push ecx
push eax
push 1
push edx
call fcn.0049a5ee
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x484cc0
test edi, edi
jne 0x484de4
cmp byte [0x517468], 0
je 0x484de4
xor edi, edi
mov dword [0x51732e], edi
mov esi, dword [0x517324]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.00493d40
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x484d00
push eax
call fcn.00494a18
add esp, 4
mov dword [esi], 0
mov eax, dword [0x51746e]
cmp eax, dword [0x51746a]
je 0x484de4
mov ecx, dword [0x517324]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.00493d40
mov edx, dword [0x51746a]
push 1
push edx
call fcn.00489e60
mov edx, dword [0x517324]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x484d47
mov eax, dword [0x51746a]
mov ecx, dword [0x517472]
imul eax, eax, 0x16
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x517324]
add eax, 0x23
push 0x4d4010
push eax
mov dword [0x51732a], edx
call fcn.00494eaf
mov ecx, dword [0x517324]
mov dword [ecx], eax
mov eax, dword [0x517324]
add esp, 8
cmp dword [eax], 0
je 0x484dfc
mov edx, dword [eax]
push edx
call fcn.0049f1db
push eax
call fcn.0049e278
add esp, 8
cmp eax, dword [0x51732a]
jne 0x484e22
mov eax, dword [0x517324]
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.0049a5ee
inc dword [0x51746a]
sub esi, eax
add esp, 0x10
add edi, eax
mov dword [ebp - 0x210], esi
test esi, esi
jg 0x484cd5
add dword [0x51732e], edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
add eax, 0x23
push eax
push 0x3e8
call fcn.00486940
add esp, 8
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
push 0x4d1a1a
push 0x3f2
call fcn.00486940
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x484eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x484ec0
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [0x51732a]
sub eax, ebx
cmp byte [0x517468], 0
push esi
push edi
mov dword [0x51732a], eax
je 0x4850d1
test eax, eax
jns 0x4850d1
add eax, ebx
cmp byte [0x517329], 0
mov dword [0x51732a], eax
je 0x484f5f
test eax, eax
je 0x484f5f
mov ecx, dword [0x517324]
mov edx, dword [ecx + 4]
push edx
push eax
mov eax, dword [0x5173fe]
push 1
push eax
call fcn.0049ab1a
mov eax, dword [0x51746a]
add esp, 0x10
test eax, eax
je 0x484f1e
dec eax
jmp 0x484f20
xor eax, eax
mov ecx, dword [0x517324]
push 1
push eax
add ecx, 4
push ecx
call fcn.004846d0
mov edx, dword [0x517324]
add edx, 0x23
push edx
push 0xbef
call fcn.00487910
add esp, 0x14
cmp eax, 0x6b
je 0x48510e
call fcn.00484e50
test eax, eax
jne 0x48511d
mov eax, dword [0x51746a]
xor edi, edi
cmp eax, dword [0x51746e]
jae 0x485130
mov ecx, dword [0x517324]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.00493d40
mov edx, dword [0x51746a]
push 1
push edx
call fcn.00489e60
mov edx, dword [0x517324]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x484fa2
mov eax, dword [0x51746a]
mov ecx, dword [0x517472]
imul eax, eax, 0x16
mov esi, dword [eax + ecx + 2]
call fcn.0048c510
mov byte [0x517329], al
test al, al
je 0x484fec
mov edx, dword [0x517324]
add edx, 0x23
push edx
call fcn.00484860
add esp, 4
cmp eax, 1
je 0x48511d
mov al, byte [0x517329]
mov ecx, dword [0x51732a]
inc dword [0x51746a]
mov edx, ebx
sub edx, ecx
sub edx, edi
cmp esi, edx
ja 0x48508f
test al, al
je 0x485052
mov eax, dword [0x517324]
mov edx, dword [eax + 4]
mov eax, dword [0x5173fe]
push edx
push esi
add eax, ecx
add eax, edi
push 1
push eax
call fcn.0049ab1a
mov ecx, dword [0x517324]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00487910
add esp, 0x18
cmp eax, 0x6b
je 0x48510e
call fcn.00484e50
test eax, eax
jne 0x48511d
mov eax, dword [0x51746a]
test eax, eax
je 0x48505e
dec eax
jmp 0x485060
xor eax, eax
mov edx, dword [0x517324]
push 1
push eax
add edx, 4
push edx
call fcn.004846d0
mov eax, dword [0x51746a]
add esp, 0xc
add edi, esi
cmp eax, dword [0x51746e]
jb 0x484f72
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
test al, al
je 0x4850be
mov edx, dword [0x517324]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x5173fe]
mov edx, ebx
sub edx, ecx
sub edx, edi
push edx
add eax, ecx
add eax, edi
push 1
push eax
call fcn.0049ab1a
mov ecx, dword [0x51732a]
add esp, 0x10
sub esi, ebx
add esi, edi
add ecx, esi
pop edi
pop esi
mov dword [0x51732a], ecx
xor eax, eax
pop ebx
pop ebp
ret
cmp byte [0x517329], 0
je 0x485130
mov ecx, dword [0x517324]
mov edx, dword [ecx + 4]
mov eax, dword [0x5173fe]
push edx
push ebx
push 1
push eax
call fcn.0049ab1a
mov ecx, dword [0x517324]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00487910
add esp, 0x18
cmp eax, 0x6b
jne 0x485127
push 0
push 0x3fb
call fcn.00486940
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
call fcn.00484e50
test eax, eax
jne 0x48511d
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4851d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ff5d0]
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.00493d40
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00493d40
add esp, 0x18
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x20c], 0
je 0x485261
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x485235
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x485261
lea edi, [ebp - 0x20c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x485250
mov ax, word [0x4d19a0]
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.004952eb
add esp, 0x10
cmp byte [ebp - 0x108], 0
je 0x4852c1
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x485295
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4852c1
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4852b0
mov ax, word [0x4d19a0]
mov word [edi], ax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00484630
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 0x4852e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x487160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4ff5d0]
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.00486c50
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.00493d40
push 0x49
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00494f10
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push 0x49
push edx
call fcn.0048e560
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x30c]
push ecx
push esi
mov dword [esi + 0x49], eax
call fcn.00486c50
push edi
push 0x4d
lea edx, [ebp - 0x30c]
push 1
push edx
call fcn.0049ab1a
add esp, 0x44
cmp eax, 0x4d
je 0x48720d
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
add dword [0x517332], 0x4d
cmp byte [esi + 0x13], 0
jne 0x487253
cmp byte [0x51741b], 0
je 0x487253
mov ecx, dword [0x5172f2]
test ecx, ecx
jle 0x487253
mov eax, dword [0x51731e]
test eax, eax
je 0x487253
push edi
push ecx
push 1
push eax
call fcn.0049ab1a
mov ecx, dword [0x5172f2]
add esp, 0x10
cmp eax, ecx
jne 0x4871f8
add dword [0x517332], ecx
cmp byte [esi + 0x13], 0
push ebx
je 0x48729b
movzx eax, byte [esi + 0x14]
mov ecx, dword [0x517324]
movzx ebx, byte [esi + 0x14]
push edi
push eax
add ecx, 0x437
push 1
push ecx
call fcn.0049ab1a
add esp, 0x10
cmp eax, ebx
je 0x487295
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
add dword [0x517332], ebx
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x487440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5172f6]
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.00483d60
push esi
call fcn.004bba97
add esp, 0xc
cmp eax, 0x4034b50
jne 0x4874b7
mov ecx, dword [0x517324]
mov byte [ecx + 0xb], 1
mov edx, dword [0x5172f6]
push edx
push esi
call fcn.00483d60
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00487c00
add esp, 0x10
cmp eax, 1
jne 0x4875af
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
cmp eax, 0x70695a58
jne 0x4874a3
mov ecx, dword [0x517324]
mov byte [ecx + 0xb], 0
mov edx, dword [0x5172f6]
push edx
push esi
call fcn.00483d60
push esi
push 0x4d
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0049a5ee
add esp, 0x18
cmp eax, 0x4d
jne 0x4874a3
lea ecx, [ebp - 0x208]
push 0x517410
push ecx
call fcn.00486e60
add esp, 8
cmp byte [0x51741b], 0
je 0x48752c
cmp byte [0x517423], 0
jne 0x48752c
mov edx, dword [0x517435]
push edx
push esi
call fcn.00483d90
add esp, 8
test eax, eax
jne 0x4874a3
lea eax, [ebp - 0x208]
push eax
call fcn.004870f0
add esp, 4
cmp eax, 1
je 0x4874a3
cmp byte [0x517423], 0
je 0x4875af
cmp byte [ebp + 0xc], 0
je 0x4875af
movzx ecx, byte [0x517424]
mov edx, dword [0x517324]
push esi
push ecx
add edx, 0x437
push 1
push edx
call fcn.0049a5ee
movzx ecx, byte [0x517424]
add esp, 0x10
cmp eax, ecx
jne 0x4874a3
mov dl, byte [0x517423]
mov eax, dword [0x517324]
mov byte [eax + 0x17], dl
mov ecx, dword [0x517425]
movzx edx, byte [0x517423]
push ecx
push edx
call fcn.00488950
add esp, 8
test eax, eax
jne 0x4874a3
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00493f43
mov esp, ebp
pop ebp
ret

Function at 0x487c00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0049aef3
mov eax, dword [0x517460]
add esp, 4
test eax, eax
jne 0x487c4b
push 0x108
push 1
call fcn.00495de6
add esp, 8
mov dword [0x517460], eax
test eax, eax
jne 0x487c4b
push str._Zip_cloacking
push 0x3fa
call fcn.00486940
add esp, 8
mov eax, 1
pop esi
pop ebp
ret
push esi
push 0x1e
push 1
push eax
call fcn.0049a5ee
add esp, 0x10
cmp eax, 0x1e
jne 0x487c43
mov eax, dword [0x517460]
movzx ecx, word [eax + 0x1a]
push esi
push ecx
lea edx, [ebp + 0xc]
push 1
push edx
call fcn.0049a5ee
mov ecx, dword [0x517460]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x487c43
push esi
push 0x4d
push 1
push 0x517410
call fcn.0049a5ee
xor ecx, ecx
add esp, 0x10
cmp eax, 0x4d
setne cl
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x487cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x517460], 0
jne 0x487d09
push 0x108
push 1
call fcn.00495de6
add esp, 8
mov dword [0x517460], eax
test eax, eax
jne 0x487d09
push str._Zip_cloacking
push 0x3fa
call fcn.00486940
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00493d40
push 0
push 0
call fcn.00489e60
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 0x487d30
mov ecx, dword [0x517460]
mov dword [ecx], 0x4034b50
mov eax, dword [0x517460]
mov edx, 0x14
mov word [eax + 4], dx
mov edx, dword [0x517460]
mov ecx, 2
mov word [edx + 6], cx
mov ecx, dword [0x517460]
mov eax, 0xb
mov word [ecx + 8], ax
mov eax, dword [0x517460]
xor edx, edx
mov word [eax + 0xa], dx
mov edx, dword [0x517460]
xor ecx, ecx
mov word [edx + 0xc], cx
mov eax, dword [0x517460]
mov dword [eax + 0xe], ecx
mov ecx, dword [0x517460]
mov dword [ecx + 0x12], 0
mov edx, dword [0x517472]
mov eax, dword [edx + 2]
mov ecx, dword [0x517460]
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 0x487dc0
sub eax, edx
mov edx, dword [0x517460]
mov word [edx + 0x1a], ax
mov ecx, dword [0x517460]
mov eax, 0x4d
mov word [ecx + 0x1c], ax
mov edx, dword [0x517324]
mov eax, dword [edx + 4]
mov ecx, dword [0x517460]
push eax
push 0x1e
push 1
push ecx
call fcn.0049ab1a
add esp, 0x10
cmp eax, 0x1e
je 0x487e29
push 0x4d1a1a
push 0x3ef
call fcn.00486940
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
mov edx, dword [0x517324]
mov eax, dword [edx + 4]
mov ecx, dword [0x517460]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0049ab1a
mov ecx, dword [0x517460]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x487e04
mov eax, dword [0x517324]
mov ecx, dword [eax + 4]
push ecx
push 0x517410
call fcn.00487160
add esp, 8
test eax, eax
jne 0x487e04
push esi
mov esi, dword [0x517460]
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.00493f43
mov esp, ebp
pop ebp
ret
Function at 0x4884f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x517460], 0
push edi
mov edi, dword [ebp + 8]
jne 0x48854e
push 0x108
push 1
call fcn.00495de6
add esp, 8
mov dword [0x517460], eax
test eax, eax
jne 0x48854e
push str._Zip_cloacking
push 0x3fa
call fcn.00486940
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
mov eax, dword [0x517324]
mov ecx, dword [eax]
push ecx
call fcn.0049aef3
mov edx, dword [0x517324]
mov eax, dword [edx]
mov ecx, dword [0x517460]
push eax
push 0x1e
push 1
push ecx
call fcn.0049a5ee
add esp, 0x14
cmp eax, 0x1e
je 0x4885a2
push 0x4d1a1a
push 0x3e9
call fcn.00486940
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
mov edx, dword [0x517324]
mov eax, dword [edx]
mov ecx, dword [0x517460]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0049a5ee
mov ecx, dword [0x517460]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x48857c
push esi
movzx esi, word [ecx + 0x1c]
cmp esi, 0xa00b0
jbe 0x4885f7
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f43
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x48860c
jmp 0x488600
push edi
call fcn.0049f0e7
add esp, 4
dec esi
jne 0x488600
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00493f43
mov esp, ebp
pop ebp
ret