Function at 0x273be527
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
push 0x273d8cc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x273d8c80]
mov eax, dword [0x273d4de4]
xor ebx, ebx
cmp edi, ebx
je 0x273be561
cmp dword [ebp + 8], ebx
je 0x273be713
cmp dword [ebp + 8], eax
je 0x273be713
cmp word [0x273d1b18], bx
je 0x273be713
cmp dword [ebp + 8], ebx
jne 0x273be576
mov dword [ebp + 8], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 8]
push 5
push eax
push 3
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x273be713
mov ebx, 0x104
lea eax, [ebp - 0x314]
push ebx
push eax
push 0x3e9
push dword [0x273d8c84]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x273be713
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x210]
push 0x273d52f0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x418]
push ebx
push eax
push dword [0x273d8c84]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.273be4e2
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x273be715
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jle 0x273be67c
lea eax, [ebp - 8]
and byte [ebp - 6], 0
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x210]
push str._s_s.DLL
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.273be4e2
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x273be715
lea eax, [ebp - 8]
push 5
push eax
mov eax, dword [0x273d4de4]
and eax, 0x3ff
push 3
or ah, 4
push eax
call esi
test eax, eax
je 0x273be713
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x10c]
lea esi, [ebp - 8]
lea edi, [eax - 7]
lea eax, [ebp - 0x10c]
movsw word es:[edi], word [esi]
push eax
movsb byte es:[edi], byte [esi]
call ebx
mov edi, eax
test edi, edi
jne 0x273be715
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x210]
push dword [ebp + 8]
push str._u_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.273be4e2
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call ebx
mov edi, eax
test edi, edi
mov eax, dword [0x273d8c84]
jne 0x273be71e
mov edi, eax
cmp dword [0x273d8c80], 0
mov ebx, dword [ebp + 8]
jne 0x273be73c
test ebx, ebx
je 0x273be736
cmp ebx, dword [0x273d4de4]
jne 0x273be73c
mov dword [0x273d8c80], edi
cmp dword [0x273d8d04], 0
je 0x273be751
cmp ebx, dword [0x273d4de4]
je 0x273be7ab
test ebx, ebx
je 0x273be7ab
push 1
cmp edi, eax
pop esi
je 0x273be799
lea eax, [ebp - 0x10c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.273be7bf
cmp eax, 0xffffffff
je 0x273be781
cmp eax, esi
jne 0x273be799
mov eax, dword [0x273d8c84]
test ebx, ebx
mov edi, eax
je 0x273be794
cmp ebx, dword [0x273d4de4]
jne 0x273be799
mov dword [0x273d8c80], eax
test ebx, ebx
je 0x273be7a5
cmp ebx, dword [0x273d4de4]
jne 0x273be7ab
mov dword [0x273d8d04], esi
push 0x273d8cc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4