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

Disassembly:
sub esp, 0x48
mov eax, dword [0x485884]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, ecx
test esi, esi
mov bl, 0x49
mov dl, 0x44
mov cl, 0x41
mov al, 0x54
push edi
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], 0
mov byte [esp + 0x44], 0x66
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x45
mov byte [esp + 0x4e], 0x4e
mov byte [esp + 0x4f], dl
mov byte [esp + 0x50], 0
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0x88
mov dword [esp + 0x2c], 0x22
mov dword [esp + 0x30], 0xaa
mov dword [esp + 0x34], 0x55
mov dword [esp + 0x38], 0xff
je 0x410980
test byte [esi + 0x70], 0x40
jne 0x410354
mov eax, esi
call fcn.0041cbd0
cmp byte [esi + 0x123], 0
je 0x410493
test byte [esi + 0x74], 2
je 0x410493
movzx eax, byte [esi + 0x124]
cmp eax, 5
ja case.default.0x41037b
jmp dword [eax*4 + 0x410994]
test byte [esi + 0xe4], 7
je 0x410493
mov ecx, esi
call fcn.0041c7b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret
test byte [esi + 0xe4], 7
jne 0x4103bf
cmp dword [esi + 0xcc], 5
jae 0x410493
mov ecx, esi
call fcn.0041c7b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret
mov eax, dword [esi + 0xe4]
and al, 7
cmp al, 4
je 0x410493
mov ecx, esi
call fcn.0041c7b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret
mov eax, 3
test byte [esi + 0xe4], al
jne 0x410418
cmp dword [esi + 0xcc], eax
jae 0x410493
mov ecx, esi
call fcn.0041c7b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret
mov ecx, dword [esi + 0xe4]
and cl, 3
cmp cl, 2
je 0x410493
mov ecx, esi
call fcn.0041c7b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret
test byte [esi + 0xe4], 1
jne 0x41046c
cmp dword [esi + 0xcc], 2
jae 0x410493
mov ecx, esi
call fcn.0041c7b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret
test byte [esi + 0xe4], 1
je 0x41038f
test byte [esi + 0x6c], 4
jne 0x4104a5
mov edi, str.Invalid_attempt_to_read_row_data
mov eax, esi
jmp fcn.0040e020
mov al, byte [esi + 0x129]
mov edx, dword [esi + 0xec]
cmp al, 8
mov dword [esi + 0x84], edx
movzx eax, al
jb 0x4104ca
shr eax, 3
imul eax, dword [esi + 0xe0]
jmp 0x4104d7
imul eax, dword [esi + 0xe0]
add eax, 7
shr eax, 3
add eax, 1
mov dword [esi + 0x88], eax
cmp dword [esi + 0x7c], 0
jne 0x41079f
xor ebx, ebx
lea esp, [esp]
cmp dword [esi + 0x10c], 0
je 0x410501
test ebx, ebx
je 0x41071d
mov eax, ebx
mov ecx, esi
call fcn.00418b60
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.00418a00
cmp dword [esi + 0x278], ebx
mov dword [esp + 0x18], eax
mov dword [esi + 0x10c], eax
jne 0x4105cb
lea eax, [ebx + 4]
lea ecx, [esp + 0x3c]
lea edx, [esi + 0x11c]
lea ebx, [ebx]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x410558
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x410540
test eax, eax
je 0x4105b5
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x4105a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4105b5
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x4105a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4105b5
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x4105a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4105b5
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x4105b5
test edi, edi
mov eax, 1
jg 0x4105b7
or eax, 0xffffffff
jmp 0x4105b7
xor eax, eax
test eax, eax
je 0x4104f0
mov edi, str.Not_enough_image_data
mov eax, esi
jmp fcn.0040e020
lea eax, [esi + 0x11c]
mov ecx, 4
lea edx, [esp + 0x4c]
mov edi, eax
lea esp, [esp]
mov ebp, dword [edi]
cmp ebp, dword [edx]
jne 0x4105f8
sub ecx, 4
add edx, 4
add edi, 4
cmp ecx, 4
jae 0x4105e0
test ecx, ecx
je 0x41065d
movzx ebp, byte [edi]
movzx ebx, byte [edx]
sub ebp, ebx
jne 0x410647
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x410659
movzx ebp, byte [edi]
movzx ebx, byte [edx]
sub ebp, ebx
jne 0x410647
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x410659
movzx ebp, byte [edi]
movzx ebx, byte [edx]
sub ebp, ebx
jne 0x410647
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x410659
movzx ebp, byte [edi]
movzx ecx, byte [edx]
sub ebp, ecx
je 0x410659
test ebp, ebp
mov ebx, dword [esp + 0x14]
mov ecx, 1
jg 0x41065f
or ecx, 0xffffffff
jmp 0x41065f
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ecx, ecx
je 0x4105bf
mov ecx, 4
lea edx, [esp + 0x44]
mov edi, eax
mov eax, dword [edi]
cmp eax, dword [edx]
jne 0x41068a
sub ecx, 4
add edx, 4
add edi, 4
cmp ecx, 4
jae 0x410672
test ecx, ecx
je 0x4106e7
movzx ebp, byte [edi]
movzx eax, byte [edx]
sub ebp, eax
jne 0x4106d9
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4106e7
movzx ebp, byte [edi]
movzx eax, byte [edx]
sub ebp, eax
jne 0x4106d9
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4106e7
movzx ebp, byte [edi]
movzx eax, byte [edx]
sub ebp, eax
jne 0x4106d9
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4106e7
movzx ebp, byte [edi]
movzx ecx, byte [edx]
sub ebp, ecx
je 0x4106e7
test ebp, ebp
mov ecx, 1
jg 0x4106e9
or ecx, 0xffffffff
jmp 0x4106e9
xor ecx, ecx
test ecx, ecx
je 0x410702
mov ecx, str.Skipped__ignored__a_chunk_between_APNG_chunks
call fcn.0040e040
mov ebx, dword [esi + 0x10c]
jmp 0x4104f0
mov edx, dword [esp + 0x18]
push edx
mov eax, esi
call fcn.0041bb10
add esp, 4
add dword [esi + 0x10c], 0xfffffffc
jmp 0x4104f0
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 0x41073c
mov dword [esi + 0x7c], ecx
mov eax, dword [esi + 0x54]
test eax, eax
mov ebp, dword [esi + 0x7c]
je 0x410813
push ebp
push edi
push esi
call eax
add esp, 0xc
test byte [esi + 0x11c], 0x20
je 0x41076c
mov eax, dword [esi + 0x70]
and eax, 0x300
cmp eax, 0x300
jne 0x410775
jmp 0x410792
test dword [esi + 0x70], 0x800
jne 0x410792
test edi, edi
mov eax, dword [esi + 0x110]
jne 0x410783
xor eax, eax
jmp 0x41078c
mov edx, ebp
mov ecx, edi
call fcn.004223b0
mov dword [esi + 0x110], eax
mov ecx, dword [esi + 0x7c]
sub dword [esi + 0x10c], ecx
mov ebp, dword [esp + 0x1c]
lea edx, [esi + 0x78]
push edx
call fcn.0041d120
add esp, 4
cmp eax, 1
je 0x41081f
test eax, eax
jne 0x41086a
cmp dword [esi + 0x88], eax
jne 0x4104e0
movzx eax, byte [esi + 0x126]
mov ecx, dword [esi + 0xe0]
mov dl, byte [esi + 0x12a]
mov byte [esi + 0x108], al
movzx eax, byte [esi + 0x127]
mov byte [esi + 0x109], al
mov al, byte [esi + 0x129]
lea edi, [esi + 0x100]
mov byte [esi + 0x10b], al
cmp al, 8
mov dword [edi], ecx
mov byte [esi + 0x10a], dl
movzx eax, al
jb 0x410882
shr eax, 3
imul eax, ecx
jmp 0x41088b
mov edi, str.Call_to_NULL_read_function
mov eax, esi
jmp fcn.0040e020
cmp dword [esi + 0x88], 0
jne 0x410837
cmp dword [esi + 0x7c], 0
jne 0x410837
cmp dword [esi + 0x10c], 0
je 0x41084a
test dword [esi + 0x70], 0x800000
je 0x41085e
mov ecx, str.Extra_compressed_data
call fcn.0040e040
or dword [esi + 0x6c], 8
or dword [esi + 0x70], 0x20
add dword [esi + 0x278], 1
jmp 0x4107c4
mov edi, str.Extra_compressed_data
mov eax, esi
jmp fcn.0040e020
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x410879
mov eax, str.Decompression_error
mov edi, eax
mov eax, esi
jmp fcn.0040e020
imul eax, ecx
add eax, 7
shr eax, 3
mov ecx, dword [esi + 0xec]
mov dword [esi + 0x104], eax
mov al, byte [ecx]
test al, al
je 0x4108b8
mov edx, dword [esi + 0xe8]
add edx, 1
push edx
movzx eax, al
add ecx, 1
push esi
mov edx, edi
call fcn.0041c600
add esp, 8
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
add eax, 1
push eax
push ecx
push edx
call fcn.00450d30
add esp, 0xc
test byte [esi + 0x230], 4
je 0x4108fa
cmp byte [esi + 0x234], 0x40
jne 0x4108fa
mov ecx, dword [esi + 0xec]
add ecx, 1
mov eax, edi
call fcn.004222e0
cmp dword [esi + 0x74], 0
jne 0x410909
test dword [esi + 0x70], 0x400000
je 0x410912
push esi
call fcn.0041f170
add esp, 4
cmp byte [esi + 0x123], 0
je 0x410945
test byte [esi + 0x74], 2
je 0x410945
cmp byte [esi + 0x124], 6
jae 0x410933
push esi
call fcn.0041c190
add esp, 4
test ebp, ebp
je 0x41095a
movzx eax, byte [esi + 0x124]
mov ecx, dword [esp + eax*4 + 0x20]
push ecx
jmp 0x41094e
test ebp, ebp
je 0x41095a
push 0xff
mov edx, ebp
mov eax, esi
call fcn.0041be90
add esp, 4
mov ecx, esi
call fcn.0041c7b0
mov eax, dword [esi + 0x198]
test eax, eax
je 0x410980
movzx edx, byte [esi + 0x124]
mov ecx, dword [esi + 0xe4]
push edx
push ecx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448fb3
add esp, 0x48
ret