Function at 0x5344f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a28a3
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x5fae30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x365], bl
cmp dword [esi + 0x2c], ebx
jne 0x534557
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x53454d
mov dword [esi + 0x2c], 1
jmp 0x534550
mov dword [esi + 0x2c], eax
mov byte [ebp - 0x365], 1
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053e9b3
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x2c]
xor ecx, ecx
add esp, 4
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053e9b3
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x2c]
add eax, eax
add esp, 4
add eax, eax
push eax
push ebx
push ecx
call fcn.005409b0
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x58]
add edx, edx
add edx, edx
push edx
push ebx
push eax
call fcn.005409b0
add esp, 0x18
lea ecx, [ebp - 0x364]
call fcn.0053a830
mov byte [ebp - 4], 1
mov dword [ebp - 0x36c], 1
xor edi, edi
cmp edi, dword [esi + 0x2c]
jae 0x53470a
push 0x18
call fcn.0053f7d7
mov ecx, dword [esi + 0x58]
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi*4]
xor eax, eax
add esp, 4
mov dword [ecx], eax
push ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push ebx
mov dword [ecx + 0xc], eax
push ebx
mov dword [ecx + 0x10], eax
push ebx
mov dword [ecx + 0x14], eax
call fcn.00530c20
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + edi*4]
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
mov dword [edx], eax
call fcn.00530c20
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + edi*4]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + edi*4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
add esp, 0x10
push 1
push edx
lea ecx, [ebp - 0x364]
call fcn.0053a850
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + edi*4]
mov dword [ecx + 8], esi
mov edx, dword [esi + 0x58]
mov eax, dword [edx + edi*4]
mov ecx, dword [ebp + 8]
push 0xa
mov dword [eax + 0xc], ecx
push str.ThreadPool
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00402a36
mov edx, dword [esi + 0x9c]
push edx
lea eax, [ebp - 0x30]
push eax
push 0x533850
mov byte [ebp - 4], 2
call fcn.00530d10
mov ecx, dword [esi + 0x38]
add esp, 0xc
mov dword [ecx + edi*4], eax
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 1
jb 0x5346bd
mov edx, dword [ebp - 0x30]
push edx
call fcn.0053ed60
add esp, 4
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
push eax
call edx
cmp byte [ebp - 0x365], bl
je 0x5346f0
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x36c]
mov edx, dword [edx + 0x10]
push eax
call edx
shl dword [ebp - 0x36c], 1
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*4]
mov eax, dword [esi + 0x58]
mov edx, dword [ecx]
mov eax, dword [eax + edi*4]
mov edx, dword [edx + 0x24]
push eax
call edx
inc edi
jmp 0x5345d7
mov eax, dword [esi + 0x78]
xor edi, edi
cmp eax, ebx
jne 0x534718
mov eax, 0x2710
mov ecx, dword [esi + 0x2c]
cmp ecx, 0x14
jbe 0x534728
add ecx, 0xffffffec
imul ecx, ecx, 0x64
add eax, ecx
push ebx
push eax
lea eax, [ebp - 0x370]
push eax
push 1
lea ecx, [ebp - 0x364]
call fcn.0053aad0
cmp eax, ebx
je 0x5347d6
push 0x1c
mov edi, 0xf
push str.Timeout_waiting_for_threads_
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00402a36
push 0xc
push str.SpawnThreads
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
call fcn.00402a36
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, esi
mov byte [ebp - 4], 4
call edx
cmp dword [ebp - 0x40], 0x10
jb 0x5347a6
mov eax, dword [ebp - 0x54]
push eax
call fcn.0053ed60
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
jb 0x5347c1
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0053ed60
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov edi, 1
mov byte [esi + 0x9a], 1
xor edx, edx
cmp edi, ebx
sete dl
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], bl
mov esi, edx
call fcn.0053a930
mov eax, esi
jmp 0x5347f9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053fd20
mov esp, ebp
pop ebp
ret 0xc