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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8246
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
mov ebx, 1
push edi
mov ecx, dword [esi + 0x118]
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x108], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0x74], eax
xor eax, eax
shl ecx, 5
test ecx, ecx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
jle 0x468531
mov edx, dword [esi + 0x10c]
mov edi, dword [esi + 0x7c]
lea edx, [eax + edx*2]
inc eax
cmp eax, ecx
mov dword [edi + edx*8], 0
mov dword [edi + edx*8 + 4], 0
jl 0x468511
mov edx, dword [esi + 0xb8]
xor ecx, ecx
shl edx, 2
test edx, edx
jle 0x46855a
mov eax, dword [esi + 0xb4]
lea edi, [ecx + eax*2]
add eax, edi
mov edi, dword [esi + 0x64]
inc ecx
cmp ecx, edx
mov dword [edi + eax*4], 0
jl 0x468540
mov eax, dword [esi + 0x74]
xor ecx, ecx
test eax, eax
jle 0x4685d9
xor edx, edx
mov eax, dword [esi + 0x78]
add eax, edx
add edx, 0x20
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
fld qword [eax]
fld qword [eax + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
fsubrp st(1)
fld qword [esp + 0x34]
fsub qword [esp + 0x2c]
mov eax, dword [esi + 0xb8]
mov edi, dword [esi + 0x10c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
lea eax, [eax + eax*2]
faddp st(1)
lea eax, [eax + eax*4]
add eax, edi
mov edi, dword [esi + 0x7c]
fsqrt
lea eax, [ecx + eax*2]
inc ecx
fimul dword [esi + 0xc4]
fstp qword [edi + eax*8 + 8]
mov eax, dword [esi + 0x74]
fstp st(0)
cmp ecx, eax
fstp st(0)
jl 0x468565
mov ebx, 1
mov ecx, esi
call fcn.00464610
push 0
push 0x12c
mov ecx, esi
call fcn.00463e20
mov eax, dword [esi + 0xc0]
xor edi, edi
mov ecx, ebx
cmp eax, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], ecx
jle 0x46880b
mov dword [esp + 0x20], 0x20
jmp 0x46861a
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
mov eax, dword [esp + 0x20]
fld qword [0x4db678]
fld qword [0x4db678]
fld qword [eax + edx - 0x20]
fld qword [eax + edx - 0x10]
add eax, edx
fsub st(1)
mov edx, dword [eax - 0x18]
mov ebx, dword [eax - 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [eax - 8]
mov eax, dword [eax - 4]
mov dword [esp + 0x34], edx
fstp qword [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
fstp st(0)
fld qword [esp + 0x34]
fsub qword [esp + 0x2c]
fst qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
faddp st(1)
fsqrt
fst qword [esp + 0x44]
fcomp qword [0x4db678]
fnstsw ax
test ah, 0x41
jne 0x46869e
fstp st(0)
fstp st(0)
fld qword [esp + 0x14]
fdiv qword [esp + 0x44]
fchs
fld qword [esp + 0x24]
fdiv qword [esp + 0x44]
mov edx, dword [ebp + 0xc]
lea ebx, [edi*8]
mov eax, dword [edx + 0x90]
fld qword [eax + ebx]
fld qword [eax + edi*8 + 8]
fld qword [eax + edi*8 + 0x10]
fld qword [eax + edi*8 + 0x18]
fxch st(2)
fmul st(4)
fxch st(1)
fmul st(5)
cmp dword [esp + 0x20], 0x20
fadd st(0), st(0)
faddp st(1)
fmul st(3)
fxch st(2)
fmul st(4)
fmul st(4)
faddp st(2)
fxch st(1)
fadd st(1)
fmul qword [0x4db760]
fstp qword [esp + 0x14]
fstp st(0)
fstp st(0)
fstp st(0)
jle 0x468700
fld qword [esp + 0x14]
fadd qword [esp + 0x3c]
fmul qword [0x4db760]
fstp qword [esp + 0x14]
mov eax, dword [esi + 0xb8]
mov edx, dword [esi + 0x10c]
fld qword [esp + 0x14]
fmul qword [0x4dd248]
lea eax, [eax + eax*2]
push 0
lea eax, [eax + eax*4]
add eax, edx
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0x7c]
dec ecx
fstp qword [eax + edx*8]
push ecx
mov ecx, esi
call fcn.0041c180
mov ecx, eax
call fcn.0047a5a0
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 0x18]
mov ecx, eax
push edx
lea edx, [esp + 0xec]
push edx
call fcn.0047a010
mov ecx, eax
call fcn.004794a0
fld qword [esp + 0x14]
mov eax, dword [esp + 0x178]
mov ecx, dword [ebp + 8]
fchs
fstp qword [eax + 0x10]
mov eax, dword [ecx + 0x90]
mov dword [esp + 0x220], 0
add ebx, eax
mov eax, dword [esp + 0x178]
mov edx, dword [ebx]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x178]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0xe8]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.0047a010
mov ecx, eax
call fcn.0047ab70
mov ecx, dword [esi + 0xb4]
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 0x64]
add ecx, ebx
mov dword [esp + 0x220], 0xffffffff
mov eax, dword [edx + ecx*4 - 4]
mov ecx, dword [esp + 0x18]
add edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x3c], eax
call fcn.0044c440
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xc0]
inc ebx
add ecx, 0x20
cmp ebx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ecx
jl 0x468616
mov eax, dword [esi + 0xb8]
push 0
fld qword [esp + 0x18]
lea eax, [eax + eax*2]
fmul qword [0x4dd248]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x10c]
add edx, eax
mov eax, dword [esi + 0xc0]
lea ecx, [eax + edx*2]
mov edx, dword [esi + 0x7c]
fstp qword [edx + ecx*8]
mov eax, dword [esi + 0xc0]
mov ecx, esi
dec eax
push eax
call fcn.0041c180
mov ecx, eax
call fcn.0047a5a0
mov ecx, dword [esi + 0xc0]
push 0
dec ecx
mov ebx, eax
push ecx
mov ecx, esi
call fcn.0041c180
mov ecx, eax
call fcn.0047a5a0
mov ecx, eax
call fcn.0047a040
mov dword [eax], 0
mov ecx, ebx
mov dword [eax + 4], 0
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0047a010
mov ecx, eax
call fcn.004794a0
fld qword [esp + 0x14]
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x220], 1
fchs
fstp qword [ecx + 0x10]
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xb4]
add edx, eax
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + edx*4 - 8]
sub edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
mov ecx, dword [esp + 0xe0]
mov eax, dword [edx + edi*8 + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0xe0]
mov edx, dword [edx + edi*8 + 0xc]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
mov dword [eax + 0x1c], edx
call fcn.0047a010
mov ecx, eax
call fcn.0047ab70
mov ecx, dword [esi + 0xc0]
mov eax, 1
cmp ecx, eax
jl 0x468946
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0x10c]
lea ecx, [ecx + ecx*2]
lea edi, [ecx + eax]
inc eax
lea ecx, [edi + ecx*8]
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*8], 0
mov dword [ecx + edx*8 + 4], 0
mov ecx, dword [esi + 0xc0]
cmp eax, ecx
jle 0x468911
xor ebx, ebx
xor eax, eax
mov dword [esi + 0x110], ebx
jmp 0x468956
mov eax, dword [esp + 0x24]
inc eax
mov dword [esi + 0x6c], 1
cmp eax, 0x3a98
mov dword [esp + 0x24], eax
jle 0x468976
push str.Divergence_to_the_Queens_bolt__use_slope_value_please
call fcn.0047f2e0
add esp, 4
mov dword [esi + 0x114], ebx
mov edi, dword [esi + 0x120]
mov eax, dword [esi + 0xc0]
cmp edi, eax
jg 0x4689e4
push edi
mov ecx, esi
call fcn.004646d0
push edi
mov ecx, esi
call fcn.00464c00
mov ecx, esi
call fcn.00466110
mov eax, dword [esi + 0xb8]
mov edx, dword [esi + 0x10c]
mov ecx, eax
shl ecx, 5
sub ecx, eax
mov eax, edi
add eax, ecx
lea ecx, [eax + edx*2]
mov edx, dword [esi + 0x7c]
fld qword [edx + ecx*8]
fstp qword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004661c0
mov eax, dword [esi + 0xc0]
inc edi
cmp edi, eax
jle 0x46898c
mov ecx, esi
call fcn.00467e50
mov edx, dword [esi + 0x124]
mov ecx, dword [esi + 0xc0]
mov edi, 1
inc edx
cmp ecx, edi
mov dword [esi + 0x124], edx
mov eax, edi
jl 0x468a3d
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0x10c]
mov edi, ecx
shl edi, 5
sub edi, ecx
mov ecx, eax
add ecx, edi
inc eax
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*8], ebx
mov dword [ecx + edx*8 + 4], ebx
mov ecx, dword [esi + 0xc0]
cmp eax, ecx
jle 0x468a09
mov edi, 1
cmp dword [esi + 0x114], edi
jne 0x468b54
mov ecx, esi
call fcn.00467fb0
mov ecx, esi
call fcn.004681a0
cmp dword [esi + 0x11c], edi
jne 0x468b4d
mov eax, dword [esi + 0xc0]
xor edi, edi
cmp eax, ebx
jle 0x468aeb
push ebx
push edi
mov ecx, esi
call fcn.0041c180
mov ecx, eax
call fcn.0047a5a0
mov edx, dword [esi + 0x44]
mov ecx, dword [edx + 0x18]
push ecx
lea ecx, [esp + 0x184]
push ecx
mov ecx, eax
call fcn.0047a010
mov ecx, eax
call fcn.004794a0
mov edx, dword [esi + 0xc4]
mov eax, dword [esp + 0x210]
neg edx
mov ecx, dword [esi + 0x10c]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
lea edx, [edi + ecx*2]
lea ecx, [esp + 0x180]
fmul qword [eax + 0x18]
mov eax, dword [esi + 0xb8]
add edx, eax
mov eax, dword [esi + 0x7c]
fmul qword [0x4dd240]
fstp qword [eax + edx*8 + 8]
call fcn.0044c440
mov eax, dword [esi + 0xc0]
inc edi
cmp edi, eax
jl 0x468a6f
mov eax, dword [esi + 0xc0]
mov edi, 1
cmp eax, edi
jl 0x468b54
mov eax, dword [esi + 0xb8]
mov ebx, dword [esi + 0x10c]
mov ecx, dword [esi + 0x7c]
lea edx, [eax + eax*2]
lea ebx, [ebx + edx*4]
add edx, ebx
mov ebx, eax
shl ebx, 5
lea edx, [edi + edx*2]
sub ebx, eax
mov eax, dword [esi + 0x10c]
mov dword [esp + 0x10], edx
mov edx, edi
add edx, ebx
inc edi
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x10]
mov ebx, dword [ecx + edx*8]
mov dword [ecx + eax*8], ebx
mov edx, dword [ecx + edx*8 + 4]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esi + 0xc0]
cmp edi, eax
jle 0x468afa
xor ebx, ebx
jmp 0x468b54
mov ecx, esi
call fcn.004683d0
mov ecx, esi
call fcn.004673c0
push 0x12c
mov ecx, esi
call fcn.004674f0
cmp dword [esi + 0x114], ebx
je 0x46897c
mov ecx, dword [esi + 0x11c]
mov eax, 1
cmp ecx, eax
mov dword [esi + 0x124], eax
jne 0x468b8e
inc dword [esi + 0x110]
mov edx, dword [esi + 0x110]
xor eax, eax
cmp edx, 0x12c
setge al
cmp eax, ebx
je 0x468952
lea ecx, [esp + 0x50]
mov dword [esp + 0x220], 0xffffffff
call fcn.0044c440
mov ecx, dword [esp + 0x218]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8