Function at 0x4be3a934
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov eax, 0x4be59be4
call fcn.4be44284
mov word [ebp - 0x10], 8
push 0x4be59ee6
cmp dword [0x4be56de0], 0
je 0x4be3a96f
mov edx, dword [0x4be56de0]
add edx, 0x4fd
jmp 0x4be3a971
xor edx, edx
push edx
call fcn.4be3a41d
mov ebx, eax
test ebx, ebx
jne 0x4be3a97f
xor ebx, ebx
mov dword [0x4be59bc4], 0x4be62d34
xor eax, eax
mov dword [0x4be59bd0], eax
xor edx, edx
mov dword [0x4be59bd4], edx
push 0x14
lea ecx, [ebp - 0x168]
push ecx
push 5
push 0x800
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
je 0x4be3ac29
lea eax, [ebp - 0x168]
push eax
call fcn.4be47b30
pop ecx
movsx edx, ax
cmp edx, 0x52
jg 0x4be3a9e7
je 0x4be3aa6b
sub edx, 0x42
je 0x4be3ab47
sub edx, 0xf
je 0x4be3abb6
jmp 0x4be3abf1
sub edx, 0x56
je 0x4be3aad8
sub edx, 0x320
jne 0x4be3abf1
mov word [0x4be59b30], 0x3b6
mov word [0x4be59b32], 0x376
mov word [0x4be59b34], 0x47
mov word [0x4be59b36], 0x4f
mov dword [0x4be59b38], 0x4be59ef1
mov dword [0x4be59b3c], 0x4be59ef8
mov dword [0x4be59b28], 0x4be59f01
mov ecx, dword [0x4be59b38]
mov dword [0x4be59b2c], ecx
mov word [0x4be59b40], 0xa1
mov word [0x4be59b42], 0x40
mov dword [0x4be59b24], 0x10000004
jmp 0x4be3ac3a
mov word [0x4be59b30], 0x3b5
mov word [0x4be59b32], 0x52
mov word [0x4be59b34], 0x46
mov word [0x4be59b36], 0x4e
mov dword [0x4be59b38], 0x4be59f07
mov dword [0x4be59b3c], 0x4be59f0d
mov dword [0x4be59b28], 0x4be59f16
mov eax, dword [0x4be59b38]
mov dword [0x4be59b2c], eax
mov word [0x4be59b40], 0xa1
mov word [0x4be59b42], 0xa1
mov dword [0x4be59b24], 0x10000008
jmp 0x4be3ac3a
mov word [0x4be59b30], 0x3a8
mov word [0x4be59b32], 0x56
mov word [0x4be59b34], 0x45
mov word [0x4be59b36], 0x4d
mov dword [0x4be59b38], 0x4be59f1c
mov dword [0x4be59b3c], 0x4be59f22
mov dword [0x4be59b28], 0x4be59f2b
mov edx, dword [0x4be59b38]
mov dword [0x4be59b2c], edx
mov word [0x4be59b40], 0xa1
mov word [0x4be59b42], 0xa1
mov dword [0x4be59b24], 0x10000010
jmp 0x4be3ac3a
mov word [0x4be59b30], 0x36a
mov word [0x4be59b32], 0x42
mov word [0x4be59b34], 0x48
mov word [0x4be59b36], 0x50
mov dword [0x4be59b38], 0x4be59f31
mov dword [0x4be59b3c], 0x4be59f36
mov dword [0x4be59b28], 0x4be59f3f
mov word [0x4be59b40], 0x20
mov word [0x4be59b42], 0x20
mov ecx, dword [0x4be59b38]
mov dword [0x4be59b2c], ecx
mov dword [0x4be59b24], 2
jmp 0x4be3ac3a
mov dword [0x4be59b24], 0x10000001
mov word [0x4be59b36], 0x1b
mov dword [0x4be59b28], 0x4be59f45
mov dword [0x4be59b2c], 0x4be59f4b
mov word [0x4be59b40], 0x81
mov word [0x4be59b42], 0x40
jmp 0x4be3ac3a
mov word [0x4be59b36], 0x1b
mov dword [0x4be59b28], 0x4be59f51
mov dword [0x4be59b2c], 0x4be59f57
mov word [0x4be59b40], 0x20
mov word [0x4be59b42], 0x20
xor eax, eax
mov dword [0x4be59b24], eax
jmp 0x4be3ac3a
mov word [0x4be59b36], 0x1b
xor edx, edx
mov dword [0x4be59b24], edx
cmp dword [0x4be59b24], 0
je 0x4be3ac60
test byte [0x4be59b24], 1
je 0x4be3ac56
xor ecx, ecx
mov dword [0x4be59bd8], ecx
jmp 0x4be3ac60
mov dword [0x4be59bd8], 1
mov word [0x4be59bdc], 0x80
mov word [0x4be59bde], 0xfe
push 0xc2
push 0
push 0x4be62d34
call fcn.4be41c34
add esp, 0xc
xor eax, eax
mov dword [0x4be59be0], eax
mov word [0x4be62df6], 0
push 0x4be62d30
push 0
call fcn.4be3a04f
mov dword [0x4be62d2c], eax
cmp dword [0x4be62d2c], 0
jne 0x4be3acc6
push 0
call fcn.4be3a06d
push eax
call fcn.4be3cd2e
mov word [ebp - 0x22], ax
jmp 0x4be3ad62
test esi, esi
je 0x4be3acfa
push esi
call fcn.4be41d2c
pop ecx
test eax, eax
je 0x4be3acfa
push 0x4be59bc4
push esi
call sym.idapi32.dll_OsLdLoadBySymbName
mov word [ebp - 0x22], ax
test ax, ax
je 0x4be3acfa
mov edx, dword [0x4be59bc4]
mov ecx, dword [0x4be62d30]
mov dword [edx + 0x4a], ecx
jmp 0x4be3ad62
mov eax, dword [0x4be59bc4]
cmp word [eax + 0x50], 3
jne 0x4be3ad13
push dword [0x4be59bc4]
call fcn.4be3b75d
jmp 0x4be3ad38
mov edx, dword [0x4be59bc4]
cmp word [edx + 0x50], 1
jne 0x4be3ad2d
push dword [0x4be59bc4]
call fcn.4be3bb0a
jmp 0x4be3ad38
push dword [0x4be59bc4]
call fcn.4be3b681
mov dword [0x4be59bcc], ebx
push 0x4be59be0
push 0
push 0
call sym.idapi32.dll_OsMuxCreate
mov word [ebp - 0x22], ax
test ax, ax
je 0x4be3ad62
xor edx, edx
mov dword [0x4be59be0], edx
call sym.idapi32.dll_OsLdExit
cmp word [ebp - 0x22], 0
je 0x4be3ad85
cmp dword [0x4be59bcc], 0
je 0x4be3ad85
push dword [0x4be59bcc]
call sub.KERNEL32.dll_FreeLibrary
xor ecx, ecx
mov dword [0x4be59bcc], ecx
mov word [ebp - 0x10], 0
jmp 0x4be3ad9a
mov ax, word [ebp - 0x22]
mov edx, dword [ebp - 0x20]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8