Function at 0x68002fc0
Capabilities:
Get geographical location
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, edx
sub esp, 0x1dc
mov dword [ebp - 0x1bc], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x194], 7
call sym._SendMessageW_16
mov dword [ebp - 0x18c], 0
sub esp, 0x10
mov dword [ebp - 0x190], eax
mov dword [esp], ebx
mov dword [ebp - 0x178], 0
call sym._CertDuplicateCertificateContext_4
sub esp, 4
mov dword [ebp - 0x174], 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 sym._CertGetNameStringW_24
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
cmp eax, dword [edi]
ja 0x68003440
mov eax, dword [esi]
test eax, eax
je 0x680030e2
mov edx, dword [ebp - 0x1ac]
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 sym._CertGetNameStringW_24
mov eax, dword [esi]
sub esp, 0x18
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x194]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104d
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
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
mov dword [ebp - 0x194], 1
call sym._CertGetNameStringW_24
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
cmp eax, dword [ecx]
ja 0x680033d0
mov eax, dword [esi]
test eax, eax
je 0x680031a9
mov edx, dword [ebp - 0x1ac]
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 sym._CertGetNameStringW_24
mov eax, dword [esi]
mov dword [ebp - 0x18c], 1
sub esp, 0x18
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x194]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], 0x1074
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
lea ecx, [ebp - 0x158]
mov dword [esp + 0xc], 0x50
lea edi, [ebp - 0xb8]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x1f
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov eax, dword [ebx + 0xc]
lea edx, [ebp - 0x1a4]
sub esp, 0x10
add eax, 0x28
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
lea ecx, [ebp - 0x158]
lea edx, [ebp - 0x1a4]
sub esp, 8
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x50
mov dword [esp + 4], 0
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_GetDateFormatW]
lea eax, [ebp - 0x194]
mov dword [ebp - 0x180], edi
lea edi, [ebp - 0x1ac]
mov dword [ebp - 0x18c], 2
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], 0x1074
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb
mov dword [esp], ebx
call sym._CertGetCertificateContextProperty_16
sub esp, 0x10
test eax, eax
je 0x68003398
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [esi]
cmp dword [ecx], eax
jb 0x68003320
test edx, edx
je 0x6800330b
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], 0xb
mov dword [esp], ebx
call sym._CertGetCertificateContextProperty_16
sub esp, 0x10
test eax, eax
je 0x68003318
mov eax, dword [esi]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x194]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], 0x1074
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x18c], 3
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1a8]
jmp 0x680032ce
mov dword [esp + 8], edx
mov ecx, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x1c4], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1c4]
sub esp, 0xc
add eax, eax
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x6800330b
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x1ac]
mov dword [edx], eax
mov edx, dword [esi]
jmp 0x680032a9
lea eax, [ebp - 0x1a8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [0x68022004]
mov dword [esp + 4], 0x447
mov dword [esp], eax
call sym._LoadStringW_16
mov dword [ebp - 0x1ac], eax
sub esp, 0x10
jmp 0x6800329d
mov eax, dword [esi]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1ac]
sub esp, 0xc
add eax, eax
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x680031a9
mov eax, dword [ebp - 0x1ac]
mov edi, dword [ebp - 0x1bc]
mov dword [edi], eax
jmp 0x68003133
mov eax, dword [esi]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1ac]
sub esp, 0xc
add eax, eax
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x680030e2
mov eax, dword [ebp - 0x1ac]
mov edi, dword [ebp - 0x1bc]
mov dword [edi], eax
jmp 0x68003078