Function at 0x5c8c70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
test dl, dl
je 0x5c8c85
add esp, 0xfffffff0
call fcn.00404088
mov esi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x5c97c1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0xa78], 1
mov eax, dword [0x6713d8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0xa44], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa34], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa38], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0xa88], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa8c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa90], edx
mov eax, dword [ebp - 4]
add eax, 0x648
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4e], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xa48], 0xc8
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4f], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa50], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xa51], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xa68], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xa70], 0
mov dword [eax + 0xa74], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa58], edx
mov dword [eax + 0xa5c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa60], edx
mov dword [eax + 0xa64], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa80], edx
mov dword [eax + 0xa84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x97c], 0xffffffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x526214]
call fcn.00438834
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x980], ebx
mov eax, ebx
xor edx, edx
call fcn.0044ae44
mov eax, dword [ebp - 4]
mov byte [eax + 0xa24], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xa28], 0xfffffb2e
mov eax, dword [ebp - 4]
mov dword [eax + 0xa2c], 0xffffe9d2
mov eax, dword [ebp - 4]
mov byte [eax + 0xa7c], 0
mov dl, 1
mov eax, dword [0x41b678]
call fcn.00403cf4
mov edx, dword [ebp - 4]
mov dword [edx + 0xa30], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x526058]
call fcn.00526428
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x984], ebx
mov eax, ebx
xor edx, edx
call fcn.0044ae44
mov ecx, esi
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005b15a4
mov eax, dword [ebp - 4]
mov byte [eax + 0x5e8], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x668], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x9ec], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6d0], edx
mov dword [eax + 0x6d4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6e0], edx
mov dword [eax + 0x6e4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6e8], edx
mov dword [eax + 0x6ec], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x6d8], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x99d], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x994], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x998], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x750], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x99c], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x98c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x990], edx
xor eax, eax
call fcn.00402a68
mov edx, dword [ebp - 4]
mov dword [edx + 0x970], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x974], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x678], edx
mov dword [eax + 0x67c], 0x3ff00000
mov eax, dword [ebp - 4]
mov dx, word [0x5c97f0]
mov word [eax + 0x674], dx
mov eax, dword [ebp - 4]
mov byte [eax + 0x680], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x69c], 2
mov eax, dword [ebp - 4]
mov dword [eax + 0x698], 0xf
mov eax, dword [ebp - 4]
mov byte [eax + 0x6a0], 1
push 0
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041c264
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x6ac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x680]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x690]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x688]
mov eax, dword [ebp - 4]
call fcn.005cba18
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x778]
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0x3f
mov dword [ebx + 0xc], 0x3f
xor eax, eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], 0x54442d18
mov dword [ebx + 0x54], 0x401921fb
mov dword [ebx + 0x2c], 0xffffff
mov byte [ebx + 0x30], 0
mov dword [ebx + 0x34], 1
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0xffffff
mov byte [ebx + 0x40], 1
mov byte [ebx + 0x41], 0
mov dword [ebx + 0x24], 0xffffff
mov byte [ebx + 0x28], 0
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov dword [ebx + 0x1c], 0xa
mov dword [ebx + 0x20], 0x14
mov byte [ebx + 0x29], 1
mov dword [ebx + 0x58], 0xffffffff
push 0x40
push 0x40
mov ecx, 0x7f01
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.005cd0c0
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0xc]
mov edx, 0x5c97fc
call fcn.00429738
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax + 0xc]
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.005cc9e4
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x94], eax
xor eax, eax
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x9c], eax
xor eax, eax
mov dword [ebx + 0xa0], eax
xor eax, eax
mov dword [ebx + 0xa4], eax
xor eax, eax
mov dword [ebx + 0xa8], eax
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x69], 0
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], 0xffffff
mov byte [ebx + 0x88], 0
xor eax, eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x74], 0xfffffff6
mov byte [ebx + 0x6a], 1
mov byte [ebx + 0x5c], 0
mov al, byte [0x5c9804]
mov byte [ebx + 0xac], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x680]
mov byte [ebx + 0xad], al
mov byte [ebx + 0xae], 2
xor eax, eax
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0xb8], eax
xor eax, eax
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0xc0], eax
xor eax, eax
mov dword [ebx + 0xc4], eax
mov byte [ebx + 0xc8], 0
xor eax, eax
mov dword [ebx + 0xcc], eax
xor eax, eax
mov dword [ebx + 0xd0], eax
lea ecx, [ebp - 0x20]
xor edx, edx
xor eax, eax
call fcn.0041c23c
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xd8], eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, 0x32
call fcn.0041c23c
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xd8], eax
lea ecx, [ebp - 0x20]
mov edx, 0x32
mov eax, 0x32
call fcn.0041c23c
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0x14], 0xff
mov dl, 1
mov eax, dword [0x5b0394]
call fcn.00403cf4
mov esi, eax
mov dword [ebx + 0x110], esi
mov eax, esi
mov byte [eax + 4], 0
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0x40080000
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 0x64
xor eax, eax
mov dword [ebx + 0x114], eax
xor eax, eax
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
xor eax, eax
mov dword [ebx + 0x120], eax
mov dword [ebx + 0x124], 0x40518000
xor eax, eax
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x12c], 0x40540000
xor eax, eax
mov dword [ebx + 0x130], eax
mov dword [ebx + 0x134], 0x40570000
mov byte [ebx + 0x138], 0
mov byte [ebx + 0x139], 1
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], 0x40340000
xor eax, eax
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x154], 0x403e0000
mov byte [ebx + 0x158], 0
xor eax, eax
mov dword [ebx + 0x15c], eax
xor eax, eax
mov dword [ebx + 0x160], eax
mov byte [ebx + 0x164], 0
xor eax, eax
mov dword [ebx + 0x168], eax
xor eax, eax
mov dword [ebx + 0x16c], eax
mov byte [ebx + 0x170], 0
mov byte [ebx + 0x171], 0
mov byte [ebx + 0x172], 0
mov byte [ebx + 0x173], 0
xor eax, eax
mov dword [ebx + 0x174], eax
xor eax, eax
mov dword [ebx + 0x178], eax
mov dword [ebx + 0x17c], 1
mov dword [ebx + 0x180], 0xffffff
mov byte [ebx + 0x184], 0
mov byte [ebx + 0x185], 0
xor eax, eax
mov dword [ebx + 0x188], eax
mov byte [ebx + 0x18c], 0
xor eax, eax
mov dword [ebx + 0x190], eax
mov byte [ebx + 0x194], 0
mov byte [ebx + 0x195], 0
mov byte [ebx + 0x196], 0
mov byte [ebx + 0x197], 0
xor eax, eax
mov dword [ebx + 0x198], eax
mov byte [ebx + 0x19c], 0
mov byte [ebx + 0x19d], 0
xor eax, eax
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x1a4], 0xffffff
mov byte [ebx + 0x1a8], 0
mov dword [ebx + 0x1ac], 5
mov dword [ebx + 0x1b0], 0xffffffe5
xor eax, eax
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1b8], 1
xor eax, eax
mov dword [ebx + 0x1bc], eax
xor eax, eax
mov dword [ebx + 0x1c0], eax
xor eax, eax
mov dword [ebx + 0x1c4], eax
push 0
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041c264
lea esi, [ebp - 0x18]
lea edi, [ebx + 0x1c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebx + 0x1d8], eax
mov eax, dword [0x6713d8]
mov eax, dword [eax]
mov dword [ebx + 0x1f0], eax
mov byte [ebx + 0x1dc], 0
mov dword [ebx + 0x1e0], 1
mov byte [ebx + 0x1e4], 0
xor eax, eax
mov dword [ebx + 0x1e8], eax
mov byte [ebx + 0x1ec], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x759], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x978], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c0], edx
mov dword [eax + 0x6c4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c8], edx
mov dword [eax + 0x6cc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6f0], edx
mov dword [eax + 0x6f4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9a0], edx
mov dword [eax + 0x9a4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9a8], edx
mov dword [eax + 0x9ac], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x9b0], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa3c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6f8], 0xffffffff
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9b8], edx
mov dword [eax + 0x9bc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9c0], edx
mov dword [eax + 0x9c4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9c8], edx
mov dword [eax + 0x9cc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9d0], edx
mov dword [eax + 0x9d4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9d8], edx
mov dword [eax + 0x9dc], edx
mov dl, 1
mov eax, dword [0x428564]
call fcn.0042e6ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x704], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x708], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x710], edx
mov dl, 1
mov eax, dword [0x427c28]
call fcn.0042933c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x71c], ebx
mov eax, ebx
xor edx, edx
call fcn.00429510
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x71c]
mov dl, byte [0x5c9808]
call fcn.004297dc
mov dl, 1
mov eax, dword [0x427ea4]
call fcn.00429b34
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x720], ebx
mov eax, ebx
mov edx, 0x60ffff
call fcn.00429cdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x720]
xor edx, edx
call fcn.00429df8
mov eax, dword [ebp - 4]
mov dword [eax + 0x728], 0x808080
mov eax, dword [ebp - 4]
mov dword [eax + 0x724], 0xffffff
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x714], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x718], edx
fld dword [0x5c980c]
mov eax, dword [ebp - 4]
fmul qword [eax + 0x5e0]
call fcn.00402f78
mov edx, dword [ebp - 4]
mov dword [edx + 0x72c], eax
fld dword [0x5c9810]
mov eax, dword [ebp - 4]
fmul qword [eax + 0x5e0]
call fcn.00402f78
mov edx, dword [ebp - 4]
mov dword [edx + 0x4f8], eax
mov dl, 1
mov eax, dword [0x427da4]
call fcn.00429868
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x730], ebx
mov eax, ebx
xor edx, edx
call fcn.004299fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x730]
xor edx, edx
call fcn.00429ad8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x730]
mov dl, 4
call fcn.00429abc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x730]
mov edx, 1
call fcn.00429b08
mov dl, 1
mov eax, dword [0x427ea4]
call fcn.00429b34
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x734], ebx
mov eax, ebx
xor edx, edx
call fcn.00429cdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x734]
xor edx, edx
call fcn.00429df8
mov dl, 1
mov eax, dword [0x41b014]
call fcn.00403cf4
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xa10], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x738], edx
mov eax, dword [ebp - 4]
add eax, 0x73c
call fcn.00404b30
mov eax, dword [ebp - 4]
mov byte [eax + 0x740], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x758], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xa14], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x988], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x744], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x748], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x74c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x74d], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa40], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x9ed], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9e0], edx
mov dword [eax + 0x9e4], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x74e], 0
lea ecx, [ebp - 0x20]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041c23c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xa15], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xa19], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9f0], edx
mov dword [eax + 0x9f4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9f8], edx
mov dword [eax + 0x9fc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa00], edx
mov dword [eax + 0xa04], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0xa08], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa09], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa0a], 1
mov dl, 1
mov eax, dword [0x41b678]
call fcn.00403cf4
mov edx, dword [ebp - 4]
mov dword [edx + 0xa20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c97cb
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x5c97e3
call fcn.004040e0
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret