Function at 0x56bf10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x620628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esp + 0x84], esi
mov dword [esi + 0x2c], 0xffff
mov dword [esi + 0x30], 0xffff0001
fld1
cmp byte [ebp + 0xc], bl
fst dword [esp + 0x24]
mov eax, dword [ebp + 0x18]
fst dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
fst dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x2c]
mov dword [esi], 0x65e148
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
fld dword [eax + 8]
mov dword [esp + 0x30], ecx
fst dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld dword [eax + 0xc]
mov dword [esp + 0x34], edx
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fld dword [eax + 0x10]
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fld dword [eax + 0x14]
mov dword [esp + 0x40], edx
fst dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [eax + 0x18]
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x28]
mov dword [esp + 0xfc], ebx
fld dword [eax + 0x1c]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fld dword [0x65e144]
mov dword [esp + 0x48], edx
fld dword [0x65e140]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
je 0x56c136
fxch st(1)
fst dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fxch st(3)
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul st(1)
fstp dword [esp + 0x50]
fxch st(1)
cmp byte [ebp + 0x14], bl
fxch st(2)
fst dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fst dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
fld dword [eax + 8]
mov dword [esp + 0x54], edx
fst dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [eax + 0x10]
mov dword [esp + 0x60], edx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fld dword [eax + 0x14]
mov dword [esp + 0x64], ecx
fst dword [esp + 0x24]
mov dword [esp + 0x68], edx
fld dword [eax + 0x18]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [eax + 0x1c]
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
je 0x56c13f
fxch st(3)
fst dword [esp + 0x54]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x58]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fmul st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x68]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x70]
fmul dword [esp + 0x74]
fstp dword [esp + 0x74]
jmp 0x56c147
fstp st(3)
fstp st(1)
jmp 0x56c060
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x34]
call fcn.0056bea0
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0056ba90
fld dword [esp + 0x30]
fmul dword [0x65e13c]
sub esp, 8
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x44]
mov dword [esi + 0x5c], eax
fmul dword [0x65e13c]
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x50]
mov dword [esi + 0x60], eax
fmul dword [0x65e13c]
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x48]
mov dword [esi + 0x64], eax
fmul dword [0x65e13c]
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x54]
mov dword [esi + 0x6c], eax
fmul dword [0x65e13c]
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x4c]
mov dword [esi + 0x70], eax
fmul dword [0x65e13c]
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x58]
mov dword [esi + 0x78], eax
fmul dword [0x65e13c]
fstp qword [esp]
call fcn.00519e42
fldz
add esp, 8
cmp byte [ebp + 0x14], bl
fld st(0)
fld dword [0x64a250]
mov dword [esi + 0x7c], eax
je 0x56c215
fstp st(1)
fld st(0)
fxch st(1)
cmp byte [ebp + 0xc], bl
fxch st(2)
fstp dword [esp + 0x78]
je 0x56c228
fxch st(1)
fstp dword [esp + 0x78]
jmp 0x56c22a
fstp st(1)
fchs
lea edx, [esp + 0x30]
push edx
fstp dword [esp + 0x28]
fld dword [0x65e138]
lea eax, [esp + 0x28]
push eax
fst dword [esp + 0x30]
lea ecx, [esp + 0x90]
fstp dword [esp + 0x34]
push ecx
call fcn.0056bcd0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
fld dword [esp + 0x30]
fadd dword [esp + 0x84]
mov edx, dword [eax + 8]
mov dword [esp + 0x34], ecx
fld dword [esp + 0x34]
fld dword [0x64a258]
mov dword [esp + 0x38], edx
fadd st(1), st(0)
add esp, 4
fxch st(1)
fstp dword [esp + 0x84]
fadd dword [esp + 0x34]
fstp dword [esp + 0x88]
fmul dword [0x65d504]
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x84]
add eax, 0x8000
fmul dword [0x65d504]
mov dword [esi + 0x68], eax
fstp qword [esp]
call fcn.00519e42
fld dword [esp + 0x88]
add eax, 0x8000
fmul dword [0x65d504]
mov dword [esi + 0x74], eax
fstp qword [esp]
call fcn.00519e42
mov ecx, dword [esp + 0xfc]
add esp, 8
add eax, 0x8000
mov dword [esi + 0x80], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14