Function at 0x100b173
Capabilities:
Get system information on windows

Disassembly:
push 0x34
push 0x10033d8
call fcn.010098c4
xor edi, edi
cmp dword [0x100e4e0], edi
jne 0x100b1bc
push edi
push edi
xor esi, esi
inc esi
push esi
push 0x10033c4
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
je 0x100b1a7
mov dword [0x100e4e0], esi
jmp 0x100b1bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100b1bc
mov dword [0x100e4e0], 2
cmp dword [ebp + 0x14], edi
jle 0x100b1dd
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
dec ecx
cmp byte [eax], 0
je 0x100b1d5
inc eax
cmp ecx, edi
jne 0x100b1c7
or ecx, 0xffffffff
or eax, 0xffffffff
sub eax, ecx
add dword [ebp + 0x14], eax
mov eax, dword [0x100e4e0]
cmp eax, 2
je 0x100b3c9
cmp eax, edi
je 0x100b3c9
cmp eax, 1
jne 0x100b3fc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
cmp dword [ebp + 0x20], edi
jne 0x100b212
mov eax, dword [0x100e4d8]
mov dword [ebp + 0x20], eax
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
xor eax, eax
cmp dword [ebp + 0x24], edi
setne al
lea eax, [eax*8 + 1]
push eax
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp esi, ebx
je 0x100b3fc
mov dword [ebp - 4], 1
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.01009a20
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
jmp 0x100b281
cmp dword [ebp - 0x1c], ebx
jne 0x100b2a2
lea eax, [esi + esi]
push eax
call fcn.0100a3cc
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x100b3fc
mov dword [ebp - 0x38], 1
push esi
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x100b3a6
push ebx
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, ebx
je 0x100b3a6
test byte [ebp + 0xd], 4
je 0x100b311
cmp dword [ebp + 0x1c], ebx
je 0x100b3a6
cmp edi, dword [ebp + 0x1c]
jg 0x100b3a6
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
jmp 0x100b3a6
mov dword [ebp - 4], 2
lea eax, [edi + edi]
add eax, 3
and eax, 0xfffffffc
call fcn.01009a20
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
jmp 0x100b350
cmp dword [ebp - 0x20], ebx
jne 0x100b36d
lea eax, [edi + edi]
push eax
call fcn.0100a3cc
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x100b3a6
mov dword [ebp - 0x34], 1
push edi
push dword [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
je 0x100b3a6
push ebx
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x100b390
push ebx
push ebx
jmp 0x100b396
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push dword [ebp - 0x20]
push ebx
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [ebp - 0x34], ebx
je 0x100b3b4
push dword [ebp - 0x20]
call fcn.0100a307
pop ecx
cmp dword [ebp - 0x38], ebx
je 0x100b3c2
push dword [ebp - 0x1c]
call fcn.0100a307
pop ecx
mov eax, edi
jmp 0x100b531
mov dword [ebp - 0x28], edi
xor ebx, ebx
mov dword [ebp - 0x3c], edi
cmp dword [ebp + 8], edi
jne 0x100b3de
mov eax, dword [0x100e4c8]
mov dword [ebp + 8], eax
cmp dword [ebp + 0x20], edi
jne 0x100b3eb
mov eax, dword [0x100e4d8]
mov dword [ebp + 0x20], eax
push dword [ebp + 8]
call fcn.0100b8aa
pop ecx
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
jne 0x100b403
xor eax, eax
jmp 0x100b531
cmp eax, dword [ebp + 0x20]
je 0x100b506
push edi
push edi
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp + 0x20]
call fcn.0100b8f4
add esp, 0x18
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x100b3fc
push edi
push edi
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100b4d2
and dword [ebp - 4], 0
add eax, 3
and eax, 0xfffffffc
call fcn.01009a20
mov dword [ebp - 0x18], esp
mov ebx, esp
mov dword [ebp - 0x44], ebx
mov ecx, esi
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100b482
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x100b4b5
push dword [ebp - 0x24]
call fcn.0100a3cc
pop ecx
mov ebx, eax
test ebx, ebx
je 0x100b4d2
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp - 0x3c], 1
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x28]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x100b4d6
xor esi, esi
jmp 0x100b4f7
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x20]
push dword [ebp - 0x40]
call fcn.0100b8f4
add esp, 0x18
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 0x3c], 0
je 0x100b520
push ebx
call fcn.0100a307
pop ecx
jmp 0x100b520
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
mov esi, eax
cmp dword [ebp - 0x28], 0
je 0x100b52f
push dword [ebp - 0x28]
call fcn.0100a307
pop ecx
mov eax, esi
lea esp, [ebp - 0x50]
call fcn.010098ff
ret