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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb8
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
jne 0x42473d
push 0x3d0
push 0x487890
push 0x4878c0
call dword [sym.imp.MSVCR90.dll__wassert]
add esp, 0xc
cmp byte [ebp + 0x38], 0
je 0x42475a
cmp dword [ebp + 0x14], 0
jl 0x42475a
mov eax, dword [ebp + 0x18]
cmp eax, 0xfffffffe
je 0x42475a
cmp dword [ebx + 0x14], eax
jg 0x42484d
fld qword [0x48f198]
mov eax, dword [ebx + 0x1c]
fstp qword [esp + 0x78]
mov byte [esp + 0x38], 0
fld qword [0x48f1a0]
fstp qword [esp + 0x80]
cmp eax, 2
jne 0x424794
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x40], 1
call fcn.0044e4d0
add esp, 8
cmp dword [ebp + 0xc], 0
jge 0x4247a0
mov edx, dword [ebx + 0x2c]
mov dword [ebp + 0xc], edx
fldz
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
fst qword [esp + 0x48]
fst qword [esp + 0x50]
fst qword [esp + 0x58]
fst qword [esp + 0x60]
fst qword [esp + 0x68]
fstp qword [esp + 0x70]
cmp dword [esi], eax
je 0x42484d
fld qword [ebp + 0x1c]
mov edx, dword [edi]
lea ecx, [esp + 0x48]
push ecx
sub esp, 8
fstp qword [esp]
push edx
call fcn.00453550
fld qword [ebp + 0x24]
add esp, 0x10
test al, al
jne 0x424855
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x40]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x2c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 0x1c]
fstp qword [esp]
push edx
push eax
push edi
push esi
push 0
push ebx
call fcn.00423f80
add esp, 0x3c
test eax, eax
jne 0x42484f
mov ecx, dword [esi]
mov edx, dword [edi]
push ecx
push edx
call fcn.0044f550
push eax
mov dword [esi], eax
mov eax, dword [edi]
push eax
call fcn.0044f830
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov dword [edi], eax
cmp dword [esi], ecx
jne 0x4247c8
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x40]
lea edx, [esp + 0x78]
push edx
mov edx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 0x1c]
fstp qword [esp]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
push edi
push esi
push 1
push ebx
call fcn.00423f80
add esp, 0x3c
test eax, eax
jne 0x42484f
mov eax, dword [edi]
push eax
mov ecx, ebx
call fcn.004380d0
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4248ab
cmp dword [eax], 0
jne 0x4248c3
push 0x406
push 0x4878cc
push str.p_vaFront___p_vaFront__isReset__
call dword [sym.imp.MSVCR90.dll__wassert]
add esp, 0xc
fld qword [ebp + 0x24]
lea ecx, [esp + 0x58]
push ecx
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
fld qword [esp + 0x64]
mov ecx, ebx
fstp qword [eax]
mov dword [esp + 0x5c], esp
fld qword [esp + 0x6c]
fstp qword [eax + 8]
call fcn.00437d20
mov byte [0x494010], al
test al, al
jne 0x42490d
push 0x409
push 0x487950
push 0x4878fc
call dword [sym.imp.MSVCR90.dll__wassert]
add esp, 0xc
fld qword [ebp + 0x24]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x68]
push edx
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
fld qword [esp + 0x64]
mov dword [esp + 0x5c], esp
fstp qword [eax]
fld qword [esp + 0x6c]
fstp qword [eax + 8]
call fcn.00437d20
mov byte [0x494010], al
test al, al
jne 0x424959
push 0x40c
push 0x487980
push 0x4879b0
call dword [sym.imp.MSVCR90.dll__wassert]
add esp, 0xc
cmp byte [esp + 0x38], 0
je 0x424a28
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
dec esi
test esi, esi
jl 0x42498e
cmp esi, dword [ecx + 0x14]
jge 0x42498e
mov ebx, dword [ecx + 0x10]
mov eax, esi
cdq
idiv ebx
mov ebx, dword [ecx]
mov eax, dword [ebx + eax*4]
mov ebx, dword [ebp + 8]
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
jmp 0x424990
xor eax, eax
cmp dword [eax], 0xffffff38
je 0x42496c
test esi, esi
jl 0x4249b9
cmp esi, dword [ecx + 0x14]
jge 0x4249b9
mov ebx, dword [ecx + 0x10]
mov eax, esi
cdq
idiv ebx
mov ebx, dword [ecx]
mov eax, dword [ebx + eax*4]
mov ebx, dword [ebp + 8]
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
jmp 0x4249bb
xor eax, eax
cmp dword [eax], 0xffffff37
je 0x42496c
mov ecx, dword [ebp + 0x3c]
push esi
call fcn.00411580
fld qword [eax + 0x10]
push esi
fstp qword [esp + 0x44]
mov esi, dword [ebp + 0x3c]
mov ecx, esi
call fcn.00411580
fld qword [eax + 8]
fstp qword [esp + 0x88]
sub esp, 8
fld qword [esp + 0x48]
lea ecx, [esp + 0x60]
fstp qword [esp + 0x98]
lea edx, [esp + 0x90]
fld qword [0x493e50]
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push edx
push eax
call fcn.00414a70
mov esi, dword [ebp + 0x10]
add esp, 0x28
push 1
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x48], 0xfffffffe
call fcn.00412c80
fcomp qword [0x487080]
add esp, 0x10
fnstsw ax
test ah, 5
mov eax, 0xffffffff
jnp 0x424a5f
mov eax, dword [esp + 0x38]
fld qword [0x493e50]
mov ecx, dword [ebp + 0x3c]
sub esp, 8
fstp qword [esp]
push ecx
push 1
push 1
push 1
push eax
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.00414a70
mov edx, dword [edi]
push edx
call fcn.0044fb10
add esp, 0x2c
test al, al
je 0x424b41
push 1
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00412c80
fst qword [esp + 0x50]
fcom qword [0x480958]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x424ad9
fld qword [0x487060]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x424af7
push 0x42e
fstp st(0)
push 0x4879bc
push str.0.___theta__theta___PI
call dword [sym.imp.MSVCR90.dll__wassert]
fld qword [esp + 0x4c]
add esp, 0xc
fld qword [ebp + 0x1c]
mov ecx, dword [edi]
mov eax, dword [ebp + 0x14]
fstp qword [esp + 0xa0]
fld qword [esp + 0x48]
lea edx, [esp + 0x98]
fstp qword [esp + 0xa8]
mov dword [esp + 0x9c], ecx
fld qword [esp + 0x50]
mov ecx, dword [ebp + 0x34]
fstp qword [esp + 0xb0]
push edx
mov dword [esp + 0x9c], eax
fstp qword [esp + 0xbc]
call fcn.00425c70
mov eax, dword [ebp + 0x40]
fld qword [ebp + 0x24]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esp + 0x48]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 0x1c]
fstp qword [esp]
push eax
push ecx
mov ecx, dword [ebp + 0x2c]
push edi
push esi
push 1
push edx
call fcn.00424460
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [edi]
push ecx
push edx
call fcn.0044f830
add esp, 0x3c
pop esi
mov dword [edi], eax
mov eax, dword [esp + 0x38]
pop ebx
mov esp, ebp
pop ebp
ret