Function at 0x1006e2d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x116c
call fcn.0100b6c0
mov eax, dword [0x10253cc]
push ebx
push esi
push edi
push 0x400
mov dword [ebp - 4], eax
lea eax, [ebp - 0x954]
push eax
push 0x1fb
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1006ed4
lea eax, [ebp - 0x954]
push eax
call fcn.01006a7c
test eax, eax
jne 0x1006f3f
lea eax, [ebp - 0x954]
push eax
call fcn.0100b244
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [ebp - 0x1158], eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x1026ecc], edx
je 0x1006f69
mov ecx, dword [ebp - 0x1158]
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, [ebp - 0x954]
push eax
jmp 0x1006f30
mov esi, 0x100134c
push esi
call fcn.01006a7c
test eax, eax
jne 0x1006f3f
push esi
call fcn.0100b244
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [ebp - 0x1158], eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x1026ecc], edx
je 0x1006f69
mov ecx, dword [ebp - 0x1158]
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 0x100134c
push dword [0x1026ecc]
call fcn.0100b525
xor edi, edi
jmp 0x1006f67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 4
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
cmp eax, edi
mov dword [0x1026ecc], eax
je 0x1006f69
push 0x100125c
push eax
call fcn.0100b525
pop ecx
pop ecx
push 0x400
lea eax, [ebp - 0x954]
push eax
push 0x1fc
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1006fe8
lea eax, [ebp - 0x954]
push eax
call fcn.01006a7c
test eax, eax
jne 0x100704a
lea eax, [ebp - 0x954]
push eax
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [ebp - 0x1158], eax
call esi
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x1026eec], edx
je 0x1007068
mov ecx, dword [ebp - 0x1158]
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, [ebp - 0x954]
push eax
jmp 0x100703b
push 0x1001344
call fcn.01006a7c
test eax, eax
jne 0x100704a
push 0x1001344
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [ebp - 0x1158], eax
call esi
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x1026eec], edx
je 0x1007068
mov ecx, dword [ebp - 0x1158]
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 0x1001344
push dword [0x1026eec]
call fcn.0100b525
xor edi, edi
jmp 0x1007066
push 4
push edi
call esi
push eax
call ebx
cmp eax, edi
mov dword [0x1026eec], eax
je 0x1007068
push 0x100125c
push eax
call fcn.0100b525
pop ecx
pop ecx
push 0x400
lea eax, [ebp - 0x954]
push eax
push 0x1fd
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10070e7
lea eax, [ebp - 0x954]
push eax
call fcn.01006a7c
test eax, eax
jne 0x1007142
lea eax, [ebp - 0x954]
push eax
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [ebp - 0x1158], eax
call esi
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x1026ed8], edx
je 0x1007160
mov ecx, dword [ebp - 0x1158]
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, [ebp - 0x954]
push eax
jmp 0x100713a
push 0x100125c
call fcn.01006a7c
test eax, eax
jne 0x1007142
push 0x100125c
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push edi
mov dword [ebp - 0x1158], eax
call esi
push eax
call ebx
mov edx, eax
cmp edx, edi
mov dword [0x1026ed8], edx
je 0x1007160
mov ecx, dword [ebp - 0x1158]
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 0x100125c
push dword [0x1026ed8]
jmp 0x1007159
push 4
push edi
call esi
push eax
call ebx
cmp eax, edi
mov dword [0x1026ed8], eax
je 0x1007160
push 0x100125c
push eax
call fcn.0100b525
pop ecx
pop ecx
cmp dword [0x1025060], 6
je 0x10076af
mov edi, 0x1025064
mov dword [ebp - 0x1158], 0x1025060
mov dword [ebp - 0x1160], edi
push 0x400
lea eax, [ebp - 0x1154]
push eax
push dword [edi - 0x1c]
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [0x1026ecc]
lea eax, [ebp - 0x1154]
push eax
call fcn.0100b608
push dword [0x1026ecc]
mov dword [ebp - 0x1168], eax
push 0
call fcn.0100b608
push dword [0x1026ecc]
mov dword [ebp - 0x116c], eax
push 0
call fcn.0100b608
push dword [0x1026ecc]
mov dword [ebp - 0x115c], eax
push 0
call fcn.0100b608
add esp, 0x20
push dword [ebp - 0x1168]
call fcn.01006a7c
test eax, eax
jne 0x100727a
push 0x1001340
push dword [ebp - 0x1168]
call fcn.0100b5cc
test eax, eax
pop ecx
pop ecx
je 0x100727a
push dword [ebp - 0x1168]
call fcn.01006a7c
test eax, eax
jne 0x100727a
push dword [ebp - 0x1168]
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push 0
mov dword [ebp - 0x1164], eax
call esi
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [edi - 0x10], edx
je 0x1007297
mov ecx, dword [ebp - 0x1164]
push dword [ebp - 0x1168]
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
mov eax, dword [ebp - 0x1160]
push dword [eax - 0x10]
call fcn.0100b525
mov edi, dword [ebp - 0x1160]
jmp 0x1007295
push 4
push 0
call esi
push eax
call ebx
test eax, eax
mov dword [edi - 0x10], eax
je 0x1007297
push 0x100125c
push eax
call fcn.0100b525
pop ecx
pop ecx
push dword [ebp - 0x116c]
call fcn.01006a7c
test eax, eax
jne 0x100732a
push 0x1001340
push dword [ebp - 0x116c]
call fcn.0100b5cc
test eax, eax
pop ecx
pop ecx
je 0x100732a
push dword [ebp - 0x116c]
call fcn.01006a7c
test eax, eax
jne 0x100732a
push dword [ebp - 0x116c]
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push 0
mov dword [ebp - 0x1164], eax
call esi
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [edi - 0xc], edx
je 0x1007347
mov ecx, dword [ebp - 0x1164]
push dword [ebp - 0x116c]
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
mov eax, dword [ebp - 0x1160]
push dword [eax - 0xc]
call fcn.0100b525
mov edi, dword [ebp - 0x1160]
jmp 0x1007345
push 4
push 0
call esi
push eax
call ebx
test eax, eax
mov dword [edi - 0xc], eax
je 0x1007347
push 0x100125c
push eax
call fcn.0100b525
pop ecx
pop ecx
mov eax, dword [edi]
test ah, 0x40
je 0x10074df
push 0x50
lea eax, [ebp - 0x154]
push eax
push 0x1f
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x50
lea eax, [ebp - 0xb4]
push eax
push 0x1003
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x28
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100739c
and word [ebp - 0x14], ax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x29
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10073b7
and word [ebp - 0xc], ax
lea eax, [ebp - 0xb4]
push 0x100133c
push eax
call fcn.0100b608
lea eax, [ebp - 0x14]
push eax
call fcn.0100b244
add esp, 0xc
test eax, eax
je 0x100741e
lea eax, [ebp - 0xc]
push eax
call fcn.0100b244
test eax, eax
pop ecx
je 0x100741e
test byte [edi], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x954]
je 0x1007417
push 0x100131c
push eax
call fcn.0100b308
add esp, 0x18
jmp 0x100744c
push 0x10012fc
jmp 0x100740c
test byte [edi], 4
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x954]
je 0x100743e
push 0x10012ec
jmp 0x1007443
push 0x10012dc
push eax
call fcn.0100b308
add esp, 0x10
lea eax, [ebp - 0x954]
push eax
call fcn.01006a7c
test eax, eax
jne 0x1007677
lea eax, [ebp - 0x954]
push 0x1001340
push eax
call fcn.0100b5cc
test eax, eax
pop ecx
pop ecx
je 0x1007677
lea eax, [ebp - 0x954]
push eax
call fcn.01006a7c
test eax, eax
jne 0x1007677
lea eax, [ebp - 0x954]
push eax
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push 0
mov dword [ebp - 0x1164], eax
call esi
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [edi - 8], edx
je 0x1007694
mov ecx, dword [ebp - 0x1164]
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, [ebp - 0x954]
push eax
jmp 0x1007661
test ah, 0x10
je 0x10074f7
push 0x400
lea eax, [ebp - 0x1154]
push eax
push 0x1f7
jmp 0x100750d
test ah, 0x20
je 0x1007523
push 0x400
lea eax, [ebp - 0x1154]
push eax
push 0x1f8
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x1154]
mov dword [ebp - 0x115c], eax
jmp 0x1007559
test ah, ah
jns 0x100754c
push 0x400
lea eax, [ebp - 0x1154]
push eax
push 0x1f9
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x1154]
mov dword [ebp - 0x115c], eax
cmp dword [ebp - 0x115c], 0
je 0x10075fe
push dword [ebp - 0x115c]
call fcn.0100b244
test eax, eax
pop ecx
je 0x10075fe
push 0x1001340
push dword [ebp - 0x115c]
call fcn.0100b5cc
test eax, eax
pop ecx
pop ecx
je 0x10075fe
mov eax, dword [edi]
test al, 4
mov ecx, dword [ebp - 0x1158]
je 0x10075c2
cmp dword [ecx], 5
jne 0x10075b5
test ah, 2
jne 0x10075b5
push dword [ebp - 0x115c]
push dword [ebp - 0x115c]
push 0x10012c0
lea eax, [ebp - 0x954]
jmp 0x1007443
push dword [ebp - 0x115c]
push 0x10012b4
jmp 0x10075ea
cmp dword [ecx], 5
jne 0x10075df
test ah, 2
jne 0x10075df
push dword [ebp - 0x115c]
push dword [ebp - 0x115c]
push 0x1001298
jmp 0x10075aa
push dword [ebp - 0x115c]
push 0x100128c
lea eax, [ebp - 0x954]
push eax
call fcn.0100b308
add esp, 0xc
jmp 0x100744c
push 0
call fcn.01006a7c
test eax, eax
jne 0x1007677
push 0x1001340
push eax
call fcn.0100b5cc
test eax, eax
pop ecx
pop ecx
je 0x1007677
push 0
call fcn.01006a7c
test eax, eax
jne 0x1007677
push eax
call fcn.0100b244
pop ecx
lea eax, [eax + eax + 4]
push eax
push 0
mov dword [ebp - 0x1164], eax
call esi
push eax
call ebx
mov edx, eax
test edx, edx
mov dword [edi - 8], edx
je 0x1007694
mov ecx, dword [ebp - 0x1164]
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
mov eax, dword [ebp - 0x1160]
push dword [eax - 8]
call fcn.0100b525
mov edi, dword [ebp - 0x1160]
jmp 0x1007692
push 4
push 0
call esi
push eax
call ebx
test eax, eax
mov dword [edi - 8], eax
je 0x1007694
push 0x100125c
push eax
call fcn.0100b525
pop ecx
pop ecx
add edi, 0x40
lea eax, [edi - 4]
cmp dword [eax], 6
mov dword [ebp - 0x1160], edi
mov dword [ebp - 0x1158], eax
jne 0x1007182
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ae9f
leave
ret