Function at 0x101d9bf
Capabilities:
Get geographical location

Disassembly:
mov eax, reloc.ADVAPI32.dll_AddAccessAllowedAce
call fcn.01077868
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.01075f2c
xor edi, edi
push 8
mov dword [ebp - 4], edi
call fcn.010760ac
cmp eax, edi
pop ecx
je 0x101d9f8
mov dword [eax + 4], edi
mov dword [eax], 0x1003ae4
mov dword [ebp - 0x10], eax
jmp 0x101d9fb
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x80]
shl eax, 2
push 5
pop ecx
cdq
idiv ecx
push 0xc
pop edx
lea ecx, [esi + 0xa4]
cmp eax, edx
mov dword [ecx], eax
jge 0x101da1b
mov dword [ecx], edx
push ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xb4], 0x2bc
call fcn.0101c900
mov edi, dword [ebp + 8]
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [edi]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, edi
call dword [ebx + 0x38]
mov ebx, 0x80
push ebx
lea ecx, [ebp - 0x14]
call fcn.010763d0
push ebx
push eax
push 0x37
push 0x400
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
call fcn.01075f08
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x7c]
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
mov edx, dword [edi]
mov dword [ebp - 0x30], ecx
push 0x25
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push ecx
push dword [eax - 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
call dword [edx + 0x70]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.01075ef0
mov dword [ebp + 8], 0x31
push ebx
push dword [ebp - 0x18]
push dword [ebp + 8]
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.01075f08
mov edx, dword [esi + 0x74]
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
add eax, 0xffffffd0
lea ecx, [eax + 1]
imul eax, edx
imul ecx, edx
mov edx, dword [edi]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x30], ecx
push 0x25
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
push dword [eax - 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 2
call dword [edx + 0x70]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.01075ef0
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x36
jle 0x101dab5
mov eax, dword [edi]
push 0xd
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x10]
call fcn.01076484
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0xa4]
push eax
mov dword [eax], LoadLibraryW
call fcn.0101c900
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
lea ebx, [esi + 0x104]
mov ecx, ebx
call fcn.010763f4
mov ecx, ebx
mov dword [esi + 0x90], eax
call fcn.01076400
mov ecx, ebx
mov dword [esi + 0x94], eax
call fcn.010763f4
push 7
cdq
pop ecx
idiv ecx
xor ebx, ebx
inc ebx
lea ecx, [esi + 0x104]
sub ebx, edx
call fcn.010765a4
add ebx, eax
cmp ebx, 2
jge 0x101db98
add ebx, 7
mov eax, dword [esi + 0x90]
lea eax, [ebx + eax - 2]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
fstp qword [ebp - 0x34]
xor ebx, ebx
push eax
lea ecx, [esi + 0x104]
mov dword [ebp - 0x2c], ebx
call fcn.010764fc
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.010763f4
push eax
lea ecx, [ebp - 0x28]
call fcn.01076400
push eax
lea ecx, [ebp - 0x28]
call fcn.0107640c
push eax
lea ecx, [esi + 0x110]
call fcn.010763b8
mov dword [ebp + 8], ebx
lea ecx, [ebp - 0x28]
call fcn.01076400
cmp dword [esi + 0x94], eax
jne 0x101dc36
lea ecx, [ebp - 0x28]
call fcn.010763f4
cmp dword [esi + 0x90], eax
mov ebx, dword [edi]
push 0x12
jne 0x101dc3a
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, edi
call dword [ebx + 0x38]
mov eax, dword [ebp + 8]
push 7
cdq
pop ecx
idiv ecx
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
jmp 0x101dc46
mov ebx, dword [edi]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, edi
push eax
call dword [ebx + 0x38]
cmp dword [ebp + 8], 0x29
jne 0x101dc68
push 0x79
lea ecx, [ebp - 0x14]
call fcn.01075f5c
mov ebx, dword [edi]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, edi
call dword [ebx + 0x38]
jmp 0x101dc82
lea ecx, [ebp - 0x28]
call fcn.010763f4
push eax
lea eax, [ebp - 0x14]
push 0x1003bdc
push eax
call fcn.01075f50
add esp, 0xc
mov eax, dword [ebp + 8]
cdq
push 7
pop ecx
idiv ecx
mov ebx, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
push 0
mov dword [ebp - 0x1c], eax
inc eax
imul eax, ebx
imul ebx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 2]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x74]
lea ecx, [edx + 1]
imul edx, dword [esi + 0x74]
imul ecx, eax
mov eax, dword [esi + 0x7c]
dec ecx
dec ecx
lea ebx, [ebx + eax + 2]
mov eax, dword [ebp - 0x18]
inc edx
inc edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
mov edx, dword [edi]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax - 8]
lea ebx, [ebp - 0x38]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
sub esp, 0xc
mov eax, esp
fld1
and dword [eax + 8], 0
fstp qword [eax]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], esp
call fcn.0101cb22
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x2a
jl 0x101dbef
mov eax, dword [edi]
push 0xd
mov ecx, edi
call dword [eax + 0x2c]
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.01076484
test esi, esi
je 0x101dd24
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + reloc.ADVAPI32.dll_SetSecurityDescriptorDacl]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01075ef0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4