Function at 0x4bb9d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1890
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, 0x516e7c
mov dword [ebp - 0x188c], esi
sub esi, ecx
mov dword [ebp - 0x1888], eax
mov dword [ebp - 0x1890], esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4bba06
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x516e7c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x1d], al
test al, al
jne 0x4bba20
xor ecx, ecx
mov al, byte [ecx + 0x516e7c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x11], al
test al, al
jne 0x4bba33
mov eax, dword [0x55c498]
cmp eax, 0xffffffff
je 0x4bba5f
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [0x55c498], 0xffffffff
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
xor ebx, ebx
nop dword [eax]
test ebx, ebx
jne 0x4bba93
push 0x52cdc8
push 0x1fa
push 0x52cdc0
call fcn.00421db0
add esp, 0xc
mov dword [ebp - 0x1884], eax
jmp 0x4bbad2
cmp ebx, 1
jne 0x4bbabf
push 0x52cde4
push 0x21e
push 0x52cdc0
call fcn.00421db0
add esp, 0xc
mov dword [ebp - 0x1884], eax
test eax, eax
je 0x4bbca4
jmp 0x4bbad2
call fcn.004bc160
mov dword [ebp - 0x1884], eax
test eax, eax
je 0x4bbcaa
push str.language
push eax
call fcn.004c9a00
mov esi, eax
add esp, 8
test esi, esi
je 0x4bbc91
nop word [eax + eax]
push 0x800
lea eax, [ebp - 0x880]
push eax
push str.name
push esi
call fcn.004c9b60
lea eax, [ebp - 0x1880]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.00406a60
add esp, 0x18
test eax, eax
je 0x4bbc78
test ebx, ebx
jle 0x4bbb45
lea eax, [ebp - 0x1880]
push str.English
push eax
call fcn.004e85f7
add esp, 8
test eax, eax
je 0x4bbc78
cmp ebx, 1
jle 0x4bbb66
lea eax, [ebp - 0x1880]
push 0x527ecc
push eax
call fcn.004e85f7
add esp, 8
test eax, eax
je 0x4bbc78
push 0x800
lea eax, [ebp - 0x880]
push eax
push str.langid
push esi
call fcn.004c9b60
add esp, 0x10
lea eax, [ebp - 0x10]
mov ecx, 0x516e7c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4bbba8
test dl, dl
je 0x4bbba4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4bbba8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4bbb88
xor eax, eax
jmp 0x4bbbad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4bbc52
push 9
lea eax, [ebp - 0x80]
push eax
push 0x59
push 0x800
call edi
lea edi, [ebp - 0x80]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4bbbc8
mov ax, word [0x518278]
lea ecx, [ebp - 0x80]
mov word [edi], ax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bbbe1
mov edi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [ebp - 0x80]
sub ecx, edx
push 9
add eax, ecx
push eax
push 0x5a
push 0x800
call edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.004f25ef
add esp, 8
test eax, eax
je 0x4bbc27
push 9
lea eax, [ebp - 0x80]
push eax
push 0x59
push 0x800
call edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.004f25ef
add esp, 8
test eax, eax
jne 0x4bbc52
xor ecx, ecx
mov al, byte [ebp + ecx - 0x880]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x11], al
test al, al
jne 0x4bbc40
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x880]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x1d], cl
test cl, cl
jne 0x4bbc60
inc dword [ebp - 0x1888]
inc esi
push str.language
push esi
call fcn.004c9a00
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bbaf0
cmp ebx, 1
jg 0x4bbca4
push dword [ebp - 0x1884]
call fcn.004ec0b7
add esp, 4
inc ebx
jmp 0x4bba70
mov eax, dword [0x55c498]
pop edi
pop ebx
cmp eax, 0xffffffff
je 0x4bbcc7
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [0x55c498], 0xffffffff
lea eax, [ebp - 0x10]
push 0x516e7c
push eax
call fcn.004f25ef
add esp, 8
test eax, eax
je 0x4bbd0c
mov esi, dword [ebp - 0x188c]
lea ecx, [ebp - 0x10]
mov eax, ecx
sub esi, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4bbcf0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1888], 2
jne 0x4bbd3e
mov esi, dword [ebp - 0x188c]
lea ecx, [ebp - 0x1c]
mov eax, ecx
sub esi, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4bbd22
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1890]
mov ecx, 0x516e7c
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4bbd50
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret