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

Disassembly:
push 0xffffffffffffffff
push 0x62fb03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], 0
lea ebx, [edi + 0x20]
push ecx
sub esp, 0x10
mov edx, ebx
mov ecx, esp
mov eax, dword [esi]
mov ebp, dword [edx]
mov dword [esp + 0x4c], 0
mov dword [ecx], ebp
mov dword [esp + 0x48], 0
mov ebp, dword [edx + 4]
mov dword [esp + 0x44], 0
mov dword [ecx + 4], ebp
mov ebp, dword [edx + 8]
mov dword [ecx + 8], ebp
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x24]
push edx
mov edx, dword [ebx]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [edi + 0x28]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x14]
fld dword [esp + 0x70]
fsub dword [esp + 0x10]
fabs
fcomp qword [0x635df8]
fnstsw ax
test ah, 1
jne 0x5c169b
fld dword [esp + 0x14]
fsub dword [esp + 0x18]
fabs
fcomp qword [0x635df8]
fnstsw ax
test ah, 1
jne 0x5c169b
push 0x50
call fcn.00486570
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x68], edi
je 0x5c13c6
mov ecx, eax
call fcn.0057faa0
mov edi, eax
mov eax, dword [esi]
mov ebx, dword [edi]
mov ecx, esi
mov dword [esp + 0x68], 0xffffffff
call dword [eax + 0x30]
push eax
mov ecx, edi
call dword [ebx + 0x74]
mov eax, dword [edi + 4]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0x6e4e24
push 0x6e7814
mov ebx, eax
mov ebp, 0xff
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c1414
push 0x6e7814
call fcn.00556270
add esp, 4
mov ebp, eax
push ebp
mov ecx, edi
call fcn.00555550
push 0x6e4e2c
push 0x6e7814
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c1447
push 0x6e7814
call fcn.00556340
add esp, 4
mov ecx, edi
push eax
call fcn.00555710
push 0x6e4dc8
push 0x6e7814
mov ebp, 1
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c1471
push 0x6e7814
call fcn.00555ce0
add esp, 4
mov ebp, eax
push ebp
mov ecx, edi
call fcn.00553ef0
push 0x6e4f40
push 0x6e7814
mov ebp, 0x64
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c14a3
push 0x6e7814
call fcn.00562fc0
add esp, 4
mov ebp, eax
push ebp
mov ecx, edi
call fcn.00562270
push 0x6e4dd4
push 0x6e7814
xor ebp, ebp
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c14d2
push 0x6e7814
call fcn.00555de0
add esp, 4
mov ebp, eax
push ebp
mov ecx, edi
call fcn.00554820
cmp ebp, 1
jne 0x5c1567
lea ecx, [esp + 0x40]
call fcn.0055c530
push ebp
mov dword [esp + 0x6c], ebp
call fcn.00540460
add esp, 4
lea ecx, [esp + 0x40]
push eax
call fcn.0055c6a0
push 0x6e4dd4
push 0x6e7814
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c1548
lea eax, [esp + 0x20]
push 0x6e7814
push eax
call fcn.00555ff0
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.0055c6a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.0055c5a0
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.00554440
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0xffffffff
call fcn.0055c5a0
jmp 0x5c15ad
cmp ebp, 5
jne 0x5c15ad
push 0x6e4e14
push 0x6e7814
xor ebp, ebp
call fcn.00555c40
add esp, 8
test eax, eax
je 0x5c15a5
push 0x6e7814
call fcn.005561d0
mov ebp, eax
add esp, 4
test ebp, ebp
jge 0x5c159b
xor ebp, ebp
jmp 0x5c15a5
cmp ebp, 2
jle 0x5c15a5
mov ebp, 2
push ebp
mov ecx, edi
call fcn.005548f0
push 4
mov ecx, edi
call fcn.00553aa0
lea edx, [esp + 0x30]
mov ecx, edi
push edx
call fcn.005807c0
test edi, edi
je 0x5c15ce
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push ebx
call fcn.0055b6a0
mov edi, eax
add esp, 4
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x4c]
mov edx, dword [edi]
mov ebp, dword [esi]
lea eax, [esp + 0x50]
mov ecx, edi
push eax
lea eax, [esp + 0x44]
push eax
call dword [edx + 0x44]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [ebp + 0x18]
mov ecx, dword [ebx + 0x10]
call fcn.0049cd60
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x60]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, edi
call fcn.005620d0
mov edi, eax
test edi, edi
je 0x5c1686
mov eax, dword [edi + 4]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x4c]
test eax, eax
jne 0x5c1657
mov edi, dword [edi + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x38]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
call fcn.00540a70
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 3
call fcn.005457e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 0xffffffff
call fcn.00540aa0
push ebx
call fcn.0055b7c0
add esp, 4
test eax, eax
je 0x5c169b
push ebx
mov ecx, eax
call fcn.005895e0
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 4