Function at 0x463db0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d6a30]
push edi
xor edi, edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], edi
cmp eax, edi
jne 0x463e17
push 0x108
push 1
call fcn.004721da
add esp, 8
mov dword [0x4d6a30], eax
cmp eax, edi
jne 0x463e17
push str._Zip_cloacking
push 0x3fa
call fcn.00462850
add esp, 8
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0x30], edx
mov eax, dword [0x4d68f4]
mov ecx, dword [eax + 4]
push esi
push ecx
call fcn.00476f8f
mov edx, dword [0x4d68f4]
mov esi, eax
mov eax, dword [edx + 4]
push eax
call fcn.00477484
mov ecx, dword [0x4d68f4]
mov edx, dword [ecx + 4]
mov eax, dword [0x4d6a30]
push edx
push 0x1e
add eax, 0x1e
push 1
push eax
call fcn.00476af2
add esp, 0x18
cmp eax, 0x1e
je 0x463e8a
push 0x4a099a
push 0x3ef
call fcn.00462850
add esp, 8
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4d68f4]
mov edx, dword [ecx + 4]
push ebx
push edi
push esi
push edx
call fcn.0047707e
mov ebx, dword [0x4d6a30]
add esp, 0xc
cmp dword [ebx + 0x80], edi
jne 0x463eda
mov eax, dword [0x4d6a3e]
add eax, 4
shr eax, 1
push 0xe
push eax
call fcn.004721da
mov dword [ebx + 0x80], eax
mov ebx, dword [0x4d6a30]
add esp, 8
cmp dword [ebx + 0x80], edi
je 0x4643c6
mov eax, dword [0x4d6a3e]
test eax, eax
je 0x463fb6
xor ebx, ebx
lea esp, [esp]
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00470280
push 0
push edi
call fcn.00465d70
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 0x463f16
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463f30
sub eax, edx
mov esi, eax
lea eax, [esi + 2]
cdq
sub eax, edx
sar eax, 1
push 2
push eax
call fcn.004721da
mov edx, dword [0x4d6a30]
mov ecx, dword [edx + 0x80]
mov dword [ebx + ecx], eax
mov edx, dword [0x4d6a30]
mov eax, dword [edx + 0x80]
mov eax, dword [ebx + eax]
add esp, 8
test eax, eax
je 0x4641b2
push esi
push 0
push eax
call fcn.00470280
mov edx, dword [0x4d6a30]
mov eax, dword [edx + 0x80]
mov edx, dword [ebx + eax]
add esp, 0xc
lea ecx, [ebp - 0x108]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x463f95
mov eax, dword [0x4d6a3e]
inc edi
add ebx, 7
cmp edi, eax
jb 0x463ef0
mov ebx, dword [0x4d6a30]
mov dword [ebp - 0x10c], 1
cmp eax, 1
jbe 0x464118
mov edi, 7
lea esi, [edi + 0xf]
mov dword [ebx], 0x4034b50
mov edx, dword [0x4d6a30]
mov ecx, 0x14
mov word [edx + 4], cx
mov ecx, dword [0x4d6a30]
mov eax, 2
mov word [ecx + 6], ax
mov eax, dword [0x4d6a30]
mov edx, 4
mov word [eax + 8], dx
mov ecx, dword [0x4d6a42]
movzx edx, word [esi + ecx + 6]
mov eax, dword [0x4d6a30]
mov word [eax + 0xa], dx
mov ecx, dword [0x4d6a42]
movzx edx, word [esi + ecx + 8]
mov eax, dword [0x4d6a30]
mov word [eax + 0xc], dx
mov ecx, dword [0x4d6a42]
mov edx, dword [esi + ecx + 2]
mov eax, dword [0x4d6a30]
imul edx, edx, 0xf1f87
xor edx, 0xea8cdef6
mov dword [eax + 0xe], edx
mov ecx, dword [0x4d6a30]
mov dword [ecx + 0x12], 0
mov edx, dword [0x4d6a42]
mov eax, dword [esi + edx + 2]
mov ecx, dword [0x4d6a30]
mov dword [ecx + 0x16], eax
mov ecx, dword [0x4d6a30]
mov edx, dword [ecx + 0x80]
mov eax, dword [edx + edi]
lea edx, [eax + 1]
jmp 0x464080
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x464080
sub eax, edx
mov word [ecx + 0x1a], ax
mov ecx, dword [0x4d6a30]
xor eax, eax
mov word [ecx + 0x1c], ax
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
mov ecx, dword [0x4d6a30]
push eax
push 0x1e
push 1
push ecx
call fcn.00476af2
add esp, 0x10
cmp eax, 0x1e
jne 0x4643b4
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x4d6a30]
movzx ecx, word [eax + 0x1a]
mov edx, dword [eax + 0x80]
mov eax, dword [edx + edi]
push ecx
push 1
push eax
call fcn.00476af2
mov ebx, dword [0x4d6a30]
movzx ecx, word [ebx + 0x1a]
add esp, 0x10
cmp eax, ecx
jne 0x4643b4
mov eax, dword [ebp - 0x10c]
inc eax
add esi, 0x16
add edi, 7
mov dword [ebp - 0x10c], eax
cmp eax, dword [0x4d6a3e]
jb 0x463fd1
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
push eax
call fcn.00476f8f
mov ecx, dword [0x4d6a30]
xor esi, esi
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [0x4d6a3e], esi
jbe 0x464349
jmp 0x464150
mov dword [ecx + 0x3c], 0x2014b50
mov edx, dword [0x4d6a30]
mov ecx, 0xa14
mov word [edx + 0x40], cx
mov ecx, dword [0x4d6a30]
mov eax, 0x14
mov word [ecx + 0x42], ax
mov eax, dword [0x4d6a30]
mov edx, 2
mov word [eax + 0x44], dx
mov edx, dword [0x4d6a30]
mov eax, esi
imul eax, eax, 0x16
mov ecx, 4
mov word [edx + 0x46], cx
mov ecx, dword [0x4d6a42]
mov edx, dword [eax + ecx + 6]
mov ecx, dword [0x4d6a30]
mov dword [ecx + 0x48], edx
test esi, esi
jne 0x4641da
xor ecx, ecx
jmp 0x4641f0
push 0x4a099a
push 0x3fa
call fcn.00462850
add esp, 8
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4d6a42]
mov ecx, dword [eax + edx + 2]
imul ecx, ecx, 0xf1f87
xor ecx, 0xea8cdef6
mov edx, dword [0x4d6a30]
mov dword [edx + 0x4c], ecx
mov edx, dword [0x4d6a30]
test esi, esi
jne 0x464208
mov ecx, dword [edx + 0x30]
jmp 0x46420a
xor ecx, ecx
mov dword [edx + 0x50], ecx
mov ecx, dword [0x4d6a42]
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x4d6a30]
mov dword [eax + 0x54], edx
mov edx, dword [0x4d6a30]
mov ecx, dword [edx + 0x80]
lea edi, [esi*8]
sub edi, esi
mov eax, dword [ecx + edi]
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464240
sub eax, ebx
mov word [edx + 0x58], ax
mov ecx, dword [0x4d6a30]
test esi, esi
jne 0x46425d
movzx eax, word [ecx + 0x3a]
jmp 0x46425f
xor eax, eax
mov word [ecx + 0x5a], ax
mov edx, dword [0x4d6a30]
mov dword [edx + 0x62], 0x20
mov ecx, dword [0x4d6a30]
xor eax, eax
mov word [ecx + 0x5c], ax
mov edx, dword [0x4d6a30]
mov ecx, dword [ebp - 0x114]
mov dword [edx + 0x66], ecx
mov eax, dword [0x4d6a30]
movzx edx, word [eax + 0x5a]
movzx ebx, word [eax + 0x58]
add edx, ebx
add edx, dword [eax + 0x50]
add eax, 0x3c
lea ecx, [ecx + edx + 0x1e]
mov edx, dword [0x4d68f4]
mov dword [ebp - 0x114], ecx
mov ecx, dword [edx + 4]
push ecx
push 0x2e
push 1
push eax
call fcn.00476af2
add esp, 0x10
cmp eax, 0x2e
jne 0x4643b4
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x4d6a30]
movzx ecx, word [eax + 0x58]
mov edx, dword [eax + 0x80]
mov eax, dword [edx + edi]
push ecx
push 1
push eax
call fcn.00476af2
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x58]
add esp, 0x10
cmp eax, edx
jne 0x4643b4
test esi, esi
jne 0x464324
mov eax, dword [0x4d68f4]
mov ecx, dword [eax + 4]
push ecx
push 0x4d69e0
call fcn.00463070
mov ecx, dword [0x4d6a30]
add esp, 8
movzx eax, word [ecx + 0x58]
add eax, dword [ebp - 0x110]
movzx edx, word [ecx + 0x5a]
inc esi
lea edx, [eax + edx + 0x2e]
mov dword [ebp - 0x110], edx
cmp esi, dword [0x4d6a3e]
jb 0x464150
mov dword [ecx + 0x6a], 0x6054b50
movzx eax, word [0x4d6a3e]
mov ecx, dword [0x4d6a30]
mov word [ecx + 0x72], ax
movzx eax, word [0x4d6a3e]
mov edx, dword [0x4d6a30]
mov word [edx + 0x74], ax
mov ecx, dword [0x4d6a30]
mov edx, dword [ebp - 0x110]
mov dword [ecx + 0x76], edx
mov eax, dword [0x4d6a30]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 0x7a], ecx
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
mov ecx, dword [0x4d6a30]
push eax
push 0x16
add ecx, 0x6a
push 1
push ecx
call fcn.00476af2
add esp, 0x10
cmp eax, 0x16
je 0x4643dc
push 0x4a099a
push 0x3ef
call fcn.00462850
add esp, 8
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4d6a3e]
push edx
call fcn.00463a90
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00470483
mov esp, ebp
pop ebp
ret