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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x8bb040]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push esi
push edi
mov eax, dword [ebx + 0x74]
test al, 1
je 0x726be0
mov edx, dword [ebp + 8]
test al, 6
je 0x72688a
call fcn.00725420
test dword [ebx + 0x78], 0x100000
mov ecx, ebx
je 0x726bea
push str.out_of_place
lea edx, [esp + 0x54]
call fcn.0071f8a0
add esp, 4
lea edx, [esp + 0x50]
mov ecx, ebx
call fcn.0071f7a0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0073297b
mov esp, ebp
pop ebp
ret
cmp edx, 0x20
je 0x7268aa
call fcn.00725420
test dword [ebx + 0x78], 0x100000
mov ecx, ebx
je 0x726bf4
push str.invalid
jmp 0x72685e
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x726bd6
push 0x20
lea ecx, [esp + 0x34]
push ecx
push ebx
call eax
mov eax, dword [ebx + 0x78]
lea edi, [esp + 0x3c]
add esp, 0xc
mov esi, 0x20
test dword [ebx + 0x11c], 0x20000000
je 0x7268e8
and eax, 0x300
cmp eax, 0x300
je 0x72691a
jmp 0x7268ef
test eax, 0x800
jne 0x72691a
mov eax, dword [ebx + 0x138]
mov edx, edi
mov ecx, eax
test esi, esi
jne 0x72690b
push 0xffffffffffffffff
call fcn.007152e0
add esp, 4
dec edi
inc esi
jmp 0x7268f5
push esi
call fcn.007152e0
add esp, 4
mov dword [ebx + 0x138], eax
xor edx, edx
mov ecx, ebx
call fcn.00725420
test eax, eax
jne 0x726875
movzx ecx, byte [esp + 0x30]
or edi, 0xffffffff
movzx eax, byte [esp + 0x31]
mov esi, edi
movzx edx, byte [esp + 0x34]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x32]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x33]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x35]
cmp ecx, 0x7fffffff
cmovbe esi, ecx
shl edx, 8
add edx, eax
mov ecx, dword [esp + 0x37]
movzx eax, byte [esp + 0x36]
shl edx, 8
add edx, eax
mov dword [esp + 0x28], esi
shl edx, 8
movzx eax, cl
add edx, eax
mov eax, edi
cmp edx, 0x7fffffff
cmovbe eax, edx
movzx edx, ch
mov ecx, dword [esp + 0x3b]
shl edx, 8
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x39]
add edx, eax
movzx eax, byte [esp + 0x3a]
shl edx, 8
add edx, eax
movzx eax, cl
shl edx, 8
add edx, eax
mov eax, edi
cmp edx, 0x7fffffff
cmovbe eax, edx
movzx edx, ch
mov ecx, dword [esp + 0x3f]
shl edx, 8
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x3d]
add edx, eax
movzx eax, byte [esp + 0x3e]
shl edx, 8
add edx, eax
movzx eax, cl
shl edx, 8
add edx, eax
mov eax, edi
cmp edx, 0x7fffffff
cmovbe eax, edx
movzx edx, ch
mov ecx, dword [esp + 0x43]
shl edx, 8
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x41]
add edx, eax
movzx eax, byte [esp + 0x42]
shl edx, 8
add edx, eax
movzx eax, cl
shl edx, 8
add edx, eax
mov eax, edi
cmp edx, 0x7fffffff
cmovbe eax, edx
movzx edx, ch
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x45]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x46]
shl edx, 8
mov ecx, dword [esp + 0x47]
add edx, eax
shl edx, 8
movzx eax, cl
add edx, eax
mov eax, edi
cmp edx, 0x7fffffff
cmovbe eax, edx
movzx edx, ch
mov ecx, dword [esp + 0x4b]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x49]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x4a]
shl edx, 8
add edx, eax
movzx eax, cl
shl edx, 8
add edx, eax
movzx ecx, ch
cmp edx, 0x7fffffff
mov eax, edi
cmovbe eax, edx
shl ecx, 8
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x4d]
add ecx, eax
movzx eax, byte [esp + 0x4e]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x4f]
shl ecx, 8
add ecx, eax
cmp ecx, 0x7fffffff
cmovbe edi, ecx
mov dword [esp + 0x24], edi
cmp esi, 0xffffffff
je 0x726bc1
cmp dword [esp + 0x2c], 0xffffffff
je 0x726bc1
cmp dword [esp + 0x10], 0xffffffff
je 0x726bc1
cmp dword [esp + 0x14], 0xffffffff
je 0x726bc1
cmp dword [esp + 0x18], 0xffffffff
je 0x726bc1
cmp dword [esp + 0x1c], 0xffffffff
je 0x726bc1
cmp dword [esp + 0x20], 0xffffffff
je 0x726bc1
cmp edi, 0xffffffff
je 0x726bc1
movzx eax, word [ebx + 0x312]
test ax, ax
js 0x726875
test al, 0x10
je 0x726b6a
or eax, 0x8000
mov word [ebx + 0x312], ax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x726b51
lea edi, [eax + 0x28]
mov ecx, 0x13
lea esi, [ebx + 0x2c8]
mov edx, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0071d090
test dword [ebx + 0x78], 0x100000
mov ecx, ebx
je 0x726bfe
push str.duplicate
jmp 0x72685e
or eax, 0x10
lea esi, [ebx + 0x2c8]
mov word [ebx + 0x312], ax
mov edx, esi
lea eax, [esp + 0x10]
mov ecx, ebx
push 1
push eax
call fcn.0071d6d0
mov eax, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x726875
lea edi, [eax + 0x28]
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov ecx, ebx
call fcn.0071d090
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0073297b
mov esp, ebp
pop ebp
ret
test dword [ebx + 0x78], 0x100000
mov ecx, ebx
je 0x726c08
push str.invalid_values
jmp 0x72685e
mov edx, str.Call_to_NULL_read_function
call fcn.0071f650
mov edx, str.missing_IHDR
call fcn.0071f9b0
mov edx, str.out_of_place
call fcn.0071f9b0
mov edx, str.invalid
call fcn.0071f9b0
mov edx, str.duplicate
call fcn.0071f9b0
mov edx, str.invalid_values
call fcn.0071f9b0
int3