Function at 0x471860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x58ab4b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x30]
push eax
call fcn.00463c50
fldz
mov edx, dword [esp + 0x30]
fst qword [esp + 0x54]
mov ecx, dword [edx + 0xc]
fst qword [esp + 0x5c]
sub ecx, dword [edx + 8]
xor edi, edi
mov dword [esp + 0xc0], edi
mov byte [esp + 0x2e], 0
test ecx, ecx
jle 0x471ae8
mov eax, dword [edx + 8]
add eax, edi
mov esi, dword [edx + eax*4 + 0x10]
cmp byte [esi + 8], 0
je 0x471908
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4718e4
cmp byte [eax + 0x18], 0
je 0x471908
mov eax, dword [esi + 0x10]
test eax, eax
je 0x471912
mov eax, dword [eax + 4]
test eax, eax
je 0x471912
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x471912
neg eax
sbb eax, eax
and ecx, eax
call fcn.00444c30
test al, al
jne 0x471912
cmp byte [ebp + 8], 0
jne 0x471a3e
mov eax, 1
cmp dword [ebx + 0xd4], eax
jne 0x471935
fcom qword [ebx + 0xc8]
fnstsw ax
test ah, 0x41
jne 0x471930
xor eax, eax
jmp 0x471935
mov eax, 2
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x471947
cmp dword [ecx + 4], 0
je 0x471947
mov esi, dword [esi + 0x34]
jmp 0x471949
xor esi, esi
mov ecx, dword [edx + 8]
add ecx, edi
mov ecx, dword [edx + ecx*4 + 0x10]
cmp esi, ebx
jne 0x47196c
mov edx, dword [ecx]
fstp st(0)
mov edx, dword [edx + 0x64]
push eax
lea eax, [esp + 0x33]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
jmp 0x47198e
lea esi, [esp + 0x64]
fst qword [esp + 0x64]
push esi
fstp qword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
push eax
lea eax, [esp + 0x37]
push eax
lea eax, [esp + 0x80]
push eax
call edx
cmp byte [esp + 0x2f], 0
fld qword [eax]
fst qword [esp + 0x44]
fld qword [eax + 8]
fst qword [esp + 0x4c]
je 0x471a34
cmp byte [esp + 0x2e], 0
jne 0x4719be
fxch st(1)
mov byte [esp + 0x2e], 1
fstp qword [esp + 0x54]
fstp qword [esp + 0x5c]
jmp 0x471a38
fstp st(0)
fld qword [esp + 0x54]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x4719e8
sub esp, 8
fstp st(1)
fstp qword [esp]
call dword [0x5a7a58]
add esp, 8
test al, al
je 0x4719ee
fld qword [esp + 0x44]
jmp 0x4719ea
fstp st(0)
fstp qword [esp + 0x54]
fld qword [esp + 0x4c]
fld qword [esp + 0x5c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x471a23
sub esp, 8
fstp qword [esp]
call dword [0x5a7a58]
add esp, 8
test al, al
je 0x471a2d
fld qword [esp + 0x4c]
mov byte [esp + 0x2e], 1
fstp qword [esp + 0x5c]
jmp 0x471a38
fstp st(0)
fld qword [esp + 0x4c]
fstp qword [esp + 0x5c]
mov byte [esp + 0x2e], 1
jmp 0x471a38
fstp st(1)
fstp st(0)
fldz
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
inc edi
cmp edi, eax
jl 0x4718c8
cmp byte [esp + 0x2e], 0
fstp st(0)
je 0x471aea
lea ecx, [esp + 0x54]
push ecx
call fcn.00430bf0
add esp, 4
test al, al
jne 0x471ad6
cmp dword [ebx + 0xd4], 0
fld qword [esp + 0x5c]
fadd qword [esp + 0x54]
fld qword [0x5aabe0]
fmul st(1), st(0)
fxch st(1)
fst qword [esp + 0x34]
jne 0x471aa4
fld qword [ebx + 0xc8]
fsub qword [ebx + 0xc0]
fmulp st(2)
fld st(0)
fsub st(2)
fstp qword [esp + 0x54]
faddp st(1)
jmp 0x471ad2
fstp st(0)
fstp st(0)
fld qword [ebx + 0xc8]
fdiv qword [ebx + 0xc0]
fst qword [esp + 0x44]
call fcn.00580afa
fdivr qword [esp + 0x34]
fstp qword [esp + 0x54]
fld qword [esp + 0x44]
call fcn.00580afa
fmul qword [esp + 0x34]
fstp qword [esp + 0x5c]
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
call fcn.004456c0
mov edx, dword [esp + 0x30]
jmp 0x471aea
fstp st(0)
mov eax, dword [edx]
mov dword [esp + 0xc0], 0xffffffff
test eax, eax
je 0x471b12
cmp eax, 0xffffffff
je 0x471b1c
or eax, 0xffffffff
lock xadd dword [edx], eax
setne al
test al, al
jne 0x471b1c
mov edx, dword [esp + 0x30]
push edx
call dword [0x5a7d8c]
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4