Function at 0x4d7530
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.004d5cd0
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x4d75a6
mov eax, dword [ebp - 0x174]
push eax
push str.error__d_with_zipfile_in_unzGetCurrentFileInfo_n
call fcn.004f1028
add esp, 8
mov eax, dword [ebp - 0x174]
jmp 0x4d7835
mov dword [ebp - 0xc], 0x2000
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004eb04a
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x4d75df
push str.Error_allocating_memory_n
call fcn.004f1028
add esp, 4
mov eax, 0xffffff98
jmp 0x4d7835
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 0x4d762b
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x4d7614
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x4d7620
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 0x4d75f4
mov eax, dword [ebp - 0x16c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4d764c
lea edx, [ebp - 0x110]
push edx
call fcn.004d73a0
add esp, 4
jmp 0x4d7820
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.004d6d50
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x4d7687
mov eax, dword [ebp - 0x174]
jmp 0x4d7835
cmp dword [ebp - 0x174], 0
jne 0x4d7718
push 0x55c960
mov edx, dword [ebp - 0x180]
push edx
call fcn.004efb13
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jne 0x4d7718
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x4d7718
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.004d73d0
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.004efb13
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x4d77fd
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d6d70
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jge 0x4d774a
jmp 0x4d778c
cmp dword [ebp - 0x174], 0
jle 0x4d7783
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.004ef7f7
add esp, 0x10
cmp eax, 1
je 0x4d7783
mov dword [ebp - 0x174], 0xffffffff
jmp 0x4d778c
cmp dword [ebp - 0x174], 0
jg 0x4d7725
cmp dword [ebp - 0x178], 0
je 0x4d77a4
mov eax, dword [ebp - 0x178]
push eax
call fcn.004ef375
add esp, 4
cmp dword [ebp - 0x174], 0
jne 0x4d77fd
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.004d7320
add esp, 0x20
cmp dword [ebp - 0x174], 0
jne 0x4d7817
mov eax, dword [ebp + 8]
push eax
call fcn.004d7240
mov dword [ebp - 0x174], eax
jmp 0x4d7820
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d7240
mov edx, dword [ebp - 0x170]
push edx
call fcn.004eaf4a
add esp, 4
mov eax, dword [ebp - 0x174]
mov esp, ebp
pop ebp
ret