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

Disassembly:
push 0xffffffffffffffff
push 0x4e51e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
fld dword [esp + 0x1cc]
fmul dword [0x4ec43c]
mov eax, dword [esp + 0x1d0]
push ebx
mov edx, dword [esp + 0x1dc]
push ebp
fdivr dword [0x4ec43c]
mov ebp, dword [esp + 0x1d0]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1e4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1ec]
mov ebx, 2
mov dword [esp + 0x44], ecx
xor esi, esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
fstp dword [esp + 0x58]
call fcn.0049dbb0
push esi
lea ecx, [esp + 0xb8]
mov dword [esp + 0x1cc], esi
call fcn.0049e000
push esi
lea ecx, [esp + 0x110]
mov byte [esp + 0x1cc], 1
call fcn.0049e000
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
lea esi, [edi + 0x3b8]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x40]
lea eax, [esi + 8]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x1c8], 3
call fcn.0049e070
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1c8], bl
call fcn.0049e070
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.0049dc20
mov ecx, dword [esp + 0x1d4]
cmp ebp, ebx
mov dword [edi + 0x3f0], ecx
jl 0x404edf
cmp ebp, 5
jg 0x404edf
test ecx, ecx
je 0x404edf
push 0
call fcn.0042fc40
mov eax, dword [esp + 0x1d0]
mov ecx, esi
push eax
call fcn.00405790
lea ecx, [edi + 0x48c]
push ecx
lea ecx, [esp + 0x16c]
call fcn.0049e5d0
push 0x258
push 0x320
mov ebx, 4
push 0
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x1d8], ebx
call fcn.0049c120
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1cc], 5
call fcn.0049ee10
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c8], bl
call fcn.004a6da0
lea ebp, [edi + 0x358]
mov ecx, ebp
call fcn.0049dc90
lea ecx, [esp + 0x1c]
call fcn.004a06c0
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc], 6
call fcn.004a0720
lea edx, [esp + 0x168]
lea ecx, [esp + 0x10]
push edx
call fcn.004a11c0
push ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc], 7
call fcn.004a1220
lea ecx, [esp + 0x10]
mov dword [edi + 0x3a4], 0x4051c0
mov dword [edi + 0x3b0], esi
mov dword [edi + 0x3a8], edi
mov byte [edi + 0x83], 1
mov byte [esp + 0x1c8], 6
call fcn.004a1210
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c8], bl
call fcn.004a0710
lea ecx, [esp + 0x168]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.0049e680
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1bc
ret 0x20