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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + 0x274]
mov eax, dword [esp + 0x8c]
fld dword [eax]
mov ebx, dword [ecx + 0xc0]
push esi
mov esi, dword [esp + 0x8c]
fsub dword [esi]
push edi
lea edx, [esp + 0x2c]
push edx
fstp dword [esp + 0x30]
mov dword [esp + 0x14], ebp
fld dword [eax + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x34]
fld dword [eax + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x38]
call sym.rt3d.dll_public:_void___stdcall_POINT3D::Normalize_void_
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 0x274]
xor ecx, ecx
cmp dword [eax + 0xb4], ecx
mov dword [esp + 0x14], ecx
jbe 0x1004238e
jmp 0x100420a0
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x100420b0
movzx eax, word [edx + ecx*2]
jmp 0x100420b7
movzx eax, word [eax + 0xac]
movzx eax, ax
sub eax, 1
xor edi, edi
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x10042372
jmp 0x100420d0
mov edx, dword [ebp + 0x38]
fld dword [esi]
mov eax, dword [edx + 0x274]
mov edx, dword [eax + 0x58]
mov ecx, dword [ebx]
mov eax, dword [ecx + edi*4]
lea ecx, [ecx + edi*4]
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov ebp, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x20], ebp
fsub dword [esp + 0x20]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
fstp dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
fld dword [esi + 4]
mov dword [esp + 0x28], eax
fsub dword [esp + 0x24]
lea ecx, [ecx + ecx*2]
mov ebp, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
mov edx, dword [eax + 4]
fstp dword [esp + 0x60]
fld dword [esi + 8]
mov eax, dword [eax + 8]
fsub dword [esp + 0x28]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x3c], ebp
fstp dword [esp + 0x68]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call sym.rt3d.dll_public:_float___stdcall_POINT3D::Length_void_const
fcomp qword [0x1014fac8]
fnstsw ax
test ah, 5
jp 0x10042232
fld dword [esp + 0x38]
lea edx, [esp + 0x44]
fsub dword [esp + 0x20]
push edx
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
fsub dword [esp + 0x28]
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x50]
call sym.rt3d.dll_public:_void___stdcall_POINT3D::Normalize_void_
fld dword [esp + 0x48]
fld st(0)
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fld dword [esp + 0x44]
fld st(0)
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fld dword [esp + 0x4c]
fld st(0)
fmul dword [esp + 0x34]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x1014fa7c]
fnstsw ax
test ah, 5
jp 0x10042228
fld st(0)
lea eax, [esp + 0x68]
fmul st(3)
push eax
fld st(5)
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0x6c]
fld st(1)
fmul dword [esp + 0x38]
fld st(4)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x70]
fxch st(3)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x74]
call sym.rt3d.dll_public:_float___stdcall_POINT3D::Length_void_const
fcomp qword [0x1014e770]
fnstsw ax
test ah, 5
jp 0x10042232
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi], ebp
mov dword [esi + 4], eax
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x7c
ret 8
fstp st(4)
fstp st(1)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esi]
lea ecx, [esp + 0x74]
fsub dword [esp + 0x38]
push ecx
fstp dword [esp + 0x78]
fld dword [esi + 4]
fsub dword [esp + 0x40]
fstp dword [esp + 0x7c]
fld dword [esi + 8]
fsub dword [esp + 0x44]
fstp dword [esp + 0x80]
call sym.rt3d.dll_public:_float___stdcall_POINT3D::Length_void_const
fcomp qword [0x1014fac8]
fnstsw ax
test ah, 5
jp 0x1004235a
fld dword [esp + 0x20]
lea edx, [esp + 0x50]
fsub dword [esp + 0x38]
push edx
fstp dword [esp + 0x54]
fld dword [esp + 0x28]
fsub dword [esp + 0x40]
fstp dword [esp + 0x58]
fld dword [esp + 0x2c]
fsub dword [esp + 0x44]
fstp dword [esp + 0x5c]
call sym.rt3d.dll_public:_void___stdcall_POINT3D::Normalize_void_
fld dword [esp + 0x54]
fld st(0)
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fld dword [esp + 0x58]
fld st(0)
fmul dword [esp + 0x34]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x1014fa7c]
fnstsw ax
test ah, 5
jp 0x10042350
fld st(0)
lea eax, [esp + 0x80]
fmul st(3)
push eax
fld st(5)
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0x84]
fld st(1)
fmul dword [esp + 0x38]
fld st(4)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x88]
fxch st(3)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x8c]
call sym.rt3d.dll_public:_float___stdcall_POINT3D::Length_void_const
fcomp qword [0x1014e770]
fnstsw ax
test ah, 5
jp 0x1004235a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 4], eax
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x7c
ret 8
fstp st(4)
fstp st(1)
fstp st(0)
fstp st(0)
fstp st(0)
mov ebp, dword [esp + 0x10]
add edi, 1
add ebx, 4
cmp edi, dword [esp + 0x1c]
jl 0x100420d0
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x38]
mov eax, dword [edx + 0x274]
add ecx, 1
cmp ecx, dword [eax + 0xb4]
mov dword [esp + 0x14], ecx
jb 0x100420a0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x7c
ret 8