Function at 0x4da180
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x512e48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x540a54]
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 0x4da1ba
call fcn.004a6300
lea ecx, [ebx + 0x14]
cmp ecx, esi
jne 0x4da1c8
call fcn.004a6300
jmp 0x4da1e4
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 0x4da271
mov ecx, ebx
call fcn.004d8b70
test eax, eax
je 0x4da26f
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.00430cc0
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.00430cc0
mov ebp, dword [esi]
add esp, 0x28
xor esi, esi
jmp 0x4da271
xor edi, edi
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x18], esi
jle 0x4da329
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
jmp 0x4da294
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.004da030
mov ebx, eax
test ebx, ebx
je 0x4da373
test edi, edi
je 0x4da30d
mov esi, dword [edi + 8]
sub esi, dword [edi + 4]
mov eax, ebp
add esi, 1
cmp dword [edi], 0
jne 0x4da2e8
test ebp, ebp
jge 0x4da2da
xor eax, eax
mov esi, eax
jmp 0x4da2f5
cmp ebp, 0x20
jl 0x4da2e4
mov eax, 0x1f
mov esi, eax
jmp 0x4da2f5
call fcn.004de2c6
cdq
idiv esi
mov esi, dword [edi + 4]
add esi, edx
test esi, esi
jl 0x4da30d
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4da30d
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 0x4da290
xor esi, esi
mov dword [esp + 0x54], 0xffffffff
mov edi, dword [esp + 0x1c]
cmp edi, esi
jne 0x4da33e
call fcn.004a6300
cmp dword [esp + 0x24], esi
je 0x4da358
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 0x4da388
call fcn.004a6300
cmp dword [esp + 0x24], 0
je 0x4da3a3
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 0x4da35d