joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482a00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fc5b0]
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.00491e90
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x482b7a
push eax
call fcn.00492b68
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x482b7a
mov eax, dword [0x514452]
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 [0x5142e6]
mov dword [ebp - 0x214], edx
test eax, eax
je 0x482b63
lea edx, [ebp - 0x20c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x482a88
cmp byte [ebp - 0x20c], cl
je 0x482ad1
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482aa3
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x482ad1
lea edi, [ebp - 0x20c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x482ac0
mov ax, word [0x4cf9a0]
mov word [edi], ax
push 1
push esi
call fcn.004881a0
add esp, 8
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x482ae0
lea edi, [ebp - 0x20c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x482af2
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.0049c861
mov ecx, dword [0x514452]
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.00492093
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.00492093
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], 0
pop edi
xor ecx, ebp
pop esi
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x482f90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x514304]
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 0x482fd0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx]
push esi
push edi
push ecx
push eax
push 1
push edx
call fcn.0049872e
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x482ff0
test edi, edi
jne 0x483114
cmp byte [0x514448], 0
je 0x483114
xor edi, edi
mov dword [0x51430e], edi
mov esi, dword [0x514304]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.00491e90
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x483030
push eax
call fcn.00492b68
add esp, 4
mov dword [esi], 0
mov eax, dword [0x51444e]
cmp eax, dword [0x51444a]
je 0x483114
mov ecx, dword [0x514304]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.00491e90
mov edx, dword [0x51444a]
push 1
push edx
call fcn.004881a0
mov edx, dword [0x514304]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x483077
mov eax, dword [0x51444a]
mov ecx, dword [0x514452]
imul eax, eax, 0x16
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x514304]
add eax, 0x23
push 0x4d1f20
push eax
mov dword [0x51430a], edx
call fcn.00492fff
mov ecx, dword [0x514304]
mov dword [ecx], eax
mov eax, dword [0x514304]
add esp, 8
cmp dword [eax], 0
je 0x48312c
mov edx, dword [eax]
push edx
call fcn.0049d51b
push eax
call fcn.0049c5b8
add esp, 8
cmp eax, dword [0x51430a]
jne 0x483152
mov eax, dword [0x514304]
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.0049872e
inc dword [0x51444a]
sub esi, eax
add esp, 0x10
add edi, eax
mov dword [ebp - 0x210], esi
test esi, esi
jg 0x483005
add dword [0x51430e], edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
add eax, 0x23
push eax
push 0x3e8
call fcn.00484c80
add esp, 8
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
push 0x4cfa1a
push 0x3f2
call fcn.00484c80
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x4831e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4831f0
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [0x51430a]
sub eax, ebx
cmp byte [0x514448], 0
push esi
push edi
mov dword [0x51430a], eax
je 0x483401
test eax, eax
jns 0x483401
add eax, ebx
cmp byte [0x514309], 0
mov dword [0x51430a], eax
je 0x48328f
test eax, eax
je 0x48328f
mov ecx, dword [0x514304]
mov edx, dword [ecx + 4]
push edx
push eax
mov eax, dword [0x5143de]
push 1
push eax
call fcn.00498c5a
mov eax, dword [0x51444a]
add esp, 0x10
test eax, eax
je 0x48324e
dec eax
jmp 0x483250
xor eax, eax
mov ecx, dword [0x514304]
push 1
push eax
add ecx, 4
push ecx
call fcn.00482a00
mov edx, dword [0x514304]
add edx, 0x23
push edx
push 0xbef
call fcn.00485c50
add esp, 0x14
cmp eax, 0x6b
je 0x48343e
call fcn.00483180
test eax, eax
jne 0x48344d
mov eax, dword [0x51444a]
xor edi, edi
cmp eax, dword [0x51444e]
jae 0x483460
mov ecx, dword [0x514304]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.00491e90
mov edx, dword [0x51444a]
push 1
push edx
call fcn.004881a0
mov edx, dword [0x514304]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4832d2
mov eax, dword [0x51444a]
mov ecx, dword [0x514452]
imul eax, eax, 0x16
mov esi, dword [eax + ecx + 2]
call fcn.0048a850
mov byte [0x514309], al
test al, al
je 0x48331c
mov edx, dword [0x514304]
add edx, 0x23
push edx
call fcn.00482b90
add esp, 4
cmp eax, 1
je 0x48344d
mov al, byte [0x514309]
mov ecx, dword [0x51430a]
inc dword [0x51444a]
mov edx, ebx
sub edx, ecx
sub edx, edi
cmp esi, edx
ja 0x4833bf
test al, al
je 0x483382
mov eax, dword [0x514304]
mov edx, dword [eax + 4]
mov eax, dword [0x5143de]
push edx
push esi
add eax, ecx
add eax, edi
push 1
push eax
call fcn.00498c5a
mov ecx, dword [0x514304]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00485c50
add esp, 0x18
cmp eax, 0x6b
je 0x48343e
call fcn.00483180
test eax, eax
jne 0x48344d
mov eax, dword [0x51444a]
test eax, eax
je 0x48338e
dec eax
jmp 0x483390
xor eax, eax
mov edx, dword [0x514304]
push 1
push eax
add edx, 4
push edx
call fcn.00482a00
mov eax, dword [0x51444a]
add esp, 0xc
add edi, esi
cmp eax, dword [0x51444e]
jb 0x4832a2
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
test al, al
je 0x4833ee
mov edx, dword [0x514304]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x5143de]
mov edx, ebx
sub edx, ecx
sub edx, edi
push edx
add eax, ecx
add eax, edi
push 1
push eax
call fcn.00498c5a
mov ecx, dword [0x51430a]
add esp, 0x10
sub esi, ebx
add esi, edi
add ecx, esi
pop edi
pop esi
mov dword [0x51430a], ecx
xor eax, eax
pop ebx
pop ebp
ret
cmp byte [0x514309], 0
je 0x483460
mov ecx, dword [0x514304]
mov edx, dword [ecx + 4]
mov eax, dword [0x5143de]
push edx
push ebx
push 1
push eax
call fcn.00498c5a
mov ecx, dword [0x514304]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00485c50
add esp, 0x18
cmp eax, 0x6b
jne 0x483457
push 0
push 0x3fb
call fcn.00484c80
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
call fcn.00483180
test eax, eax
jne 0x48344d
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x483500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fc5b0]
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.00491e90
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00491e90
add esp, 0x18
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x20c], 0
je 0x483591
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483565
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x483591
lea edi, [ebp - 0x20c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x483580
mov ax, word [0x4cf9a0]
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.0049343b
add esp, 0x10
cmp byte [ebp - 0x108], 0
je 0x4835f1
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4835c5
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4835f1
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4835e0
mov ax, word [0x4cf9a0]
mov word [edi], ax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00482960
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 0x483610
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x4854a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4fc5b0]
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.00484f90
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.00491e90
push 0x49
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00493060
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push 0x49
push edx
call fcn.0048c8a0
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x30c]
push ecx
push esi
mov dword [esi + 0x49], eax
call fcn.00484f90
push edi
push 0x4d
lea edx, [ebp - 0x30c]
push 1
push edx
call fcn.00498c5a
add esp, 0x44
cmp eax, 0x4d
je 0x48554d
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
add dword [0x514312], 0x4d
cmp byte [esi + 0x13], 0
jne 0x485593
cmp byte [0x5143fb], 0
je 0x485593
mov ecx, dword [0x5142d2]
test ecx, ecx
jle 0x485593
mov eax, dword [0x5142fe]
test eax, eax
je 0x485593
push edi
push ecx
push 1
push eax
call fcn.00498c5a
mov ecx, dword [0x5142d2]
add esp, 0x10
cmp eax, ecx
jne 0x485538
add dword [0x514312], ecx
cmp byte [esi + 0x13], 0
push ebx
je 0x4855db
movzx eax, byte [esi + 0x14]
mov ecx, dword [0x514304]
movzx ebx, byte [esi + 0x14]
push edi
push eax
add ecx, 0x437
push 1
push ecx
call fcn.00498c5a
add esp, 0x10
cmp eax, ebx
je 0x4855d5
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
add dword [0x514312], ebx
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x485780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5142d6]
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.00482090
push esi
call fcn.004b9df7
add esp, 0xc
cmp eax, 0x4034b50
jne 0x4857f7
mov ecx, dword [0x514304]
mov byte [ecx + 0xb], 1
mov edx, dword [0x5142d6]
push edx
push esi
call fcn.00482090
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00485f40
add esp, 0x10
cmp eax, 1
jne 0x4858ef
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
cmp eax, 0x70695a58
jne 0x4857e3
mov ecx, dword [0x514304]
mov byte [ecx + 0xb], 0
mov edx, dword [0x5142d6]
push edx
push esi
call fcn.00482090
push esi
push 0x4d
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0049872e
add esp, 0x18
cmp eax, 0x4d
jne 0x4857e3
lea ecx, [ebp - 0x208]
push 0x5143f0
push ecx
call fcn.004851a0
add esp, 8
cmp byte [0x5143fb], 0
je 0x48586c
cmp byte [0x514403], 0
jne 0x48586c
mov edx, dword [0x514415]
push edx
push esi
call fcn.004820c0
add esp, 8
test eax, eax
jne 0x4857e3
lea eax, [ebp - 0x208]
push eax
call fcn.00485430
add esp, 4
cmp eax, 1
je 0x4857e3
cmp byte [0x514403], 0
je 0x4858ef
cmp byte [ebp + 0xc], 0
je 0x4858ef
movzx ecx, byte [0x514404]
mov edx, dword [0x514304]
push esi
push ecx
add edx, 0x437
push 1
push edx
call fcn.0049872e
movzx ecx, byte [0x514404]
add esp, 0x10
cmp eax, ecx
jne 0x4857e3
mov dl, byte [0x514403]
mov eax, dword [0x514304]
mov byte [eax + 0x17], dl
mov ecx, dword [0x514405]
movzx edx, byte [0x514403]
push ecx
push edx
call fcn.00486c90
add esp, 8
test eax, eax
jne 0x4857e3
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00492093
mov esp, ebp
pop ebp
ret

Function at 0x485f40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00499033
mov eax, dword [0x514440]
add esp, 4
test eax, eax
jne 0x485f8b
push 0x108
push 1
call fcn.00493ea1
add esp, 8
mov dword [0x514440], eax
test eax, eax
jne 0x485f8b
push str._Zip_cloacking
push 0x3fa
call fcn.00484c80
add esp, 8
mov eax, 1
pop esi
pop ebp
ret
push esi
push 0x1e
push 1
push eax
call fcn.0049872e
add esp, 0x10
cmp eax, 0x1e
jne 0x485f83
mov eax, dword [0x514440]
movzx ecx, word [eax + 0x1a]
push esi
push ecx
lea edx, [ebp + 0xc]
push 1
push edx
call fcn.0049872e
mov ecx, dword [0x514440]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x485f83
push esi
push 0x4d
push 1
push 0x5143f0
call fcn.0049872e
xor ecx, ecx
add esp, 0x10
cmp eax, 0x4d
setne cl
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x485ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x514440], 0
jne 0x486049
push 0x108
push 1
call fcn.00493ea1
add esp, 8
mov dword [0x514440], eax
test eax, eax
jne 0x486049
push str._Zip_cloacking
push 0x3fa
call fcn.00484c80
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00491e90
push 0
push 0
call fcn.004881a0
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 0x486070
mov ecx, dword [0x514440]
mov dword [ecx], 0x4034b50
mov eax, dword [0x514440]
mov edx, 0x14
mov word [eax + 4], dx
mov edx, dword [0x514440]
mov ecx, 2
mov word [edx + 6], cx
mov ecx, dword [0x514440]
mov eax, 0xb
mov word [ecx + 8], ax
mov eax, dword [0x514440]
xor edx, edx
mov word [eax + 0xa], dx
mov edx, dword [0x514440]
xor ecx, ecx
mov word [edx + 0xc], cx
mov eax, dword [0x514440]
mov dword [eax + 0xe], ecx
mov ecx, dword [0x514440]
mov dword [ecx + 0x12], 0
mov edx, dword [0x514452]
mov eax, dword [edx + 2]
mov ecx, dword [0x514440]
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 0x486100
sub eax, edx
mov edx, dword [0x514440]
mov word [edx + 0x1a], ax
mov ecx, dword [0x514440]
mov eax, 0x4d
mov word [ecx + 0x1c], ax
mov edx, dword [0x514304]
mov eax, dword [edx + 4]
mov ecx, dword [0x514440]
push eax
push 0x1e
push 1
push ecx
call fcn.00498c5a
add esp, 0x10
cmp eax, 0x1e
je 0x486169
push 0x4cfa1a
push 0x3ef
call fcn.00484c80
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
mov edx, dword [0x514304]
mov eax, dword [edx + 4]
mov ecx, dword [0x514440]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00498c5a
mov ecx, dword [0x514440]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x486144
mov eax, dword [0x514304]
mov ecx, dword [eax + 4]
push ecx
push 0x5143f0
call fcn.004854a0
add esp, 8
test eax, eax
jne 0x486144
push esi
mov esi, dword [0x514440]
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.00492093
mov esp, ebp
pop ebp
ret
Function at 0x486830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x514440], 0
push edi
mov edi, dword [ebp + 8]
jne 0x48688e
push 0x108
push 1
call fcn.00493ea1
add esp, 8
mov dword [0x514440], eax
test eax, eax
jne 0x48688e
push str._Zip_cloacking
push 0x3fa
call fcn.00484c80
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
mov eax, dword [0x514304]
mov ecx, dword [eax]
push ecx
call fcn.00499033
mov edx, dword [0x514304]
mov eax, dword [edx]
mov ecx, dword [0x514440]
push eax
push 0x1e
push 1
push ecx
call fcn.0049872e
add esp, 0x14
cmp eax, 0x1e
je 0x4868e2
push 0x4cfa1a
push 0x3e9
call fcn.00484c80
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
mov edx, dword [0x514304]
mov eax, dword [edx]
mov ecx, dword [0x514440]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0049872e
mov ecx, dword [0x514440]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x4868bc
push esi
movzx esi, word [ecx + 0x1c]
cmp esi, 0xa00b0
jbe 0x486937
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x48694c
jmp 0x486940
push edi
call fcn.0049d427
add esp, 4
dec esi
jne 0x486940
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x486960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x514440], esi
jne 0x4869ba
push 0x108
push 1
call fcn.00493ea1
add esp, 8
mov dword [0x514440], eax
cmp eax, esi
jne 0x4869ba
push str._Zip_cloacking
push 0x3fa
call fcn.00484c80
add esp, 8
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
mov eax, dword [0x514304]
mov ecx, dword [eax]
push ebx
push edi
push ecx
call fcn.00499033
push 0x104
lea edx, [ebp - 0x108]
push esi
push edx
mov dword [0x51444e], esi
mov dword [0x514472], esi
call fcn.00491e90
mov eax, dword [0x514304]
mov ecx, dword [eax]
mov edx, dword [0x514440]
push ecx
push 0x1e
push 1
push edx
call fcn.0049872e
add esp, 0x20
cmp eax, 0x1e
jne 0x486af6
jmp 0x486a10
mov ecx, dword [0x514304]
mov eax, dword [0x514440]
cmp dword [eax], 0x4034b50
mov edx, dword [ecx]
push edx
jne 0x486b1e
movzx eax, word [eax + 0x1a]
push eax
lea ecx, [ebp - 0x108]
push 1
push ecx
call fcn.0049872e
mov ecx, dword [0x514440]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x486af6
movzx esi, word [ecx + 0x1c]
mov eax, dword [0x514304]
mov edi, dword [eax]
mov ebx, ecx
cmp esi, 0xa00b0
ja 0x486af6
test esi, esi
je 0x486a7c
nop
push edi
call fcn.0049d427
add esp, 4
dec esi
jne 0x486a70
mov ecx, dword [ebx + 0x12]
push 1
push ecx
push edi
call fcn.00498a87
mov eax, dword [0x514440]
mov edx, dword [eax + 0x16]
add dword [0x514472], edx
mov eax, dword [eax + 0x16]
mov edx, dword [0x51444e]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.0048cdb0
add esp, 0x24
test eax, eax
jne 0x486b08
inc dword [0x51444e]
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00491e90
mov ecx, dword [0x514304]
mov edx, dword [ecx]
mov eax, dword [0x514440]
push edx
push 0x1e
push 1
push eax
call fcn.0049872e
add esp, 0x1c
cmp eax, 0x1e
je 0x486a10
push 0x4cfa1a
push 0x3e9
call fcn.00484c80
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
call fcn.00486830
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x487390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x514444]
mov ecx, dword [eax + 0xd]
mov edx, dword [ebp + 8]
push ebx
add ecx, edx
push esi
push edi
cmp ecx, dword [eax + 9]
jle 0x487504
mov ecx, dword [eax + 9]
mov edi, dword [eax + 0xd]
mov esi, dword [ebp + 0x14]
mov ebx, ecx
sub ebx, edi
sub edi, ecx
add edi, edx
test ebx, ebx
jle 0x4873e3
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push ebx
push 1
push eax
call fcn.00498c5a
add esp, 0x10
mov dword [esi], eax
cmp eax, ebx
jne 0x4874fa
mov eax, dword [0x514444]
cmp edi, dword [eax + 9]
jle 0x48747a
lea esp, [esp]
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
cmp eax, 1
je 0x4874f4
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x514444]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
push eax
push 1
push ecx
call fcn.00498c5a
add dword [esi], eax
mov eax, dword [0x514444]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x514444]
sub edi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x514304]
mov ecx, dword [0x514444]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00485d40
mov eax, dword [0x514444]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x4873f0
test edi, edi
je 0x48751f
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
cmp eax, 1
je 0x4874f4
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
add edx, dword [ebp + 0xc]
push ecx
push edi
push 1
push edx
call fcn.00498c5a
add dword [esi], eax
mov eax, dword [0x514444]
mov dword [eax + 0xd], edi
mov eax, dword [0x514444]
inc dword [eax + 1]
mov ecx, dword [0x514304]
mov edx, dword [0x514444]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00485d40
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
add dword [eax + 0xd], edx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.00498c5a
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret