Function at 0x4a9a90
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 0x4a9cfc
cmp byte [esi + 0x13f], 0
push ebx
je 0x4a9be3
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.0050eca0
add esp, 0xc
jmp 0x4a9b75
xor ebp, ebp
lea edi, [ebp + 8]
inc byte [esi + 0x140]
mov bl, byte [esi + 0x140]
cmp bl, 7
jae 0x4a9be3
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 0x4a9bd5
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 0x4a9b70
test ebp, ebp
je 0x4a9b70
cmp bl, 7
jb 0x4a9cfb
xor ebp, ebp
lea edi, [ebp + 8]
test byte [esi + 0x70], 0x20
jne 0x4a9cd1
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 0x4a9c8f
cmp dword [esi + 0x128], ebp
jne 0x4a9c4c
push ebp
push esi
call fcn.004a7050
push esi
call fcn.004a6fb0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 0x128], eax
cmp dword [esi + 0x138], edx
jne 0x4a9d03
cmp eax, ebp
je 0x4a9c22
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 0x4a9c6b
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.004a5a20
push ebx
push edi
push esi
call fcn.0049d2b0
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.00543710
add esp, 8
cmp eax, 1
je 0x4a9d0e
cmp eax, ebp
jne 0x4a9d25
cmp dword [esi + 0x88], ebp
jne 0x4a9c15
push str.Extra_compressed_data
push esi
call fcn.0049f410
add esp, 8
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebp
cmp dword [esi + 0x128], ebp
jne 0x4a9cde
cmp dword [esi + 0x7c], ebp
je 0x4a9cec
push str.Extra_compression_data
push esi
call fcn.0049f410
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.00543420
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.0049f5c0
cmp dword [esi + 0x88], ebp
je 0x4a9cb6
cmp dword [esi + 0x7c], ebp
jne 0x4a9cb6
cmp dword [esi + 0x128], ebp
je 0x4a9cc4
jmp 0x4a9cb6
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x4a9d34
mov eax, str.Decompression_Error
push eax
push esi
call fcn.0049f5c0
int3