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

Disassembly:
sub esp, 0x80
push ebx
push edi
mov edi, dword [esp + 0x90]
xor ebx, ebx
inc ebx
cmp dword [edi + 8], ebx
je 0x684d34
cmp dword [edi], 0
je 0x684d34
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0068010c
add esp, 0x24
test eax, eax
jne 0x684d37
push esi
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x98]
call fcn.006807e0
mov esi, eax
test esi, esi
jne 0x684cf7
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.00680fc4
mov esi, eax
test esi, esi
jne 0x684cf7
cmp dword [esp + 0x7c], eax
jle 0x684a0a
mov eax, dword [esp + 0x88]
test byte [eax], bl
jne 0x684a0a
cmp dword [esp + 0x6c], esi
jle 0x684a0a
mov eax, dword [esp + 0x78]
test byte [eax], bl
jne 0x684a0a
push 0xfffffffffffffffd
pop esi
jmp 0x684cf7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00680fc4
mov esi, eax
test esi, esi
jne 0x684cf7
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00680fc4
mov esi, eax
test esi, esi
jne 0x684cf7
push ebp
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.00683a3a
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.00683a3a
or ebp, 0xffffffff
cmp dword [esp + 0x50], 0
jle 0x684b10
mov eax, dword [esp + 0x5c]
test byte [eax], bl
jne 0x684b10
lea eax, [esp + 0x50]
push eax
push eax
call fcn.0068101f
mov esi, eax
test esi, esi
jne 0x684cf6
cmp dword [esp + 0x30], eax
jle 0x684a93
mov eax, dword [esp + 0x3c]
test byte [eax], bl
jne 0x684aa2
cmp dword [esp + 0x60], 0
jle 0x684ae1
mov eax, dword [esp + 0x6c]
test byte [eax], bl
je 0x684ae1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00680696
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x30]
push eax
push eax
call fcn.0068101f
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x60]
push eax
push eax
call fcn.0068101f
mov esi, eax
test esi, esi
je 0x684a59
jmp 0x684cf6
cmp dword [esp + 0x40], 0
jle 0x684bc7
mov eax, dword [esp + 0x4c]
test byte [eax], bl
jne 0x684bc7
lea eax, [esp + 0x40]
push eax
push eax
call fcn.0068101f
mov esi, eax
test esi, esi
jne 0x684cf6
cmp dword [esp + 0x10], eax
jle 0x684b4a
mov eax, dword [esp + 0x1c]
test byte [eax], bl
jne 0x684b59
cmp dword [esp + 0x20], 0
jle 0x684b98
mov eax, dword [esp + 0x2c]
test byte [eax], bl
je 0x684b98
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00680696
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x10]
push eax
push eax
call fcn.0068101f
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x20]
push eax
push eax
call fcn.0068101f
mov esi, eax
test esi, esi
je 0x684b10
jmp 0x684cf6
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00680662
cmp eax, ebp
je 0x684c26
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
jmp 0x684c70
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
cmp dword [esp + 0x50], eax
jne 0x684a5e
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.0068085a
test eax, eax
je 0x684cac
push 0xfffffffffffffffd
pop esi
jmp 0x684cf6
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.00680696
mov esi, eax
test esi, esi
jne 0x684cf6
push 0
lea eax, [esp + 0x14]
push eax
call fcn.0068085a
cmp eax, ebp
lea eax, [esp + 0x10]
je 0x684c9a
jmp 0x684cd8
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.006806e6
mov esi, eax
test esi, esi
jne 0x684cf6
lea eax, [esp + 0x10]
push edi
push eax
call fcn.006829ae
cmp eax, ebp
lea eax, [esp + 0x10]
jne 0x684cc2
push dword [esp + 0x9c]
push eax
call fcn.00683906
xor esi, esi
pop ebp
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0068015b
add esp, 0x24
mov eax, esi
pop esi
jmp 0x684d37
push 0xfffffffffffffffd
pop eax
pop edi
pop ebx
add esp, 0x80
ret 0xc