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

Disassembly:
push 0xffffffffffffffff
push 0x74ffeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x90]
xor ebx, ebx
cmp esi, ebx
mov ebp, ecx
push edi
mov dword [esp + 0x24], ebp
je 0x643dce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
cmp eax, 2
jb 0x643dce
push 0x3c
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov dword [esp + 0x8c], ebx
mov edi, 1
je 0x64363f
push edi
mov ecx, eax
call fcn.0063db70
mov dword [esp + 0x18], eax
jmp 0x643643
mov dword [esp + 0x18], ebx
mov eax, vtable.CBArray_struct_TPathNode_.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebx
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x50]
cdq
idiv dword [ebp + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x8c], 2
mov dword [esp + 0x1c], eax
call dword [edx + 0x48]
mov edi, eax
mov eax, dword [ebp + 0x20]
imul eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], edi
call dword [eax + 0x2c]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
mov ecx, eax
mov dword [esp + 0x34], ecx
mov ebp, ecx
add edi, 0xffffffff
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], eax
call dword [edx + 0x14]
mov word [eax + 0xe], bx
mov word [eax + 0xc], bx
mov dword [eax], ebp
mov ecx, ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x58], eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov word [eax + 0xe], bx
mov word [eax + 0xc], bx
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x64381e
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edi, dword [eax + 4]
mov ebp, dword [eax]
imul edi, dword [esp + 0x1c]
imul ebp, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x5c]
add edi, dword [esp + 0x38]
add ebp, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x24], eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax], ebp
mov dword [eax + 4], edi
mov edx, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x20]
mov dx, word [ecx + 0xe]
mov word [eax + 0xe], dx
mov eax, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0x60]
call dword [eax + 0x14]
mov edi, dword [eax]
mov edx, dword [esp + 0x5c]
sub edi, dword [esp + 0xa4]
push ebx
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
mov eax, dword [eax + 4]
sub eax, dword [esp + 0xa8]
mov edx, edi
mov ecx, eax
imul edx, edi
imul ecx, eax
add ecx, edx
cmp ecx, dword [esp + 0x30]
jge 0x643801
lea eax, [ebx + 1]
mov dword [esp + 0x10], eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
add ebx, 1
call dword [edx + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x643763
xor ebx, ebx
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x6439db
mov edx, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
test byte [eax + 0xe], 1
lea ecx, [esp + 0x5c]
je 0x643864
mov eax, dword [esp + 0x5c]
push edi
call dword [eax + 0x14]
mov edx, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x74]
mov ebp, eax
call dword [edx + 0x14]
jmp 0x6439a4
mov edx, dword [esp + 0x5c]
lea eax, [edi + 1]
push eax
call dword [edx + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x60]
call dword [eax + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x64398a
mov edx, dword [esp + 0x5c]
lea ebp, [edi + 1]
push ebp
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x60]
call dword [eax + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x20]
sub ecx, dword [edx + 8]
jns 0x6438b6
neg ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
sub edx, dword [ecx + 4]
jns 0x6438c8
neg edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
sub eax, dword [ecx]
jns 0x6438d4
neg eax
cmp eax, edx
jg 0x6438da
mov eax, edx
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x6438e4
mov eax, ecx
cmp eax, 1
jg 0x64398a
mov edx, dword [esp + 0x5c]
push ebp
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x60]
call dword [eax + 0x14]
mov edx, dword [ebp + 8]
add edx, dword [eax + 8]
mov ecx, dword [ebp + 4]
add ecx, dword [eax + 4]
mov ebp, dword [ebp]
add ebp, dword [eax]
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
mov ebp, eax
push edi
lea ecx, [esp + 0x74]
sar ebp, 1
call dword [edx + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax], ebp
mov dword [eax + 8], edx
lea eax, [edi + 1]
push eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x60]
call dword [eax + 0x14]
mov edx, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x60]
mov ebp, eax
call dword [edx + 0x14]
mov bp, word [ebp + 0xe]
or bp, word [eax + 0xe]
mov eax, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x74]
call dword [eax + 0x14]
mov word [eax + 0xe], bp
jmp 0x6439c5
mov edx, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x74]
call dword [eax + 0x14]
mov cx, word [ebp + 0xe]
mov word [eax + 0xe], cx
mov dx, word [ebp + 0xc]
mov word [eax + 0xc], dx
mov ecx, dword [ebp]
mov dword [eax], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
add edi, 1
cmp edi, eax
mov dword [esp + 0x28], eax
jl 0x643833
mov edx, dword [esp + 0x70]
push ebx
lea ecx, [esp + 0x74]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [eax], ecx
movzx ecx, word [esp + 0xa0]
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
mov ecx, dword [eax]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x40], ecx
mov esi, dword [eax + 4]
mov dword [esp + 0x44], esi
mov ebp, dword [eax + 8]
mov eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, ecx
mov dword [esp + 0x48], ebp
jne 0x643a78
mov eax, dword [esp + 0xa8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, esi
jne 0x643a78
mov eax, dword [esp + 0x10]
movzx esi, word [esp + 0xac]
add eax, 0xffffffff
mov dword [esp + 0x20], eax
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x74]
call dword [eax + 0x14]
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
jmp 0x643aa3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
add eax, 0xffffffff
lea edi, [ecx*8 + 4]
push eax
lea ecx, [esp + 0x74]
lea esi, [esi*8 + 4]
mov dword [esp + 0x24], eax
call dword [edx + 0x14]
mov dword [eax + 4], esi
mov dword [eax + 8], ebp
mov word [eax + 0xe], bx
xor ebp, ebp
cmp dword [esp + 0x28], ebx
mov word [eax + 0xc], bx
mov dword [eax], edi
jle 0x643c66
lea esp, [esp]
mov eax, dword [esp + 0x70]
push ebp
lea ecx, [esp + 0x74]
call dword [eax + 0x14]
mov ecx, dword [eax]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x78]
call dword [eax + 0x14]
mov edx, dword [esp + 0x74]
push eax
push ebp
lea ecx, [esp + 0x7c]
call dword [edx + 0x14]
movzx eax, word [eax + 0xe]
mov edi, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
mov ecx, esi
call fcn.006411b0
test al, al
jne 0x643d04
mov edx, dword [esp + 0x70]
push ebp
lea ecx, [esp + 0x74]
call dword [edx + 0x14]
test byte [eax + 0xe], 1
je 0x643b3d
add ebp, 1
jmp 0x643c55
lea edi, [ebp + 1]
cmp edi, dword [esp + 0x10]
jge 0x643c4c
lea ebx, [ebx]
mov eax, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x74]
call dword [eax + 0x14]
mov edx, dword [esp + 0x70]
push ebp
lea ecx, [esp + 0x74]
mov esi, eax
call dword [edx + 0x14]
mov cx, word [esi + 0xe]
cmp cx, word [eax + 0xe]
jne 0x643c41
mov edx, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x74]
call dword [edx + 0x14]
cmp dword [esp + 0x3c], ebx
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
jne 0x643baf
cmp eax, ebx
jne 0x643baf
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x643bb3
mov dword [esp + 0x28], ebx
lea esi, [ebp + 1]
cmp esi, edi
jge 0x643c32
fild dword [esp + 0x28]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
push esi
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
call fcn.005de540
fcom dword [0x780ed8]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x643bf0
fchs
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
je 0x643c2e
mov eax, dword [esp + 0x5c]
push esi
lea ecx, [esp + 0x60]
call dword [eax + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x3c]
jne 0x643c2e
mov edx, dword [esp + 0x5c]
push esi
lea ecx, [esp + 0x60]
call dword [edx + 0x14]
mov eax, dword [eax + 8]
cmp eax, dword [esp + 0x48]
jne 0x643c2e
add esi, 1
cmp esi, edi
jl 0x643bc2
jmp 0x643c32
cmp esi, edi
jl 0x643c45
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x643b50
jmp 0x643c48
mov ebp, edi
jmp 0x643c48
lea ebp, [edi - 1]
cmp edi, dword [esp + 0x10]
jne 0x643c51
lea ebp, [edi - 1]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, 0xffffffff
cmp ebp, eax
jl 0x643ac0
jmp 0x643c6a
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
push esi
lea ecx, [esp + 0x74]
call dword [edx + 0x14]
mov ecx, dword [eax]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x70]
push ecx
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], eax
call dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x78]
push esi
lea ecx, [esp + 0x7c]
call dword [eax + 0x14]
movzx ecx, word [eax + 0xe]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
mov ecx, ebp
call fcn.006411b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
cmp eax, 1
jne 0x643d04
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dx, word [eax + 0xc]
mov word [ecx + 0xc], dx
mov ax, word [eax + 0xe]
mov word [ecx + 0xe], ax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x40], esp
call dword [edx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x643d88
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov esi, eax
cmp dword [esi + 8], ebx
jne 0x643d2c
mov word [esi + 0xc], bx
jmp 0x643d82
mov cx, word [esi + 8]
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x24]
cdq
and edx, 7
add eax, edx
push ecx
mov ecx, eax
mov eax, dword [esi]
cdq
and edx, 7
add eax, edx
sub esp, 8
mov edx, esp
sar ecx, 3
sar eax, 3
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edx, dword [ebp]
mov ecx, dword [edx + 0xb0]
mov dword [esp + 0x3c], esp
call fcn.0063aad0
cmp ax, bx
je 0x643d7e
mov ecx, dword [ebp]
test byte [ecx + 0x18], 1
je 0x643d7e
add eax, eax
add eax, eax
add eax, eax
mov word [esi + 0xc], ax
cmp dword [esp + 0x14], ebx
jne 0x643d13
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov esi, vtable.CBArray_struct_TPathNode_.0
mov byte [esp + 0x8c], 1
mov dword [esp + 0x70], esi
je 0x643daa
push eax
call fcn.0040fa80
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, ebx
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x5c], esi
je 0x643dca
push eax
call fcn.0040fa80
add esp, 4
mov eax, edi
jmp 0x643dd0
xor eax, eax
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret 0x1c