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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ecx + 0x48], eax
push edi
lea ecx, [esp + 0x3c]
call fcn.00401d60
lea esi, [edi + 0x10]
lea ecx, [esp + 0x38]
push esi
call fcn.00401e20
mov al, byte [0x5ca2d9]
test al, al
je 0x41d347
fld dword [esp + 0x50]
sub esp, 0x30
fstp qword [esp + 0x28]
fld dword [esp + 0x7c]
fstp qword [esp + 0x20]
fld dword [esp + 0x78]
fstp qword [esp + 0x18]
fld dword [esp + 0x70]
fstp qword [esp + 0x10]
fld dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x68]
fstp qword [esp]
push str.Inited_line_BBox___f___f___f_____f___f___f_
call fcn.00405b60
add esp, 0x34
mov ecx, dword [ebp + 0x14]
test ecx, ecx
setne bl
test bl, bl
je 0x41d35f
lea edx, [esp + 0x38]
push edx
call fcn.0041fe80
mov bl, al
test bl, bl
mov dword [esp + 0x14], 0
jne 0x41d38d
push edi
call fcn.00462140
add esp, 4
test eax, eax
jne 0x41d381
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ecx, eax
call fcn.00507070
mov dword [esp + 0x14], eax
mov al, byte [0x5ca2d8]
test al, al
je 0x41d3a2
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x28], 0xbc23d70a
jmp 0x41d3ac
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x28], 0x3f8147ae
fld dword [esp + 0x48]
fadd dword [0x589420]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edx
fstp dword [esp + 0x1c]
fld dword [esp + 0x50]
fadd dword [0x589420]
fstp dword [esp + 0x20]
fld dword [esp + 0x54]
fadd dword [0x589420]
fstp dword [esp + 0x24]
call fcn.00401e20
fld dword [esp + 0x38]
fsub dword [0x589420]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x18]
mov dword [esp + 0x24], ecx
push edx
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x40]
fsub dword [0x589420]
fstp dword [esp + 0x20]
fld dword [esp + 0x44]
fsub dword [0x589420]
fstp dword [esp + 0x24]
call fcn.00401e20
fld dword [esi]
fsub dword [edi]
mov eax, dword [0x59a28c]
fstp dword [esp + 0x28]
fld dword [esi + 4]
fsub dword [edi + 4]
fstp dword [esp + 0x2c]
fld dword [esi + 8]
fsub dword [edi + 8]
fstp dword [esp + 0x30]
fld dword [esi + 0xc]
fsub dword [edi + 0xc]
fstp dword [esp + 0x34]
cmp byte [eax], 0
jne 0x41d463
mov byte [0xaab48c], 1
mov al, byte [0x5ca2d9]
test al, al
je 0x41d4eb
fld dword [esp + 0x50]
sub esp, 0x30
fstp qword [esp + 0x28]
fld dword [esp + 0x7c]
fstp qword [esp + 0x20]
fld dword [esp + 0x78]
fstp qword [esp + 0x18]
fld dword [esp + 0x70]
fstp qword [esp + 0x10]
fld dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x68]
fstp qword [esp]
push str.Starting_collision_check_with_line_BBox___f___f___f_____f___f___f_
call fcn.00405b60
fld dword [edi + 8]
add esp, 0x1c
fstp qword [esp + 0x10]
fld dword [edi + 4]
fstp qword [esp + 8]
fld dword [edi]
fstp qword [esp]
push str.Line_start___f___f___f_
call fcn.00405b60
fld dword [edi + 0x18]
add esp, 4
fstp qword [esp + 0x10]
fld dword [edi + 0x14]
fstp qword [esp + 8]
fld dword [esi]
fstp qword [esp]
push str.Line_end___f___f___f_
call fcn.00405b60
add esp, 0x1c
test bl, bl
mov byte [esp + 0x13], 0
je 0x41d5a0
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 0xfc4]
add esi, 0x20
test eax, eax
jle 0x41d5e5
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 4]
fld dword [esp + 0x38]
fcomp dword [ecx + 0x10]
fnstsw ax
and eax, 0x4100
je 0x41d58c
fld dword [ecx]
fcomp dword [esp + 0x48]
fnstsw ax
and eax, 0x4100
je 0x41d58c
fld dword [esp + 0x40]
fcomp dword [ecx + 0x18]
fnstsw ax
and eax, 0x4100
je 0x41d58c
fld dword [ecx + 8]
fcomp dword [esp + 0x50]
fnstsw ax
and eax, 0x4100
je 0x41d58c
fld dword [esp + 0x3c]
fcomp dword [ecx + 0x14]
fnstsw ax
and eax, 0x4100
je 0x41d58c
fld dword [ecx + 4]
fcomp dword [esp + 0x4c]
fnstsw ax
and eax, 0x4100
je 0x41d58c
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x38]
test al, al
je 0x41d58c
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
add esi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x41d510
jmp 0x41d5e5
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
test esi, esi
je 0x41d5e5
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call dword [edx + 0x34]
test al, al
je 0x41d5d4
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push eax
push ecx
push edi
mov ecx, esi
call dword [edx + 0x38]
test al, al
je 0x41d5d4
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
mov esi, dword [eax]
test esi, esi
jne 0x41d5aa
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx + 0x24]
test al, al
je 0x41d627
fld dword [ecx + 0x28]
fcomp dword [0x589288]
fnstsw ax
and eax, 0x4100
je 0x41d611
fld dword [ecx + 0x28]
fcomp dword [0x589284]
fnstsw ax
test ah, 5
jp 0x41d627
fld dword [ecx + 0x28]
sub esp, 8
fstp qword [esp]
push str.Static_Collision_distance_too_big:__f
call fcn.00405b60
add esp, 0xc
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret