Function at 0x10001f50
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100580d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x100d9140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x70], eax
mov esi, dword [ebx + 8]
lea edi, [eax + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x4c], esi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x74], edx
cmp eax, edx
je 0x1000210b
mov esi, dword [ebx + 0x10]
nop
mov eax, dword [eax]
cmp dword [eax + 4], esi
jb 0x100020f4
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100020f4
nop dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edi
cmp eax, esi
jb 0x100020e1
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], edi
cmp eax, dword [ecx + 4]
je 0x10002026
mov esi, dword [eax]
mov ecx, edi
sub ecx, esi
mov edx, esi
sub edx, edi
cmp edi, esi
cmovbe ecx, edx
cmp ecx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x6c]
ja 0x100020de
add eax, 4
cmp eax, dword [ecx + 4]
jne 0x10002000
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x68]
lea eax, [edi + esi]
push dword [ebp - 0x70]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.10004540
test al, al
je 0x100022c8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x54]
mov ecx, esi
push eax
mov dword [ebp - 0x5c], edi
call fcn.10001760
mov byte [esi + 0x10], 1
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10002168
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10002168
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x10002168
push edx
push eax
call fcn.10001dc0
mov ecx, dword [ebp - 0x60]
xor edi, edi
test ecx, ecx
je 0x1000216b
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1000216b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x60]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x1000216b
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000216b
mov esi, dword [ebx + 0x10]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x10001fe0
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x50], eax
cmp eax, edx
jne 0x10001fc0
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x48]
push eax
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebx + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2c]
dec ecx
push dword [ebx + 0x14]
mov edx, dword [ebp - 0x6c]
add ecx, eax
dec eax
movlpd qword [ebp - 0x20], xmm0
not eax
and ecx, eax
mov dword [ebp - 0x50], ecx
push ecx
lea ecx, [ebp - 0x20]
call fcn.100022e0
add esp, 8
cmp byte [ebp - 0x1c], 0
jne 0x10002178
mov cl, byte [ebp - 0x20]
mov eax, esi
mov byte [esi], cl
mov byte [esi + 0x10], 0
jmp 0x100022a8
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x100022a5
jmp 0x10002287
push 0xc
call fcn.1003509d
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x100021ae
mov dword [ecx], eax
mov esi, dword [edi + 4]
lea eax, [esi + 4]
mov dword [edi + 4], eax
jmp 0x100021bc
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, edi
call fcn.10004700
mov esi, eax
mov ecx, dword [esi]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
push 0xc
mov dword [ecx], edi
mov ecx, dword [esi]
mov dword [ecx + 4], eax
call fcn.1003509d
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x4c], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x1000220c
mov ecx, edx
call fcn.100043d0
push 0xc
push dword [ebp - 0x4c]
call fcn.100353ec
add esp, 8
mov eax, dword [esi]
mov ecx, dword [ebx + 0x10]
push dword [ebp - 0x70]
add ecx, edi
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], 0
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [ebp - 0x50]
add ecx, edi
mov eax, dword [eax + 8]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x20]
call fcn.10004540
test al, al
je 0x100022c8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x54]
mov ecx, edi
push eax
call fcn.10001760
mov byte [edi + 0x10], 1
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.100018e0
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x100022a5
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100022a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100022a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034fda
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.10001550
int3