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

Disassembly:
push 0xffffffffffffffff
push 0x5e247a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov esi, ecx
mov dword [esp + 0x40], esi
call fcn.004f92a0
mov ebx, dword [esp + 0x8c]
xor ebp, ebp
mov dword [esp + 0x80], ebp
mov dword [esi], vtable.ZpatPolyline.0
mov dword [esi + 4], ebx
cmp ebx, ebp
jne 0x52a068
xor eax, eax
mov word [esi + 8], ax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
jmp 0x52a310
lea ecx, [esp + 0x48]
call fcn.00516c60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call fcn.0045abd0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 2
call fcn.0045abd0
movsx eax, word [edi + 2]
mov byte [esp + 0x80], 3
test al, 2
je 0x52a0f7
lea ecx, [esp + 0x48]
push ecx
lea ecx, [edi - 0x10]
call fcn.0056ada0
dec dword [esi + 4]
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
mov ebp, 2
call fcn.0056aae0
test dword [esp + 0x1c], 0x80000
mov eax, dword [edi + 0x1c]
je 0x52a0e9
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 1
jmp 0x52a136
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 1
jmp 0x52a136
test al, 4
je 0x52a136
lea eax, [esp + 0x48]
push eax
lea ecx, [edi - 0x20]
call fcn.0056ada0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
mov ebp, 1
call fcn.0056aae0
test dword [esp + 0x1c], 0x80000
mov eax, dword [edi + 0xc]
je 0x52a12e
mov dword [esp + 0x20], eax
jmp 0x52a132
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebp
mov edx, ebx
shl edx, 4
movsx eax, word [edx + edi - 0xe]
lea ecx, [edx + edi - 0x10]
test al, 1
je 0x52a1d5
test al, 4
jne 0x52a1d5
test al, 2
je 0x52a199
lea ecx, [ebx - 2]
lea eax, [esp + 0x48]
shl ecx, 4
push eax
add ecx, edi
call fcn.0056ada0
dec dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x30]
call fcn.0056aae0
test dword [esp + 0x2c], 0x80000
je 0x52a18f
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
jmp 0x52a1cd
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
jmp 0x52a1cd
lea edx, [esp + 0x48]
push edx
call fcn.0056ada0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
call fcn.0056aae0
test dword [esp + 0x2c], 0x80000
je 0x52a1c5
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
jmp 0x52a1cd
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], 1
mov eax, dword [esi + 4]
test eax, eax
jle 0x52a1e9
shl eax, 4
push eax
mov ecx, esi
call fcn.004f9b30
jmp 0x52a1eb
xor eax, eax
xor ebx, ebx
cmp dword [esi + 4], ebx
mov dword [esi + 0xc], eax
mov dword [esp + 0x3c], ebx
jle 0x52a22d
lea esp, [esp]
mov ecx, ebx
shl ecx, 4
add ecx, dword [esi + 0xc]
mov dword [esp + 0x44], ecx
mov byte [esp + 0x80], 4
je 0x52a21b
call fcn.0045abd0
inc ebx
cmp ebx, dword [esi + 4]
mov byte [esp + 0x80], 3
mov dword [esp + 0x3c], ebx
jl 0x52a200
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x52a246
push 0x304
call fcn.004fd4d0
add esp, 4
jmp 0x52a2dd
cmp dword [esp + 0x18], 0
jne 0x52a273
cmp dword [esp + 0x14], 0
jne 0x52a267
mov eax, dword [esi + 4]
shl eax, 4
push eax
push edi
push ecx
call fcn.005bf848
add esp, 0xc
jmp 0x52a2ce
mov edx, dword [esi + 4]
dec edx
shl edx, 4
push edx
push edi
push ecx
jmp 0x52a2af
lea eax, [esp + 0x1c]
push eax
call fcn.0058cd30
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
shl ebp, 4
add ebp, edi
cmp dword [esp + 0x14], 0
jne 0x52a2a3
dec ecx
shl ecx, 4
push ecx
add edx, 0x10
push ebp
push edx
call fcn.005bf848
add esp, 0xc
jmp 0x52a2ce
sub ecx, 2
shl ecx, 4
push ecx
push ebp
add edx, 0x10
push edx
call fcn.005bf848
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
add esp, 0xc
lea eax, [esp + 0x2c]
shl ecx, 4
push eax
lea ecx, [ecx + edx - 0x10]
call fcn.0058cd30
xor eax, eax
mov word [esi + 8], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 2
call fcn.00481ef0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call fcn.00481ef0
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0
call fcn.00516cb0
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005bf276
add esp, 0x70
ret 8