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

Disassembly:
sub esp, 0x7c
push ebp
xor ebp, ebp
mov edx, 8
push esi
mov esi, 1
mov eax, 4
mov ecx, 2
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0xfc]
inc edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0xec]
mov eax, edx
cmp eax, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], ebp
mov dword [esi + 0xfc], edx
jb 0x427458
mov al, byte [esi + 0x13f]
test al, al
push ebx
push edi
je 0x427312
mov ecx, dword [esi + 0xf4]
mov edi, dword [esi + 0x100]
inc ecx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov dword [esi + 0xfc], ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4272a0
xor ebp, ebp
lea esp, [esp]
mov cl, byte [esi + 0x140]
inc cl
mov bl, cl
cmp bl, 7
mov byte [esi + 0x140], cl
jae 0x427312
mov eax, dword [esi + 0xe4]
movzx ecx, bl
shl ecx, 2
mov edx, dword [esp + ecx + 0x38]
mov edi, dword [esp + ecx + 0x1c]
sub eax, edx
lea eax, [eax + edi - 1]
xor edx, edx
div edi
mov ebp, eax
test byte [esi + 0x74], 2
mov dword [esi + 0xf8], ebp
jne 0x427307
mov eax, dword [esp + ecx + 0x70]
mov edx, dword [esi + 0xe8]
mov edi, dword [esp + ecx + 0x54]
sub edx, eax
lea eax, [edx + edi - 1]
xor edx, edx
div edi
test eax, eax
mov dword [esi + 0xec], eax
je 0x427297
test ebp, ebp
je 0x427297
cmp bl, 7
jb 0x427456
xor ebp, ebp
test byte [esi + 0x70], 0x20
jne 0x427426
lea eax, [esp + 0x13]
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], 0x54
mov byte [esp + 0x18], 0
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 1
lea esp, [esp]
cmp dword [esi + 0x7c], ebp
jne 0x4273d9
cmp dword [esi + 0x128], ebp
jne 0x427393
push ebp
push esi
call fcn.004247a0
push esi
call fcn.00424700
mov dword [esi + 0x128], eax
mov edx, dword [esi + 0x138]
lea ecx, [esp + 0x20]
mov eax, dword [ecx]
add esp, 0xc
cmp edx, eax
jne 0x42745e
cmp dword [esi + 0x128], ebp
je 0x427361
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x128]
cmp eax, ecx
mov edi, dword [esi + 0xb0]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], edi
jbe 0x4273b2
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.0041fd10
push ebx
push edi
push esi
call fcn.00420480
mov ecx, dword [esi + 0x128]
mov eax, dword [esi + 0x7c]
add esp, 0x18
sub ecx, eax
mov dword [esi + 0x128], ecx
lea ecx, [esi + 0x78]
push 1
push ecx
call fcn.00421df0
add esp, 8
cmp eax, 1
je 0x427469
cmp eax, ebp
jne 0x427480
cmp dword [esi + 0x88], ebp
jne 0x427350
push str.Extra_compressed_data
push esi
call fcn.00420100
add esp, 8
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
or ecx, 8
or eax, 0x20
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x88], ebp
cmp dword [esi + 0x128], ebp
jne 0x427433
cmp dword [esi + 0x7c], ebp
je 0x427441
push str.Extra_compression_data
push esi
call fcn.00420100
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.00421af0
mov eax, dword [esi + 0x6c]
add esp, 4
or eax, 8
mov dword [esi + 0x6c], eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x7c
ret
push str.Not_enough_image_data
push esi
call fcn.004202a0
cmp dword [esi + 0x88], ebp
je 0x427400
cmp dword [esi + 0x7c], ebp
jne 0x427400
cmp dword [esi + 0x128], ebp
je 0x42740e
jmp 0x427400
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x42748f
mov eax, str.Decompression_Error
push eax
push esi
call fcn.004202a0
int3