Function at 0x4d78c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d6060
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x4d7936
mov eax, dword [ebp - 0x174]
push eax
push str.error__d_with_zipfile_in_unzGetCurrentFileInfo_n
call fcn.004f1258
add esp, 8
mov eax, dword [ebp - 0x174]
jmp 0x4d7bc5
mov dword [ebp - 0xc], 0x2000
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004eb27a
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x4d796f
push str.Error_allocating_memory_n
call fcn.004f1258
add esp, 4
mov eax, 0xffffff98
jmp 0x4d7bc5
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 0x4d79bb
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x4d79a4
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x4d79b0
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 0x4d7984
mov eax, dword [ebp - 0x16c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4d79dc
lea edx, [ebp - 0x110]
push edx
call fcn.004d7730
add esp, 4
jmp 0x4d7bb0
mov dword [ebp - 0x17c], 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x180], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d70e0
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x4d7a17
mov eax, dword [ebp - 0x174]
jmp 0x4d7bc5
cmp dword [ebp - 0x174], 0
jne 0x4d7aa8
push 0x55c960
mov edx, dword [ebp - 0x180]
push edx
call fcn.004efd43
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jne 0x4d7aa8
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x4d7aa8
mov edx, dword [ebp - 0x16c]
mov al, byte [edx - 1]
mov byte [ebp - 0x181], al
mov ecx, dword [ebp - 0x16c]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 0x180]
push edx
call fcn.004d7760
add esp, 4
mov eax, dword [ebp - 0x16c]
mov cl, byte [ebp - 0x181]
mov byte [eax - 1], cl
push 0x55c960
mov edx, dword [ebp - 0x180]
push edx
call fcn.004efd43
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x4d7b8d
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d7100
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jge 0x4d7ada
jmp 0x4d7b1c
cmp dword [ebp - 0x174], 0
jle 0x4d7b13
mov eax, dword [ebp - 0x178]
push eax
push 1
mov ecx, dword [ebp - 0x174]
push ecx
mov edx, dword [ebp - 0x170]
push edx
call fcn.004efa27
add esp, 0x10
cmp eax, 1
je 0x4d7b13
mov dword [ebp - 0x174], 0xffffffff
jmp 0x4d7b1c
cmp dword [ebp - 0x174], 0
jg 0x4d7ab5
cmp dword [ebp - 0x178], 0
je 0x4d7b34
mov eax, dword [ebp - 0x178]
push eax
call fcn.004ef5a5
add esp, 4
cmp dword [ebp - 0x174], 0
jne 0x4d7b8d
sub esp, 0x18
mov ecx, esp
mov edx, dword [ebp - 0x128]
mov dword [ecx], edx
mov eax, dword [ebp - 0x124]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x120]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x11c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x118]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x114]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x180]
push edx
call fcn.004d76b0
add esp, 0x20
cmp dword [ebp - 0x174], 0
jne 0x4d7ba7
mov eax, dword [ebp + 8]
push eax
call fcn.004d75d0
mov dword [ebp - 0x174], eax
jmp 0x4d7bb0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d75d0
mov edx, dword [ebp - 0x170]
push edx
call fcn.004eb17a
add esp, 4
mov eax, dword [ebp - 0x174]
mov esp, ebp
pop ebp
ret