Function at 0x7d01b7da
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
push ebx
push esi
push edi
xor edi, edi
push 0x7d04ce10
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
push 0x7d01b791
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea eax, [ebp - 0x10]
push eax
push 0x7cf462fc
push edi
call fcn.7d01b27a
cmp eax, edi
jl 0x7d01b88d
lea eax, [ebp - 0x414]
mov esi, 0x400
push eax
lea eax, [ebp - 0x814]
push esi
push eax
push esi
mov dword [ebp - 4], edi
push edi
push dword [ebp - 0x10]
call fcn.7d01b2c5
cmp eax, edi
jl 0x7d01b884
cmp dword [0x7d04e974], edi
mov ebx, 0x7d04e974
je 0x7d01b86c
mov ebx, dword [ebx]
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x7d01b865
cmp dword [ebx], edi
jne 0x7d01b848
jmp 0x7d01b86c
mov dword [ebx + 4], 1
inc dword [ebp - 4]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x814]
push esi
push eax
push esi
push dword [ebp - 4]
jmp 0x7d01b82f
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_NtClose]
push 0x800f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x14b
push eax
mov dword [ebp + 8], eax
call esi
cmp dword [0x7d04e974], edi
mov ebx, 0x7d04e974
mov eax, ebx
je 0x7d01babb
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x7d01b8cc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [eax + 4], edi
je 0x7d01baae
add eax, 8
push edi
push eax
call fcn.7d01b3ac
cmp dword [0x7d04ce40], edi
mov word [ebp - 0x814], di
movzx eax, ax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
je 0x7d01b9a4
lea ecx, [ebp - 0x414]
push 0x200
push ecx
push 0xb
push eax
mov dword [ebp - 0xc], edi
call ebx
cmp eax, edi
je 0x7d01ba95
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.7d01b37a
movzx eax, ax
push 0x7cf462e0
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x7d01b95e
push 0x7cf462d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x7d01b95e
lea ecx, [ebp - 0xa34]
push ecx
push edi
push dword [ebp - 8]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], edi
je 0x7d01ba95
lea eax, [ebp - 0xa1c]
push eax
push edi
push 0x143
push dword [ebp + 8]
call esi
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push eax
push 0x151
push dword [ebp + 8]
call esi
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jne 0x7d01ba95
push edi
push dword [ebp - 0x14]
push 0x14e
jmp 0x7d01ba90
lea ecx, [ebp - 0x414]
push 0x200
push ecx
push 0xb
push eax
call ebx
cmp eax, edi
je 0x7d01b9e8
mov word [ebp + eax*2 - 0x414], di
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.7d01b37a
movzx eax, ax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x814]
push 0x7cf462c8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
push 0x200
push eax
push 6
push dword [ebp - 0xc]
call ebx
cmp eax, edi
je 0x7d01ba2d
mov word [ebp + eax*2 - 0x414], di
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x814]
push 0x7cf462c0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
push 0x200
push eax
push 2
push dword [ebp - 0xc]
call ebx
cmp eax, edi
je 0x7d01ba72
mov word [ebp + eax*2 - 0x414], di
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x814]
push eax
push edi
push 0x143
push dword [ebp + 8]
call esi
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push eax
push 0x151
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 8]
cmp dword [ebp + 0xc], eax
jne 0x7d01baab
push edi
push dword [ebp - 0x14]
push 0x14e
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
cmp dword [eax], edi
jne 0x7d01b8c9
mov ebx, 0x7d04e974
cmp dword [0x7d04e974], edi
mov eax, ebx
je 0x7d01bae1
jmp 0x7d01baca
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
cmp eax, ebx
mov dword [ebp - 4], ecx
je 0x7d01bada
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
cmp dword [eax], edi
jne 0x7d01bac7
push 0x7d04ce10
mov dword [0x7d04e974], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
push edi
push 0x147
push dword [ebp + 8]
call esi
push edi
push eax
push 0x150
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8