Function at 0x1002e800
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xa0
mov eax, dword [0x1005c664]
mov dword [esp + 0x38], 0x10059da0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov word [esp + 0x44], 0
mov dword [esp + 0x28], 0x10059da0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov word [esp + 0x34], 0
mov dword [esp + 8], 0x10059da0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov word [esp + 0x14], 0
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test al, 1
jne 0x1002e88e
or eax, 1
mov edx, 0x1005c668
push 0x11
mov ecx, str.R7ZE7V__
mov dword [0x1005c664], eax
call fcn.1000a090
add esp, 4
lea edi, [ebx + 0x364]
push edi
lea eax, [esp + 0x5c]
push eax
lea eax, [ebx + 0x35c]
push eax
lea edx, [ebx + 0x35a]
push edx
lea ecx, [ebx + 0x358]
push ecx
push str._hu:_hu:_u:_u:_u
push dword [esp + 0xd8]
call dword [sym.imp.msvcrt.dll_sscanf]
mov ebp, dword [sym.imp.msvcrt.dll_free]
add esp, 0x1c
cmp eax, 4
jge 0x1002e8db
mov ecx, ebx
call fcn.1002c210
jmp 0x1002ee7c
lea eax, [ebx + 0x390]
mov dword [esp + 0x64], 0x70
mov dword [esp + 0x6c], eax
lea esi, [ebx + 0x3a0]
push 1
push dword [esp + 0xcc]
lea eax, [esp + 0x50]
mov byte [esp + 0x70], 1
push dword [esp + 0xcc]
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x70]
lea eax, [esp + 0x44]
mov dword [esp + 0x7c], 0x71
mov dword [esp + 0x9c], eax
sub esp, 8
lea eax, [esp + 0x2c]
mov byte [esp + 0x88], 1
mov dword [esp + 0xb0], eax
mov eax, esp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0x7d
mov byte [esp + 0x94], 1
mov dword [esp + 0x9c], 0x72
mov byte [esp + 0xa0], 1
mov dword [esp + 0xa8], 0x74
mov byte [esp + 0xac], 1
mov dword [eax], ecx
mov ecx, ebx
mov dword [eax + 4], 5
call fcn.1002e350
test al, al
je 0x1002ee7c
mov al, byte [esp + 0xcc]
push 0
push ecx
push 0xffffffffffffffff
push 0
push 0x1005c668
lea ecx, [esp + 0x5c]
mov byte [ebx + 0xb4], al
call fcn.10003ca0
test eax, eax
setns al
cmp dword [edi], 0
mov byte [ebx + 0xb5], al
mov eax, dword [esp + 0xbc]
mov dword [ebx + 0x360], eax
jne 0x1002e9df
mov dword [edi], 0x1010903
cmp byte [ebx + 0x368], 0
jne 0x1002ea46
cmp dword [esi + 4], 7
mov edi, dword [sym.imp.msvcrt.dll_strncmp]
jb 0x1002ea0f
push 7
push str.Chrome_
push dword [esi]
call edi
add esp, 0xc
test eax, eax
jne 0x1002ea0f
mov byte [ebx + 0x368], 3
jmp 0x1002ea46
cmp dword [esi + 4], 8
jb 0x1002ea46
push 8
push str.Mozilla_
push dword [esi]
call edi
add esp, 0xc
test eax, eax
je 0x1002ea3f
cmp dword [esi + 4], 8
jb 0x1002ea46
push 8
push str.Firefox_
push dword [esi]
call edi
add esp, 0xc
test eax, eax
jne 0x1002ea46
mov byte [ebx + 0x368], 2
cmp word [ebx + 0x358], 0x5a
jb 0x1002ea72
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1002ea72
push ecx
push dword [esp + 0x48]
lea ecx, [ebx + 0x3b0]
push eax
push dword [esp + 0x44]
call fcn.100049d0
jmp 0x1002eb0a
mov al, byte [ebx + 0x368]
cmp al, 3
jne 0x1002eac3
cmp dword [ebx + 0x3b8], 0x38
lea esi, [ebx + 0x3b0]
jae 0x1002eaa4
push 0x38
mov ecx, esi
call fcn.10004970
test eax, eax
jne 0x1002eaa4
mov dword [esi + 4], eax
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x1002eb0a
mov edi, dword [esi]
xor eax, eax
mov dword [esi + 4], 0x1b
mov ecx, 0xd
mov esi, str.Chrome_RenderWidgetHostHWND
mov word [edi + 0x36], ax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x1002eb0a
cmp al, 2
jne 0x1002eb0a
cmp dword [ebx + 0x3b8], 0x26
lea esi, [ebx + 0x3b0]
jae 0x1002eaef
push 0x26
mov ecx, esi
call fcn.10004970
test eax, eax
jne 0x1002eaef
mov dword [esi + 4], eax
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x1002eb0a
mov edi, dword [esi]
xor eax, eax
mov dword [esi + 4], 0x12
mov ecx, 9
mov esi, str.MozillaWindowClass
mov word [edi + 0x24], ax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x1c], 0
je 0x1002ecc1
push 0
push 0xffffffffffffffff
push 0
push 0x2d
lea ecx, [esp + 0x28]
call fcn.10003b90
mov esi, eax
lea edi, [ebx + 0x3c0]
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x1002eb3a
cmp esi, eax
jb 0x1002eb3c
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x24]
mov byte [edi + 0xc], al
test esi, esi
jle 0x1002eb7c
lea eax, [esi + 1]
cmp dword [edi + 8], eax
jae 0x1002eb63
push eax
mov ecx, edi
call fcn.10003580
test eax, eax
je 0x1002eb7c
mov eax, dword [edi]
push esi
push dword [esp + 0x14]
mov dword [edi + 4], esi
push eax
mov byte [esi + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002eb88
mov eax, dword [edi]
mov dword [edi + 4], 0
mov byte [eax], 0
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetLocaleInfoEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x1002ec0f
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x10059da0
push dword [esp + 0x24]
mov dword [esp + 0x38], edi
push dword [esp + 0x24]
mov dword [esp + 0x40], edi
mov word [esp + 0x44], 0xff
call fcn.100049d0
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push 2
push eax
push 0x20000001
push esi
call dword [esp + 0x20]
mov edi, eax
cmp esi, 0x10059da0
je 0x1002ecad
lea ecx, [esi - 4]
push ecx
call ebp
add esp, 4
jmp 0x1002ecad
push str.NLSDL.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1002ecc1
push str.DownlevelLocaleNameToLCID
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002eca6
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x10059da0
push dword [esp + 0x24]
mov dword [esp + 0x38], edi
push dword [esp + 0x24]
mov dword [esp + 0x40], edi
mov word [esp + 0x44], 0xff
call fcn.100049d0
push 0
push dword [esp + 0x2c]
call dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
cmp eax, 0x10059da0
je 0x1002ec8d
lea ecx, [eax - 4]
push ecx
call ebp
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x1002eca6
push 2
lea eax, [esp + 0x18]
push eax
push 0x20000001
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 2
jne 0x1002ecc1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002ecc1
mov word [ebx + 0x3d0], ax
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x1002ed02
mov eax, dword [ebx + 0x36c]
test eax, eax
jne 0x1002ecf7
movzx eax, word [ebx + 0x44]
push eax
push ecx
mov ecx, dword [ebx + 0xc]
call fcn.10010d80
mov dword [ebx + 0x36c], eax
test eax, eax
jne 0x1002ecf7
mov ecx, ebx
call fcn.1002c210
jmp 0x1002ee7c
mov ecx, eax
call fcn.10037aa0
test eax, eax
je 0x1002ed08
mov dword [ebx + 0x36c], eax
mov edx, dword [ebx + 0x36c]
lea ecx, [esp + 0xa0]
call fcn.100060f0
mov ecx, dword [ebx + 0x370]
lea edi, [ebx + 0x370]
mov esi, eax
cmp ecx, 0x10059da0
je 0x1002ed39
add ecx, 0xfffffffc
push ecx
call ebp
add esp, 4
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov dword [esi], 0x10059da0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov eax, dword [esp + 0xa0]
mov esi, dword [edi + 4]
cmp eax, 0x10059da0
je 0x1002ed7d
add eax, 0xfffffffc
push eax
call ebp
add esp, 4
test esi, esi
je 0x1002ee39
push 0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.1000a3a0
add esp, 4
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [edi]
mov dword [esp + 0x14], edx
lea eax, [eax + ecx*2]
mov dword [esp + 0x60], eax
test edx, edx
jle 0x1002eded
lea eax, [edx + edx]
mov dword [esp + 0x5c], eax
add eax, 0x20
mov dword [esp + 0x10], eax
add eax, 4
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1002eded
add esi, 4
test esi, esi
je 0x1002eded
mov eax, dword [esp + 0x5c]
xor ecx, ecx
push eax
push dword [esp + 0x64]
push esi
mov word [esi + eax], cx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002ee02
mov esi, 0x10059da0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebx + 0x380]
cmp eax, 0x10059da0
je 0x1002ee18
add eax, 0xfffffffc
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x384], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x380], esi
mov dword [ebx + 0x388], eax
mov byte [ebx + 0x38c], 0xff
mov eax, dword [0x10059df0]
mov eax, dword [eax + 0x116c]
shr eax, 0x1e
test al, 1
je 0x1002ee52
mov byte [ebx + 0xb5], 0
movzx eax, word [ebx + 0x35a]
mov ecx, dword [ebx + 0xc]
push eax
push edi
call fcn.10013c00
mov ecx, ebx
call fcn.10032610
mov ecx, ebx
call fcn.100327c0
mov ecx, ebx
call fcn.10032a60
mov byte [ebx + 0x4d], 8
mov eax, dword [esp + 0x18]
cmp eax, 0x10059da0
je 0x1002ee8d
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, 0x10059da0
je 0x1002ee9e
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, 0x10059da0
je 0x1002eeaf
push eax
call ebp
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 0x1c