Function at 0x1001c08
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1160
call fcn.01006380
push ebx
push ebp
push esi
push edi
push 0x400
lea eax, [esp + 0x174]
push eax
push 0x1fb
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
je 0x1001caa
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x1001d0f
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x10073d4], edx
je 0x1001d36
mov ecx, dword [esp + 0x10]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x170]
push eax
jmp 0x1001d03
mov ebx, 0x10012b4
push ebx
call fcn.01001857
test eax, eax
jne 0x1001d0f
push ebx
call dword [sym.imp.msvcrt.dll_wcslen]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x10073d4], edx
je 0x1001d36
mov ecx, dword [esp + 0x10]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x10012b4
push dword [0x10073d4]
call esi
xor edi, edi
jmp 0x1001d34
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 4
push edi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
cmp eax, edi
mov dword [0x10073d4], eax
je 0x1001d36
push 0x10011c4
push eax
call esi
pop ecx
pop ecx
push 0x400
lea eax, [esp + 0x174]
push eax
push 0x1fc
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1001db6
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x1001e12
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x10073fc], edx
je 0x1001e2d
mov ecx, dword [esp + 0x10]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x170]
push eax
jmp 0x1001e06
push 0x10012ac
call fcn.01001857
test eax, eax
jne 0x1001e12
push 0x10012ac
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x10073fc], edx
je 0x1001e2d
mov ecx, dword [esp + 0x10]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x10012ac
push dword [0x10073fc]
call esi
xor edi, edi
jmp 0x1001e2b
push 4
push edi
call ebp
push eax
call ebx
cmp eax, edi
mov dword [0x10073fc], eax
je 0x1001e2d
push 0x10011c4
push eax
call esi
pop ecx
pop ecx
push 0x400
lea eax, [esp + 0x174]
push eax
push 0x1fd
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1001ead
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x1001f05
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x10073e4], edx
je 0x1001f20
mov ecx, dword [esp + 0x10]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x170]
push eax
jmp 0x1001efd
push 0x10011c4
call fcn.01001857
test eax, eax
jne 0x1001f05
push 0x10011c4
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x10073e4], edx
je 0x1001f20
mov ecx, dword [esp + 0x10]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x10011c4
push dword [0x10073e4]
jmp 0x1001f1c
push 4
push edi
call ebp
push eax
call ebx
cmp eax, edi
mov dword [0x10073e4], eax
je 0x1001f20
push 0x10011c4
push eax
call esi
pop ecx
pop ecx
cmp dword [0x1007020], 6
je 0x100243d
mov dword [esp + 0x10], 0x1007020
mov esi, 0x1007024
mov edi, dword [sym.imp.msvcrt.dll_wcstok]
push 0x400
lea eax, [esp + 0x974]
push eax
push dword [esi - 0x1c]
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [0x10073d4]
lea eax, [esp + 0x974]
push eax
call edi
push dword [0x10073d4]
mov dword [esp + 0x20], eax
push 0
call edi
push dword [0x10073d4]
mov dword [esp + 0x2c], eax
push 0
call edi
push dword [0x10073d4]
mov dword [esp + 0x48], eax
push 0
call edi
add esp, 0x20
push dword [esp + 0x14]
call fcn.01001857
test eax, eax
jne 0x1002001
push 0x10012a8
push dword [esp + 0x18]
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x1002001
push dword [esp + 0x14]
call fcn.01001857
test eax, eax
jne 0x1002001
push dword [esp + 0x14]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea edi, [eax + eax + 4]
push edi
push 0
call ebp
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [esi - 0x10], edx
je 0x100201f
push dword [esp + 0x14]
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [esi - 0x10]
jmp 0x1002017
push 4
push 0
call ebp
push eax
call ebx
test eax, eax
mov dword [esi - 0x10], eax
je 0x100201f
push 0x10011c4
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
mov edi, dword [esp + 0x18]
push edi
call fcn.01001857
test eax, eax
jne 0x1002083
push 0x10012a8
push edi
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x1002083
push edi
call fcn.01001857
test eax, eax
jne 0x1002083
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea edi, [eax + eax + 4]
push edi
push 0
call ebp
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [esi - 0xc], edx
je 0x10020a1
push dword [esp + 0x18]
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [esi - 0xc]
jmp 0x1002099
push 4
push 0
call ebp
push eax
call ebx
test eax, eax
mov dword [esi - 0xc], eax
je 0x10020a1
push 0x10011c4
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
mov eax, dword [esi]
test ah, 0x40
je 0x1002258
mov eax, dword [0x1007400]
test eax, eax
jne 0x10020ba
mov eax, 0x400
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x50
lea ecx, [esp + 0xd4]
push ecx
push 0x1f
push eax
call edi
mov eax, dword [0x1007400]
test eax, eax
jne 0x10020dd
mov eax, 0x400
push 0x50
lea ecx, [esp + 0x34]
push ecx
push 0x1003
push eax
call edi
mov eax, dword [0x1007400]
test eax, eax
jne 0x10020fa
mov eax, 0x400
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x28
push eax
call edi
test eax, eax
jne 0x100210f
and word [esp + 0x24], ax
mov eax, dword [0x1007400]
test eax, eax
jne 0x100211d
mov eax, 0x400
push 4
lea ecx, [esp + 0x20]
push ecx
push 0x29
push eax
call edi
test eax, eax
jne 0x1002132
and word [esp + 0x1c], ax
lea eax, [esp + 0x30]
push 0x10012a4
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [esp + 0x2c]
push eax
call edi
add esp, 0xc
test eax, eax
je 0x100219d
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
pop ecx
je 0x100219d
test byte [esi], 4
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x180]
je 0x1002196
push 0x1001284
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x18
jmp 0x10021cc
push 0x1001264
jmp 0x100218a
test byte [esi], 4
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x178]
je 0x10021bd
push 0x1001254
jmp 0x10021c2
push 0x1001244
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x10023a0
lea eax, [esp + 0x170]
push 0x10012a8
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10023a0
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x10023a0
lea eax, [esp + 0x170]
push eax
call edi
pop ecx
lea edi, [eax + eax + 4]
push edi
push 0
call ebp
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [esi - 8], edx
je 0x100242a
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x170]
push eax
jmp 0x1002408
test ah, 0x10
je 0x1002271
push 0x400
lea eax, [esp + 0x974]
push eax
push 0x1f7
jmp 0x1002288
test ah, 0x20
je 0x1002299
push 0x400
lea eax, [esp + 0x974]
push eax
push 0x1f8
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
lea edi, [esp + 0x970]
jmp 0x10022cc
test ah, ah
jns 0x10022c0
push 0x400
lea eax, [esp + 0x974]
push eax
push 0x1f9
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
lea edi, [esp + 0x970]
jmp 0x10022c4
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x10023ad
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
je 0x10023ad
push 0x10012a8
push edi
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10023ad
mov eax, dword [esi]
test al, 4
mov ecx, dword [esp + 0x10]
je 0x1002328
cmp dword [ecx], 5
jne 0x1002320
test ah, 2
jne 0x1002320
push edi
push edi
push 0x1001228
lea eax, [esp + 0x17c]
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
jmp 0x1002352
push edi
push 0x100121c
jmp 0x1002341
cmp dword [ecx], 5
jne 0x100233b
test ah, 2
jne 0x100233b
push edi
push edi
push 0x1001200
jmp 0x100230d
push edi
push 0x10011f4
lea eax, [esp + 0x178]
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x10023a0
lea eax, [esp + 0x170]
push 0x10012a8
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10023a0
lea eax, [esp + 0x170]
push eax
call fcn.01001857
test eax, eax
jne 0x10023a0
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
jmp 0x100221d
push 4
push 0
call ebp
push eax
call ebx
test eax, eax
jmp 0x1002417
xor edi, edi
push edi
call fcn.01001857
test eax, eax
jne 0x100240d
push 0x10012a8
push edi
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x100240d
push edi
call fcn.01001857
test eax, eax
jne 0x100240d
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea edi, [eax + eax + 4]
push edi
push 0
call ebp
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [esi - 8], edx
je 0x100242a
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0
push dword [esi - 8]
jmp 0x1002422
push 4
push edi
call ebp
push eax
call ebx
cmp eax, edi
mov dword [esi - 8], eax
je 0x100242a
push 0x10011c4
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
add esi, 0x40
lea eax, [esi - 4]
cmp dword [eax], 6
mov dword [esp + 0x10], eax
jne 0x1001f3a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1160
ret