Function at 0x4278d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
push 0x100
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004294d0
add esp, 0x20
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x427953
mov eax, dword [ebp - 0x174]
push eax
push str.error__d_with_zipfile_in_unzGetCurrentFileInfo_n
call fcn.00438118
add esp, 8
mov eax, dword [ebp - 0x174]
jmp 0x427dce
mov dword [ebp - 0xc], 0x2000
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0043724e
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x42798c
push str.Error_allocating_memory_n
call fcn.00438118
add esp, 4
mov eax, 0xffffff98
jmp 0x427dce
lea edx, [ebp - 0x110]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x4279d8
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x4279c1
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x4279cd
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4279a1
mov eax, dword [ebp - 0x16c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x427a15
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x427a10
lea eax, [ebp - 0x110]
push eax
push str.creating_directory:__s_n
call fcn.00438118
add esp, 8
lea ecx, [ebp - 0x110]
push ecx
call fcn.00427370
add esp, 4
jmp 0x427db9
mov dword [ebp - 0x17c], 0
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x427a35
lea eax, [ebp - 0x110]
mov dword [ebp - 0x180], eax
jmp 0x427a41
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042abd0
add esp, 8
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x427a74
mov ecx, dword [ebp - 0x174]
push ecx
push str.error__d_with_zipfile_in_unzOpenCurrentFilePassword_n
call fcn.00438118
add esp, 8
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x427b8f
cmp dword [ebp - 0x174], 0
jne 0x427b8f
mov byte [ebp - 0x185], 0
push 0x470dcc
mov eax, dword [ebp - 0x180]
push eax
call fcn.004342b8
add esp, 8
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
je 0x427b64
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00433de2
add esp, 4
mov edx, dword [ebp - 0x180]
push edx
push str.The_file__s_exists._Overwrite____y_es___n_o___A_ll:
call fcn.00438118
add esp, 8
lea eax, [ebp - 0x210]
push eax
push 0x470e08
call fcn.00439a8b
add esp, 8
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 1
je 0x427b08
push 1
call fcn.0043996d
mov cl, byte [ebp - 0x210]
mov byte [ebp - 0x185], cl
movsx edx, byte [ebp - 0x185]
cmp edx, 0x61
jl 0x427b3c
movsx eax, byte [ebp - 0x185]
cmp eax, 0x7a
jg 0x427b3c
movsx ecx, byte [ebp - 0x185]
sub ecx, 0x20
mov byte [ebp - 0x185], cl
movsx edx, byte [ebp - 0x185]
cmp edx, 0x59
je 0x427b64
movsx eax, byte [ebp - 0x185]
cmp eax, 0x4e
je 0x427b64
movsx ecx, byte [ebp - 0x185]
cmp ecx, 0x41
jne 0x427aca
movsx edx, byte [ebp - 0x185]
cmp edx, 0x4e
jne 0x427b7a
mov dword [ebp - 0x17c], 1
movsx eax, byte [ebp - 0x185]
cmp eax, 0x41
jne 0x427b8f
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
cmp dword [ebp - 0x17c], 0
jne 0x427c52
cmp dword [ebp - 0x174], 0
jne 0x427c52
push 0x470e0c
mov edx, dword [ebp - 0x180]
push edx
call fcn.004342b8
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jne 0x427c35
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x427c35
mov ecx, dword [ebp - 0x16c]
lea edx, [ebp - 0x110]
cmp ecx, edx
je 0x427c35
mov eax, dword [ebp - 0x16c]
mov cl, byte [eax - 1]
mov byte [ebp - 0x211], cl
mov edx, dword [ebp - 0x16c]
mov byte [edx - 1], 0
mov eax, dword [ebp - 0x180]
push eax
call fcn.004273a0
add esp, 4
mov ecx, dword [ebp - 0x16c]
mov dl, byte [ebp - 0x211]
mov byte [ecx - 1], dl
push 0x470e10
mov eax, dword [ebp - 0x180]
push eax
call fcn.004342b8
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jne 0x427c52
mov ecx, dword [ebp - 0x180]
push ecx
push str.error_opening__s_n
call fcn.00438118
add esp, 8
cmp dword [ebp - 0x178], 0
je 0x427d73
mov edx, dword [ebp - 0x180]
push edx
push str._extracting:__s_n
call fcn.00438118
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042ac70
add esp, 0xc
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jge 0x427caf
mov eax, dword [ebp - 0x174]
push eax
push str.error__d_with_zipfile_in_unzReadCurrentFile_n
call fcn.00438118
add esp, 8
jmp 0x427d02
cmp dword [ebp - 0x174], 0
jle 0x427cf5
mov ecx, dword [ebp - 0x178]
push ecx
push 1
mov edx, dword [ebp - 0x174]
push edx
mov eax, dword [ebp - 0x170]
push eax
call fcn.00433fc0
add esp, 0x10
cmp eax, 1
je 0x427cf5
push str.error_in_writing_extracted_file_n
call fcn.00438118
add esp, 4
mov dword [ebp - 0x174], 0xffffffff
jmp 0x427d02
cmp dword [ebp - 0x174], 0
jg 0x427c73
cmp dword [ebp - 0x178], 0
je 0x427d1a
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.00433de2
add esp, 4
cmp dword [ebp - 0x174], 0
jne 0x427d73
sub esp, 0x18
mov edx, esp
mov eax, dword [ebp - 0x128]
mov dword [edx], eax
mov ecx, dword [ebp - 0x124]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x120]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x11c]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x118]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x114]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x180]
push eax
call fcn.004272f0
add esp, 0x20
cmp dword [ebp - 0x174], 0
jne 0x427dad
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b3d0
add esp, 4
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x427dab
mov edx, dword [ebp - 0x174]
push edx
push str.error__d_with_zipfile_in_unzCloseCurrentFile_n
call fcn.00438118
add esp, 8
jmp 0x427db9
mov eax, dword [ebp + 8]
push eax
call fcn.0042b3d0
add esp, 4
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.004370f7
add esp, 4
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret