Function at 0x46ae30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66b520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
lea ecx, [esp + 0xb4]
call fcn.00473110
xor ebx, ebx
push 0xa
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xbc], 0x69db4c
call fcn.0048b670
lea ecx, [esp + 0x70]
mov dword [esp + 0xe8], 1
call fcn.00472a90
push 0xa
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
mov dword [esp + 0x78], 0x69dc40
call fcn.00472ab0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xb4]
push eax
push ecx
mov byte [esp + 0xf0], 3
call fcn.0046a770
lea edx, [esp + 0x78]
lea eax, [esp + 0xbc]
push edx
push eax
call fcn.0046a9d0
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.0064dc20
lea ecx, [esp + 0x58]
call fcn.0064dc20
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.0064dc70
mov eax, dword [esp + 0x74]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*8 - 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.0064dc70
fld qword [esp + 0x10]
fsub qword [esp + 0x28]
lea edx, [esp + 0x84]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
fstp qword [esp + 0x88]
fld qword [esp + 0x1c]
fsub qword [esp + 0x34]
fstp qword [esp + 0x90]
call fcn.00657020
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.006576a0
add esp, 8
lea ecx, [esp + 0x9c]
push eax
call fcn.006578b0
fld qword [esp + 0xa4]
fmul qword [0x691f40]
push ebx
push ebx
sub esp, 8
lea ecx, [esp + 0x94]
fsubr qword [esp + 0x40]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0xb4]
fmul qword [0x691f40]
fsubr qword [esp + 0x40]
fstp qword [esp]
call fcn.0064dc40
fld qword [esp + 0xa4]
fmul qword [0x691f40]
push ebx
push ebx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
fadd qword [esp + 0x20]
sub esp, 8
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
fstp qword [esp]
fld qword [esp + 0xac]
fmul qword [0x691f40]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub esp, 8
fadd qword [esp + 0x28]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
fld qword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fsub qword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
fld qword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
fsub qword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
fabs
fxch st(1)
fabs
fcompp
fnstsw ax
test ah, 1
je 0x46b369
fld qword [esp + 0x30]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x46b222
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00472bf0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
fld qword [esp + 0x28]
fadd qword [0x69dc38]
push ebx
push ebx
push ecx
push edx
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x70], edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
fld qword [esp + 0x10]
fadd qword [0x69dc38]
push ebx
push ebx
push ecx
push edx
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x80], ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x88], edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
dec esi
cmp esi, ebx
jl 0x46b20f
push esi
lea ecx, [esp + 0x74]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
dec esi
jns 0x46b1ec
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
jmp 0x46b611
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00472bf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
fld qword [esp + 0x10]
fadd qword [0x69dc38]
push ebx
push ebx
push eax
push ecx
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], edx
sub esp, 0x18
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x70], eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
fld qword [esp + 0x28]
fadd qword [0x69dc38]
push ebx
push ebx
push eax
push ecx
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x68], edx
sub esp, 0x18
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x88], eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
test esi, esi
jle 0x46b35b
push ebx
lea ecx, [esp + 0x74]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
inc ebx
cmp ebx, esi
jl 0x46b336
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x46b60c
fld qword [esp + 0x28]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x46b4ca
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00472bf0
fld qword [esp + 0x30]
fadd qword [0x69dc38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push ebx
sub esp, 8
fstp qword [esp]
push ecx
push edx
lea ecx, [esp + 0x9c]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x70], edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
fld qword [esp + 0x18]
fadd qword [0x69dc38]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push ebx
sub esp, 8
fstp qword [esp]
push ecx
push edx
lea ecx, [esp + 0x9c]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x80], ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x88], edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
dec esi
cmp esi, ebx
jl 0x46b4b7
push esi
lea ecx, [esp + 0x74]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
dec esi
jns 0x46b494
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
jmp 0x46b611
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00472bf0
fld qword [esp + 0x18]
fadd qword [0x69dc38]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], edx
sub esp, 0x18
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x70], eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
fld qword [esp + 0x30]
fadd qword [0x69dc38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
push ebx
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x68], edx
sub esp, 0x18
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x88], eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
test esi, esi
jle 0x46b603
push ebx
lea ecx, [esp + 0x74]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
inc ebx
cmp ebx, esi
jl 0x46b5de
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x28]
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.00472bf0
mov dword [esp + 0x70], 0x69dbfc
mov eax, dword [esp + 0x74]
mov byte [esp + 0xe8], 4
test eax, eax
je 0x46b63e
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x70], 0x691080
mov dword [esp + 0xb4], 0x69db38
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xe8], 5
test eax, eax
je 0x46b670
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret