Function at 0x10002d10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, edx
sub esp, 0x1bc
mov dword [ebp - 0x1a8], eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x188], 7
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [ebp - 0x1ac], eax
call eax
mov dword [ebp - 0x180], 0
sub esp, 0x10
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x16c], 0
mov dword [esp], ebx
call dword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov esi, dword [sym.imp.crypt32.dll_CertGetNameStringW]
sub esp, 4
mov dword [ebp - 0x168], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebx
call esi
mov dword [ebp - 0x1a0], eax
sub esp, 0x18
cmp eax, dword [edi]
ja 0x10003150
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x10002e41
mov edx, dword [ebp - 0x1a0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebx
call esi
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104d
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x188]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esp], eax
mov eax, dword [ebp - 0x1ac]
call eax
sub esp, 0x10
mov dword [ebp - 0x188], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 4
mov dword [esp], ebx
call esi
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a0], eax
sub esp, 0x18
cmp eax, dword [ecx]
ja 0x10003110
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x10002f0b
mov edx, dword [ebp - 0x1a0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 4
mov dword [esp], ebx
call esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x180], 1
sub esp, 0x18
mov eax, dword [eax]
mov dword [esp + 4], 0x1074
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x188]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esp], eax
mov eax, dword [ebp - 0x1ac]
call eax
sub esp, 0x10
lea edx, [ebp - 0x14c]
mov dword [esp + 0xc], 0x50
lea edi, [ebp - 0x198]
mov dword [esp + 8], edx
lea esi, [ebp - 0xac]
mov dword [esp + 4], 0x1f
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov eax, dword [ebx + 0xc]
sub esp, 0x10
add eax, 0x28
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0x14c]
sub esp, 8
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
lea edi, [ebp - 0x1a0]
mov dword [esp + 0x14], 0x50
mov dword [esp + 4], 0
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_GetDateFormatW]
lea eax, [ebp - 0x188]
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x180], 2
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], 0x1074
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esp], eax
mov eax, dword [ebp - 0x1ac]
call eax
mov esi, dword [sym.imp.crypt32.dll_CertGetCertificateContextProperty]
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
je 0x100030d0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1a4]
cmp dword [ecx], eax
jb 0x10003090
test edx, edx
je 0x10003077
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], 0xb
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
je 0x10003080
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x188]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x180], 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esp + 4], 0x1074
mov dword [esp], eax
mov eax, dword [ebp - 0x1ac]
call eax
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x19c]
jmp 0x10003037
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x1a0]
lea eax, [edx + edx]
mov dword [ebp - 0x1b0], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x10003077
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1a4]
mov dword [eax], edx
mov edx, dword [ecx]
jmp 0x10003012
lea eax, [ebp - 0x19c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [0x10022004]
mov dword [esp + 4], 0x447
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov dword [ebp - 0x1a0], eax
sub esp, 0x10
jmp 0x10002fff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov edi, dword [ebp - 0x1a0]
lea eax, [edi + edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x10002f0b
mov eax, dword [ebp - 0x1a4]
mov dword [eax], edi
jmp 0x10002e8f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov edi, dword [ebp - 0x1a0]
lea eax, [edi + edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x10002e41
mov eax, dword [ebp - 0x1a4]
mov dword [eax], edi
jmp 0x10002dd1