Function at 0x4f33b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
push ebp
mov ebx, 1
push esi
mov esi, dword [esp + 0x80]
add dword [esi + 0xe4], ebx
mov ecx, dword [esi + 0xe4]
mov ebp, 4
mov eax, 2
mov edx, 8
push edi
xor edi, edi
cmp ecx, dword [esi + 0xd0]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
jb 0x4f360b
cmp byte [esi + 0x123], 0
je 0x4f3562
test byte [esi + 0x70], al
mov dword [esi + 0xe4], edi
je 0x4f3487
add byte [esi + 0x124], bl
mov bl, byte [esi + 0x124]
jmp 0x4f34ee
xor edi, edi
lea ebp, [edi + 4]
add byte [esi + 0x124], 1
mov bl, byte [esi + 0x124]
cmp bl, 7
jae 0x4f355d
mov eax, dword [esi + 0xc8]
movzx ecx, bl
add ecx, ecx
add ecx, ecx
sub eax, dword [esp + ecx + 0x2c]
mov edi, dword [esp + ecx + 0x10]
xor edx, edx
lea eax, [eax + edi - 1]
div edi
mov edx, dword [esi + 0xcc]
sub edx, dword [esp + ecx + 0x64]
mov ebp, dword [esp + ecx + 0x48]
mov edi, eax
lea eax, [edx + ebp - 1]
xor edx, edx
div ebp
test edi, edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], eax
je 0x4f3482
test eax, eax
je 0x4f3482
xor edi, edi
lea edx, [edi + 8]
lea ebp, [edi + 4]
cmp bl, 7
jae 0x4f355d
mov ecx, dword [esi + 0xe8]
cmp ecx, edi
je 0x4f360b
movzx eax, byte [esi + 0x12b]
movzx ebx, byte [esi + 0x128]
imul eax, ebx
cmp eax, edx
jl 0x4f3538
shr eax, 3
imul eax, dword [esi + 0xc8]
mov esi, eax
add esi, 1
push esi
push edi
push ecx
call fcn.004bc9b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov esi, dword [esi + 0xc8]
imul esi, eax
add esi, 7
shr esi, 3
add esi, 1
push esi
push edi
push ecx
call fcn.004bc9b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov ebx, 1
lea eax, [esi + 0x74]
push ebp
push eax
call fcn.004f8f40
add esp, 8
cmp eax, edi
jne 0x4f35ac
cmp dword [esi + 0x84], edi
jne 0x4f3562
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
push eax
push ecx
push esi
call fcn.004f2340
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0xb0]
add esp, 0xc
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], eax
jmp 0x4f3562
cmp eax, ebx
je 0x4f35d6
mov eax, dword [esi + 0x8c]
cmp eax, edi
je 0x4f35c6
push eax
push esi
call fcn.004f4610
add esp, 8
jmp 0x4f3562
push str.zlib_error
push esi
call fcn.004f4610
add esp, 8
jmp 0x4f3562
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0xb0]
cmp ecx, eax
jae 0x4f35f9
sub eax, ecx
mov ecx, dword [esi + 0xac]
push eax
push ecx
push esi
call fcn.004f2340
add esp, 0xc
lea eax, [esi + 0x74]
push eax
call fcn.004fa480
add esp, 4
mov dword [esi + 0xa0], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret