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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x67095d
sub esp, 0x88
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x67094b
mov eax, 3
lea ecx, [0x801ac9]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
test eax, eax
jg 0x670915
xor edx, edx
test dl, dl
je 0x670891
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x67084a
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.005b5b20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x67082a
mov dword [esp + 0x2c], eax
lea eax, [0x7b4b00]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.00409ce0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x6707d9
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0066dbe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x6707cc
mov dword [edx + 0x14], eax
call fcn.0040cc40
mov eax, dword [esp]
mov dword [esp + 0x48], eax
lea ecx, [0x7f20a0]
mov dword [esp], ecx
call fcn.0040c160
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x8c]
mov dword [edi + 0x78], eax
mov eax, dword [0xaec8c0]
test eax, eax
jne 0x6707b0
mov edx, dword [esp + 0x90]
mov dword [edi + 0x7c], edx
mov edx, dword [esp + 0x98]
mov dword [edi + 4], edx
mov edx, dword [0xaec8c0]
test edx, edx
jne 0x670789
mov edx, dword [esp + 0x94]
mov dword [edi], edx
mov edx, dword [esp + 0x2c]
mov dword [edi + 8], edx
mov dword [edi + 0x10], 8
lea ebx, [0x805588]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 1
mov ebx, dword [0xaec8c0]
test ebx, ebx
jne 0x670770
mov ebx, dword [esp + 0x48]
mov dword [edi + 0x1c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0x20], ebx
mov ebx, dword [0xaec8c0]
lea ebp, [edi + 0x24]
test ebx, ebx
jne 0x67075a
mov ebx, dword [esp + 0x34]
mov dword [edi + 0x24], ebx
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [edi + 0x48], edx
mov edx, dword [0xaec8c0]
test edx, edx
jne 0x670747
mov dword [edi + 0x44], eax
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x670740
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x670588
mov dword [esp + 0x30], edi
mov edx, dword [edx + 8]
cmp edx, 0x4128187d
jne 0x67058f
lea ecx, [0x8accfc]
mov edx, dword [esp + 0xa4]
cmp ecx, edx
jne 0x670588
mov esi, dword [esp + 0xa8]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
cmp ecx, eax
setbe dl
mov ebx, dword [esi + 0xc]
sar ecx, 0x1f
cmp ecx, ebx
setl cl
sete bl
and edx, ebx
or edx, ecx
test dl, dl
je 0x67057b
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x5c]
call fcn.004668be
lea ecx, [0x7b0860]
mov dword [esp], ecx
call fcn.0040c160
mov eax, dword [esp + 4]
lea ecx, [0x696610]
mov dword [eax], ecx
mov ecx, dword [0xaec8c0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x670548
lea esi, [esp + 0x5c]
call fcn.004668be
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x670505
mov edx, dword [ecx + 0x2c]
test edx, edx
sete dl
mov ebx, dword [ecx + 0x30]
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x670505
lea edx, [0x8af708]
mov dword [ecx + 0x20], edx
mov edx, dword [0xaec8c0]
test edx, edx
jne 0x670529
lea eax, [0xaec640]
mov dword [ecx + 0x24], eax
lea eax, [0x847fdc]
mov dword [ecx + 0x28], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x88
ret
mov edi, dword [esp + 0x44]
lea eax, [0xaec640]
call fcn.00466130
lea edi, [ecx + 0x28]
lea eax, [0x847fdc]
call fcn.00466130
jmp 0x670505
mov dword [esp + 0x40], eax
lea eax, [0x7cad40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00411e00
mov ecx, dword [esp + 0x30]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x40]
call fcn.00466130
jmp 0x6704c3
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x670476
mov ecx, edi
jmp 0x6704c3
cmp edx, 0xa5164854
jne 0x670670
lea ecx, [0x8ac608]
mov edx, dword [esp + 0xa4]
cmp ecx, edx
jne 0x670588
mov esi, dword [esp + 0xa8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov edx, ecx
sar ecx, 0x1f
cmp ecx, eax
sete bl
mov ebp, dword [esi + 0xc]
cmp ebp, edx
setae dl
cmp ecx, eax
setl al
and edx, ebx
or edx, eax
test dl, dl
je 0x670663
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x70]
call fcn.004668b4
lea ecx, [0x7b0800]
mov dword [esp], ecx
call fcn.0040c160
mov eax, dword [esp + 4]
lea ecx, [0x696540]
mov dword [eax], ecx
mov ecx, dword [0xaec8c0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x670630
lea esi, [esp + 0x70]
call fcn.004668b4
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
jmp 0x6704c3
mov dword [esp + 0x3c], eax
lea eax, [0x7c7640]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00411e00
mov ecx, dword [esp + 0x30]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x3c]
call fcn.00466130
jmp 0x6704c3
mov ecx, dword [esp + 0x28]
sub ecx, ebp
mov eax, ecx
jmp 0x6705e2
cmp edx, 0xe763bb76
jne 0x670588
mov edx, dword [esp + 0xa4]
lea ebx, [0x8ac5e0]
cmp edx, ebx
jne 0x670588
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 4]
sub ebx, dword [edx + 0xc]
mov dword [edi + 0x2c], ebx
sar ebx, 0x1f
mov dword [edi + 0x30], ebx
nop
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp eax, ecx
ja 0x670957
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], ebx
lea eax, [0x7b02c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
lea ecx, [0x696460]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
sub ecx, edx
mov dword [eax + 0xc], ecx
mov ebx, dword [0xaec8c0]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x38]
add ecx, edx
test ebx, ebx
jne 0x670721
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
jmp 0x6704c3
lea edi, [eax + 4]
mov edx, eax
mov eax, ecx
call fcn.00466130
mov ecx, dword [esp + 0x30]
lea edi, [ecx + 0x28]
mov eax, edx
call fcn.00466130
jmp 0x6704c3
mov ecx, edi
jmp 0x670505
lea edx, [edi + 0x44]
mov ecx, edi
mov edi, edx
call fcn.00466130
mov edi, ecx
jmp 0x6703fa
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.00466130
mov edi, ecx
jmp 0x6703e0
lea ebx, [edi + 0x1c]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00466130
mov edi, ecx
jmp 0x6703c1
mov eax, dword [esp + 0x94]
call fcn.00466130
lea ebx, [edi + 8]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x2c]
call fcn.00466130
mov edx, eax
mov edi, ecx
jmp 0x67038e
lea edx, [edi + 0x7c]
mov eax, edi
mov edi, edx
mov ecx, eax
mov eax, dword [esp + 0x90]
call fcn.00466130
mov edi, ecx
jmp 0x670366
lea edi, [edx + 0x14]
call fcn.00466130
jmp 0x670326
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x6702e8
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x50], ecx
lea ecx, [0x8af5d0]
mov dword [esp], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.00409ac0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x6702e8
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x88
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x80db53]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x88
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409950
mov eax, dword [esp + 8]
lea ecx, [0x79f7e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x8116ff]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d94d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x88
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x848068]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004ed630
cmp dword [esp + 0x10], 0xffffffff
sete dl
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
jmp 0x670262
mov ecx, dword [esp + 0x94]
jmp 0x67024a
call fcn.00466210
nop
call fcn.00464bd0
jmp fcn.00670210