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

Disassembly:
sub esp, 0x70
mov eax, dword [ecx + 0x50]
push ebx
mov ebx, dword [eax]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [ebx + 0x1c]
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x88]
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
call fcn.0040b0c0
fld dword [esp + 0x48]
fld dword [esp + 0x44]
add esp, 0xc
fld dword [esp + 0x40]
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)
call sub.MSVCR100.dll__CIsqrt
fst qword [esp + 0x2c]
fld qword [0x4b18d8]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x483cff
fld st(0)
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x483aa7
push 0x2cc
fstp st(0)
push str.d:Tempwnccamwncdevwncobj_trunkms10_i12internalincwctl_sh3_point.h
push str.d___0.
call dword [sym.imp.MSVCR100.dll__wassert]
fld qword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x10], 0
fld dword [esp + 0x38]
fdiv st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fdiv st(1)
fstp dword [esp + 0x3c]
fdivr dword [esp + 0x40]
fstp dword [esp + 0x40]
jle 0x483b91
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
add esi, 0xc
mov dword [esp + 0x10], edx
fld dword [ecx + 4]
fmul dword [esp + 0x3c]
fld dword [ecx]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [ecx + 8]
fmul dword [esp + 0x40]
faddp st(1)
fcomp qword [0x4b04b0]
fnstsw ax
test ah, 5
jp 0x483b12
mov dword [esi], 1
jmp 0x483b79
cmp dword [esi], 0
je 0x483b79
mov dword [esi], 0
mov eax, dword [esi - 4]
push ecx
lea eax, [eax + eax*2]
push ebp
lea ecx, [edi + eax*4]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.0040b090
add esp, 0xc
push eax
mov eax, dword [esi - 8]
lea eax, [eax + eax*2]
push ebp
lea ecx, [edi + eax*4]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0040b090
add esp, 0xc
push eax
mov eax, dword [esi - 0xc]
lea eax, [eax + eax*2]
push ebp
lea ecx, [edi + eax*4]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.0040b090
mov ecx, dword [esp + 0x34]
add esp, 0xc
push eax
call fcn.00482630
mov ecx, dword [esp + 0x14]
add ecx, 0xc
add esi, 0x10
dec dword [esp + 0x10]
mov dword [esp + 0x14], ecx
jne 0x483ae5
mov esi, dword [esp + 0x24]
fld qword [0x4b5770]
add ebx, 0x28
push ebx
sub esp, 8
lea eax, [esp + 0x80]
fstp qword [esp]
push eax
call fcn.0040b0f0
push eax
lea ecx, [esp + 0x70]
push ebp
push ecx
call fcn.0040b090
add esp, 0x1c
test esi, esi
jle 0x483d01
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov esi, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 4]
add esi, esi
mov esi, dword [ecx + esi*8 + 0xc]
add edx, edx
cmp esi, dword [ecx + edx*8 + 0xc]
je 0x483ce4
mov ecx, dword [eax - 8]
mov esi, dword [eax - 4]
lea eax, [ecx + ecx*2]
lea ebx, [edi + eax*4]
push ebp
lea ecx, [esp + 0x54]
push ebx
push ecx
call fcn.0040b090
mov edx, dword [esp + 0x94]
push edx
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.0040b090
lea ecx, [esi + esi*2]
lea edi, [edi + ecx*4]
push ebp
lea edx, [esp + 0x84]
push edi
push edx
call fcn.0040b090
mov eax, dword [esp + 0xac]
push eax
lea ecx, [esp + 0x6c]
push edi
push ecx
call fcn.0040b090
fldz
lea edx, [esp + 0x8c]
fst dword [esp + 0x68]
push edx
fst dword [esp + 0x70]
lea eax, [esp + 0x9c]
fstp dword [esp + 0x74]
push eax
lea esi, [esp + 0x70]
lea ebx, [esp + 0x7c]
lea edi, [esp + 0x88]
call fcn.00480580
add esp, 0x38
test eax, eax
je 0x483cdc
fldz
lea ecx, [esp + 0x5c]
mov edx, ebx
fst dword [esp + 0x2c]
push ecx
fst dword [esp + 0x34]
push edx
fstp dword [esp + 0x3c]
lea esi, [esp + 0x34]
lea ebx, [esp + 0x7c]
call fcn.00480580
add esp, 8
test eax, eax
je 0x483cdc
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x70]
push edx
mov eax, edi
push eax
mov ecx, esi
call fcn.00482630
lea ecx, [esp + 0x2c]
push ecx
mov edx, ebx
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
push ecx
mov ecx, esi
call fcn.00482630
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add eax, 0x10
dec dword [esp + 0x14]
mov dword [esp + 0x10], eax
jne 0x483bd4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8