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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x54]
lea edi, [esi + 0x38]
push eax
mov ecx, edi
mov dword [esp + 0x54], esi
call fcn.0041a700
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov ebx, eax
call fcn.0041a340
mov edx, dword [ebx]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00417700
mov eax, dword [esi + 0x5c]
mov esi, dword [esi + 0x60]
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], esi
je 0x4b44d7
fldz
lea ebx, [eax + 0x70]
mov esi, dword [ebx - 0x6c]
cmp dword [esi + 0xa0], 0
jne 0x4b3c48
fld dword [0x4d0bc0]
fstp dword [eax]
jmp 0x4b44b8
mov edx, dword [eax]
shr edx, 0x1f
not edx
test dl, 1
je 0x4b3d65
fstp st(0)
push ecx
fld dword [esi + 0x80]
fsub dword [ebx - 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00401120
fcomp qword [0x4d0a20]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b3d5e
fld dword [esi + 0x84]
push ecx
fsub dword [ebx - 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00401120
fcomp qword [0x4d0a20]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b3d5e
fld dword [esi + 0x88]
push ecx
fsub dword [ebx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00401120
fcomp qword [0x4d0a20]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b3d5e
mov edi, dword [ebp + 8]
fld dword [edi]
push ecx
fsub dword [ebx - 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00401120
fcomp qword [0x4d0a20]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b3d61
fld dword [edi + 4]
push ecx
fsub dword [ebx - 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00401120
fcomp qword [0x4d0a20]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b3d61
fld dword [edi + 8]
push ecx
fsub dword [ebx - 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00401120
fcomp qword [0x4d0a20]
add esp, 4
fnstsw ax
test ah, 5
jnp 0x4b44b6
fldz
jmp 0x4b3d68
mov edi, dword [ebp + 8]
fldz
jmp 0x4b3d68
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x80]
mov dword [ebx - 8], eax
mov ecx, dword [esi + 0x84]
mov dword [ebx - 4], ecx
mov edx, dword [esi + 0x88]
mov dword [ebx], edx
mov eax, dword [edi]
mov dword [ebx - 0x14], eax
mov ecx, dword [edi + 4]
mov dword [ebx - 0x10], ecx
mov edx, dword [edi + 8]
mov dword [ebx - 0xc], edx
mov eax, dword [esi + 0xa0]
fld dword [eax + 0x18]
add eax, 0xc
fadd dword [eax]
fld qword [0x4d0a60]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0xb4]
fld dword [eax + 0x10]
fadd dword [eax + 4]
fmul st(1)
fstp dword [esp + 0xb8]
fld dword [eax + 0x14]
fadd dword [eax + 8]
fmul st(1)
fstp dword [esp + 0xbc]
fld dword [eax + 0xc]
fsub dword [eax]
fstp dword [esp + 0x34]
fld dword [eax + 0x10]
fsub dword [eax + 4]
fstp dword [esp + 0x38]
fld dword [eax + 0x14]
fsub dword [eax + 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esi + 0x60]
fmul st(1)
fld dword [esi + 0x70]
fmul st(2)
fld dword [esi + 0x50]
fadd st(2)
fadd st(1)
fstp dword [esp + 0x70]
fld dword [esi + 0x64]
fmul st(3)
fld dword [esi + 0x74]
fmul st(4)
fld dword [esi + 0x54]
fadd st(2)
fadd st(1)
fstp dword [esp + 0x74]
fld dword [esi + 0x68]
fmul st(5)
fld dword [esi + 0x78]
fmul st(6)
fst qword [esp + 0x58]
fld dword [esi + 0x58]
fadd st(2)
faddp st(1)
fstp dword [esp + 0x78]
fld dword [esi + 0x50]
fmul st(6)
fld dword [esi + 0x60]
fadd st(1)
faddp st(5)
fxch st(4)
fstp dword [esp + 0x80]
fld dword [esi + 0x54]
fmul st(6)
fld dword [esi + 0x64]
fadd st(1)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x84]
fld dword [esi + 0x58]
fmul st(6)
fld dword [esi + 0x68]
fadd st(1)
fadd qword [esp + 0x58]
fstp dword [esp + 0x88]
fxch st(4)
faddp st(5)
fld dword [esi + 0x70]
faddp st(5)
fxch st(4)
fstp dword [esp + 0x90]
faddp st(1)
fadd dword [esi + 0x74]
fstp dword [esp + 0x94]
faddp st(1)
fadd dword [esi + 0x78]
fstp dword [esp + 0x98]
fld dword [esp + 0xb8]
fld st(0)
fmul dword [esi + 0x60]
fld dword [esp + 0xb4]
fld st(0)
fmul dword [esi + 0x50]
faddp st(2)
fld dword [esp + 0xbc]
fld st(0)
fmul dword [esi + 0x70]
faddp st(3)
fld dword [esi + 0x80]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xa0]
fld st(2)
fmul dword [esi + 0x64]
fld dword [esi + 0x54]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esi + 0x74]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0xa4]
fld dword [esi + 0x68]
fmulp st(3)
fmul dword [esi + 0x58]
faddp st(2)
fmul dword [esi + 0x78]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0xa8]
fld dword [esp + 0x80]
fmul st(1)
fld dword [esp + 0x90]
fmul st(2)
fld dword [esp + 0x70]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fadd st(3)
fadd st(2)
fstp dword [esp + 0xc0]
fld dword [esp + 0x84]
fmul st(4)
fld dword [esp + 0x94]
fmul st(5)
fld dword [esp + 0x74]
fmul st(3)
fadd st(2)
fadd st(1)
fstp dword [esp + 0xc4]
fld dword [esp + 0x88]
fmul st(6)
fstp qword [esp + 0x58]
fld dword [esp + 0x98]
fmul st(6)
fld dword [esp + 0x78]
fmulp st(4)
fxch st(3)
fadd qword [esp + 0x58]
fadd st(3)
fstp dword [esp + 0xc8]
fld dword [esp + 0x70]
fmul st(6)
fstp qword [esp + 0x28]
fld dword [esp + 0x80]
fmul dword [esp + 0x38]
fadd qword [esp + 0x28]
fadd st(4)
fstp dword [esp + 0xd0]
fld dword [esp + 0x74]
fmul st(6)
fstp qword [esp + 0x10]
fld dword [esp + 0x84]
fmul dword [esp + 0x38]
fadd qword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0xd4]
fld dword [esp + 0x78]
fmulp st(6)
fld dword [esp + 0x88]
fmul dword [esp + 0x38]
fadd st(6)
fadd st(3)
fstp dword [esp + 0xd8]
fld qword [esp + 0x28]
faddp st(5)
fld dword [esp + 0x90]
fmul dword [esp + 0x3c]
fadd st(5)
fstp dword [esp + 0xe0]
fld qword [esp + 0x10]
faddp st(2)
fld dword [esp + 0x94]
fmul dword [esp + 0x3c]
fadd st(2)
fstp dword [esp + 0xe4]
fxch st(5)
fadd qword [esp + 0x58]
fld dword [esp + 0x98]
fmul dword [esp + 0x3c]
fadd st(1)
fstp dword [esp + 0xe8]
fxch st(4)
faddp st(3)
fld dword [esp + 0xa0]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xf0]
fxch st(1)
faddp st(3)
fld dword [esp + 0xa4]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xf4]
faddp st(1)
fadd dword [esp + 0xa8]
fstp dword [esp + 0xf8]
fld dword [esp + 0xc0]
fmul dword [ebx - 0x20]
fld dword [ebx - 0x1c]
fmul dword [esp + 0xd0]
faddp st(1)
fld dword [ebx - 0x18]
fmul dword [esp + 0xe0]
faddp st(1)
fadd dword [esp + 0xf0]
fstp dword [esp + 0x44]
fld dword [esp + 0xc4]
fmul dword [ebx - 0x20]
fld dword [ebx - 0x1c]
fmul dword [esp + 0xd4]
faddp st(1)
fld dword [ebx - 0x18]
fmul dword [esp + 0xe4]
faddp st(1)
fadd dword [esp + 0xf4]
fstp dword [esp + 0x48]
fld dword [esp + 0xc8]
mov eax, dword [esp + 0x44]
fmul dword [ebx - 0x20]
mov ecx, dword [esp + 0x48]
fld dword [ebx - 0x1c]
push ecx
fmul dword [esp + 0xdc]
faddp st(1)
fld dword [ebx - 0x18]
mov dword [ebx + 4], eax
fmul dword [esp + 0xec]
mov dword [ebx + 8], ecx
faddp st(1)
fadd dword [esp + 0xfc]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fld dword [esp + 0x48]
mov dword [ebx + 0xc], edx
fsub dword [edi]
fstp dword [esp + 0x20]
fld dword [esp + 0x4c]
fsub dword [edi + 4]
fstp dword [esp + 0x24]
fld dword [esp + 0x50]
fsub dword [edi + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fld dword [esp + 0x28]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.004223d0
fstp dword [esp + 0x14]
add esp, 4
fld dword [0x4c875c]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4b446d
cmp dword [ebx - 0x4c], 0
fld dword [esp + 0x1c]
fdiv st(1)
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x120], 1
mov dword [esp + 0x124], 0xa
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fdiv st(1)
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fdiv st(1)
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x118], edx
fstp dword [esp + 0x11c]
fld1
fstp dword [esp + 0x68]
fld dword [ebp + 0x10]
fstp dword [esp + 0x6c]
je 0x4b42cd
fld dword [edi]
lea esi, [ebx - 0x68]
fsub dword [esi]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.00401120
fcomp dword [0x4c875c]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b42cd
fld dword [edi + 4]
push ecx
fsub dword [ebx - 0x64]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.00401120
fcomp dword [0x4c875c]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b42cd
fld dword [edi + 8]
push ecx
fsub dword [ebx - 0x60]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.00401120
fcomp dword [0x4c875c]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4b42cd
fld dword [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
fstp dword [esp]
call fcn.00433630
test eax, eax
je 0x4b42cd
fld dword [ebx - 0x24]
fstp dword [esp + 0x68]
jmp 0x4b43a9
mov esi, dword [ebp + 8]
push 0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x130]
push eax
lea ecx, [ebx - 0x48]
lea edi, [esp + 0x138]
lea edx, [esp + 0x28]
call fcn.00433730
add esp, 0xc
test al, al
je 0x4b4322
fldz
fld dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4b431e
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4b4320
fstp dword [esp + 0x68]
jmp 0x4b43a9
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x50]
push 0
push 0
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [sym.XR_3DA.exe_class_IGame_Level__g_pGameLevel]
push 0x43af50
lea edx, [esp + 0x114]
push edx
add eax, 0x38
push eax
add ecx, 0xcc
call sym.XR_3DA.exe_public:_int___thiscall_CObjectSpace::RayQuery_class_collide::rq_results___struct_collide::ray_defs_const___int____cdecl___struct_collide::rq_result___void____void___int____cdecl___struct_collide::ray_defs_const___class_CObject___void____class_CObject__
test eax, eax
mov eax, esi
je 0x4b4375
fld dword [esp + 0x68]
fstp dword [ebx - 0x24]
mov ecx, dword [eax]
mov dword [ebx - 0x68], ecx
mov edx, dword [eax + 4]
mov dword [ebx - 0x64], edx
mov eax, dword [eax + 8]
mov dword [ebx - 0x4c], 1
jmp 0x4b438a
mov ecx, dword [eax]
mov dword [ebx - 0x68], ecx
mov edx, dword [eax + 4]
mov dword [ebx - 0x64], edx
mov eax, dword [eax + 8]
mov dword [ebx - 0x4c], 0
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [ebx - 0x5c], ecx
mov dword [ebx - 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [ebx - 0x58], edx
fstp dword [ebx - 0x50]
mov dword [ebx - 0x54], eax
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x6c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4b4430
fld dword [ecx]
fld dword [ebp + 0xc]
fmul qword [0x4d0a30]
fsubp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [ecx]
fld dword [0x4d0ae4]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4b43ea
fstp st(1)
fstp dword [ecx]
jmp 0x4b43ff
fstp st(0)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4b43fd
fstp dword [ecx]
jmp 0x4b43ff
fstp st(0)
mov edi, dword [0x4c45ac]
lea esi, [ebx - 0x20]
call fcn.00427510
fld dword [ebx - 0x20]
fld qword [0x4d0d80]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebx - 0x20]
fld dword [ebx - 0x1c]
fmul st(1)
fstp dword [ebx - 0x1c]
fmul dword [ebx - 0x18]
fstp dword [ebx - 0x18]
jmp 0x4b44b6
fld dword [ebp + 0xc]
fmul qword [0x4d0a30]
fadd dword [ecx]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [ecx]
fld dword [0x4d0ae4]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4b445a
fstp st(1)
fstp dword [ecx]
jmp 0x4b44b6
fstp st(0)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4b44b4
fstp dword [ecx]
jmp 0x4b44b6
mov ecx, dword [esp + 0x18]
fstp st(0)
fld dword [ebp + 0xc]
fmul qword [0x4d0a30]
fadd dword [ecx]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [ecx]
fld dword [0x4d0ae4]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4b449d
fstp st(1)
fstp dword [ecx]
jmp 0x4b44b6
fstp st(0)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4b44b4
mov ecx, dword [esp + 0x18]
fstp dword [ecx]
jmp 0x4b44b6
fstp st(0)
fldz
mov eax, dword [esp + 0x18]
add eax, 0x80
add ebx, 0x80
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
jne 0x4b3c2f
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc