Function at 0x4193f0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ac1b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489e34]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x1c]
xor ebp, ebp
cmp ecx, ebp
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
je 0x419455
cmp dword [ecx - 4], ebp
lea eax, [ecx - 4]
je 0x419449
mov edx, dword [ecx]
mov eax, dword [edx]
push 3
call eax
jmp 0x419452
push eax
call fcn.004476a7
add esp, 4
mov dword [esi + 0x1c], ebp
mov edi, dword [esi + 0xc]
xor ecx, ecx
mov eax, edi
mov edx, 0x25c
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00447677
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x54], ebp
je 0x4194aa
push fcn.00419a20
push 0x41aa30
push edi
lea ebx, [eax + 4]
push 0x25c
push ebx
mov dword [eax], edi
call fcn.00457ed4
mov eax, ebx
jmp 0x4194ac
xor eax, eax
cmp dword [esi + 0xc], 2
mov dword [esp + 0x54], 0xffffffff
mov dword [esi + 0x1c], eax
jl 0x419690
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
mov ebp, eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
xor edi, edi
cmp dword [esi + 0xc], edi
jle 0x419536
xor ebx, ebx
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, esi
push eax
call fcn.00419390
test eax, eax
je 0x419521
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x1c]
mov dword [ebx + ecx + 0x1a4], edi
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
mov dword [ebx + edx + 0x254], eax
mov ecx, dword [esi + 0x1c]
add ecx, ebx
call fcn.0041ace0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
add ebx, 0x25c
cmp edi, dword [esi + 0xc]
jl 0x4194e3
mov ecx, dword [esi + 0x1c]
call fcn.0041bcd0
mov edx, 1
cmp dword [esi + 0xc], edx
jle 0x41959a
mov eax, 0x25c
lea ecx, [ecx]
mov ecx, dword [esi + 0x1c]
fld dword [ecx + 0x1dc]
add edx, 1
fstp dword [eax + ecx + 0x1dc]
mov ecx, dword [esi + 0x1c]
fld dword [ecx + 0x1d0]
add eax, 0x25c
fstp dword [eax + ecx - 0x8c]
mov ecx, dword [esi + 0x1c]
fld dword [ecx + 0x1c4]
fstp dword [eax + ecx - 0x98]
mov ecx, dword [esi + 0x1c]
mov edi, dword [ecx + 0x1e4]
mov dword [eax + ecx - 0x78], edi
cmp edx, dword [esi + 0xc]
jl 0x419550
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [esp + 0x1c], eax
jle 0x41966b
mov dword [esp + 0x18], eax
lea ecx, [ecx]
mov edi, dword [esi + 0x1c]
add edi, dword [esp + 0x18]
mov eax, dword [edi + 0x1b0]
cmp eax, 1
jle 0x41964f
or bl, 0xff
mov edx, 1
xor cl, cl
cmp eax, edx
mov byte [esp + 0x17], bl
jle 0x4195ef
mov ebp, eax
lea ebx, [ebx]
add edx, edx
add bl, bl
add cl, 1
cmp edx, ebp
jl 0x4195e0
mov byte [esp + 0x17], bl
mov ebp, dword [edi + 0x1a0]
mov edx, ebp
sar edx, cl
or bl, 0xff
xor cl, cl
mov dword [edi + 0x1b4], edx
cdq
idiv dword [edi + 0x1c0]
mov edx, 1
cmp eax, edx
jle 0x41961f
add edx, edx
add bl, bl
add cl, 1
cmp edx, eax
jl 0x419614
mov eax, ebp
sar eax, cl
movzx ecx, byte [esp + 0x17]
not ecx
and eax, ecx
mov dword [edi + 0x1b8], eax
movzx eax, bl
not eax
and eax, ebp
mov dword [edi + 0x1bc], eax
je 0x41964f
mov dword [edi + 0x1ac], 1
add dword [esi + 0x10], 0xffffffff
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0x25c
add eax, 1
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
jl 0x4195b0
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00419390
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
mov dword [eax + 0x1a4], ebp
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x254], ecx
mov ecx, dword [esi + 0x1c]
call fcn.0041ace0
mov ecx, dword [esi + 0x1c]
call fcn.0041bcd0
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 0x1b0]
cmp eax, 1
jle 0x419677
mov edx, 1
xor cl, cl
cmp eax, edx
jle 0x4196d9
mov ebx, eax
lea ecx, [ecx]
add edx, edx
add cl, 1
cmp edx, ebx
jl 0x4196d0
mov ebp, dword [edi + 0x1a0]
mov edx, ebp
sar edx, cl
or bl, 0xff
xor cl, cl
mov dword [edi + 0x1b4], edx
cdq
idiv dword [edi + 0x1c0]
mov edx, 1
cmp eax, edx
jle 0x41970b
mov edi, edi
add edx, edx
add bl, bl
add cl, 1
cmp edx, eax
jl 0x419700
mov eax, ebp
sar eax, cl
mov dword [edi + 0x1b8], eax
movzx eax, bl
not eax
and eax, ebp
mov dword [edi + 0x1bc], eax
mov eax, 1
je 0x41967c
mov dword [edi + 0x1ac], eax
add dword [esi + 0x10], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret