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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x689b3e
sub esp, 0x70
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00460de4
lea ecx, [0xb8e67e]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 3
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x689b25
mov eax, dword [ecx + 8]
cmp eax, 0x29cb474c
jne 0x689ad5
lea eax, [0xb49620]
cmp eax, ecx
jne 0x689b25
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], edx
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x54], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.0068a3e0
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x69], al
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x689444
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov ecx, 1
mov byte [esp + 0x2b], cl
mov edx, dword [esp + 0x50]
test edx, edx
jne 0x68946d
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x68946d
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00689b80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x689ac3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
movzx ebp, byte [esp + 0x68]
movzx esi, byte [esp + 0x2b]
xchg esi, eax
mov byte [esp], al
xchg esi, eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
xchg ebp, eax
mov byte [esp + 0x14], al
xchg ebp, eax
call fcn.00689e90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test edx, edx
jne 0x689ab1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
movzx edx, byte [esp + 0x2b]
test dl, dl
je 0x689503
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x4c], 4
jne 0x689503
cmp dword [edx], 0x44414548
je 0x689a32
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
movzx ecx, byte [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.0068a530
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
test eax, eax
jne 0x689a20
mov ecx, dword [esp + 0x74]
cmp dword [ecx + 8], 0x29cb474c
jne 0x689a18
lea edx, [0xb49620]
cmp edx, ecx
jne 0x689a0b
mov ebx, dword [esp + 0x2c]
cmp ebx, 0xffffffff
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x34]
cmp esi, 0xffffffff
sete dl
and edx, ebp
test dl, dl
je 0x689582
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x6899d9
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x689865
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x4c], 4
jne 0x689780
cmp dword [edx], 0x44414548
jne 0x689780
lea edx, [0xc87e00]
mov dword [esp + 0x58], edx
lea edx, [0x10fcef8]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 8]
cmp edx, 0x29cb474c
jne 0x6896a9
lea edx, [0xb49620]
cmp edx, ecx
jne 0x689627
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x68969c
mov dword [edx + 0x24], eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ebx
movzx ecx, byte [esp + 0x68]
test cl, cl
jne 0x68964b
movzx ecx, byte [esp + 0x69]
mov byte [edx + 0x3c], cl
mov ecx, dword [0x10fd360]
mov eax, dword [esp + 0x6c]
test ecx, ecx
jne 0x689641
mov dword [edx + 0x40], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
lea edi, [edx + 0x40]
call fcn.00460b40
jmp 0x689627
lea eax, [0xa925c0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0xb92511]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x10fd360]
test edx, edx
jne 0x689692
mov dword [ecx + 0x30], eax
mov edx, ecx
jmp 0x68960e
lea edi, [ecx + 0x30]
call fcn.00460b40
jmp 0x68968b
lea edi, [edx + 0x24]
call fcn.00460b40
jmp 0x6895f7
cmp edx, 0x7ade63e2
jne 0x689627
lea edx, [0xb7cf20]
cmp edx, ecx
jne 0x689627
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x689773
mov dword [edx + 0x24], eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], ebx
movzx ecx, byte [esp + 0x68]
test cl, cl
jne 0x689725
movzx ecx, byte [esp + 0x69]
mov byte [edx + 0x40], cl
mov ecx, dword [0x10fd360]
mov eax, dword [esp + 0x6c]
test ecx, ecx
jne 0x689718
mov dword [edx + 0x58], eax
jmp 0x689627
lea edi, [edx + 0x58]
call fcn.00460b40
jmp 0x689627
lea eax, [0xa925c0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0xb92511]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0x10fd360]
test edx, edx
jne 0x689769
mov dword [ecx + 0x34], eax
mov edx, ecx
jmp 0x6896fa
lea edi, [ecx + 0x34]
call fcn.00460b40
jmp 0x689765
lea edi, [edx + 0x24]
call fcn.00460b40
jmp 0x6896e3
mov edx, dword [esp + 0x44]
lea ebx, [edx - 0x64]
cmp ebx, 0x63
jbe 0x6895aa
cmp edx, 0xcc
je 0x6895aa
cmp edx, 0x130
je 0x6895aa
lea eax, [0xc7f860]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0063cca0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0xb51da0]
mov dword [esp], edx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x689853
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x689831
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov ebx, dword [esp + 0x7c]
mov dword [eax + 0x10], ebx
movzx ebx, byte [esp + 0x69]
mov byte [eax + 0x14], bl
lea ebx, [0xc875a0]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
jmp 0x6895be
lea edi, [eax + 0xc]
mov edx, eax
mov eax, dword [esp + 0x78]
call fcn.00460b40
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x7c]
call fcn.00460b40
mov eax, edx
mov edx, ebx
jmp 0x689816
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.00460b40
mov eax, ecx
jmp 0x6897f7
test esi, esi
sete dl
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x689894
lea edx, [0xc87e00]
mov dword [esp + 0x58], edx
lea edx, [0x10fcef8]
mov dword [esp + 0x5c], edx
jmp 0x6895be
test esi, esi
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, edx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x68992e
movzx edx, byte [esp + 0x69]
test dl, dl
jne 0x6898d2
lea edx, [0xc87e00]
mov dword [esp + 0x58], edx
lea edx, [0x10fcef8]
mov dword [esp + 0x5c], edx
jmp 0x6895be
lea eax, [0xb51da0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
lea ecx, [0xc7f860]
mov dword [eax], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x68991c
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
movzx edx, byte [esp + 0x69]
mov byte [eax + 0x14], dl
lea edx, [0xc875a0]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
jmp 0x6895be
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.00460b40
mov eax, ecx
jmp 0x6898fd
lea eax, [0xaedf40]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
lea ecx, [0xc7f860]
mov dword [eax], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x6899c7
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
lea ecx, [0xb51da0]
mov dword [esp], ecx
call fcn.0040bd00
mov eax, dword [esp + 4]
lea ecx, [0xc830e0]
mov dword [eax], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x6899b5
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
movzx edx, byte [esp + 0x69]
mov byte [eax + 0x14], dl
lea edx, [0xc875a0]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
jmp 0x6895be
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00460b40
mov eax, ecx
jmp 0x689996
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.00460b40
mov eax, ecx
jmp 0x689959
mov edx, dword [esp + 0x44]
lea ebp, [edx - 0x64]
cmp ebp, 0x63
jbe 0x689582
cmp edx, 0xcc
je 0x689582
cmp edx, 0x130
je 0x689582
mov byte [esp + 0x69], 1
jmp 0x689582
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x689582
lea edx, [0xb49620]
jmp 0x689a0b
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov eax, dword [esp + 0x40]
lea ecx, [0xb6a860]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0xb98527]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xe
call fcn.00410690
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jle 0x689aab
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0068b350
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x689a99
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
jmp 0x68950b
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
add esp, 0x70
ret
xor eax, eax
xor ecx, ecx
jmp 0x689a6c
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
add esp, 0x70
ret
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
cmp eax, 0x7ade63e2
jne 0x689b25
lea eax, [0xb7cf20]
cmp eax, ecx
jne 0x689b25
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x40], ebx
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], 0xc8
movzx ebx, byte [edx + 0x40]
mov byte [esp + 0x69], bl
mov eax, edx
xor ecx, ecx
jmp 0x689449
lea eax, [0xaa9660]
mov dword [esp], eax
lea eax, [0xc75850]
mov dword [esp + 4], eax
call fcn.00433120
nop
call fcn.0045f5f0
jmp fcn.00689390