Function at 0x46abc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4ba830
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4e88d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00401da0
add eax, 0x10
add esp, 4
mov dword [esp + 0x2c], eax
push 0x20
lea eax, [esp + 0x30]
xor ebx, ebx
push eax
mov dword [esp + 0x88], ebx
call fcn.004293f0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x84], 1
mov ecx, dword [esp + 0x30]
push 1
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push edi
call fcn.0046a8d0
add esp, 0x14
test eax, eax
jne 0x46acc0
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x46ac80
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004686f0
push edx
push 0x10
push eax
call fcn.00491b95
push esi
call fcn.00472674
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46acab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0x3d
je 0x46ad36
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x46acf6
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004686f0
push edx
push 0x10
push eax
call fcn.00491b95
push esi
call fcn.00472674
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46acab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
add dword [esp + 0x30], 2
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x38]
push edx
push eax
push edi
call fcn.0046a8d0
add esp, 0x14
test eax, eax
jne 0x46ada8
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x46ad84
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004686f0
push ecx
push 0x10
push eax
call fcn.00491b95
push esi
call fcn.00472674
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46ac9f
fld qword [edi + 0x38]
add edi, 0x38
mov dword [esp + 0x34], edi
call fcn.00497580
push eax
lea edi, [esp + 0x3c]
call fcn.0046ab70
mov ecx, dword [ebp + 0xc]
add esp, 4
cmp ecx, ebx
je 0x46adcd
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
fld qword [ecx]
sub esp, 8
lea ebx, [esp + 0x40]
fstp qword [esp]
mov eax, esi
call fcn.00469130
mov eax, dword [esi + 8]
xor ebx, ebx
add esp, 8
cmp eax, ebx
ja 0x46ae24
lea eax, [esp + 0x38]
mov byte [esp + 0x80], bl
call fcn.00471080
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46ac9f
mov edx, dword [esi]
mov ecx, eax
mov edi, eax
shl edi, 4
mov edi, dword [edi + edx - 8]
cmp ecx, 1
jbe 0x46ae57
cmp edi, ebx
jge 0x46ae66
xor ecx, ecx
cmp eax, ebx
jbe 0x46ae66
xor edx, edx
mov eax, dword [esi]
sub dword [edx + eax + 8], edi
lea eax, [edx + eax + 8]
inc ecx
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x46ae42
jmp 0x46ae66
cmp edi, ebx
jge 0x46ae66
shl eax, 4
sub dword [eax + edx - 8], edi
lea eax, [eax + edx - 8]
fldz
mov ecx, dword [esi]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x46ae98
xor ecx, ecx
cmp dword [esi + 8], ebx
jbe 0x46ae98
fld qword [0x4ceb60]
xor edx, edx
mov eax, dword [esi]
fld qword [eax + edx]
add eax, edx
fmul st(1)
inc ecx
add edx, 0x10
fstp qword [eax]
cmp ecx, dword [esi + 8]
jb 0x46ae82
fstp st(0)
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x46aec4
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004686f0
push ecx
push 0x10
push eax
call fcn.00491b95
push esi
call fcn.00472674
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46aeef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret