Function at 0x5511d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x629140
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
mov dword [ebx], 0
mov dword [esi], 0
call fcn.00489940
test eax, eax
jne 0x551576
push edi
lea ecx, [esp + 0x18]
call fcn.004aa630
mov edi, dword [esp + 0x38]
mov eax, 0x69bdd8
test edi, edi
jne 0x55122a
mov eax, 0x69c434
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004aa930
test eax, eax
je 0x551299
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
mov dword [esi], 1
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 0
push eax
call fcn.00486950
fmul dword [0x646724]
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
fstp dword [esp + 0x34]
call fcn.00489810
fld dword [esp + 0x34]
call fcn.00460b50
and eax, 0xff
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
jmp 0x551572
test edi, edi
mov dword [esp + 0x1c], 0
mov eax, 0x69c430
jne 0x5512af
mov eax, 0x69c42c
push 3
push eax
lea ecx, [esp + 0x1c]
call fcn.004aa930
test eax, eax
je 0x5513c5
lea edx, [esp + 0x30]
lea ecx, [esp + 0x14]
push edx
mov dword [esi], 2
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 1
push eax
call fcn.00486950
fmul dword [0x646724]
or esi, 0xffffffff
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
fstp dword [esp + 0xc]
call fcn.00489810
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 2
push eax
call fcn.00486950
fmul dword [0x646724]
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
fstp dword [esp + 0x38]
call fcn.00489810
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 3
push eax
call fcn.00486950
fmul dword [0x646724]
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
fstp dword [esp + 0x34]
call fcn.00489810
fld dword [esp + 0x34]
call fcn.00460b50
fld dword [esp + 0x38]
xor edx, edx
mov dh, al
mov dword [esp + 0x30], edx
call fcn.00460b50
mov edx, dword [esp + 0x30]
fld dword [esp + 0xc]
mov dl, al
shl edx, 8
mov dword [esp + 0x30], edx
call fcn.00460b50
mov edx, dword [esp + 0x30]
and eax, 0xff
or edx, eax
pop edi
mov dword [ebx], edx
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
test edi, edi
mov dword [esp + 0x1c], 0
mov eax, 0x69b720
jne 0x5513db
mov eax, 0x69c428
push 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004aa930
test eax, eax
je 0x551576
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
mov dword [esi], 3
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 4
push eax
call fcn.00486950
fstp dword [esp + 0x38]
or esi, 0xffffffff
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00489810
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 5
push eax
call fcn.00486950
fstp dword [esp + 0x3c]
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00489810
lea edx, [esp + 0x30]
lea ecx, [esp + 0x14]
push edx
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 6
push eax
call fcn.00486950
fstp dword [esp + 0x10]
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00489810
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.004aa830
mov eax, dword [eax]
mov dword [esp + 0x28], 7
push eax
call fcn.00486950
fstp dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
call fcn.00489810
fld dword [esp + 0x30]
fadd dword [esp + 0x34]
fld dword [0x635df0]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5514df
fstp st(0)
fld dword [0x635df0]
fsubr dword [0x635df0]
fld dword [esp + 0x30]
fadd dword [esp + 0x38]
fld dword [0x635df0]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x551504
fstp st(0)
fld dword [0x635df0]
fsubr dword [0x635df0]
fld dword [esp + 0x30]
fadd dword [esp + 0xc]
fld dword [0x635df0]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x551529
fstp st(0)
fld dword [0x635df0]
fld dword [0x635df0]
fsub st(1)
fmul dword [0x646724]
call fcn.00460b50
fstp st(0)
fmul dword [0x646724]
xor edx, edx
mov dh, al
mov dword [esp + 0x30], edx
call fcn.00460b50
mov edx, dword [esp + 0x30]
fmul dword [0x646724]
mov dl, al
shl edx, 8
mov dword [esp + 0x30], edx
call fcn.00460b50
mov ecx, dword [esp + 0x30]
and eax, 0xff
or ecx, eax
mov dword [ebx], ecx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc