Function at 0x42c5b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0042c230
cmp eax, 1
jne 0x42c5ec
push str._Zip_cloacking
push 0x3fa
call fcn.0042ae10
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [0x453068]
mov ecx, dword [eax]
mov dword [edx + 0x30], ecx
mov eax, dword [0x452f2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edx, dword [0x452f2c]
mov esi, eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.MSVCRT.dll_rewind]
mov ecx, dword [0x452f2c]
mov eax, dword [0x453068]
add eax, 0x1e
mov edx, dword [ecx + 4]
push edx
push 0x1e
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x18
cmp eax, 0x1e
jne 0x42cb29
mov ecx, dword [0x452f2c]
push ebx
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x45327e]
push eax
call fcn.0042c280
add esp, 0x10
cmp eax, 1
jne 0x42c670
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x45327e]
mov dword [ebp + 8], ebx
cmp eax, ebx
jbe 0x42c762
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10c]
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e420
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 2
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea eax, [esi + 2]
cdq
sub eax, edx
sar eax, 1
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ecx, dword [0x453068]
add esp, 0x10
mov edx, dword [ecx + 0x80]
mov dword [edx + ebx], eax
mov eax, dword [0x453068]
mov ecx, dword [eax + 0x80]
mov edi, dword [ecx + ebx]
test edi, edi
je 0x42c93c
mov ecx, esi
xor eax, eax
mov edx, ecx
add ebx, 7
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x453068]
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
mov edx, dword [eax + 0x80]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx + ebx - 7]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [0x45327e]
inc ecx
cmp ecx, eax
mov dword [ebp + 8], ecx
jb 0x42c680
cmp eax, 1
mov dword [ebp + 8], 1
jbe 0x42c8b9
mov ecx, dword [0x453068]
mov ebx, 7
mov esi, 0x16
mov dword [ecx], 0x4034b50
mov ecx, dword [0x453068]
mov word [ecx + 4], 0x14
mov edx, dword [0x453068]
mov word [edx + 6], 2
mov eax, dword [0x453068]
mov word [eax + 8], 4
mov ecx, dword [0x453282]
mov eax, dword [0x453068]
mov dx, word [esi + ecx + 6]
mov word [eax + 0xa], dx
mov ecx, dword [0x453282]
mov eax, dword [0x453068]
mov edx, dword [esi + ecx + 6]
shr edx, 0x10
mov word [eax + 0xc], dx
mov ecx, dword [0x453282]
mov eax, dword [0x453068]
mov edx, dword [esi + ecx + 2]
imul edx, edx, 0xf1f87
xor edx, 0xea8cdef6
mov dword [eax + 0xe], edx
mov ecx, dword [0x453068]
mov dword [ecx + 0x12], 0
mov edx, dword [0x453282]
mov ecx, dword [0x453068]
mov eax, dword [esi + edx + 2]
mov dword [ecx + 0x16], eax
mov edx, dword [0x453068]
or ecx, 0xffffffff
mov eax, dword [edx + 0x80]
mov edi, dword [eax + ebx]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
mov word [edx + 0x1a], cx
mov ecx, dword [0x453068]
mov word [ecx + 0x1c], ax
mov edx, dword [0x452f2c]
mov ecx, dword [0x453068]
mov eax, dword [edx + 4]
push eax
push 0x1e
push 1
push ecx
call edi
add esp, 0x10
cmp eax, 0x1e
jne 0x42cb29
mov edx, dword [0x452f2c]
xor ecx, ecx
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x453068]
mov edx, dword [eax + 0x80]
mov cx, word [eax + 0x1a]
push ecx
push 1
mov eax, dword [edx + ebx]
push eax
call edi
mov ecx, dword [0x453068]
xor edx, edx
add esp, 0x10
mov dx, word [ecx + 0x1a]
cmp eax, edx
jne 0x42cb29
mov eax, dword [ebp + 8]
mov edx, dword [0x45327e]
inc eax
add esi, 0x16
add ebx, 7
cmp eax, edx
mov dword [ebp + 8], eax
jb 0x42c782
mov eax, dword [0x452f2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [0x453068]
mov dword [ebp + 8], eax
mov eax, dword [0x45327e]
add esp, 4
xor esi, esi
test eax, eax
jbe 0x42cac5
mov dword [ecx + 0x3c], 0x2014b50
mov edx, dword [0x453068]
mov word [edx + 0x40], 0xa14
mov eax, dword [0x453068]
mov word [eax + 0x42], 0x14
mov ecx, dword [0x453068]
lea eax, [esi + esi*4]
mov word [ecx + 0x44], 2
mov edx, dword [0x453068]
lea eax, [esi + eax*2]
mov word [edx + 0x46], 4
mov ecx, dword [0x453282]
shl eax, 1
test esi, esi
mov edx, dword [eax + ecx + 6]
mov ecx, dword [0x453068]
mov dword [ecx + 0x48], edx
jne 0x42c95a
xor ecx, ecx
jmp 0x42c970
push 0x441880
push 0x3fa
call fcn.0042ae10
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x453282]
mov ecx, dword [eax + edx + 2]
imul ecx, ecx, 0xf1f87
xor ecx, 0xea8cdef6
mov edx, dword [0x453068]
test esi, esi
mov dword [edx + 0x4c], ecx
mov edx, dword [0x453068]
jne 0x42c988
mov ecx, dword [edx + 0x30]
jmp 0x42c98a
xor ecx, ecx
mov dword [edx + 0x50], ecx
mov ecx, dword [0x453282]
lea ebx, [esi*8]
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x453068]
sub ebx, esi
mov dword [eax + 0x54], edx
mov edx, dword [0x453068]
xor eax, eax
mov ecx, dword [edx + 0x80]
mov edi, dword [ecx + ebx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov word [edx + 0x58], cx
mov ecx, dword [0x453068]
test esi, esi
jne 0x42c9d5
mov ax, word [ecx + 0x3a]
jmp 0x42c9d7
xor eax, eax
mov word [ecx + 0x5a], ax
mov edx, dword [0x453068]
mov ecx, dword [ebp - 8]
xor edi, edi
mov dword [edx + 0x62], 0x20
mov eax, dword [0x453068]
mov word [eax + 0x5c], 0
mov edx, dword [0x453068]
mov dword [edx + 0x66], ecx
mov eax, dword [0x453068]
xor edx, edx
mov dx, word [eax + 0x5a]
mov di, word [eax + 0x58]
add edx, edi
mov edi, dword [eax + 0x50]
add edx, edi
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
add eax, 0x3c
lea ecx, [ecx + edx + 0x1e]
mov edx, dword [0x452f2c]
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 4]
push ecx
push 0x2e
push 1
push eax
call edi
add esp, 0x10
cmp eax, 0x2e
jne 0x42cb29
mov edx, dword [0x452f2c]
xor ecx, ecx
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x453068]
mov edx, dword [eax + 0x80]
mov cx, word [eax + 0x58]
push ecx
push 1
mov eax, dword [edx + ebx]
push eax
call edi
mov ecx, dword [0x453068]
xor edx, edx
add esp, 0x10
mov dx, word [ecx + 0x58]
cmp eax, edx
jne 0x42cb29
test esi, esi
jne 0x42ca9f
mov eax, dword [0x452f2c]
mov ecx, dword [eax + 4]
push ecx
push 0x453018
call fcn.0042b990
mov ecx, dword [0x453068]
add esp, 8
mov edi, dword [ebp - 4]
xor eax, eax
mov ax, word [ecx + 0x58]
xor edx, edx
mov dx, word [ecx + 0x5a]
add eax, edi
inc esi
lea edx, [eax + edx + 0x2e]
mov eax, dword [0x45327e]
cmp esi, eax
mov dword [ebp - 4], edx
jb 0x42c8e3
mov dword [ecx + 0x6a], 0x6054b50
mov ecx, dword [0x453068]
mov ax, word [0x45327e]
mov word [ecx + 0x72], ax
mov edx, dword [0x453068]
mov ax, word [0x45327e]
mov word [edx + 0x74], ax
mov ecx, dword [0x453068]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x76], edx
mov eax, dword [0x453068]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x7a], ecx
mov edx, dword [0x452f2c]
mov ecx, dword [0x453068]
mov eax, dword [edx + 4]
add ecx, 0x6a
push eax
push 0x16
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, 0x16
je 0x42cb47
push 0x441880
push 0x3ef
call fcn.0042ae10
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x45327e]
push edx
call fcn.0042c2d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret