Function at 0x4241a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe88
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00422240
mov eax, dword [str.windows_]
mov dword [ebp - 0x210], eax
mov ecx, dword [0x6ebff8]
mov dword [ebp - 0x20c], ecx
mov edx, dword [0x6ebffc]
mov dword [ebp - 0x208], edx
mov eax, dword [0x6ec000]
mov dword [ebp - 0x204], eax
mov cx, word [0x6ec004]
mov word [ebp - 0x200], cx
push 0x1f8
push 0
lea edx, [ebp - 0x1fe]
push edx
call fcn.005cfab0
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc4c]
push eax
push 0x5a
call sym.LSAdmin.exe_unsigned_short_int___cdecl_ESRILocale::GetLocale_void_
movzx ecx, ax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42425e
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0xe78], eax
cmp dword [ebp - 0xe78], 0x20a
jae 0x424249
jmp 0x42424e
call fcn.005cf37a
xor ecx, ecx
mov edx, dword [ebp - 0xe78]
mov word [ebp + edx - 0xc4c], cx
push 0x104
lea eax, [ebp - 0xe58]
push eax
push 0x59
call sym.LSAdmin.exe_unsigned_short_int___cdecl_ESRILocale::GetLocale_void_
movzx ecx, ax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4242b0
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0xe74], eax
cmp dword [ebp - 0xe74], 0x20a
jae 0x42429b
jmp 0x4242a0
call fcn.005cf37a
xor ecx, ecx
mov edx, dword [ebp - 0xe74]
mov word [ebp + edx - 0xe58], cx
push 0x104
lea eax, [ebp - 0x834]
push eax
push 0x1002
call sym.LSAdmin.exe_unsigned_short_int___cdecl_ESRILocale::GetLocale_void_
movzx ecx, ax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x424305
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0xe80], eax
cmp dword [ebp - 0xe80], 0x20a
jae 0x4242f0
jmp 0x4242f5
call fcn.005cf37a
xor ecx, ecx
mov edx, dword [ebp - 0xe80]
mov word [ebp + edx - 0x834], cx
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x1001
call sym.LSAdmin.exe_unsigned_short_int___cdecl_ESRILocale::GetLocale_void_
movzx ecx, ax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42435a
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0xe6c], eax
cmp dword [ebp - 0xe6c], 0x20a
jae 0x424345
jmp 0x42434a
call fcn.005cf37a
xor ecx, ecx
mov edx, dword [ebp - 0xe6c]
mov word [ebp + edx - 0x628], cx
push 0x104
lea eax, [ebp - 0x41c]
push eax
push 0x1004
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4243e1
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0xe70], edx
cmp dword [ebp - 0xe70], 0x20a
jae 0x424396
jmp 0x42439b
call fcn.005cf37a
xor eax, eax
mov ecx, dword [ebp - 0xe70]
mov word [ebp + ecx - 0x41c], ax
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0xe68], eax
cmp dword [ebp - 0xe68], 0x20a
jae 0x4243c7
jmp 0x4243cc
call fcn.005cf37a
xor ecx, ecx
mov edx, dword [ebp - 0xe68]
mov word [ebp + edx - 0x210], cx
jmp 0x424489
lea eax, [ebp - 0x41c]
mov dword [ebp - 0xe5c], eax
mov ecx, dword [ebp - 0xe5c]
mov dword [ebp - 0xe7c], ecx
mov edx, dword [ebp - 0xe5c]
mov ax, word [edx]
mov word [ebp - 0xe64], ax
add dword [ebp - 0xe5c], 2
cmp word [ebp - 0xe64], 0
jne 0x4243f9
mov ecx, dword [ebp - 0xe5c]
sub ecx, dword [ebp - 0xe7c]
mov edx, dword [ebp - 0xe7c]
mov dword [ebp - 0xe88], edx
mov dword [ebp - 0xe84], ecx
lea eax, [ebp - 0x210]
add eax, 0xfffffffe
mov dword [ebp - 0xe60], eax
mov ecx, dword [ebp - 0xe60]
mov dx, word [ecx + 2]
mov word [ebp - 0xe62], dx
add dword [ebp - 0xe60], 2
cmp word [ebp - 0xe62], 0
jne 0x424447
mov edi, dword [ebp - 0xe60]
mov esi, dword [ebp - 0xe88]
mov eax, dword [ebp - 0xe84]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x834]
push edx
lea eax, [ebp - 0x628]
push eax
push str._s__s._s
push 0x104
lea ecx, [ebp - 0xa40]
push ecx
call fcn.00425e60
add esp, 0x18
lea edx, [ebp - 0xa40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005d0e08
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret