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

Disassembly:
sub esp, 0x28
mov eax, dword [0x8bb040]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, edx
push edi
mov eax, dword [esi + 0x74]
test al, 1
jne 0x725fe9
cmp dword [esp + 0x3c], 0xd
jne 0x725ff3
or eax, 1
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x725fdf
push 0xd
lea ecx, [esp + 0x28]
push ecx
push esi
call eax
mov eax, dword [esi + 0x78]
lea ebx, [esp + 0x30]
add esp, 0xc
mov edi, 0xd
test dword [esi + 0x11c], 0x20000000
je 0x725e50
and eax, 0x300
cmp eax, 0x300
je 0x725e85
jmp 0x725e57
test eax, 0x800
jne 0x725e85
mov eax, dword [esi + 0x138]
lea ecx, [ecx]
mov edx, ebx
mov ecx, eax
test edi, edi
jne 0x725e76
push 0xffffffffffffffff
call fcn.007152e0
add esp, 4
dec ebx
inc edi
jmp 0x725e60
push edi
call fcn.007152e0
add esp, 4
mov dword [esi + 0x138], eax
xor edx, edx
mov ecx, esi
call fcn.00725420
movzx edx, byte [esp + 0x24]
movzx eax, byte [esp + 0x25]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x26]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x27]
shl edx, 8
add edx, eax
cmp edx, 0x7fffffff
ja 0x725ffd
movzx edi, byte [esp + 0x28]
movzx eax, byte [esp + 0x29]
mov ecx, dword [esp + 0x2b]
shl edi, 8
add edi, eax
movzx eax, byte [esp + 0x2a]
shl edi, 8
add edi, eax
movzx eax, cl
shl edi, 8
add edi, eax
cmp edi, 0x7fffffff
ja 0x725ffd
movzx eax, byte [esp + 0x2d]
movzx ebx, ch
movzx ecx, byte [esp + 0x2e]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x30]
mov dword [esp + 0x20], eax
mov byte [esi + 0x14c], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x2f]
mov byte [esi + 0x14f], al
movzx eax, al
mov dword [esp + 0x1c], ecx
mov byte [esi + 0x258], cl
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x100], edx
mov dword [esi + 0x104], edi
mov byte [esi + 0x150], bl
mov byte [esi + 0x278], cl
cmp eax, 6
ja case.0x725f4f.0
jmp dword [eax*4 + 0x72600c]
mov byte [esi + 0x153], 3
mov al, 3
jmp 0x725f80
mov byte [esi + 0x153], 2
mov al, 2
jmp 0x725f80
mov byte [esi + 0x153], 4
mov al, 4
jmp 0x725f80
mov byte [esi + 0x153], 1
mov al, 1
movzx eax, al
mov ecx, ebx
imul ecx, eax
mov byte [esi + 0x152], cl
movzx eax, cl
cmp cl, 8
jb 0x725f9e
shr eax, 3
imul eax, edx
jmp 0x725fa7
imul eax, edx
add eax, 7
shr eax, 3
push dword [esp + 0x1c]
mov ecx, esi
mov dword [esi + 0x110], eax
push dword [esp + 0x18]
push dword [esp + 0x28]
push dword [esp + 0x24]
push ebx
push edi
push edx
mov edx, ebp
call fcn.0072b380
mov ecx, dword [esp + 0x50]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0073297b
add esp, 0x28
ret
mov edx, str.Call_to_NULL_read_function
call fcn.0071f650
mov edx, str.out_of_place
call fcn.0071f9b0
mov edx, str.invalid
call fcn.0071f9b0
mov edx, str.PNG_unsigned_integer_out_of_range
mov ecx, esi
call fcn.0071f650
lea ecx, [ecx]
ja 0x72606d
jb 0x726010
ja 0x726071
jb 0x726014
push esi
pop edi
jb 0x726018
ja 0x726079
jb 0x72601c
popal
pop edi
jb 0x726020
ja 0x726081
jb 0x726024
insb byte es:[edi], dx
pop edi
jb 0x726028
int3
add al, ch
lodsd eax, dword [esi]
invalid
invalid
add byte [ebx - 0x5c7bf032], cl
add al, byte [eax]
add byte [eax + 0x48], ch
sbb cl, byte [ecx + 0x225e900]
add byte [eax], al
mov bl, byte [esi + 0x14f]
or eax, 2
mov dword [esi + 0x74], eax
test bl, 2
jne 0x7260c2
mov edx, dword [esp + 0x32c]
call fcn.00725420
test dword [esi + 0x78], 0x100000
mov ecx, esi
je 0x72632f
push str.ignored_in_grayscale_PNG
jmp 0x7262b1
mov edi, dword [esp + 0x32c]
cmp edi, 0x300
ja 0x7262e1
mov eax, 0xaaaaaaab
mov ecx, edi
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
jne 0x7262e1
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp bl, 3
jne 0x72610d
mov cl, byte [esi + 0x150]
mov ebx, 1
shl ebx, cl
jmp 0x726112
mov ebx, 0x100
cmp eax, ebx
mov dword [esp + 0x14], 0
cmovle ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jle 0x7261e0
lea ebp, [esp + 0x22]
nop
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x726339
push 3
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov eax, dword [esi + 0x78]
lea ebx, [esp + 0x1c]
add esp, 0xc
mov edi, 3
test dword [esi + 0x11c], 0x20000000
je 0x72616e
and eax, 0x300
cmp eax, 0x300
je 0x7261a5
jmp 0x726175
test eax, 0x800
jne 0x7261a5
mov eax, dword [esi + 0x138]
jmp 0x726180
mov edx, ebx
mov ecx, eax
test edi, edi
jne 0x726196
push 0xffffffffffffffff
call fcn.007152e0
add esp, 4
dec ebx
inc edi
jmp 0x726180
push edi
call fcn.007152e0
add esp, 4
mov dword [esi + 0x138], eax
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
inc ecx
mov byte [ebp - 2], al
movzx eax, byte [esp + 0x11]
mov byte [ebp - 1], al
movzx eax, byte [esp + 0x12]
mov byte [ebp], al
add ebp, 3
mov dword [esp + 0x14], ecx
cmp ecx, ebx
jl 0x726130
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x32c]
lea eax, [ebx + ebx*2]
mov ecx, esi
sub edi, eax
mov edx, edi
call fcn.00725420
lea eax, [esp + 0x20]
mov edx, ebp
push ebx
push eax
mov ecx, esi
call fcn.0072ba60
add esp, 8
cmp word [esi + 0x148], 0
ja 0x726223
test ebp, ebp
je 0x7262c8
test byte [ebp + 8], 0x10
je 0x726265
xor eax, eax
mov word [esi + 0x148], ax
jmp 0x726230
xor eax, eax
mov word [esi + 0x148], ax
test ebp, ebp
je 0x726236
xor eax, eax
mov word [ebp + 0x16], ax
test dword [esi + 0x78], 0x100000
mov ecx, esi
je 0x726359
push str.tRNS_must_be_after
lea edx, [esp + 0x24]
call fcn.0071f8a0
add esp, 4
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.0071f7a0
test ebp, ebp
je 0x7262c8
mov ebx, dword [ebp + 8]
test bl, 0x40
je 0x726298
test dword [esi + 0x78], 0x100000
mov ecx, esi
je 0x726345
push str.hIST_must_be_after
lea edx, [esp + 0x24]
call fcn.0071f8a0
add esp, 4
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.0071f7a0
test bl, 0x20
je 0x7262c8
test dword [esi + 0x78], 0x100000
mov ecx, esi
je 0x72634f
push str.bKGD_must_be_after
lea edx, [esp + 0x24]
call fcn.0071f8a0
add esp, 4
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.0071f7a0
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0073297b
add esp, 0x318
ret
mov edx, edi
mov ecx, esi
call fcn.00725420
cmp byte [esi + 0x14f], 3
je 0x726305
test dword [esi + 0x78], 0x100000
je 0x726305
push str.invalid
mov ecx, esi
jmp 0x7262b1
mov edx, str.invalid
mov ecx, esi
call fcn.0071f9b0
mov edx, str.missing_IHDR
call fcn.0071f9b0
mov edx, str.duplicate
call fcn.0071f9b0
mov edx, str.out_of_place
call fcn.0071f9b0
mov edx, str.ignored_in_grayscale_PNG
call fcn.0071f9b0
mov edx, str.Call_to_NULL_read_function
mov ecx, esi
call fcn.0071f650
mov edx, str.hIST_must_be_after
call fcn.0071f9b0
mov edx, str.bKGD_must_be_after
call fcn.0071f9b0
mov edx, str.tRNS_must_be_after
call fcn.0071f9b0
int3