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

Disassembly:
sub esp, 0x7c
mov eax, 2
push ebp
xor ebp, ebp
mov edx, 1
push esi
mov esi, dword [esp + 0x88]
add dword [esi + 0xfc], edx
mov ecx, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xfc]
push edi
mov edi, 8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
cmp eax, dword [esi + 0xec]
jb 0x4b7ecc
cmp byte [esi + 0x13f], 0
push ebx
je 0x4b7db3
mov eax, dword [esi + 0xf4]
mov ecx, dword [esi + 0x100]
add eax, edx
push eax
push ebp
push ecx
mov dword [esi + 0xfc], ebp
call fcn.0051d400
add esp, 0xc
jmp 0x4b7d45
xor ebp, ebp
lea edi, [ebp + 8]
inc byte [esi + 0x140]
mov bl, byte [esi + 0x140]
cmp bl, 7
jae 0x4b7db3
mov edx, dword [esi + 0xe4]
movzx ecx, bl
add ecx, ecx
add ecx, ecx
sub edx, dword [esp + ecx + 0x38]
mov edi, dword [esp + ecx + 0x1c]
lea eax, [edx + edi - 1]
xor edx, edx
div edi
test byte [esi + 0x74], 2
mov ebp, eax
mov dword [esi + 0xf8], ebp
jne 0x4b7da5
mov eax, dword [esi + 0xe8]
sub eax, dword [esp + ecx + 0x70]
mov edi, dword [esp + ecx + 0x54]
xor edx, edx
lea eax, [eax + edi - 1]
div edi
mov dword [esi + 0xec], eax
test eax, eax
je 0x4b7d40
test ebp, ebp
je 0x4b7d40
cmp bl, 7
jb 0x4b7ecb
xor ebp, ebp
lea edi, [ebp + 8]
test byte [esi + 0x70], 0x20
jne 0x4b7ea1
lea ecx, [esp + 0x13]
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], 0x54
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], 1
cmp dword [esi + 0x7c], ebp
jne 0x4b7e5f
cmp dword [esi + 0x128], ebp
jne 0x4b7e1c
push ebp
push esi
call fcn.004b5220
push esi
call fcn.004b5180
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 0x128], eax
cmp dword [esi + 0x138], edx
jne 0x4b7ed3
cmp eax, ebp
je 0x4b7df2
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x128]
mov edi, dword [esi + 0xb0]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], edi
cmp eax, ecx
jbe 0x4b7e3b
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.004b3bf0
push ebx
push edi
push esi
call fcn.004ab480
mov eax, dword [esi + 0x7c]
add esp, 0x18
sub dword [esi + 0x128], eax
mov edi, 8
lea ecx, [esi + 0x78]
push 1
push ecx
call fcn.00554880
add esp, 8
cmp eax, 1
je 0x4b7ede
cmp eax, ebp
jne 0x4b7ef5
cmp dword [esi + 0x88], ebp
jne 0x4b7de5
push str.Extra_compressed_data
push esi
call fcn.004ad5e0
add esp, 8
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebp
cmp dword [esi + 0x128], ebp
jne 0x4b7eae
cmp dword [esi + 0x7c], ebp
je 0x4b7ebc
push str.Extra_compression_data
push esi
call fcn.004ad5e0
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.00554590
add esp, 4
or dword [esi + 0x6c], edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x7c
ret
push str.Not_enough_image_data
push esi
call fcn.004ad790
cmp dword [esi + 0x88], ebp
je 0x4b7e86
cmp dword [esi + 0x7c], ebp
jne 0x4b7e86
cmp dword [esi + 0x128], ebp
je 0x4b7e94
jmp 0x4b7e86
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x4b7f04
mov eax, str.Decompression_Error
push eax
push esi
call fcn.004ad790
int3