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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x682971
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00682ab0
mov eax, dword [esp + 4]
test eax, eax
jg 0x68292d
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], edx
lea ebx, [0x74abe0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c7b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.0052a100
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
je 0x68287b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
jmp 0x6824f9
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
lea ebx, [0x78a74c]
mov dword [esp + 4], ebx
call fcn.00681030
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test ebp, ebp
je 0x682867
mov dword [esp + 0x60], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
nop
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov byte [esp + 0xc], 0x3a
call fcn.00402b70
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x682807
mov edx, dword [esp + 0x38]
cmp ecx, edx
ja 0x682964
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00682d00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x6825ae
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
jmp 0x6824f3
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
jmp 0x6825be
inc edx
cmp edx, ebx
jge 0x6825dd
jae 0x68295b
movzx esi, byte [ebp + edx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x6825bd
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x6825bd
cmp edx, ebx
ja 0x682952
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x38]
sub eax, edx
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebp
mov dword [esp + 4], eax
sub ebx, edx
mov dword [esp + 8], ebx
call fcn.004493b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
lea edx, [0x74abe0]
mov dword [esp], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
call fcn.0040ffa0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x682760
lea ebx, [edx + 1]
cmp eax, ebx
jb 0x682724
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
lea ebp, [ecx + edx*8 + 4]
mov esi, dword [esp + 0x44]
mov dword [ebp], esi
mov ebp, dword [0x9f0ee0]
lea edi, [ecx + edx*8]
test ebp, ebp
jne 0x682716
mov edx, dword [esp + 0x60]
mov dword [edi], edx
lea eax, [0x74abe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.00410670
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x68270b
mov eax, dword [esp + 0x58]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x6824f3
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x58]
call fcn.0045f470
jmp 0x6826db
mov eax, dword [esp + 0x60]
call fcn.0045f470
jmp 0x682693
mov dword [esp + 0x20], edx
lea ebp, [0x718aa0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00445ed0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, edx
mov edx, dword [esp + 0x20]
jmp 0x682665
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x68265a
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x24], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x58], ecx
mov ebx, dword [0x9f0ee0]
test ebx, ebx
jne 0x6827fc
mov eax, dword [esp + 0x60]
mov dword [edi], eax
lea eax, [0x74abe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.00410670
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x6827f1
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
jmp 0x6826e3
mov eax, dword [esp + 0x4c]
call fcn.0045f470
jmp 0x6827e4
mov eax, dword [esp + 0x60]
call fcn.0045f470
jmp 0x68279c
mov dword [esp], 0
lea eax, [0x7735e0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
lea ecx, [0x7ece68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
test ecx, ecx
jbe 0x682969
movzx eax, byte [edx]
cmp al, 0x20
jne 0x68291f
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00680ca0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x6828c7
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x68
ret
mov dword [esp], 0
lea eax, [0x777c76]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
lea ecx, [0x7ece68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
cmp al, 9
je 0x68288f
jmp 0x6824e9
mov dword [esp + 0x28], eax
lea ecx, [0x718aa0]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00445e20
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov ecx, eax
jmp 0x682495
mov eax, edx
mov ecx, ebx
call fcn.0045f550
mov eax, edx
mov ecx, ebx
call fcn.0045f4f0
call fcn.0045f530
xor eax, eax
call fcn.0045f4f0
nop
call fcn.0045df10
jmp fcn.00682460