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

Disassembly:
push 0xe4
mov eax, 0x425b04
call fcn.00418141
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
call fcn.00403c37
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.004014d1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.0040300e
call fcn.004018ab
mov ebx, dword [ebp + 0xc]
mov esi, eax
test bl, 1
je 0x401a8a
push 0x42de34
lea ecx, [ebp - 0x64]
call fcn.00405f0d
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 1
push eax
lea ecx, [esi + 0x80]
call fcn.00406886
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004011ea
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.004062d8
test bl, 2
je 0x401b02
push 0x42de40
lea ecx, [ebp - 0x64]
call fcn.00405f0d
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 4
push eax
lea ecx, [esi + 0x80]
call fcn.00406a1e
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.004011ea
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.004062d8
test bl, 8
je 0x401b7a
push 0x42de14
lea ecx, [ebp - 0x64]
call fcn.00405f0d
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 7
push eax
lea ecx, [esi + 0x80]
call fcn.0040697d
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004011ea
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.004062d8
test bl, 4
je 0x401bf3
push str.default_browser
lea ecx, [ebp - 0x64]
call fcn.00405f0d
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x80]
call fcn.00406afa
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004011ea
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
xor esi, esi
lea ecx, [ebp - 0x7c]
push esi
push 1
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.004062d8
jmp 0x401bf5
xor esi, esi
test bl, 0x20
je 0x401c64
push 0x42dde4
lea ecx, [ebp - 0x64]
call fcn.00405f0d
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xd
push eax
call fcn.00406a00
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.004011ea
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
push esi
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.004062d8
test ebx, 0x200
je 0x401d37
call fcn.0040882b
movzx edx, al
lea ecx, [ebp - 0x64]
call fcn.00405baf
mov esi, 0x42ed94
mov dword [ebp - 4], 0x10
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00405bf6
call fcn.0040882b
shr eax, 8
lea ecx, [ebp - 0x7c]
movzx edx, al
call fcn.00405baf
push 0xffffffffffffffff
xor esi, esi
mov byte [ebp - 4], 0x11
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.00405c98
push esi
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.004062d8
push str.os_version
lea ecx, [ebp - 0x94]
call fcn.00405f0d
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x44]
call fcn.0040115c
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x13
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
push esi
push 1
lea ecx, [ebp - 0x94]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.004062d8
test ebx, 0x1000
je 0x401da8
push str.os_version_full
lea ecx, [ebp - 0x64]
call fcn.00405f0d
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x14
call fcn.00408973
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.004011ea
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x16
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
push esi
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.004062d8
test ebx, 0x400
je 0x401e54
push str.os_architecture
lea ecx, [ebp - 0x64]
call fcn.00405f0d
push str.IsWow64Process
mov dword [ebp - 4], 0x17
push str.kernel32
mov dword [ebp - 0xe0], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401dfb
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0xe0], 0
mov edx, 0x42dd34
mov ecx, 0x42dd38
setne al
test al, al
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x44]
call fcn.00401222
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x18
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
xor esi, esi
push esi
push 1
call fcn.004062d8
test ebx, 0x800
je 0x401eb2
push str.os_family
lea ecx, [ebp - 0x64]
call fcn.00405f0d
push str.windows
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x19
call fcn.00401222
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.004062d8
test bl, 0x10
je 0x401f0d
push str.browser_family
lea ecx, [ebp - 0x64]
call fcn.00405f0d
push str.desktop
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x1b
call fcn.00401222
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, edi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x44]
call fcn.00401269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
push esi
push 1
call fcn.004062d8
test ebx, 0x100
je 0x40206d
and dword [ebp - 0xe8], 0
and dword [ebp - 0xe4], 0
call fcn.00403c62
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0x1d
call fcn.00408262
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 - 0xe8]
mov eax, dword [esi]
mov dword [ebp - 0xe0], eax
jmp 0x401fb8
add eax, 0x10
push eax
call fcn.00406273
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040115c
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x20
call fcn.00402f5e
lea ecx, [ebp - 0x5c]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1e
call fcn.004062d8
lea ecx, [ebp - 0xe0]
call fcn.00403103
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x94]
cmp eax, esi
jne 0x401f63
push str.installed_apps
call fcn.00405f0d
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.0040148f
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.004062d8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
call fcn.00403277
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0xe8]
mov edi, dword [esi]
mov dword [ebp - 0xe0], edi
cmp edi, edi
jne 0x40202e
lea ecx, [ebp - 0xe8]
call fcn.00403af9
jmp 0x40205a
cmp edi, esi
je 0x402060
lea ecx, [ebp - 0xe0]
call fcn.00403103
push edi
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004038a8
mov edi, dword [ebp - 0xe0]
cmp edi, esi
jne 0x402032
mov esi, dword [ebp - 0xe8]
push esi
call fcn.00414bb4
mov edi, dword [ebp - 0xec]
pop ecx
test bl, bl
jns 0x4021c3
and dword [ebp - 0xe8], 0
and dword [ebp - 0xe4], 0
call fcn.00403c62
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0x22
call fcn.004081bb
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 - 0xe8]
mov eax, dword [esi]
mov dword [ebp - 0xe0], eax
jmp 0x402114
add eax, 0x10
push eax
call fcn.00406273
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040115c
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x25
call fcn.00402f5e
lea ecx, [ebp - 0x5c]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x23
call fcn.004062d8
lea ecx, [ebp - 0xe0]
call fcn.00403103
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x94]
cmp eax, esi
jne 0x4020bf
push str.process_list
call fcn.00405f0d
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.0040148f
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.004062d8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x22
call fcn.00403277
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0xe8]
mov edi, dword [esi]
mov dword [ebp - 0xe0], edi
cmp edi, edi
jne 0x40218a
lea ecx, [ebp - 0xe8]
call fcn.00403af9
jmp 0x4021b6
cmp edi, esi
je 0x4021bc
lea ecx, [ebp - 0xe0]
call fcn.00403103
push edi
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004038a8
mov edi, dword [ebp - 0xe0]
cmp edi, esi
jne 0x40218e
mov esi, dword [ebp - 0xe8]
push esi
call fcn.00414bb4
pop ecx
mov edi, dword [sym.imp.USER32.dll_CharLowerA]
test ebx, 0x4000
je 0x402259
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 0x402259
lea eax, [ebp - 0x34]
mov byte [ebp - 0x15], 0
push eax
call edi
push str.interface_language
lea ecx, [ebp - 0x4c]
call fcn.00405f0d
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401222
mov esi, dword [ebp - 0xec]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x28
push eax
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x5c]
call fcn.00401269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.004062d8
jmp 0x40225f
mov esi, dword [ebp - 0xec]
test ebx, 0x8000
je 0x402318
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
cmp eax, 0xffffffff
je 0x4022c1
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 0x402318
lea eax, [ebp - 0x34]
mov byte [ebp - 0x15], 0
push eax
call edi
push str.regional_data
lea ecx, [ebp - 0x4c]
call fcn.00405f0d
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401222
mov byte [ebp - 4], 0x2a
jmp 0x4022e6
push str.regional_data
lea ecx, [ebp - 0x4c]
call fcn.00405f0d
push 0x42dbb4
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x2b
call fcn.00401222
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x5c]
call fcn.00401269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.004062d8
test ebx, 0x2000
je 0x40238c
push 0x42de24
lea ecx, [ebp - 0x4c]
call fcn.00405f0d
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0x2d
push eax
call fcn.00406b57
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2e
call fcn.004011ea
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, esi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x5c]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.004062d8
test ebx, 0x10000
je 0x402423
push str.ie_version
lea ecx, [ebp - 0x4c]
call fcn.00405f0d
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0x30
call fcn.004088ee
mov edx, eax
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x7c]
call fcn.00401970
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x32
call fcn.004011ea
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x33
push eax
mov ecx, esi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x5c]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004062d8
push 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.004065b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.004062d8
test ebx, 0x20000
je 0x402482
push str.request_source
lea ecx, [ebp - 0x4c]
call fcn.00405f0d
push str.installer
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x34
call fcn.00401222
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x35
push eax
mov ecx, esi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x5c]
call fcn.00401269
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.004062d8
test ebx, 0x40000
je 0x402509
mov edi, str.previous_browser_version
lea ecx, [ebp - 0xac]
push edi
call fcn.00405f0d
mov edx, edi
mov dword [ebp - 4], 0x36
lea ecx, [ebp - 0xc4]
call fcn.00407d74
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x37
call fcn.004011ea
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x38
push eax
mov ecx, esi
call fcn.00401454
mov ecx, eax
call fcn.00402fb5
mov ecx, eax
call fcn.004013ac
lea ecx, [ebp - 0x8c]
call fcn.00401269
push 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.004062d8
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.004062d8
call fcn.004180f0
ret 8