Function at 0x401898
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0xcc
mov eax, 0x424495
call fcn.00416b41
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
call fcn.004034b6
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.00401368
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00402cc8
call fcn.0040173d
mov ebx, dword [ebp + 0xc]
mov esi, eax
test bl, 1
je 0x40196b
push str.client_id
lea ecx, [ebp - 0x64]
call fcn.00405646
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 1
push eax
lea ecx, [esi + 0x80]
call fcn.00405e97
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401130
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.00405a11
test bl, 2
je 0x4019e3
push 0x42cbb0
lea ecx, [ebp - 0x64]
call fcn.00405646
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 4
push eax
lea ecx, [esi + 0x80]
call fcn.0040602f
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401130
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.00405a11
test bl, 8
je 0x401a5b
push str.browser_version
lea ecx, [ebp - 0x64]
call fcn.00405646
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 7
push eax
lea ecx, [esi + 0x80]
call fcn.00405f8e
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401130
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.00405a11
test bl, 4
je 0x401ad4
push str.default_browser
lea ecx, [ebp - 0x64]
call fcn.00405646
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x80]
call fcn.0040610b
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00401130
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
xor esi, esi
lea ecx, [ebp - 0x7c]
push esi
push 1
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.00405a11
jmp 0x401ad6
xor esi, esi
test bl, 0x20
je 0x401b45
push str.installer_version
lea ecx, [ebp - 0x64]
call fcn.00405646
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xd
push eax
call fcn.00406011
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.00401130
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
push esi
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.00405a11
test ebx, 0x200
je 0x401c18
call fcn.00407a1b
movzx edx, al
lea ecx, [ebp - 0x64]
call fcn.004052c3
mov esi, 0x42cde4
mov dword [ebp - 4], 0x10
push esi
call fcn.00413e10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.0040532f
call fcn.00407a1b
shr eax, 8
lea ecx, [ebp - 0x7c]
movzx edx, al
call fcn.004052c3
push 0xffffffffffffffff
xor esi, esi
mov byte [ebp - 4], 0x11
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.004053d1
push esi
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.00405a11
push str.os_version
lea ecx, [ebp - 0x94]
call fcn.00405646
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x44]
call fcn.004010e9
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x13
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
push esi
push 1
lea ecx, [ebp - 0x94]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.00405a11
test ebx, 0x1000
je 0x401c89
push str.os_version_full
lea ecx, [ebp - 0x64]
call fcn.00405646
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x14
call fcn.00407b63
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00401130
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x16
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
push esi
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.00405a11
test ebx, 0x400
je 0x401d35
push str.os_architecture
lea ecx, [ebp - 0x64]
call fcn.00405646
push str.IsWow64Process
mov dword [ebp - 4], 0x17
push str.kernel32
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401cdc
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0xc8], 0
mov edx, 0x42cc18
mov ecx, 0x42cc14
setne al
test al, al
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x44]
call fcn.00401168
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x18
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
xor esi, esi
push esi
push 1
call fcn.00405a11
test ebx, 0x800
je 0x401d93
push str.os_family
lea ecx, [ebp - 0x64]
call fcn.00405646
push str.windows
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x19
call fcn.00401168
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.00405a11
test bl, 0x10
je 0x401dee
push str.browser_family
lea ecx, [ebp - 0x64]
call fcn.00405646
push str.desktop
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x1b
call fcn.00401168
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, edi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x44]
call fcn.004011af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.00405a11
test ebx, 0x100
je 0x401f4e
and dword [ebp - 0xd0], 0
and dword [ebp - 0xcc], 0
call fcn.004034e1
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0x1d
call fcn.004074ae
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0xd0]
mov eax, dword [esi]
mov dword [ebp - 0xc8], eax
jmp 0x401e99
add eax, 0x10
push eax
call fcn.004059ac
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x5c]
call fcn.004010e9
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x20
call fcn.00402c23
lea ecx, [ebp - 0x5c]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1e
call fcn.00405a11
lea ecx, [ebp - 0xc8]
call fcn.00402d4d
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x94]
cmp eax, esi
jne 0x401e44
push str.installed_apps
call fcn.00405646
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.00401326
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.00405a11
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
call fcn.00402ec1
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0xd0]
mov edi, dword [esi]
mov dword [ebp - 0xc8], edi
cmp edi, edi
jne 0x401f0f
lea ecx, [ebp - 0xd0]
call fcn.00403378
jmp 0x401f3b
cmp edi, esi
je 0x401f41
lea ecx, [ebp - 0xc8]
call fcn.00402d4d
push edi
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403127
mov edi, dword [ebp - 0xc8]
cmp edi, esi
jne 0x401f13
mov esi, dword [ebp - 0xd0]
push esi
call fcn.00412f3e
mov edi, dword [ebp - 0xd4]
pop ecx
test bl, bl
jns 0x4020a4
and dword [ebp - 0xd0], 0
and dword [ebp - 0xcc], 0
call fcn.004034e1
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0x22
call fcn.00407407
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0xd0]
mov eax, dword [esi]
mov dword [ebp - 0xc8], eax
jmp 0x401ff5
add eax, 0x10
push eax
call fcn.004059ac
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x5c]
call fcn.004010e9
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x25
call fcn.00402c23
lea ecx, [ebp - 0x5c]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x23
call fcn.00405a11
lea ecx, [ebp - 0xc8]
call fcn.00402d4d
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x94]
cmp eax, esi
jne 0x401fa0
push str.process_list
call fcn.00405646
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.00401326
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.00405a11
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x22
call fcn.00402ec1
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0xd0]
mov edi, dword [esi]
mov dword [ebp - 0xc8], edi
cmp edi, edi
jne 0x40206b
lea ecx, [ebp - 0xd0]
call fcn.00403378
jmp 0x402097
cmp edi, esi
je 0x40209d
lea ecx, [ebp - 0xc8]
call fcn.00402d4d
push edi
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403127
mov edi, dword [ebp - 0xc8]
cmp edi, esi
jne 0x40206f
mov esi, dword [ebp - 0xd0]
push esi
call fcn.00412f3e
pop ecx
mov edi, dword [sym.imp.USER32.dll_CharLowerA]
test ebx, 0x4000
je 0x40213a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x20
lea ecx, [ebp - 0x34]
movzx eax, ax
push ecx
push 0x59
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x40213a
lea eax, [ebp - 0x34]
mov byte [ebp - 0x15], 0
push eax
call edi
push str.interface_language
lea ecx, [ebp - 0x4c]
call fcn.00405646
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401168
mov esi, dword [ebp - 0xd4]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x28
push eax
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x5c]
call fcn.004011af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.00405a11
jmp 0x402140
mov esi, dword [ebp - 0xd4]
test ebx, 0x8000
je 0x4021f9
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
cmp eax, 0xffffffff
je 0x4021a2
push 0
push 0x20
lea ecx, [ebp - 0x34]
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
test eax, eax
jle 0x4021f9
lea eax, [ebp - 0x34]
mov byte [ebp - 0x15], 0
push eax
call edi
push str.regional_data
lea ecx, [ebp - 0x4c]
call fcn.00405646
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401168
mov byte [ebp - 4], 0x2a
jmp 0x4021c7
push str.regional_data
lea ecx, [ebp - 0x4c]
call fcn.00405646
push 0x42cc8c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x2b
call fcn.00401168
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x5c]
call fcn.004011af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.00405a11
test ebx, 0x2000
je 0x40226d
push 0x42cc90
lea ecx, [ebp - 0x4c]
call fcn.00405646
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0x2d
push eax
call fcn.00406168
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2e
call fcn.00401130
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, esi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x5c]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.00405a11
test ebx, 0x10000
je 0x402304
push str.ie_version
lea ecx, [ebp - 0x4c]
call fcn.00405646
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0x30
call fcn.00407ade
mov edx, eax
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x7c]
call fcn.00401851
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x32
call fcn.00401130
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x33
push eax
mov ecx, esi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x5c]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00405a11
push 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.00405e0a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.00405a11
test ebx, 0x20000
je 0x40236e
push str.request_source
lea ecx, [ebp - 0xac]
call fcn.00405646
push str.installer
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0x34
call fcn.00401168
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x35
push eax
mov ecx, esi
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [ebp - 0x8c]
call fcn.004011af
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.00405a11
call fcn.00416af0
ret 8