Function at 0x4adf70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5186d2
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5750c8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
fldz
fcom dword [ecx + 0x8c]
fnstsw ax
test ah, 5
jp 0x4ae1d0
fld dword [ecx + 0x20]
mov eax, 1
fstp dword [esp + 0x18]
mov esi, 0x57c348
fld dword [ecx + 0x24]
mov edi, 0x577c14
fstp dword [esp + 0x1c]
push eax
fld dword [ecx + 0x28]
mov ebx, 0x576b80
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fstp dword [esp + 0x38]
fld dword [esp + 0x20]
fstp dword [esp + 0x4c]
fld dword [esp + 0x24]
fstp dword [esp + 0x60]
fld1
fstp dword [esp + 0x74]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [ecx + 8]
fstp dword [esp + 0x24]
fld dword [ecx + 0xc]
fstp dword [esp + 0x20]
fld dword [ecx + 0x10]
mov byte [0x578454], 0
fstp dword [esp + 0x1c]
mov ecx, 0x10
fld dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x20]
fadd st(1)
add dword [0x578458], eax
fstp dword [esp + 0x6c]
mov ecx, 0x10
fadd dword [esp + 0x1c]
lea esi, [esp + 0x38]
mov edi, 0x578414
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.00401190
push ecx
movzx ecx, byte [esp + 0x18]
mov eax, esp
mov byte [eax], cl
movzx edx, byte [esp + 0x19]
mov byte [eax + 1], dl
movzx ecx, byte [esp + 0x1a]
mov byte [eax + 2], cl
movzx edx, byte [esp + 0x1b]
mov dword [esp + 0x24], esp
mov byte [eax + 3], dl
call fcn.0041bbf0
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
add esp, 4
call edx
fld dword [esi + 8]
fstp dword [esp + 0x28]
fld dword [esi + 0xc]
sub esp, 8
fstp dword [esp + 0x34]
mov eax, esp
fld dword [esi + 0x10]
mov dword [esp + 0x28], esp
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fsub qword [0x555370]
fstp dword [esp + 0x30]
fld dword [0x57c3ac]
fstp dword [eax]
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x88], 0
fldz
push ecx
fstp dword [esp]
fld1
push 0
push ecx
fstp dword [esp]
movzx ecx, byte [0x576b6c]
fld dword [0x555368]
push 0xe
sub esp, 8
mov eax, esp
mov byte [eax], cl
movzx edx, byte [0x576b6d]
fstp dword [esp + 4]
mov byte [eax + 1], dl
movzx ecx, byte [0x576b6e]
mov byte [eax + 2], cl
movzx edx, byte [0x576b6f]
mov dword [esp + 0x3c], esp
mov byte [eax + 3], dl
sub esp, 0xc
fld dword [esp + 0x54]
mov eax, esp
mov dword [esp + 0x44], esp
fstp dword [eax]
fld dword [esp + 0x58]
fstp dword [eax + 4]
fld dword [esp + 0x5c]
fstp dword [eax + 8]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push ecx
add esi, 0x94
push esi
mov byte [esp + 0xc0], 2
call fcn.00404370
mov eax, dword [0x5b30d4]
add esp, 4
push eax
mov dword [esp + 0xbc], 0xffffffff
call fcn.0041fa70
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(0)
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4