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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1d0]
cmp eax, dword [ecx + 8]
jbe 0x68171e
sub esp, 0x250
mov eax, dword [esp + 0x254]
mov ecx, dword [eax + 0x138]
test ecx, ecx
je 0x680ff7
mov edx, dword [eax + 0x13c]
mov dword [esp + 0x248], ecx
mov dword [esp + 0x24c], edx
mov ecx, dword [esp + 0x248]
test ecx, ecx
je 0x680fef
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x680fe6
or edx, 0x80
mov ebx, dword [esp + 0x24c]
jmp 0x680ffd
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x680ffd
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x240], ebx
mov dword [esp + 0x23c], ecx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x18
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x68105c
cmp eax, 7
jne 0x681044
mov eax, dword [ecx]
jmp 0x681079
cmp eax, 8
jne 0x68104e
movzx eax, byte [ecx]
jmp 0x681079
cmp eax, 9
jne 0x6816e3
movzx eax, word [ecx]
jmp 0x681079
cmp eax, 0xa
jne 0x681065
mov eax, dword [ecx]
jmp 0x681079
cmp eax, 0xb
jne 0x68106e
mov eax, dword [ecx]
jmp 0x681079
cmp eax, 0xc
jne 0x6816e3
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x23c]
mov dword [esp], ecx
mov edx, dword [esp + 0x240]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1d
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x6810e2
cmp eax, 7
jne 0x6810c6
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x681106
cmp eax, 8
jne 0x6810d2
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x681106
cmp eax, 9
jne 0x6816a9
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x681106
cmp eax, 0xa
jne 0x6810ed
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x681106
cmp eax, 0xb
jne 0x6810f9
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x681106
cmp eax, 0xc
jne 0x6816a9
mov eax, dword [ecx]
xor ecx, ecx
test ecx, ecx
seta dl
sete bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ebp
or ebx, edx
test bl, bl
je 0x68135c
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x2c]
and edx, 0xf0000000
mov ebx, dword [esp + 0x254]
movzx ebp, byte [ebx + 0x294]
shr edx, 0x1c
mov dword [esp + 0x5c], edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x681249
mov eax, dword [esp + 0x23c]
mov dword [esp], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1c
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x6811af
cmp eax, 7
jne 0x681197
mov ecx, dword [ecx]
jmp 0x6811cc
cmp eax, 8
jne 0x6811a1
movzx ecx, byte [ecx]
jmp 0x6811cc
cmp eax, 9
jne 0x68166f
movzx ecx, word [ecx]
jmp 0x6811cc
cmp eax, 0xa
jne 0x6811b8
mov ecx, dword [ecx]
jmp 0x6811cc
cmp eax, 0xb
jne 0x6811c1
mov ecx, dword [ecx]
jmp 0x6811cc
cmp eax, 0xc
jne 0x68166f
mov ecx, dword [ecx]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00468bf8
mov ecx, dword [esp + 0x254]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6fcbe0]
cmp edx, ebx
jne 0x681659
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x6c]
call fcn.00468f10
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x254]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0067ac90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x254]
mov ebx, dword [esp + 0x5c]
mov ebp, 1
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov ebp, 1
jmp 0x681556
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x23c]
mov dword [esp], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1c
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x6812ac
cmp eax, 7
jne 0x681294
mov ecx, dword [ecx]
jmp 0x6812c9
cmp eax, 8
jne 0x68129e
movzx ecx, byte [ecx]
jmp 0x6812c9
cmp eax, 9
jne 0x681500
movzx ecx, word [ecx]
jmp 0x6812c9
cmp eax, 0xa
jne 0x6812b5
mov ecx, dword [ecx]
jmp 0x6812c9
cmp eax, 0xb
jne 0x6812be
mov ecx, dword [ecx]
jmp 0x6812c9
cmp eax, 0xc
jne 0x681500
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x14c]
xor eax, eax
call fcn.00468bf4
mov ecx, dword [esp + 0x254]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6fc860]
cmp edx, ebx
jne 0x6814ea
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x14c]
call fcn.00468ee8
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x254]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
sub edx, eax
mov dword [esp + 4], edx
call fcn.0067ac90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x254]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
mov esi, 1
xor edi, edi
xor esi, esi
mov dword [esp + 0x4c], esi
xor esi, esi
mov dword [esp + 0x244], esi
xor esi, esi
mov dword [esp + 0x48], esi
mov esi, 1
jmp 0x6813b0
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x258], edx
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x260], eax
add esp, 0x250
ret
mov ecx, dword [esp + 0x244]
mov dword [ecx + edx*4 - 4], ebx
lea eax, [eax + ebp + 4]
add esi, 1
mov ebx, dword [esp + 0x54]
adc ebx, 0
mov ecx, dword [esp + 0x254]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
mov edi, ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x54], edi
cmp edi, edx
sete dl
xchg edi, ebx
setb bl
xchg edi, ebx
cmp esi, ebx
setbe bl
and ebx, edx
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x6814c3
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x6813ea
mov edx, dword [0x95da80]
xor ebx, ebx
jmp 0x68141d
mov edx, dword [ecx + 0x28c]
cmp eax, edx
ja 0x6814e3
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp edx, 3
jbe 0x6814d7
mov edi, dword [ecx + 0x288]
mov ebx, dword [ebx + edi]
xor edx, edx
test edx, edx
jne 0x681498
mov edx, dword [esp + 0x48]
inc edx
mov edi, dword [esp + 0x4c]
cmp edi, edx
jae 0x68137e
mov dword [esp + 0x50], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x244]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6bd460]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x244], eax
mov edi, ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x254]
jmp 0x68137e
mov eax, dword [esp + 0x244]
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x260], eax
add esp, 0x250
ret
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x244]
jmp 0x681362
mov eax, 3
mov ecx, edx
call fcn.00468a00
mov ecx, edx
call fcn.00468a70
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x710cf2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
mov ecx, dword [esp + 0x38]
mov dword [edi + edx*4 - 4], ecx
inc ebp
lea eax, [eax + ebx + 4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x254]
cmp ebp, ecx
ja 0x68163d
mov ecx, dword [edx + 0x2ac]
add ecx, 0xfffffffc
cmp eax, ecx
jbe 0x681581
mov ecx, dword [0x95da80]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
jmp 0x6815bc
mov ecx, dword [edx + 0x28c]
cmp eax, ecx
ja 0x681654
mov ebx, dword [edx + 0x290]
sub ecx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp ecx, 3
jbe 0x68164a
mov ecx, dword [edx + 0x288]
mov ebx, dword [ebx + ecx]
xor ecx, ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x5c]
test ecx, ecx
jne 0x68161d
mov ecx, edx
mov edx, dword [esp + 0x48]
inc edx
cmp esi, edx
jae 0x68153a
mov dword [esp + 0x58], ebp
mov dword [esp + 0x44], eax
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x6bd460]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x254]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
jmp 0x68153a
mov dword [esp + 0x258], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], esi
add esp, 0x250
ret
mov eax, esi
mov ecx, dword [esp + 0x48]
mov edx, edi
jmp 0x681362
mov eax, 3
call fcn.00468a00
call fcn.00468a70
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x710cf2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x710cf2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x710cf2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
nop
call fcn.00467590
jmp fcn.00680f80