Function at 0x423080
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 0x423328
mov al, byte [esi + 0x13f]
test al, al
push ebx
push edi
je 0x4231e2
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 0x423170
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 0x4231e2
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 0x4231d7
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 0x423167
test ebp, ebp
je 0x423167
cmp bl, 7
jb 0x423326
xor ebp, ebp
test byte [esi + 0x70], 0x20
jne 0x4232f6
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 0x4232a9
cmp dword [esi + 0x128], ebp
jne 0x423263
push ebp
push esi
call fcn.00420670
push esi
call fcn.004205d0
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 0x42332e
cmp dword [esi + 0x128], ebp
je 0x423231
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 0x423282
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.0041d3f0
push ebx
push edi
push esi
call fcn.0041a6e0
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.0041dcc0
add esp, 8
cmp eax, 1
je 0x423339
cmp eax, ebp
jne 0x423350
cmp dword [esi + 0x88], ebp
jne 0x423220
push str.Extra_compressed_data
push esi
call fcn.0041a360
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 0x423303
cmp dword [esi + 0x7c], ebp
je 0x423311
push str.Extra_compression_data
push esi
call fcn.0041a360
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.0041d9c0
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.0041a500
cmp dword [esi + 0x88], ebp
je 0x4232d0
cmp dword [esi + 0x7c], ebp
jne 0x4232d0
cmp dword [esi + 0x128], ebp
je 0x4232de
jmp 0x4232d0
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x42335f
mov eax, str.Decompression_Error
push eax
push esi
call fcn.0041a500
int3