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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38c]
cmp eax, dword [ecx + 8]
jbe 0x683893
sub esp, 0x40c
lea eax, [0x6d3840]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 0x410]
mov ecx, dword [eax + 0x138]
mov edx, dword [esp + 4]
mov dword [esp + 0x3f8], edx
test ecx, ecx
je 0x6831c2
mov ebx, dword [eax + 0x13c]
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], ebx
mov ecx, dword [esp + 0x404]
test ecx, ecx
je 0x6831ba
movzx ebx, byte [ecx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x6831b1
or ebx, 0x80
mov ebp, dword [esp + 0x408]
jmp 0x6831c8
xor ebx, ebx
xor ecx, ecx
xor ebp, ebp
jmp 0x6831c8
xor ebx, ebx
xor ecx, ecx
xor ebp, ebp
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x28
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x68321b
cmp eax, 7
jne 0x6831ff
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x683241
cmp eax, 8
jne 0x68320b
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x683241
cmp eax, 9
jne 0x683858
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x683241
cmp eax, 0xa
jne 0x683226
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x683241
cmp eax, 0xb
jne 0x683234
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x683241
cmp eax, 0xc
jne 0x683858
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x683677
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x410]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x68338f
lea edi, [esp + 0x48]
xor eax, eax
call fcn.00468c1d
lea edi, [esp + 0x94]
call fcn.00468c1d
lea ecx, [0x6f4460]
mov dword [esp], ecx
lea edx, [esp + 0x94]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x220]
xor eax, eax
call fcn.00468bf8
mov ecx, dword [esp + 0x410]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6fcbe0]
cmp edx, ebx
jne 0x683842
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x220]
call fcn.00468f10
mov eax, dword [esp + 0x23c]
mov ecx, dword [esp + 0x410]
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 + 0x410]
mov dword [esp], ecx
lea edx, [0x6ab0e0]
mov dword [esp + 4], edx
lea edx, [esp + 0x48]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x68337d
lea eax, [0x6f4460]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.00409b50
mov eax, dword [esp + 8]
lea ecx, [0x6f4460]
mov edx, dword [esp + 0x3f8]
mov dword [edx], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
je 0x683375
call fcn.004689a0
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
jmp 0x6834a5
mov dword [esp + 0x414], 0
add esp, 0x40c
ret
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.00468c1c
lea edi, [esp + 0x1d0]
call fcn.00468c1c
lea ecx, [0x6f4540]
mov dword [esp], ecx
lea edx, [esp + 0x1d0]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x300]
xor eax, eax
call fcn.00468bf4
mov ecx, dword [esp + 0x410]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6fc860]
cmp edx, ebx
jne 0x68382c
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x300]
call fcn.00468ee8
mov eax, dword [esp + 0x318]
mov ecx, dword [esp + 0x410]
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 + 0x410]
mov dword [esp], ecx
lea edx, [0x6ab120]
mov dword [esp + 4], edx
lea edx, [esp + 0xe0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x683665
lea eax, [0x6f4540]
mov dword [esp], eax
lea ecx, [esp + 0xe0]
mov dword [esp + 4], ecx
call fcn.00409b50
mov eax, dword [esp + 8]
lea ecx, [0x6f4540]
mov edx, dword [esp + 0x3f8]
mov dword [edx], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
je 0x6834a2
call fcn.004689a0
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [edx]
test eax, eax
je 0x6834ed
mov ecx, dword [edx + 4]
mov dword [esp + 0x3fc], eax
mov dword [esp + 0x400], ecx
mov eax, dword [esp + 0x3fc]
test eax, eax
je 0x6834e5
movzx ecx, byte [eax + 0xf]
nop
mov ebx, ecx
and ecx, 0x1f
test bl, 0x20
jne 0x6834dc
or ecx, 0x80
mov ebx, dword [esp + 0x400]
jmp 0x6834f3
xor ecx, ecx
xor eax, eax
xor ebx, ebx
jmp 0x6834f3
xor ecx, ecx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3f4], ebx
mov dword [esp + 0x3f0], eax
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea edx, [0x70c57a]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0xa
call fcn.004ac5f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004ac940
mov eax, dword [esp + 0x10]
lea ecx, [0x6bd460]
cmp eax, ecx
jne 0x683816
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3f0]
mov dword [esp], ecx
mov edx, dword [esp + 0x3f4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
lea ebp, [0x70f4ae]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0xf
call fcn.004ac5f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004ac940
mov eax, dword [esp + 0x10]
lea ecx, [0x6bd460]
cmp eax, ecx
jne 0x683800
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x3f0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3f4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
lea ecx, [0x70f4bd]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0xf
call fcn.004ac5f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004ac940
mov eax, dword [esp + 0x10]
lea ecx, [0x6bd460]
cmp eax, ecx
jne 0x6837ea
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x410]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.0067ac90
mov eax, dword [esp + 8]
xor ecx, ecx
jmp 0x6836a9
mov dword [esp + 0x414], 0
add esp, 0x40c
ret
mov dword [esp + 0x414], 0
add esp, 0x40c
ret
mov dword [ecx + 0xc], ebx
lea ebx, [ebx + ebx*4]
shl ebx, 4
lea edi, [ebx + esi - 0x50]
lea esi, [esp + 0x130]
call fcn.00469078
mov ecx, dword [esp + 0x2c]
inc ecx
mov eax, edx
mov edx, dword [esp + 0x30]
cmp ecx, edx
jae 0x6837d5
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea edi, [esp + 0x130]
xor eax, eax
call fcn.00468c1c
lea edi, [esp + 0x180]
call fcn.00468c1c
lea ecx, [0x6ec300]
mov dword [esp], ecx
lea edx, [esp + 0x180]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x410]
mov dword [esp], edx
lea ebx, [0x6a9da0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x130]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0067b980
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x6837c3
mov ecx, dword [esp + 0x3f8]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
inc ebx
mov ebp, dword [esp + 0x38]
mov eax, edx
mov edx, dword [esp + 0x28]
add edx, ebp
mov esi, dword [ecx + 8]
cmp eax, ebx
jae 0x683689
mov dword [esp + 0x3c], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6ec300]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3f8]
mov dword [ebx + 0x10], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x6837a8
call fcn.004689a0
mov dword [edi], ecx
mov ebp, dword [ebx + 8]
mov dword [edi + 4], ebp
mov dword [ebx + 8], ecx
mov ebp, dword [esp + 0x38]
mov ebx, edx
mov esi, ecx
mov ecx, dword [esp + 0x3f8]
mov edx, dword [esp + 0x3c]
jmp 0x683689
mov dword [esp + 0x414], 0
add esp, 0x40c
ret
mov eax, dword [esp + 0x3f8]
mov dword [esp + 0x414], eax
add esp, 0x40c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
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 + 0x44]
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.00683130