Function at 0x180020860
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800548e0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, qword [0x180059d60]
add rbx, 0x128
lea r8, str.WinID
lea rdx, str.DeskbandINIInfo
mov rcx, rbx
call fcn.18000b0c0
test rax, rax
je 0x180020913
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.1800085e0
mov rdx, qword [rax]
mov qword [rsp + 0x20], rdx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x28], rcx
mov eax, edx
mov dword [0x180059d74], edx
mov eax, dword [rsp + 0x24]
mov dword [0x180059d78], eax
mov eax, ecx
mov dword [0x180059d7c], ecx
mov eax, dword [rsp + 0x2c]
mov dword [0x180059d80], eax
mov qword [0x180056100], rdx
mov qword [0x180056108], rcx
lea r8, str.AppName
lea rdx, str.DeskbandINIInfo
mov rcx, rbx
call fcn.18000b0c0
mov rdi, rax
mov rcx, rax
call fcn.180020510
mov rcx, rdi
call fcn.180020620
cmp qword [0x180059da8], 0
jne 0x18002097f
mov ecx, reloc.WS2_32.dll_inet_ntoa
call fcn.1800212a0
mov qword [0x180059da8], rax
xor ecx, ecx
mov qword [rax], rcx
mov dword [rax + 8], ecx
lea rcx, str.QWallpaperB
mov rdx, qword [0x180059da8]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x180020970
lea r8, str.AppParam
lea rdx, str.DeskbandINIInfo
mov rcx, rbx
call fcn.18000b0c0
mov rdi, rax
mov rcx, rax
call fcn.180020740
test rdi, rdi
jne 0x1800209b1
lea rcx, str.deskactive
call fcn.180020740
lea r8, str.RegName
lea rdx, str.DeskbandINIInfo
mov rcx, rbx
call fcn.18000b0c0
mov rbx, rax
mov rcx, rax
call fcn.1800206b0
mov rcx, rbx
call fcn.180020400
mov rcx, rbx
call fcn.1800202e0
lea rsi, [0x1800453d8]
cmp qword [0x180059db8], 0
jne 0x180020a2f
mov ecx, inet_ntoa
call fcn.1800212a0
mov qword [0x180059db8], rax
xor ecx, ecx
mov qword [rax], rcx
mov word [rax + 8], cx
mov byte [rax + 0xa], cl
mov rcx, rsi
mov rdx, qword [0x180059db8]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x180020a20
mov qword [rbp + 0x20], recv
xor r13d, r13d
mov qword [rbp + 0x18], r13
mov byte [rbp + 8], r13b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp + 8]
call fcn.180003360
nop
lea r8d, [r13 + 4]
lea rdx, str..cfg
lea rcx, [rbp + 8]
call fcn.180006870
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rcx, qword [rbp + 8]
call fcn.1800207d0
cmp qword [0x180059dc0], r13
jne 0x180020a9d
lea rcx, str.QWallpaper.cfg
call fcn.1800207d0
lea rax, vtable.CIniFile.0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x50], recv
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x38], 0
lea rcx, [rbp + 0x60]
call fcn.18000dae0
nop
mov qword [rbp + 0x98], recv
mov qword [rbp + 0x90], r13
mov byte [rbp + 0x80], 0
mov qword [rbp + 0xc0], recv
mov qword [rbp + 0xb8], r13
mov byte [rbp + 0xa8], 0
xor r8d, r8d
lea rdx, [0x180045347]
lea rcx, [rbp + 0x80]
call fcn.180003360
nop
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rsp + 0x78], r13
lea rax, [rbp - 0x38]
test rax, rax
je 0x180020b8d
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x38]
test rax, rax
je 0x180020b87
call rax
jmp 0x180020b8d
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rbp - 0x38]
cmp ax, 9
je 0x180020ba4
cmp ax, 6
lea rax, [0x180047ef0]
jne 0x180020bab
lea rax, [0x180047eec]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.180007630
nop
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x180020bd2
lea rcx, [rsp + 0x30]
call fcn.180007c30
mov rbx, rax
mov ecx, 0x400
call fcn.1800212a0
mov r12, rax
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.180028cc0
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x180020c00
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x1800477a0]
mov word [rdi - 1], ax
mov rax, qword [0x180059db8]
test rax, rax
cmovne rsi, rax
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [rsi + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x180020c40
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x1800477a0]
mov word [rdi - 1], ax
mov rdi, r12
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.SoftInfoConfig.cfg]
mov qword [rdi - 1], rax
mov rax, qword [0x180048e48]
mov qword [rdi + 7], rax
movzx eax, word [0x180048e50]
mov word [rdi + 0xf], ax
movzx eax, byte [0x180048e52]
mov byte [rdi + 0x11], al
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rbp + 0x80]
call fcn.180003360
lea rcx, [rbp + 0x30]
call fcn.18000a0f0
mov rbx, qword [0x180059c20]
test rbx, rbx
jne 0x180020cfc
mov ecx, 0x210
call fcn.180022378
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180020cf2
mov rcx, rax
call fcn.180010890
mov rbx, rax
jmp 0x180020cf5
mov rbx, r13
mov qword [0x180059c20], rbx
lea r8, str.soft_id
lea rdx, str.config
lea rcx, [rbp + 0x30]
call fcn.18000b0c0
mov rdx, rax
test rax, rax
je 0x180020d39
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0xc0]
call fcn.180003360
mov rbx, qword [0x180059c20]
test rbx, rbx
jne 0x180020d70
mov ecx, 0x210
call fcn.180022378
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180020d66
mov rcx, rax
call fcn.180010890
mov rbx, rax
jmp 0x180020d69
mov rbx, r13
mov qword [0x180059c20], rbx
lea r8, str.channel_id
lea rdx, str.config
lea rcx, [rbp + 0x30]
call fcn.18000b0c0
mov rdx, rax
test rax, rax
je 0x180020dad
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0xe8]
call fcn.180003360
mov rbx, qword [0x180059c20]
test rbx, rbx
jne 0x180020de4
mov ecx, 0x210
call fcn.180022378
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180020dda
mov rcx, rax
call fcn.180010890
mov rbx, rax
jmp 0x180020ddd
mov rbx, r13
mov qword [0x180059c20], rbx
lea r8, str.tj_addr
lea rdx, str.config
lea rcx, [rbp + 0x30]
call fcn.18000b0c0
mov rdx, rax
test rax, rax
je 0x180020e21
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x138]
call fcn.180003360
mov rbx, qword [0x180059c20]
test rbx, rbx
jne 0x180020e58
mov ecx, 0x210
call fcn.180022378
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180020e4e
mov rcx, rax
call fcn.180010890
mov rbx, rax
jmp 0x180020e51
mov rbx, r13
mov qword [0x180059c20], rbx
lea r8, str.version
lea rdx, str.config
lea rcx, [rbp + 0x30]
call fcn.18000b0c0
mov rdx, rax
test rax, rax
je 0x180020e95
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x160]
call fcn.180003360
mov rbx, qword [0x180059c20]
test rbx, rbx
jne 0x180020ecc
mov ecx, 0x210
call fcn.180022378
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180020ec2
mov rcx, rax
call fcn.180010890
mov rbx, rax
jmp 0x180020ec5
mov rbx, r13
mov qword [0x180059c20], rbx
lea r8, str.tj_domain
lea rdx, str.config
lea rcx, [rbp + 0x30]
call fcn.18000b0c0
mov rdx, rax
test rax, rax
je 0x180020f0a
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x110]
call fcn.180003360
nop
lea rcx, [rsp + 0x30]
call fcn.180007f40
nop
lea rcx, [rbp + 0x30]
call fcn.180009060
nop
cmp qword [rbp + 0x20], 0x10
jb 0x180020f2f
mov rcx, qword [rbp + 8]
call fcn.18002228c
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1800221a0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret