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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0c
mov eax, dword [0x5c5bf0]
xor eax, esp
mov dword [esp + 0xe08], eax
push ebx
push esi
push edi
mov edi, ecx
push edi
lea eax, [esp + 0xd14]
push str._s_FencesMap.dat
push eax
mov dword [esp + 0x2c], edi
call fcn.00547a2a
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
push 0xfa0
lea edx, [esp + 0xd18]
push edx
mov ecx, 0x5c8360
call fcn.00450830
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x421315
push 0
push str.CreateRoadFences___error_
push 0x566180
call fcn.0043d970
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe08]
xor ecx, esp
call fcn.00547aa7
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x5c]
push eax
call fcn.0054791c
mov ecx, dword [esp + 0x60]
add esp, 4
push ebx
push ecx
mov esi, eax
push 1
push esi
mov ecx, 0x5c8360
mov dword [esp + 0x58], esi
call fcn.00450720
push ebx
mov ecx, 0x5c8360
call fcn.004504b0
mov ecx, dword [edi + 0x104]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc], ecx
test ecx, ecx
jle 0x421e52
movss xmm3, dword [0x565314]
movss xmm4, dword [0x565538]
jmp 0x421374
mov ecx, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x58], esi
test ecx, ecx
jle 0x421e37
jmp 0x421388
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov edx, ecx
imul edx, ebx
add edx, esi
movzx eax, byte [edx + eax]
mov dword [esp + 0x40], eax
test eax, eax
je 0x421e10
cmp eax, 6
ja 0x421e10
lea edx, [ebx - 1]
lea eax, [ebx + 1]
cmp edx, eax
mov dword [esp + 0x10], 0
jg 0x421417
lea edi, [esi + 1]
imul ecx, edx
lea eax, [edi - 2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, edi
jg 0x4213fc
cmp eax, esi
jne 0x4213db
cmp edx, ebx
je 0x4213f4
mov ebx, dword [esp + 0x48]
lea edi, [ecx + eax]
movzx edi, byte [edi + ebx]
mov ebx, dword [esp + 0x44]
cmp edi, dword [esp + 0x40]
jne 0x4213f4
inc dword [esp + 0x10]
inc eax
lea edi, [esi + 1]
cmp eax, edi
jle 0x4213d3
add ecx, dword [esp + 0xc]
inc edx
lea eax, [ebx + 1]
cmp edx, eax
jle 0x4213cb
cmp dword [esp + 0x10], 1
mov edi, dword [esp + 0x20]
ja 0x421e10
movss xmm2, dword [edi + 0x110]
movss xmm0, dword [edi + 0x100]
mulss xmm0, xmm3
movaps xmm1, xmm2
mulss xmm1, xmm3
cvtsi2ss xmm3, esi
mulss xmm3, xmm2
subss xmm3, xmm0
addss xmm3, xmm1
addss xmm3, xmm4
movss dword [esp + 0x110], xmm3
cvtsi2ss xmm3, ebx
mulss xmm3, xmm2
subss xmm0, xmm3
lea ecx, [esp + 0x110]
subss xmm0, xmm1
push ecx
addss xmm0, xmm4
mov ecx, edi
movss dword [esp + 0x11c], xmm0
call fcn.00420ba0
fstp dword [esp + 0x114]
mov eax, ebx
mov dword [esp + 0xc], 1
lea ebx, [esp + 0x11c]
jmp 0x4214a0
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x104]
mov edx, dword [esp + 0x48]
imul ecx, eax
lea edi, [eax - 1]
inc eax
add ecx, esi
cmp edi, eax
mov byte [ecx + edx], 0
mov dword [esp + 0x78], eax
jg 0x421510
lea ecx, [esi - 1]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x3c]
cmp esi, ecx
jg 0x42150b
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x104]
imul eax, edi
add eax, esi
add eax, dword [esp + 0x48]
lea esp, [esp]
movzx ecx, byte [eax]
cmp ecx, dword [esp + 0x40]
je 0x421808
mov ecx, dword [esp + 0x10]
inc esi
inc eax
cmp esi, ecx
jle 0x4214f0
mov eax, dword [esp + 0x78]
inc edi
cmp edi, eax
jle 0x4214d1
mov esi, dword [esp + 0xc]
movss xmm0, dword [0x565d20]
add esi, 0xfffffffd
mov edi, 2
xor edx, edx
cmp esi, 4
jl 0x4216f2
lea ecx, [esi - 4]
shr ecx, 2
inc ecx
lea eax, [esp + 0x120]
lea edx, [ecx*4]
jmp 0x421550
movss xmm3, dword [eax - 0x10]
addss xmm3, dword [eax - 4]
movss xmm1, dword [eax - 8]
addss xmm1, dword [eax + 4]
addss xmm1, dword [eax + 0x10]
movss xmm2, dword [eax + 8]
movss xmm4, dword [eax - 0xc]
addss xmm4, dword [eax]
addss xmm2, xmm3
movss xmm3, dword [eax + 0xc]
addss xmm3, xmm4
mulss xmm3, xmm0
movss dword [esp + 0x34], xmm3
mulss xmm1, xmm0
movss dword [esp + 0x38], xmm1
mov ebx, dword [esp + 0x38]
mulss xmm2, xmm0
movss dword [esp + 0x30], xmm2
movq xmm1, qword [esp + 0x30]
movq qword [eax - 4], xmm1
mov dword [eax + 4], ebx
movss xmm3, dword [eax + 8]
addss xmm3, dword [eax - 4]
movss xmm1, dword [eax + 0x10]
addss xmm1, dword [eax + 4]
addss xmm1, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
movss xmm4, dword [eax + 0xc]
addss xmm4, dword [eax]
addss xmm2, xmm3
movss xmm3, dword [eax + 0x18]
addss xmm3, xmm4
mulss xmm3, xmm0
movss dword [esp + 0x34], xmm3
mulss xmm1, xmm0
movss dword [esp + 0x38], xmm1
mov ebx, dword [esp + 0x38]
mulss xmm2, xmm0
movss dword [esp + 0x30], xmm2
movq xmm1, qword [esp + 0x30]
movq qword [eax + 8], xmm1
mov dword [eax + 0x10], ebx
movss xmm3, dword [eax + 8]
addss xmm3, dword [eax + 0x14]
movss xmm1, dword [eax + 0x1c]
addss xmm1, dword [eax + 0x10]
addss xmm1, dword [eax + 0x28]
movss xmm2, dword [eax + 0x20]
movss xmm4, dword [eax + 0x18]
addss xmm4, dword [eax + 0xc]
addss xmm2, xmm3
movss xmm3, dword [eax + 0x24]
addss xmm3, xmm4
mulss xmm2, xmm0
movss dword [esp + 0x30], xmm2
mulss xmm3, xmm0
movss dword [esp + 0x34], xmm3
mulss xmm1, xmm0
movss dword [esp + 0x38], xmm1
movq xmm1, qword [esp + 0x30]
mov ebx, dword [esp + 0x38]
movq qword [eax + 0x14], xmm1
mov dword [eax + 0x1c], ebx
movss xmm2, dword [eax + 0x20]
addss xmm2, dword [eax + 0x14]
movss xmm1, dword [eax + 0x2c]
movss xmm3, dword [eax + 0x24]
addss xmm3, dword [eax + 0x18]
movss xmm4, dword [eax + 0x28]
addss xmm4, dword [eax + 0x1c]
addss xmm1, xmm2
movss xmm2, dword [eax + 0x30]
addss xmm2, xmm3
movss xmm3, dword [eax + 0x34]
addss xmm3, xmm4
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
movq xmm1, qword [esp + 0x30]
mov ebx, dword [esp + 0x38]
movq qword [eax + 0x20], xmm1
mov dword [eax + 0x28], ebx
add eax, 0x30
sub ecx, 1
jne 0x421550
cmp edx, esi
jge 0x421780
lea eax, [edx + edx*2]
mov ecx, esi
lea eax, [esp + eax*4 + 0x114]
sub ecx, edx
jmp 0x421710
movss xmm2, dword [eax - 4]
addss xmm2, dword [eax + 8]
movss xmm1, dword [eax + 0x14]
movss xmm3, dword [eax]
addss xmm3, dword [eax + 0xc]
movss xmm4, dword [eax + 0x10]
addss xmm4, dword [eax + 4]
addss xmm1, xmm2
movss xmm2, dword [eax + 0x18]
addss xmm2, xmm3
movss xmm3, dword [eax + 0x1c]
addss xmm3, xmm4
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movq xmm1, qword [esp + 0x30]
movss dword [esp + 0x38], xmm3
mov edx, dword [esp + 0x38]
movq qword [eax + 8], xmm1
mov dword [eax + 0x10], edx
add eax, 0xc
sub ecx, 1
jne 0x421710
sub edi, 1
jne 0x421524
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x4217bb
lea esi, [esp + 0x114]
mov edi, ecx
lea ebx, [ebx]
mov ecx, dword [esp + 0x20]
lea eax, [esi - 4]
push eax
call fcn.00420ba0
fstp dword [esi]
add esi, 0xc
sub edi, 1
jne 0x4217a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
cmp eax, 5
jne 0x4217eb
call fcn.005485a8
and eax, 0x80000001
jns 0x4217dc
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x3c], edi
test ecx, ecx
jle 0x421e04
lea ebx, [esp + 0x110]
sub ebx, 4
jmp 0x421888
movss xmm3, dword [0x565314]
mov ecx, edx
movss xmm2, dword [ecx + 0x110]
movss xmm0, dword [ecx + 0x100]
mulss xmm0, xmm3
cvtsi2ss xmm4, esi
mulss xmm4, xmm2
subss xmm4, xmm0
movaps xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x565538]
addss xmm4, xmm1
addss xmm4, xmm3
movss dword [ebx], xmm4
cvtsi2ss xmm4, edi
mulss xmm4, xmm2
subss xmm0, xmm4
subss xmm0, xmm1
addss xmm0, xmm3
push ebx
movss dword [ebx + 8], xmm0
call fcn.00420ba0
fstp dword [ebx + 4]
inc dword [esp + 0xc]
add ebx, 0xc
mov eax, edi
jmp 0x4214a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
movq xmm0, qword [ebx + 4]
mov edx, dword [ebx + 0xc]
movss xmm1, dword [0x5652d0]
movq qword [esp + 0x14], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x1c], edx
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm0
cmp eax, 1
je 0x421b9a
cmp eax, 2
je 0x421b9a
mov esi, dword [esp + 0x20]
movss xmm0, dword [esi + 0x110]
mulss xmm0, dword [0x56552c]
movaps xmm1, xmm0
addss xmm1, dword [esp + 0x14]
addss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esp + 0x18]
push eax
mov ecx, 0x5c9660
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm0
call fcn.00420ba0
fstp dword [esp + 0x70]
movss xmm1, dword [esi + 0x110]
movaps xmm0, xmm1
mulss xmm0, dword [0x565314]
addss xmm0, dword [esp + 0x14]
mulss xmm1, dword [0x56552c]
addss xmm1, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x18]
push ecx
mov ecx, 0x5c9660
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
call fcn.00420ba0
fstp dword [esp + 0x64]
movss xmm1, dword [esp + 0x14]
movss xmm0, dword [esp + 0x6c]
movss xmm7, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x18]
movss xmm2, dword [esp + 0x70]
subss xmm0, xmm1
movaps xmm3, xmm0
movss xmm0, dword [esp + 0x74]
subss xmm0, xmm7
movaps xmm4, xmm0
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x68]
movaps xmm5, xmm0
movss xmm0, dword [esp + 0x64]
subss xmm2, xmm6
subss xmm1, xmm7
subss xmm0, xmm6
movaps xmm7, xmm1
movaps xmm6, xmm0
mulss xmm1, xmm3
mulss xmm6, xmm4
movss dword [esp + 0x84], xmm4
mulss xmm4, xmm5
subss xmm1, xmm4
movss dword [esp + 0x98], xmm1
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm5
subss xmm1, xmm0
movss dword [esp + 0x9c], xmm1
mov edx, dword [esp + 0x9c]
mulss xmm7, xmm2
subss xmm6, xmm7
movss dword [esp + 0x94], xmm6
movq xmm0, qword [esp + 0x94]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xb8]
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x80], xmm2
movq qword [esp + 0x4c], xmm0
call fcn.0043cf20
movq xmm0, qword [eax]
movss xmm2, dword [esp + 0x84]
movq qword [esp + 0x4c], xmm0
mov eax, dword [eax + 8]
movss xmm3, dword [esp + 0x50]
movaps xmm4, xmm2
mov dword [esp + 0x54], eax
mulss xmm4, xmm3
movss xmm0, dword [esp + 0x80]
movss xmm1, dword [esp + 0x54]
movaps xmm5, xmm0
mulss xmm5, xmm1
subss xmm4, xmm5
movss xmm5, dword [esp + 0x4c]
movss dword [esp + 0xa0], xmm4
movss xmm4, dword [esp + 0x7c]
mulss xmm0, xmm5
mulss xmm3, xmm4
subss xmm0, xmm3
movss dword [esp + 0xa8], xmm0
mov ecx, dword [esp + 0xa8]
mulss xmm1, xmm4
mulss xmm2, xmm5
subss xmm1, xmm2
movss dword [esp + 0xa4], xmm1
movq xmm0, qword [esp + 0xa0]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0xc4]
movq qword [esp + 0x24], xmm0
call fcn.0043cf20
movq xmm0, qword [eax]
movq qword [esp + 0x24], xmm0
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
call fcn.005485a8
cdq
mov ecx, 0x65
idiv ecx
push ecx
lea eax, [esp + 0xd4]
cvtsi2ss xmm0, edx
mulss xmm0, dword [0x56617c]
movss dword [esp], xmm0
lea edx, [esp + 0x50]
push edx
push eax
call fcn.0046488f
mov esi, eax
mov ecx, 0x10
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x28]
push edx
mov eax, edx
push eax
call fcn.0046355a
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x2c], xmm0
jmp 0x421c84
test edi, edi
jle 0x421c0d
lea edx, [ecx - 1]
cmp edi, edx
jge 0x421c0d
movss xmm0, dword [ebx + 0x14]
subss xmm0, dword [ebx - 4]
addss xmm0, dword [esp + 0x18]
movss xmm2, dword [ebx + 0x18]
subss xmm2, dword [ebx]
movss xmm1, dword [ebx + 0x10]
subss xmm1, dword [ebx - 8]
movss xmm3, dword [esp + 0x14]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm2
movss dword [esp + 0x90], xmm0
mov eax, dword [esp + 0x90]
addss xmm3, xmm1
movss dword [esp + 0x88], xmm3
movq xmm0, qword [esp + 0x88]
mov dword [esp + 0x2c], eax
jmp 0x421c7e
dec ecx
cmp edi, ecx
jne 0x421c72
movss xmm2, dword [ebx + 0xc]
movss xmm0, dword [ebx + 4]
subss xmm2, dword [ebx]
subss xmm0, dword [ebx - 8]
movss xmm1, dword [ebx + 8]
addss xmm2, dword [esp + 0x1c]
subss xmm1, dword [ebx - 4]
addss xmm0, dword [esp + 0x14]
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0xb4], xmm2
mov ecx, dword [esp + 0xb4]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0xb0], xmm1
movq xmm0, qword [esp + 0xac]
mov dword [esp + 0x2c], ecx
jmp 0x421c7e
mov edx, dword [ebx + 0x18]
movq xmm0, qword [ebx + 0x10]
mov dword [esp + 0x2c], edx
movq qword [esp + 0x24], xmm0
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax*4 + 0x5ab2fc]
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, 0x6c9fa0
call fcn.0043be70
mov esi, eax
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x421d13
mov edx, dword [esi + 0x8a4]
movss xmm1, dword [edx + 0x374]
movss xmm0, dword [0x566178]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0x18], xmm1
mov eax, dword [esi + 0x8a4]
movss xmm1, dword [eax + 0x374]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x30]
push eax
mov ecx, esi
movss dword [esp + 0x34], xmm1
call fcn.0043b8e0
jmp 0x421df2
cmp eax, 3
jne 0x421df2
mov ecx, dword [esi + 0x8a4]
movss xmm1, dword [ecx + 0x374]
movss xmm0, dword [0x565314]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0x18], xmm1
mov edx, dword [esi + 0x8a4]
movss xmm1, dword [edx + 0x374]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x30]
push edx
mov ecx, esi
movss dword [esp + 0x34], xmm1
call fcn.0043b8e0
call fcn.005485a8
cdq
mov ecx, 3
idiv ecx
add edx, 1
je 0x421df2
mov edi, edx
lea ebx, [ebx]
mov edx, dword [esi + 0x8a4]
movss xmm0, dword [edx + 0x374]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x18], xmm0
mov eax, dword [esi + 0x8a4]
movss xmm0, dword [eax + 0x374]
addss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
mov edx, dword [ecx*4 + 0x5ab2fc]
lea eax, [esp + 0x1c]
push eax
push edx
mov ecx, 0x6c9fa0
movss dword [esp + 0x38], xmm0
call fcn.0043be70
sub edi, 1
jne 0x421d90
mov edi, dword [esp + 0x3c]
inc edi
add ebx, 0xc
cmp edi, dword [esp + 0xc]
mov dword [esp + 0x3c], edi
jl 0x421880
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x44]
mov eax, dword [edi + 0x104]
movss xmm3, dword [0x565314]
movss xmm4, dword [0x565538]
inc esi
cmp esi, eax
mov dword [esp + 0x58], esi
mov dword [esp + 0xc], eax
jl 0x421384
mov eax, dword [edi + 0x104]
inc ebx
cmp ebx, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc], eax
jl 0x421370
mov esi, dword [esp + 0x48]
push esi
call fcn.00547cdc
mov ecx, dword [esp + 0xe18]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00547aa7
mov esp, ebp
pop ebp
ret