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

Disassembly:
sub esp, 0x40
push esi
mov esi, dword [esp + 0x48]
mov eax, 0xff
push edi
mov edi, 0x55
mov byte [esp + 8], 0x49
mov byte [esp + 9], 0x44
mov byte [esp + 0xa], 0x41
mov byte [esp + 0xb], 0x54
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xf
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x33
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x80
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0x88
mov dword [esp + 0x38], 0x22
mov dword [esp + 0x3c], 0xaa
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
test esi, esi
je 0x43d384
test byte [esi + 0x70], 0x40
jne 0x43cfa2
push esi
call fcn.00444ec0
add esp, 4
cmp byte [esi + 0x13f], 0
je 0x43d0d1
test byte [esi + 0x74], 2
je 0x43d0d1
movzx eax, byte [esi + 0x140]
cmp eax, 5
ja case.default.0x43cfc9
jmp dword [eax*4 + 0x43d38c]
test byte [esi + 0xfc], 7
je 0x43d0d1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43cff4
push 0xff
push eax
push esi
call fcn.00444580
add esp, 0xc
push esi
call fcn.00447cd0
add esp, 4
pop edi
pop esi
add esp, 0x40
ret
test byte [esi + 0xfc], 7
jne 0x43d019
cmp dword [esi + 0xe4], 5
jae 0x43d0d1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43cff4
push 0xf
jmp 0x43cfea
mov eax, dword [esi + 0xfc]
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x43d0d1
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x43cff4
test al, 4
je 0x43cff4
push 0xff
push ecx
jmp 0x43cfeb
mov eax, 3
test byte [esi + 0xfc], al
jne 0x43d062
cmp dword [esi + 0xe4], eax
jae 0x43d0d1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43cff4
push 0x33
jmp 0x43cfea
mov eax, dword [esi + 0xfc]
mov edx, eax
and dl, 3
cmp dl, 2
je 0x43d0d1
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x43cff4
test al, 2
je 0x43cff4
push 0xff
push ecx
jmp 0x43cfeb
test byte [esi + 0xfc], 1
jne 0x43d0b2
cmp dword [esi + 0xe4], 2
jae 0x43d0d1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43cff4
push edi
jmp 0x43cfea
test byte [esi + 0xfc], 1
je 0x43cff4
test byte [esi + 0x6c], 4
jne 0x43d0e2
push str.Invalid_attempt_to_read_row_data
push esi
call fcn.0043f700
mov eax, dword [esi + 0x104]
mov dword [esi + 0x84], eax
mov al, byte [esi + 0x145]
cmp al, 8
movzx eax, al
jb 0x43d107
shr eax, 3
imul eax, dword [esi + 0xf8]
jmp 0x43d114
imul eax, dword [esi + 0xf8]
add eax, 7
shr eax, 3
mov edi, dword [esp + 8]
inc eax
mov dword [esi + 0x88], eax
nop
cmp dword [esi + 0x7c], 0
jne 0x43d18d
cmp dword [esi + 0x128], 0
jne 0x43d157
nop
push 0
push esi
call fcn.00445290
push esi
call fcn.004451f0
add esp, 0xc
mov dword [esi + 0x128], eax
cmp dword [esi + 0x138], edi
jne 0x43d202
test eax, eax
je 0x43d130
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x128]
mov edx, dword [esi + 0xb0]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], edx
cmp eax, ecx
jbe 0x43d176
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x7c]
push ecx
push edx
push esi
call fcn.00444170
mov edx, dword [esi + 0x7c]
add esp, 0xc
sub dword [esi + 0x128], edx
lea eax, [esi + 0x78]
push 1
push eax
call fcn.00495ed0
add esp, 8
cmp eax, 1
je 0x43d20d
test eax, eax
jne 0x43d240
cmp dword [esi + 0x88], eax
jne 0x43d120
movzx eax, byte [esi + 0x143]
mov cl, byte [esi + 0x142]
mov dl, byte [esi + 0x146]
mov byte [esi + 0x121], al
mov al, byte [esi + 0x145]
mov byte [esi + 0x120], cl
mov ecx, dword [esi + 0xf8]
lea edi, [esi + 0x118]
mov byte [esi + 0x123], al
cmp al, 8
mov dword [edi], ecx
mov byte [esi + 0x122], dl
movzx eax, al
jb 0x43d256
shr eax, 3
imul eax, ecx
jmp 0x43d25f
push str.Not_enough_image_data
push esi
call fcn.0043f700
cmp dword [esi + 0x88], 0
jne 0x43d225
cmp dword [esi + 0x7c], 0
jne 0x43d225
cmp dword [esi + 0x128], 0
je 0x43d233
push str.Extra_compressed_data
push esi
call fcn.0043f730
add esp, 8
or dword [esi + 0x6c], 8
or dword [esi + 0x70], 0x20
jmp 0x43d1b4
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x43d24f
mov eax, str.Decompression_error
push eax
push esi
call fcn.0043f700
imul eax, ecx
add eax, 7
shr eax, 3
mov dword [esi + 0x11c], eax
mov eax, dword [esi + 0x104]
mov cl, byte [eax]
test cl, cl
je 0x43d289
mov edx, dword [esi + 0x100]
movzx ecx, cl
push ecx
inc edx
push edx
inc eax
push eax
push edi
push esi
call fcn.00444d00
add esp, 0x14
mov eax, dword [esi + 0xf4]
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x100]
inc eax
push eax
push ecx
push edx
call fcn.0047b980
add esp, 0xc
test byte [esi + 0x268], 4
je 0x43d2ca
cmp byte [esi + 0x26c], 0x40
jne 0x43d2ca
mov eax, dword [esi + 0x104]
inc eax
push eax
push edi
call fcn.00443850
add esp, 8
cmp dword [esi + 0x74], 0
je 0x43d2d9
push esi
call fcn.00443930
add esp, 4
cmp byte [esi + 0x13f], 0
je 0x43d32e
test byte [esi + 0x74], 2
je 0x43d32e
cmp byte [esi + 0x140], 6
jae 0x43d2fa
push esi
call fcn.004448b0
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43d318
movzx ecx, byte [esi + 0x140]
mov edx, dword [esp + ecx*4 + 0x10]
push edx
push eax
push esi
call fcn.00444580
add esp, 0xc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x43d35c
movzx ecx, byte [esi + 0x140]
mov edx, dword [esp + ecx*4 + 0x2c]
push edx
jmp 0x43d352
mov eax, dword [esp + 0x50]
test eax, eax
je 0x43d345
push 0xff
push eax
push esi
call fcn.00444580
add esp, 0xc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43d35c
push 0xff
push eax
push esi
call fcn.00444580
add esp, 0xc
push esi
call fcn.00447cd0
mov eax, dword [esi + 0x1b4]
add esp, 4
test eax, eax
je 0x43d384
movzx ecx, byte [esi + 0x140]
mov edx, dword [esi + 0xfc]
push ecx
push edx
push esi
call eax
add esp, 0xc
pop edi
pop esi
add esp, 0x40
ret