Function at 0x455210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a26a8]
push edi
xor edi, edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], edi
cmp eax, edi
jne 0x455277
push 0x108
push 1
call fcn.00460249
add esp, 8
mov dword [0x4a26a8], eax
cmp eax, edi
jne 0x455277
push str._Zip_cloacking
push 0x3fa
call fcn.00453cb0
add esp, 8
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0x30], edx
mov eax, dword [0x4a256c]
mov ecx, dword [eax + 4]
push esi
push ecx
call fcn.00464b93
mov edx, dword [0x4a256c]
mov esi, eax
mov eax, dword [edx + 4]
push eax
call fcn.00464941
mov ecx, dword [0x4a256c]
mov edx, dword [ecx + 4]
mov eax, dword [0x4a26a8]
push edx
push 0x1e
add eax, 0x1e
push 1
push eax
call fcn.00464660
add esp, 0x18
cmp eax, 0x1e
je 0x4552ea
push 0x47e7fe
push 0x3ef
call fcn.00453cb0
add esp, 8
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4a256c]
mov edx, dword [ecx + 4]
push ebx
push edi
push esi
push edx
call fcn.00464c82
mov ebx, dword [0x4a26a8]
add esp, 0xc
cmp dword [ebx + 0x80], edi
jne 0x45533a
mov eax, dword [0x4a26b6]
add eax, 4
shr eax, 1
push 0xe
push eax
call fcn.00460249
mov dword [ebx + 0x80], eax
mov ebx, dword [0x4a26a8]
add esp, 8
cmp dword [ebx + 0x80], edi
je 0x455826
mov eax, dword [0x4a26b6]
test eax, eax
je 0x455416
xor ebx, ebx
lea esp, [esp]
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.0045f090
push 0
push edi
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 0x455376
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455390
sub eax, edx
mov esi, eax
lea eax, [esi + 2]
cdq
sub eax, edx
sar eax, 1
push 2
push eax
call fcn.00460249
mov edx, dword [0x4a26a8]
mov ecx, dword [edx + 0x80]
mov dword [ebx + ecx], eax
mov edx, dword [0x4a26a8]
mov eax, dword [edx + 0x80]
mov eax, dword [ebx + eax]
add esp, 8
test eax, eax
je 0x455612
push esi
push 0
push eax
call fcn.0045f090
mov edx, dword [0x4a26a8]
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 0x4553f5
mov eax, dword [0x4a26b6]
inc edi
add ebx, 7
cmp edi, eax
jb 0x455350
mov ebx, dword [0x4a26a8]
mov dword [ebp - 0x10c], 1
cmp eax, 1
jbe 0x455578
mov edi, 7
lea esi, [edi + 0xf]
mov dword [ebx], 0x4034b50
mov edx, dword [0x4a26a8]
mov ecx, 0x14
mov word [edx + 4], cx
mov ecx, dword [0x4a26a8]
mov eax, 2
mov word [ecx + 6], ax
mov eax, dword [0x4a26a8]
mov edx, 4
mov word [eax + 8], dx
mov ecx, dword [0x4a26ba]
movzx edx, word [esi + ecx + 6]
mov eax, dword [0x4a26a8]
mov word [eax + 0xa], dx
mov ecx, dword [0x4a26ba]
movzx edx, word [esi + ecx + 8]
mov eax, dword [0x4a26a8]
mov word [eax + 0xc], dx
mov ecx, dword [0x4a26ba]
mov edx, dword [esi + ecx + 2]
mov eax, dword [0x4a26a8]
imul edx, edx, 0xf1f87
xor edx, 0xea8cdef6
mov dword [eax + 0xe], edx
mov ecx, dword [0x4a26a8]
mov dword [ecx + 0x12], 0
mov edx, dword [0x4a26ba]
mov eax, dword [esi + edx + 2]
mov ecx, dword [0x4a26a8]
mov dword [ecx + 0x16], eax
mov ecx, dword [0x4a26a8]
mov edx, dword [ecx + 0x80]
mov eax, dword [edx + edi]
lea edx, [eax + 1]
jmp 0x4554e0
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x4554e0
sub eax, edx
mov word [ecx + 0x1a], ax
mov ecx, dword [0x4a26a8]
xor eax, eax
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
jne 0x455814
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x4a26a8]
movzx ecx, word [eax + 0x1a]
mov edx, dword [eax + 0x80]
mov eax, dword [edx + edi]
push ecx
push 1
push eax
call fcn.00464660
mov ebx, dword [0x4a26a8]
movzx ecx, word [ebx + 0x1a]
add esp, 0x10
cmp eax, ecx
jne 0x455814
mov eax, dword [ebp - 0x10c]
inc eax
add esi, 0x16
add edi, 7
mov dword [ebp - 0x10c], eax
cmp eax, dword [0x4a26b6]
jb 0x455431
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
push eax
call fcn.00464b93
mov ecx, dword [0x4a26a8]
xor esi, esi
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [0x4a26b6], esi
jbe 0x4557a9
jmp 0x4555b0
mov dword [ecx + 0x3c], 0x2014b50
mov edx, dword [0x4a26a8]
mov ecx, 0xa14
mov word [edx + 0x40], cx
mov ecx, dword [0x4a26a8]
mov eax, 0x14
mov word [ecx + 0x42], ax
mov eax, dword [0x4a26a8]
mov edx, 2
mov word [eax + 0x44], dx
mov edx, dword [0x4a26a8]
mov eax, esi
imul eax, eax, 0x16
mov ecx, 4
mov word [edx + 0x46], cx
mov ecx, dword [0x4a26ba]
mov edx, dword [eax + ecx + 6]
mov ecx, dword [0x4a26a8]
mov dword [ecx + 0x48], edx
test esi, esi
jne 0x45563a
xor ecx, ecx
jmp 0x455650
push 0x47e7fe
push 0x3fa
call fcn.00453cb0
add esp, 8
pop ebx
pop esi
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 [0x4a26ba]
mov ecx, dword [eax + edx + 2]
imul ecx, ecx, 0xf1f87
xor ecx, 0xea8cdef6
mov edx, dword [0x4a26a8]
mov dword [edx + 0x4c], ecx
mov edx, dword [0x4a26a8]
test esi, esi
jne 0x455668
mov ecx, dword [edx + 0x30]
jmp 0x45566a
xor ecx, ecx
mov dword [edx + 0x50], ecx
mov ecx, dword [0x4a26ba]
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x4a26a8]
mov dword [eax + 0x54], edx
mov edx, dword [0x4a26a8]
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 0x4556a0
sub eax, ebx
mov word [edx + 0x58], ax
mov ecx, dword [0x4a26a8]
test esi, esi
jne 0x4556bd
movzx eax, word [ecx + 0x3a]
jmp 0x4556bf
xor eax, eax
mov word [ecx + 0x5a], ax
mov edx, dword [0x4a26a8]
mov dword [edx + 0x62], 0x20
mov ecx, dword [0x4a26a8]
xor eax, eax
mov word [ecx + 0x5c], ax
mov edx, dword [0x4a26a8]
mov ecx, dword [ebp - 0x114]
mov dword [edx + 0x66], ecx
mov eax, dword [0x4a26a8]
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 [0x4a256c]
mov dword [ebp - 0x114], ecx
mov ecx, dword [edx + 4]
push ecx
push 0x2e
push 1
push eax
call fcn.00464660
add esp, 0x10
cmp eax, 0x2e
jne 0x455814
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x4a26a8]
movzx ecx, word [eax + 0x58]
mov edx, dword [eax + 0x80]
mov eax, dword [edx + edi]
push ecx
push 1
push eax
call fcn.00464660
mov ecx, dword [0x4a26a8]
movzx edx, word [ecx + 0x58]
add esp, 0x10
cmp eax, edx
jne 0x455814
test esi, esi
jne 0x455784
mov eax, dword [0x4a256c]
mov ecx, dword [eax + 4]
push ecx
push 0x4a2658
call fcn.004544d0
mov ecx, dword [0x4a26a8]
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 [0x4a26b6]
jb 0x4555b0
mov dword [ecx + 0x6a], 0x6054b50
movzx eax, word [0x4a26b6]
mov ecx, dword [0x4a26a8]
mov word [ecx + 0x72], ax
movzx eax, word [0x4a26b6]
mov edx, dword [0x4a26a8]
mov word [edx + 0x74], ax
mov ecx, dword [0x4a26a8]
mov edx, dword [ebp - 0x110]
mov dword [ecx + 0x76], edx
mov eax, dword [0x4a26a8]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 0x7a], ecx
mov edx, dword [0x4a256c]
mov eax, dword [edx + 4]
mov ecx, dword [0x4a26a8]
push eax
push 0x16
add ecx, 0x6a
push 1
push ecx
call fcn.00464660
add esp, 0x10
cmp eax, 0x16
je 0x45583c
push 0x47e7fe
push 0x3ef
call fcn.00453cb0
add esp, 8
pop ebx
pop esi
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 [0x4a26b6]
push edx
call fcn.00454ef0
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret