Function at 0x1001b830
Capabilities:
Get geographical location
Query environment variable

Disassembly:
mov eax, 0x1005c53d
call fcn.1005bac8
sub esp, 0x108
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x5c], ecx
je 0x1001bc51
mov dword [ebp - 0x18], 0x3fde
cmp dword [ebp - 0x18], 0x42e0
jle 0x1001b8dc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x761e
mov esi, ebx
mov dword [ebp - 0x20], 0x2993
mov ebx, dword [ebp - 0x28]
mov eax, esi
mov ecx, 0x10076b78
and eax, edi
cdq
push edx
push eax
call fcn.10001c56
add esi, ebx
dec dword [ebp - 0x20]
jne 0x1001b889
mov esi, dword [ebp - 0x1c]
add ebx, esi
dec dword [ebp - 0x24]
push 0
mov dword [ebp - 0x28], ebx
pop ebx
jne 0x1001b87d
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x1ce2
jl 0x1001b873
inc edi
cmp edi, 0x3a2e
jl 0x1001b870
push ebx
push ebx
push 0x153
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1001b8de
xor ebx, ebx
mov edi, dword [ebp + 0x24]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x3c98
mov dword [ebp - 0x28], edi
jge 0x1001b920
mov edx, str.gqvmj_ziv_woppem_hitdq_gqmnog_mbcxwss_yrqdgwaps_gzkvxq_wmn_fhiseez
mov ecx, 0x10076b78
call fcn.10003a53
jmp 0x1001b920
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], 2
cmp dword [edi + 0x10], ebx
je 0x1001bc38
push 0x2e
pop eax
mov word [ebp - 0x3c], ax
xor esi, esi
xor eax, eax
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], 0x3c
inc esi
mov word [ebp - 0x3a], ax
mov dword [ebp - 0x24], 0x5a87
cmp dword [ebp - 0x24], 0x5c60
jle 0x1001b9b3
mov eax, ebx
mov dword [ebp - 0x1c], eax
mov edi, eax
mov dword [ebp - 0x18], 0x3377
mov eax, edi
lea ecx, [ebp - 0xf8]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b988
mov eax, dword [eax]
push eax
call fcn.10043bf4
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xf8]
call fcn.100020a8
dec edi
dec dword [ebp - 0x18]
jne 0x1001b96e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x3cd6
jl 0x1001b965
mov edi, dword [ebp + 0x24]
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x7c], ebx
push eax
call fcn.100174ef
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
mov edx, edi
lea ecx, [ebp - 0x4c]
call fcn.1001aaff
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.10002214
cmp dword [ebp - 0x24], 0x59ac
jge 0x1001ba0c
push str.oom_icgsrf_jqfowge_ihkssec
call fcn.10043bf4
pop ecx
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x48]
mov eax, edi
mov esi, dword [ebp - 0x4c]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x3c], ebx
test eax, eax
jne 0x1001bc28
push 0x2d
pop eax
mov dl, bl
mov dword [ebp - 0x2f], 0x6293044a
push 2
mov ecx, ebx
mov byte [ebp - 0x30], dl
xor esi, esi
mov word [ebp - 0x2b], 0x5f1d
mov word [ebp - 0x34], ax
inc esi
pop edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], edi
cmp edi, 7
jae 0x1001bb6d
movzx eax, dl
lea eax, [eax*2 + 2]
cmp edi, eax
jne 0x1001ba7f
movzx eax, byte [ebp + edi - 0x30]
dec edi
add edi, eax
lea ecx, [eax + 1]
mov dword [ebp - 0x40], ecx
jmp 0x1001bb65
movzx edx, byte [ebp + edi - 0x2f]
mov eax, edi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x32]
movzx eax, word [ebp + eax*2 - 0x34]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [ebp + edi - 0x30]
mov word [ebp + eax*2 - 0x34], cx
mov dword [ebp - 0x1c], 0x115b
cmp dword [ebp - 0x1c], 0x1231
jle 0x1001bb23
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edx, ebx
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, edi
sar eax, cl
lea ecx, [ebp - 0xc8]
xor eax, edx
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001bae5
mov eax, dword [eax]
push eax
call fcn.10043bf4
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xc8]
call fcn.100020a8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x5329
jl 0x1001bac7
inc edi
cmp edi, 0x2f13
jl 0x1001bac2
inc edx
mov dword [ebp - 0x20], edx
cmp edx, 0x512f
jl 0x1001bac0
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
mov edx, 0x33bf
push eax
push ecx
push 0x6105
push 0x441e
mov ecx, 0x79aa
call fcn.1001c47f
add esp, 0x10
cmp dword [ebp - 0x1c], 0xf88
jge 0x1001bb58
push str.itf_qmeg_dyr_mrwekqa_yook
call fcn.10043bf4
pop ecx
mov dword [ebp - 4], 5
mov dl, byte [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
add edi, 2
jmp 0x1001ba52
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x32], ax
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x64], ebx
call fcn.100174ef
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xa
call fcn.1001aaff
pop ecx
mov edi, eax
lea eax, [ebp - 0x4c]
cmp eax, edi
je 0x1001bbcd
mov ecx, eax
call fcn.1001fb78
mov ecx, dword [edi]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x44], eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ecx, [ebp - 0x98]
call fcn.1001fb78
push ebx
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.10002214
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
jmp 0x1001bc28
push esi
lea ecx, [ebp - 0xb0]
call fcn.10001d6b
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0xc
push eax
push ecx
push 1
lea ecx, [ebp - 0x58]
call fcn.1001d578
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
push ebx
push 1
call fcn.10002214
add esi, 0x18
cmp esi, edi
jne 0x1001bbee
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.1001fb78
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x58]
push eax
call fcn.1001f6ac
lea ecx, [ebp - 0x58]
call fcn.1001fc60
jmp 0x1001bda1
xor esi, esi
mov dword [ebp - 0x24], 0x6463
inc esi
xor ebx, ebx
cmp dword [ebp - 0x24], 0x658a
mov dword [ebp - 0x20], esi
jle 0x1001bcb9
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x1c], 0x3b56
mov dword [ebp - 0x18], eax
cdq
lea ecx, [ebp - 0xe0]
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001bc8f
mov eax, dword [eax]
push eax
call fcn.10043bf4
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xe0]
call fcn.100020a8
mov eax, dword [ebp - 0x18]
add eax, edi
dec dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jne 0x1001bc77
inc edi
cmp edi, 0x10d4
jl 0x1001bc6b
cmp dword [ebp - 0x24], 0x607d
jge 0x1001bccd
push str.pkbiu_zaf_kcag_udhmtuj
call fcn.10043bf4
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0xb72
cmp dword [ebp - 0x1c], 0xb9e
jle 0x1001bd3b
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, edi
shl eax, cl
lea ecx, [ebp - 0x110]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001bd04
mov eax, dword [eax]
push eax
call fcn.10043bf4
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x110]
call fcn.100020a8
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x3a38
jl 0x1001bce8
inc edi
cmp edi, 0x79ca
jl 0x1001bce3
push 0x11
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 0x1c], 0x9ea
jge 0x1001bd4f
push str.yjexc_gvqed_athdxo_zoysip_vhaxq_ytemyjngm_oeigqqx_jpbrot_prv_uduzrix_qurnwvh_pdv
call fcn.10043bf4
pop ecx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [edi]
mov eax, dword [esi]
cmp edx, eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp + 0x28]
setg cl
mov dword [eax], ecx
mov eax, dword [eax]
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [edx]
mov eax, dword [ecx]
mov eax, dword [esi]
mov ecx, dword [edi]
mov eax, dword [edx]
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp + 0xc]
setge dl
mov dword [eax], edx
cmp dword [eax], ebx
je 0x1001bd99
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x2c]
mov esi, dword [ebp - 0x20]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret