Function at 0x4b11e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x5385d0]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
mov dword [esp + 0x10], eax
lea eax, [esp + 0x45]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x4c], bl
call fcn.004b7880
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], ebx
stosd dword es:[edi], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], ebx
stosd dword es:[edi], eax
lea edi, [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x30], ebx
mov edx, esi
stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
call fcn.0047ebaf
test eax, eax
jne 0x4b12ed
mov edx, dword [esp + 0xc]
call fcn.0047ebaf
test eax, eax
jne 0x4b12ed
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0041ce2d
add esp, 0x18
test eax, eax
jne 0x4b12bd
mov edi, esi
call fcn.0041c5ff
test eax, eax
je 0x4b12ed
cmp dword [0x539718], ebx
je 0x4b12c5
push str._GetLastError_
push ebx
push dword [esp + 0x14]
mov dword [0x539718], ebx
push esi
push str.:5:gzUnpackFile___s_____s____d__encountered_a_problem:_GetFileTime___FAILED:__s
call fcn.00418e96
add esp, 0x14
jmp 0x4b12c5
mov dword [esp + 0x24], 1
push 0x4d520c
push esi
call fcn.004b10ac
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x18], eax
jne 0x4b1304
push ebx
push dword [esp + 0x10]
push esi
push str.:1:gzUnpackFile___s_____s____d__FAILED:_gzopen___FAILED.
call fcn.0041936e
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b7140
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
mov edi, 0x104
mov ecx, edi
lea eax, [esp + 0x44]
call fcn.0047ebe1
pop ecx
mov esi, eax
call fcn.0047f72c
mov edx, esi
call fcn.0047ebaf
test eax, eax
jne 0x4b1357
mov eax, esi
push eax
call fcn.004b68f0
pop ecx
mov ecx, esi
dec ecx
cmp byte [eax + ecx], 0x5c
jne 0x4b1357
push dword [esp + 0x10]
mov ecx, edi
mov eax, esi
call fcn.0047ebe1
pop ecx
push dword [esp + 0xc]
call fcn.0047f2c1
pop ecx
jmp 0x4b136b
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
jne 0x4b1374
lea esi, [esp + 0x40]
call fcn.0047f3f4
push 0x169
mov esi, 0x4d57c8
push str..zLib.c
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0041e477
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x20], eax
jne 0x4b13be
push esi
push ebx
push dword [esp + 0x14]
push dword [esp + 0x1c]
push str.:1:gzUnpackFile___s_____s____d__FAILED:_fopen___s___FAILED.
call fcn.0041936e
add esp, 0x14
push dword [esp + 0x18]
call fcn.004b111f
pop ecx
jmp 0x4b12ed
push 0x100002
call fcn.004b7e07
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
je 0x4b1444
push 0x100000
push edi
push dword [esp + 0x20]
call fcn.004b10c3
mov esi, eax
add esp, 0xc
cmp esi, ebx
jle 0x4b143b
push dword [esp + 0x20]
add dword [esp + 0x20], esi
push 1
push esi
push edi
call fcn.004b6868
add esp, 0x10
cmp eax, ebx
jg 0x4b13d7
mov ecx, dword [0x64a5f4]
inc dword [0x64a5f4]
cmp ecx, 0xa
jae 0x4b1435
push str._GetLastError_
push esi
push eax
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x24]
push str.:4:gzUnpackFile___s_____s____d__FAILED:_WriteFile___FAILED:_Could_only_write__ld_of__ld_bytes:__s
call fcn.00418e96
add esp, 0x1c
inc dword [esp + 0x14]
jmp 0x4b13d7
push edi
call fcn.004b651e
pop ecx
jmp 0x4b1462
push ebx
push dword [esp + 0x10]
mov dword [esp + 0x1c], 1
push dword [esp + 0x18]
push str.:4:gzUnpackFile___s_____s____d__FAILED:_Out_of_memory.
call fcn.00418e96
add esp, 0x10
mov ecx, dword [esp + 0x20]
call fcn.0041e8bf
push dword [esp + 0x18]
call fcn.004b111f
cmp dword [esp + 0x28], ebx
pop ecx
je 0x4b1494
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x38]
call fcn.0041cf79
pop ecx
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x4b12ed
cmp dword [esp + 0x14], ebx
jne 0x4b12ed
xor eax, eax
inc eax
jmp 0x4b12ef