Function at 0x277b3ce2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
push 0x278272f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x278272e4]
mov eax, dword [0x278291e8]
xor ebx, ebx
cmp edi, ebx
je 0x277b3d61
cmp dword [ebp + 8], ebx
jne 0x277c5e41
test edi, edi
mov eax, dword [0x278272e8]
je 0x277b3f18
cmp dword [0x278272e4], 0
mov ebx, dword [ebp + 8]
je 0x277b3f1f
cmp dword [0x27829210], 0
je 0x277b3f3a
cmp ebx, dword [0x278291e8]
je 0x277b3d4d
test ebx, ebx
jne 0x277b3f3a
push 0x278272f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp word [0x277b6320], bx
je 0x277b3d13
cmp dword [ebp + 8], ebx
jne 0x277b3d72
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 0x277b3d13
mov ebx, 0x104
lea eax, [ebp - 0x314]
push ebx
push eax
push 0x3e9
push dword [0x278272e8]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x277b3d13
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x210]
push 0x278291ec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x418]
push ebx
push eax
push dword [0x278272e8]
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.277b41f1
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 0x277b3d15
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jle 0x277b3e74
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.277b41f1
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x277b3d15
lea eax, [ebp - 8]
push 5
push eax
mov eax, dword [0x278291e8]
and eax, 0x3ff
push 3
or ah, 4
push eax
call esi
test eax, eax
je 0x277b3d13
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 0x277b3d15
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.277b41f1
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call ebx
mov edi, eax
jmp 0x277b3d13
mov edi, eax
jmp 0x277b3d20
test ebx, ebx
je 0x277b3f2f
cmp ebx, dword [0x278291e8]
jne 0x277b3d30
mov dword [0x278272e4], edi
jmp 0x277b3d30
push 1
cmp edi, eax
pop esi
jne 0x277c5e4f
test ebx, ebx
je 0x277b3f55
cmp ebx, dword [0x278291e8]
jne 0x277b3d4d
mov dword [0x27829210], esi
jmp 0x277b3d4d
cmp dword [ebp + 8], eax
jne 0x277b3d61
jmp 0x277b3d13
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.277d87dd
cmp eax, 0xffffffff
je 0x277c5e7c
cmp eax, esi
jne 0x277b3f45
mov eax, dword [0x278272e8]
test ebx, ebx
mov edi, eax
je 0x277c5e93
cmp ebx, dword [0x278291e8]
jne 0x277b3f45
mov dword [0x278272e4], eax
jmp 0x277b3f45