Function at 0x4882c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x50eda8]
push edi
xor edi, edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], edi
cmp eax, edi
jne 0x488327
push 0x108
push 1
call fcn.00495ea1
add esp, 8
mov dword [0x50eda8], eax
cmp eax, edi
jne 0x488327
push str._Zip_cloacking
push 0x3fa
call fcn.00486d60
add esp, 8
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0x30], edx
mov eax, dword [0x50ec6c]
mov ecx, dword [eax + 4]
push esi
push ecx
call fcn.0049a998
mov edx, dword [0x50ec6c]
mov esi, eax
mov eax, dword [edx + 4]
push eax
call fcn.0049b181
mov ecx, dword [0x50ec6c]
mov edx, dword [ecx + 4]
mov eax, dword [0x50eda8]
push edx
push 0x1e
add eax, 0x1e
push 1
push eax
call fcn.0049ac5a
add esp, 0x18
cmp eax, 0x1e
je 0x48839a
push 0x4cd9ca
push 0x3ef
call fcn.00486d60
add esp, 8
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x50ec6c]
mov edx, dword [ecx + 4]
push ebx
push edi
push esi
push edx
call fcn.0049aa87
mov ebx, dword [0x50eda8]
add esp, 0xc
cmp dword [ebx + 0x80], edi
jne 0x4883ea
mov eax, dword [0x50edb6]
add eax, 4
shr eax, 1
push 0xe
push eax
call fcn.00495ea1
mov dword [ebx + 0x80], eax
mov ebx, dword [0x50eda8]
add esp, 8
cmp dword [ebx + 0x80], edi
je 0x4888d6
mov eax, dword [0x50edb6]
test eax, eax
je 0x4884c6
xor ebx, ebx
lea esp, [esp]
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00493f80
push 0
push edi
call fcn.0048a280
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 0x488426
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x488440
sub eax, edx
mov esi, eax
lea eax, [esi + 2]
cdq
sub eax, edx
sar eax, 1
push 2
push eax
call fcn.00495ea1
mov edx, dword [0x50eda8]
mov ecx, dword [edx + 0x80]
mov dword [ebx + ecx], eax
mov edx, dword [0x50eda8]
mov eax, dword [edx + 0x80]
mov eax, dword [ebx + eax]
add esp, 8
test eax, eax
je 0x4886c2
push esi
push 0
push eax
call fcn.00493f80
mov edx, dword [0x50eda8]
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 0x4884a5
mov eax, dword [0x50edb6]
inc edi
add ebx, 7
cmp edi, eax
jb 0x488400
mov ebx, dword [0x50eda8]
mov dword [ebp - 0x10c], 1
cmp eax, 1
jbe 0x488628
mov edi, 7
lea esi, [edi + 0xf]
mov dword [ebx], 0x4034b50
mov edx, dword [0x50eda8]
mov ecx, 0x14
mov word [edx + 4], cx
mov ecx, dword [0x50eda8]
mov eax, 2
mov word [ecx + 6], ax
mov eax, dword [0x50eda8]
mov edx, 4
mov word [eax + 8], dx
mov ecx, dword [0x50edba]
movzx edx, word [esi + ecx + 6]
mov eax, dword [0x50eda8]
mov word [eax + 0xa], dx
mov ecx, dword [0x50edba]
movzx edx, word [esi + ecx + 8]
mov eax, dword [0x50eda8]
mov word [eax + 0xc], dx
mov ecx, dword [0x50edba]
mov edx, dword [esi + ecx + 2]
mov eax, dword [0x50eda8]
imul edx, edx, 0xf1f87
xor edx, 0xea8cdef6
mov dword [eax + 0xe], edx
mov ecx, dword [0x50eda8]
mov dword [ecx + 0x12], 0
mov edx, dword [0x50edba]
mov eax, dword [esi + edx + 2]
mov ecx, dword [0x50eda8]
mov dword [ecx + 0x16], eax
mov ecx, dword [0x50eda8]
mov edx, dword [ecx + 0x80]
mov eax, dword [edx + edi]
lea edx, [eax + 1]
jmp 0x488590
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x488590
sub eax, edx
mov word [ecx + 0x1a], ax
mov ecx, dword [0x50eda8]
xor eax, eax
mov word [ecx + 0x1c], ax
mov edx, dword [0x50ec6c]
mov eax, dword [edx + 4]
mov ecx, dword [0x50eda8]
push eax
push 0x1e
push 1
push ecx
call fcn.0049ac5a
add esp, 0x10
cmp eax, 0x1e
jne 0x4888c4
mov edx, dword [0x50ec6c]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x50eda8]
movzx ecx, word [eax + 0x1a]
mov edx, dword [eax + 0x80]
mov eax, dword [edx + edi]
push ecx
push 1
push eax
call fcn.0049ac5a
mov ebx, dword [0x50eda8]
movzx ecx, word [ebx + 0x1a]
add esp, 0x10
cmp eax, ecx
jne 0x4888c4
mov eax, dword [ebp - 0x10c]
inc eax
add esi, 0x16
add edi, 7
mov dword [ebp - 0x10c], eax
cmp eax, dword [0x50edb6]
jb 0x4884e1
mov edx, dword [0x50ec6c]
mov eax, dword [edx + 4]
push eax
call fcn.0049a998
mov ecx, dword [0x50eda8]
xor esi, esi
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [0x50edb6], esi
jbe 0x488859
jmp 0x488660
mov dword [ecx + 0x3c], 0x2014b50
mov edx, dword [0x50eda8]
mov ecx, 0xa14
mov word [edx + 0x40], cx
mov ecx, dword [0x50eda8]
mov eax, 0x14
mov word [ecx + 0x42], ax
mov eax, dword [0x50eda8]
mov edx, 2
mov word [eax + 0x44], dx
mov edx, dword [0x50eda8]
mov eax, esi
imul eax, eax, 0x16
mov ecx, 4
mov word [edx + 0x46], cx
mov ecx, dword [0x50edba]
mov edx, dword [eax + ecx + 6]
mov ecx, dword [0x50eda8]
mov dword [ecx + 0x48], edx
test esi, esi
jne 0x4886ea
xor ecx, ecx
jmp 0x488700
push 0x4cd9ca
push 0x3fa
call fcn.00486d60
add esp, 8
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret
mov edx, dword [0x50edba]
mov ecx, dword [eax + edx + 2]
imul ecx, ecx, 0xf1f87
xor ecx, 0xea8cdef6
mov edx, dword [0x50eda8]
mov dword [edx + 0x4c], ecx
mov edx, dword [0x50eda8]
test esi, esi
jne 0x488718
mov ecx, dword [edx + 0x30]
jmp 0x48871a
xor ecx, ecx
mov dword [edx + 0x50], ecx
mov ecx, dword [0x50edba]
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x50eda8]
mov dword [eax + 0x54], edx
mov edx, dword [0x50eda8]
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 0x488750
sub eax, ebx
mov word [edx + 0x58], ax
mov ecx, dword [0x50eda8]
test esi, esi
jne 0x48876d
movzx eax, word [ecx + 0x3a]
jmp 0x48876f
xor eax, eax
mov word [ecx + 0x5a], ax
mov edx, dword [0x50eda8]
mov dword [edx + 0x62], 0x20
mov ecx, dword [0x50eda8]
xor eax, eax
mov word [ecx + 0x5c], ax
mov edx, dword [0x50eda8]
mov ecx, dword [ebp - 0x114]
mov dword [edx + 0x66], ecx
mov eax, dword [0x50eda8]
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 [0x50ec6c]
mov dword [ebp - 0x114], ecx
mov ecx, dword [edx + 4]
push ecx
push 0x2e
push 1
push eax
call fcn.0049ac5a
add esp, 0x10
cmp eax, 0x2e
jne 0x4888c4
mov edx, dword [0x50ec6c]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x50eda8]
movzx ecx, word [eax + 0x58]
mov edx, dword [eax + 0x80]
mov eax, dword [edx + edi]
push ecx
push 1
push eax
call fcn.0049ac5a
mov ecx, dword [0x50eda8]
movzx edx, word [ecx + 0x58]
add esp, 0x10
cmp eax, edx
jne 0x4888c4
test esi, esi
jne 0x488834
mov eax, dword [0x50ec6c]
mov ecx, dword [eax + 4]
push ecx
push 0x50ed58
call fcn.00487580
mov ecx, dword [0x50eda8]
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 [0x50edb6]
jb 0x488660
mov dword [ecx + 0x6a], 0x6054b50
movzx eax, word [0x50edb6]
mov ecx, dword [0x50eda8]
mov word [ecx + 0x72], ax
movzx eax, word [0x50edb6]
mov edx, dword [0x50eda8]
mov word [edx + 0x74], ax
mov ecx, dword [0x50eda8]
mov edx, dword [ebp - 0x110]
mov dword [ecx + 0x76], edx
mov eax, dword [0x50eda8]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 0x7a], ecx
mov edx, dword [0x50ec6c]
mov eax, dword [edx + 4]
mov ecx, dword [0x50eda8]
push eax
push 0x16
add ecx, 0x6a
push 1
push ecx
call fcn.0049ac5a
add esp, 0x10
cmp eax, 0x16
je 0x4888ec
push 0x4cd9ca
push 0x3ef
call fcn.00486d60
add esp, 8
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret
mov edx, dword [0x50edb6]
push edx
call fcn.00487fa0
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004944f9
mov esp, ebp
pop ebp
ret