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

Disassembly:
sub esp, 0x80
mov eax, dword [0x485884]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
mov eax, 2
push ebp
xor ebp, ebp
mov ebx, 1
push esi
mov esi, ecx
add dword [esi + 0xe4], ebx
mov ecx, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xe4]
cmp eax, dword [esi + 0xd4]
push edi
mov edi, 8
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
jb 0x41cb57
cmp byte [esi + 0x123], 0
je 0x41c919
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xe8]
add eax, ebx
push eax
push ebp
push ecx
mov dword [esi + 0xe4], ebp
call fcn.0044e5f0
add esp, 0xc
jmp 0x41c8a5
xor ebp, ebp
lea edi, [ebp + 8]
add byte [esi + 0x124], 1
mov bl, byte [esi + 0x124]
cmp bl, 7
jae 0x41c914
mov edx, dword [esi + 0xcc]
movzx ecx, bl
add ecx, ecx
add ecx, ecx
sub edx, dword [esp + ecx + 0x30]
mov edi, dword [esp + ecx + 0x14]
lea eax, [edx + edi - 1]
xor edx, edx
div edi
test byte [esi + 0x74], 2
mov ebp, eax
mov dword [esi + 0xe0], ebp
jne 0x41c906
mov eax, dword [esi + 0xd0]
sub eax, dword [esp + ecx + 0x68]
mov edi, dword [esp + ecx + 0x4c]
xor edx, edx
lea eax, [eax + edi - 1]
div edi
test eax, eax
mov dword [esi + 0xd4], eax
je 0x41c8a0
test ebp, ebp
je 0x41c8a0
cmp bl, 7
jb 0x41cb57
xor ebp, ebp
lea edi, [ebp + 8]
mov ebx, 1
test byte [esi + 0x70], 0x20
jne 0x41caf0
lea ecx, [esp + 0x13]
mov byte [esp + 0x84], 0x49
mov byte [esp + 0x85], 0x44
mov byte [esp + 0x86], 0x41
mov byte [esp + 0x87], 0x54
mov byte [esp + 0x88], 0
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
jmp 0x41c960
cmp dword [esi + 0x7c], ebp
jne 0x41cab1
cmp dword [esi + 0x10c], ebp
jne 0x41ca2b
xor eax, eax
mov ecx, esi
call fcn.00418b60
mov ecx, esi
call fcn.00418a00
mov dword [esi + 0x10c], eax
mov eax, 4
lea ecx, [esp + 0x84]
lea edx, [esi + 0x11c]
lea ecx, [ecx]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x41c9b8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x41c9a0
cmp eax, ebp
je 0x41ca15
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x41ca07
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x41ca15
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x41ca07
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x41ca15
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x41ca07
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x41ca15
movzx edi, byte [edx]
movzx edx, byte [ecx]
sub edi, edx
je 0x41ca15
cmp edi, ebp
mov eax, 1
jg 0x41ca17
or eax, 0xffffffff
jmp 0x41ca17
xor eax, eax
cmp eax, ebp
jne 0x41cb70
cmp dword [esi + 0x10c], ebp
je 0x41c975
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x10c]
cmp eax, ecx
mov edi, dword [esi + 0xb0]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], edi
jbe 0x41ca4a
mov dword [esi + 0x7c], ecx
mov eax, dword [esi + 0x54]
cmp eax, ebp
mov ebx, dword [esi + 0x7c]
je 0x41cb7c
push ebx
push edi
push esi
call eax
add esp, 0xc
test byte [esi + 0x11c], 0x20
je 0x41ca7a
mov eax, dword [esi + 0x70]
and eax, 0x300
cmp eax, 0x300
jne 0x41ca83
jmp 0x41caa0
test dword [esi + 0x70], 0x800
jne 0x41caa0
cmp edi, ebp
mov eax, dword [esi + 0x110]
jne 0x41ca91
xor eax, eax
jmp 0x41ca9a
mov edx, ebx
mov ecx, edi
call fcn.004223b0
mov dword [esi + 0x110], eax
mov ecx, dword [esi + 0x7c]
sub dword [esi + 0x10c], ecx
mov edi, 8
lea ebx, [edi - 7]
lea edx, [esi + 0x78]
push edx
call fcn.0041d120
add esp, 4
cmp eax, ebx
je 0x41cb88
cmp eax, ebp
jne 0x41cbae
cmp dword [esi + 0x88], ebp
jne 0x41c960
mov ecx, str.Extra_compressed_data
call fcn.0040e040
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebp
cmp dword [esi + 0x10c], ebp
jne 0x41cafd
cmp dword [esi + 0x7c], ebp
je 0x41cb07
mov ecx, str.Extra_compression_data
call fcn.0040e040
lea ecx, [esi + 0x78]
cmp ecx, ebp
je 0x41cb54
mov eax, dword [ecx + 0x1c]
cmp eax, ebp
je 0x41cb54
mov dword [eax + 0x1c], ebp
mov dword [ecx + 0x14], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x30], ebx
lea ecx, [eax + 0x530]
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x14], 0x8000
mov dword [eax + 0x20], ebp
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x30], ebp
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x4c], ecx
or dword [esi + 0x6c], edi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448fb3
add esp, 0x80
ret
mov edi, str.Not_enough_image_data
mov eax, esi
jmp fcn.0040e020
mov edi, str.Call_to_NULL_read_function
mov eax, esi
jmp fcn.0040e020
cmp dword [esi + 0x88], ebp
je 0x41cad9
cmp dword [esi + 0x7c], ebp
jne 0x41cad9
cmp dword [esi + 0x10c], ebp
je 0x41cae3
jmp 0x41cad9
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x41cbbd
mov eax, str.Decompression_Error
mov edi, eax
mov eax, esi
jmp fcn.0040e020