Function at 0x17ad330
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x17f5448
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1845170]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
xor esi, esi
cmp dword [esp + 0x64], esi
jne 0x17ad36a
call fcn.0176dcc0
lea ecx, [ebx + 0x14]
cmp ecx, esi
jne 0x17ad378
call fcn.0176dcc0
jmp 0x17ad394
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], esi
call eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], esi
mov edi, dword [esp + 0x6c]
or ebp, 0xffffffff
cmp edi, esi
je 0x17ad421
mov ecx, ebx
call fcn.017abd20
test eax, eax
je 0x17ad41f
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x3c]
push 0x59
push str.._thread_threadmanager.cpp
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
push ecx
add edx, ebp
lea esi, [edi + 4]
push esi
mov dword [esp + 0x80], edx
call fcn.0172d0c0
mov edx, dword [esp + 0x50]
push 0x5a
push str.._thread_threadmanager.cpp
add edx, ebp
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x8c], edx
push ecx
lea edx, [edi + 8]
push edx
mov dword [esp + 0x40], 0
call fcn.0172d0c0
mov ebp, dword [esi]
add esp, 0x28
xor esi, esi
jmp 0x17ad421
xor edi, edi
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x18], esi
jle 0x17ad4d9
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
jmp 0x17ad444
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
neg eax
push ecx
sbb eax, eax
and eax, dword [esp + 0x70]
push edx
push eax
mov ecx, ebx
call fcn.017ad1e0
mov ebx, eax
test ebx, ebx
je 0x17ad523
test edi, edi
je 0x17ad4bd
mov esi, dword [edi + 8]
sub esi, dword [edi + 4]
mov eax, ebp
add esi, 1
cmp dword [edi], 0
jne 0x17ad498
test ebp, ebp
jge 0x17ad48a
xor eax, eax
mov esi, eax
jmp 0x17ad4a5
cmp ebp, 0x20
jl 0x17ad494
mov eax, 0x1f
mov esi, eax
jmp 0x17ad4a5
call fcn.017b2268
cdq
idiv esi
mov esi, dword [edi + 4]
add esi, edx
test esi, esi
jl 0x17ad4bd
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x17ad4bd
mov ecx, dword [ebx + 0x14]
push esi
push ecx
call eax
mov ebp, esi
mov eax, dword [esp + 0x18]
add dword [esp + 0x6c], 4
add eax, 1
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
jl 0x17ad440
xor esi, esi
mov dword [esp + 0x54], 0xffffffff
mov edi, dword [esp + 0x1c]
cmp edi, esi
jne 0x17ad4ee
call fcn.0176dcc0
cmp dword [esp + 0x24], esi
je 0x17ad508
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x14
mov dword [esp + 0x54], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x17ad538
call fcn.0176dcc0
cmp dword [esp + 0x24], 0
je 0x17ad553
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x17ad50d