Function at 0x517660
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x517668
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x517af5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x5176dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x517b10
call fcn.0040b9ac
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004057c4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x10
call fcn.004b3f70
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5176eb
cmp dword [ebp - 8], 0
je 0x517aca
xor eax, eax
push ebp
push 0x517ac3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41adf8]
call fcn.00403ec0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x517aa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004b4a78
mov edx, dword [0x513a30]
mov eax, 0x90
call fcn.0040601c
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, 0x517b20
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00404e84
lea ecx, [ebp - 0x24]
mov edx, 0x517b30
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 4]
call fcn.00404e84
lea ecx, [ebp - 0x28]
mov edx, 0x517b44
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 8]
call fcn.00404e84
lea ecx, [ebp - 0x2c]
mov edx, 0x517b58
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0xc]
call fcn.00404e84
lea ecx, [ebp - 0x30]
mov edx, 0x517b6c
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x10]
call fcn.00404e84
lea ecx, [ebp - 0x34]
mov edx, 0x517b84
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x14]
call fcn.00404e84
mov edx, 0x517b98
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx + 0x70], al
lea ecx, [ebp - 0x38]
mov edx, 0x517bac
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x18]
call fcn.00404e84
lea ecx, [ebp - 0x3c]
mov edx, 0x517bbc
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x1c]
call fcn.00404e84
lea ecx, [ebp - 0x40]
mov edx, 0x517bd4
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x20]
call fcn.00404e84
mov edx, 0x517be8
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x24], eax
mov edx, 0x517bfc
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x28], eax
mov edx, 0x517c14
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x2c], eax
lea ecx, [ebp - 0x44]
mov edx, 0x517c2c
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x30]
call fcn.00404e84
lea ecx, [ebp - 0x48]
mov edx, 0x517c40
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x34]
call fcn.00404e84
lea ecx, [ebp - 0x4c]
mov edx, 0x517c58
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x3c]
call fcn.00404e84
lea ecx, [ebp - 0x50]
mov edx, 0x517c6c
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x40]
call fcn.00404e84
lea ecx, [ebp - 0x54]
mov edx, 0x517c7c
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x44]
call fcn.00404e84
lea ecx, [ebp - 0x58]
mov edx, 0x517c90
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x48]
call fcn.00404e84
lea ecx, [ebp - 0x5c]
mov edx, 0x517ca8
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x4c]
call fcn.00404e84
lea ecx, [ebp - 0x60]
mov edx, 0x517cc0
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0x50]
call fcn.00404e84
lea ecx, [ebp - 0x64]
mov edx, 0x517cd0
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x54]
call fcn.00404e84
lea ecx, [ebp - 0x68]
mov edx, 0x517ce0
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 0x58]
call fcn.00404e84
lea ecx, [ebp - 0x6c]
mov edx, 0x517cf4
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x6c]
lea eax, [ebx + 0x5c]
call fcn.00404e84
mov edx, 0x517d0c
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x60], eax
lea ecx, [ebp - 0x70]
mov edx, 0x517d20
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x70]
lea eax, [ebx + 0x64]
call fcn.00404e84
lea ecx, [ebp - 0x74]
mov edx, 0x517d30
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0x68]
call fcn.00404e84
lea ecx, [ebp - 0x78]
mov edx, 0x517d48
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0x6c]
call fcn.00404e84
mov edx, 0x517d64
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x74], eax
mov edx, 0x517d78
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x78], eax
mov edx, 0x517d8c
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x7c], eax
mov edx, 0x517da0
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov dword [ebx + 0x80], eax
mov edx, 0x517db4
mov eax, dword [ebp - 0xc]
call fcn.004b47e0
fstp qword [ebx + 0x88]
wait
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 4]
call fcn.00409ec8
cmp dword [ebp - 0x7c], 0
je 0x517a7f
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xec]
mov ecx, ebx
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x517a8c
mov edx, dword [0x513a30]
mov eax, ebx
call fcn.00406030
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517aad
mov eax, dword [ebp - 0xc]
call fcn.00403ef0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517afc
lea eax, [ebp - 0x7c]
mov edx, 0x18
call fcn.00404e54
lea eax, [ebp - 0x14]
call fcn.00404e30
lea eax, [ebp - 0x10]
call fcn.0040562c
ret