Function at 0x10115e00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x101b9014]
xor ecx, ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
call fcn.10012050
add esp, 4
mov esi, dword [esp + 0x48]
mov eax, dword [0x102ce7dc]
test eax, eax
je 0x10115e4e
mov ecx, dword [0x102ce7e0]
cmp ecx, esi
jbe 0x10115e8f
jmp 0x1011607f
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [0x102ce7dc], eax
mov dword [0x102ce7e0], ecx
cmp ecx, esi
ja 0x1011607f
cmp eax, esi
jb 0x1011607f
mov dword [esp + 0x60], 0
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x4c]
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x10115eba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x60]
test edi, edi
je 0x1011607f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.10065990
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebx
mov dword [esp + 0x1c], esp
call fcn.10065990
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.10065990
push esi
call ebx
mov ebx, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0x1019c370
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x54]
lea edx, [esp + 0x58]
lea esi, [esp + 0x5c]
lea edi, [esp + 0x48]
mov ecx, edi
push eax
push edx
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.100d8bc6
xor esi, esi
mov dword [esp + 0x14], 0
mov ecx, 0
mov dword [esp + 0x10], 0
test al, al
je 0x101161ba
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], 0
push edi
push dword [esp + 0x58]
push dword [esp + 0x60]
call fcn.10078c10
add esp, 0xc
mov ecx, 0
mov dword [esp + 0x10], 0
test al, al
je 0x1011619f
movzx eax, byte [esp + 0x53]
mov edx, edi
test al, al
jns 0x10115fd4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x30]
mov ecx, edi
push eax
push edx
call fcn.10060680
lea eax, [esp + 0x3c]
mov ecx, edi
mov edi, eax
push eax
call fcn.10061370
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov byte [esp + 0x47], 0
mov word [esp + 0x3c], 0
cmp byte [esp + 0x3b], 0
jns 0x10116026
push dword [esp + 0x30]
call fcn.10145bd4
add esp, 4
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
lea eax, [esp + 0x60]
push eax
push edi
call fcn.1009c100
add esp, 8
movzx edx, byte [esp + 0x47]
mov ecx, dword [esp + 0x3c]
mov eax, edi
test dl, dl
mov dword [esp + 0x10], ecx
cmovs eax, ecx
mov ecx, dword [esp + 0x40]
mov edi, edx
cmovs edi, ecx
lea ebx, [esp + 0x3c]
mov dword [esp + 0xc], ebx
js 0x10116086
mov ecx, edx
lea edx, [esp + 0x3c]
cmp eax, edx
jne 0x10116090
jmp 0x1011608c
xor esi, esi
jmp 0x10116330
cmp dword [esp + 0x10], eax
jne 0x10116090
cmp ecx, edi
je 0x1011609b
lea ecx, [esp + 0x3c]
push edi
push eax
call fcn.10054de8
mov dword [esp + 0x34], 3
mov dword [esp + 0x30], 0x101ae084
sub esp, 0x1c
movq xmm0, qword [esp + 0x4c]
movq qword [esp + 8], xmm0
lea edi, [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
call fcn.100832b0
add esp, 0x1c
push dword [esp + 0x5c]
lea edi, [esp + 0x34]
push edi
call fcn.1012e370
add esp, 8
movzx eax, byte [esp + 0x3b]
test al, al
mov ebx, dword [esp + 0x18]
jns 0x1011610f
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push eax
push edi
call fcn.1005725a
cmp byte [esp + 0x3b], 0
lea edi, [esp + 0x48]
jns 0x10116131
push dword [esp + 0x30]
call fcn.10145bd4
add esp, 4
movzx eax, byte [esp + 0x47]
test al, al
jns 0x10116146
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x30]
push ecx
push eax
push dword [esp + 0x14]
call fcn.10078390
add esp, 0xc
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
cmp byte [esp + 0x47], 0
jns 0x1011619f
push dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
call fcn.10145bd4
mov ecx, dword [esp + 0x10]
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x101161ba
push dword [esp + 0x48]
mov dword [esp + 0x10], ecx
call fcn.10145bd4
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xc
push edi
push ebx
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x10116284
push 0x2c
call fcn.10145ba4
add esp, 4
mov esi, eax
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
call fcn.10065990
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
call fcn.10065990
push edi
mov dword [esp + 0x1c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
mov dword [esi], 0x1019c070
mov dword [esi + 4], 0
call fcn.10065990
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
call fcn.10065990
push edi
call ebx
mov eax, dword [esp + 0x68]
mov dword [esi + 0x10], eax
movq xmm0, qword [esp + 0x60]
movq qword [esi + 8], xmm0
mov eax, dword [esp + 0xc]
test eax, eax
js 0x10116295
mov edi, dword [esp + 0x10]
mov dword [esi + 0x14], edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
jmp 0x101162f4
mov edi, dword [esp + 0x10]
cmp dword [esp + 0xc], 0
jns 0x10116315
jmp 0x1011630c
mov ebx, dword [esp + 0x14]
cmp ebx, 0xa
mov edi, dword [esp + 0x10]
ja 0x101162ae
lea eax, [esi + 0x14]
mov byte [esi + 0x1f], bl
cmp eax, edi
jbe 0x101162e0
jmp 0x101162e8
cmp ebx, 0x7ffffff0
jae 0x1011635f
mov edi, ebx
or edi, 0xf
inc edi
push edi
call fcn.10145ba4
add esp, 4
mov dword [esi + 0x14], eax
or edi, 0x80000000
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], ebx
mov edi, dword [esp + 0x10]
cmp eax, edi
ja 0x101162e8
lea ecx, [eax + ebx]
inc ecx
cmp ecx, edi
ja 0x10116364
inc ebx
push ebx
push edi
push eax
call fcn.10148eb0
add esp, 0xc
mov ecx, esi
add ecx, 0x20
lea eax, [esp + 0x20]
push eax
call fcn.1005b2a0
xor ebx, ebx
cmp dword [esp + 0xc], 0
jns 0x10116315
push edi
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0x2b], 0
js 0x1011634d
test ebx, ebx
je 0x1011632c
call fcn.10065990
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
mov dword [edi], esi
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x20]
call fcn.10145bd4
add esp, 4
test ebx, ebx
jne 0x10116320
jmp 0x1011632c
call fcn.1015b4f0
int3