Function at 0x140158010
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str.LC_ALL
call sub.msvcrt.dll_getenv
test rax, rax
je 0x14015802e
cmp byte [rax], 0
jne 0x1401580b4
lea rcx, str.LC_MESSAGES
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140158044
cmp byte [rax], 0
jne 0x1401580b4
lea rcx, str.LANG
call sub.msvcrt.dll_getenv
test rax, rax
je 0x14015805a
cmp byte [rax], 0
jne 0x1401580b4
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ecx, eax
and eax, 0x3ff
shr cx, 0xa
cmp eax, 0x79
ja case.0x140158082.0
lea rdx, [0x140283dd0]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
cmp cx, 2
lea rax, str.sr_CS
je 0x1401580b4
cmp cx, 3
lea rax, str.sr_CS_cyrillic
je 0x1401580b4
lea rdx, [0x140283cac]
lea rax, str.hr_HR
cmp cx, 1
cmovne rax, rdx
add rsp, 0x28
ret
lea rax, str.pap_AN
jmp 0x1401580b4
cmp cx, 0x10
ja case.0x1401580dd.0
lea rdx, [0x140283fb8]
movzx ecx, cx
movsxd rax, dword [rdx + rcx*4]
add rax, rdx
jmp rax
lea rax, str.bg_BG
jmp 0x1401580b4
lea rax, str.ca_ES
jmp 0x1401580b4
cmp cx, 5
ja case.0x14015810c.0
lea rdx, [0x140283ffc]
movzx ecx, cx
movsxd rax, dword [rdx + rcx*4]
add rax, rdx
jmp rax
lea rax, str.cs_CZ
jmp 0x1401580b4
lea rax, str.da_DK
jmp 0x1401580b4
cmp cx, 5
ja case.0x14015813b.0
lea rdx, [0x140284014]
movzx ecx, cx
movsxd rax, dword [rdx + rcx*4]
add rax, rdx
jmp rax
lea rax, str.el_GR
jmp 0x1401580b4
cmp cx, 0x12
ja case.0x140158164.0
lea rdx, [0x14028402c]
movzx ecx, cx
movsxd rax, dword [rdx + rcx*4]
add rax, rdx
jmp rax
lea rax, str.xh_ZA
jmp 0x1401580b4
lea rax, str.af_ZA
jmp 0x1401580b4
lea rax, str.ka_GE
jmp 0x1401580b4
lea rax, str.tt_RU
jmp 0x1401580b4
cmp cx, 1
lea rax, str.bn_IN
je 0x1401580b4
lea rdx, [0x140283d0a]
lea rax, str.bn_BD
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rdx, [0x140283a29]
lea rax, str.pa_IN
cmp cx, 1
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.gu_IN
jmp 0x1401580b4
lea rax, str.or_IN
jmp 0x1401580b4
lea rax, [0x140283907]
jmp 0x1401580b4
lea rax, str.te_IN
jmp 0x1401580b4
lea rax, str.kn_IN
jmp 0x1401580b4
lea rax, str.ml_IN
jmp 0x1401580b4
lea rax, str.as_IN
jmp 0x1401580b4
lea rax, str.mr_IN
jmp 0x1401580b4
lea rax, str.sa_IN
jmp 0x1401580b4
lea rax, [0x140283a7b]
jmp 0x1401580b4
lea rax, str.bo_CN
jmp 0x1401580b4
lea rax, str.cy_GB
jmp 0x1401580b4
lea rax, str.km_KH
jmp 0x1401580b4
cmp cx, 1
lea rax, str.no_NO
je 0x1401580b4
lea rdx, [0x140283a5d]
lea rax, str.nn_NO
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.pl_PL
jmp 0x1401580b4
cmp cx, 1
lea rax, str.pt_BR
je 0x1401580b4
lea rdx, [0x140283a32]
lea rax, str.pt_PT
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.rm_CH
jmp 0x1401580b4
lea rdx, [0x140283a1a]
lea rax, str.ro_RO
cmp cx, 1
cmovne rax, rdx
jmp 0x1401580b4
lea rax, [0x140283a17]
jmp 0x1401580b4
lea rax, str.sk_SK
jmp 0x1401580b4
lea rax, str.sq_AL
jmp 0x1401580b4
cmp cx, 1
lea rax, str.sv_SE
je 0x1401580b4
lea rdx, [0x14028393f]
lea rax, str.sv_FI
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.th_TH
jmp 0x1401580b4
lea rax, str.tr_TR
jmp 0x1401580b4
cmp cx, 1
lea rax, str.ur_PK
je 0x1401580b4
lea rdx, [0x1402838b3]
lea rax, str.ur_IN
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.id_ID
jmp 0x1401580b4
lea rax, str.uk_UA
jmp 0x1401580b4
lea rax, str.be_BY
jmp 0x1401580b4
lea rax, str.sl_SI
jmp 0x1401580b4
lea rax, str.et_EE
jmp 0x1401580b4
lea rax, str.lv_LV
jmp 0x1401580b4
lea rax, str.lt_LT
jmp 0x1401580b4
lea rax, str.tg_TJ
jmp 0x1401580b4
lea rax, str.fa_IR
jmp 0x1401580b4
lea rax, str.vi_VN
jmp 0x1401580b4
lea rax, str.hy_AM
jmp 0x1401580b4
cmp cx, 1
lea rax, str.az_AZ_latin
je 0x1401580b4
lea rdx, [0x140283d22]
lea rax, str.az_AZ_cyrillic
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, [0x140283d1f]
jmp 0x1401580b4
lea rax, str.wen_DE
jmp 0x1401580b4
lea rax, str.mk_MK
jmp 0x1401580b4
lea rax, str.bnt_TZ
jmp 0x1401580b4
lea rax, str.ts_ZA
jmp 0x1401580b4
lea rax, str.tn_BW
jmp 0x1401580b4
lea rax, str.ve_ZA
jmp 0x1401580b4
cmp cx, 0xf
ja case.0x1401584b7.0
lea rdx, [0x140284078]
movzx ecx, cx
movsxd rax, dword [rdx + rcx*4]
add rax, rdx
jmp rax
lea rax, str.he_IL
jmp 0x1401580b4
lea rax, str.hu_HU
jmp 0x1401580b4
lea rax, str.is_IS
jmp 0x1401580b4
cmp cx, 1
lea rax, str.it_IT
je 0x1401580b4
lea rdx, [0x140283aff]
lea rax, str.it_CH
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.ja_JP
jmp 0x1401580b4
lea rax, str.ko_KR
jmp 0x1401580b4
cmp cx, 1
lea rax, str.nl_NL
je 0x1401580b4
lea rdx, [0x140283c8a]
lea rax, str.nl_BE
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
cmp cx, 0x14
ja case.0x140158568.0
lea rdx, [0x1402840b8]
movzx ecx, cx
movsxd rax, dword [rdx + rcx*4]
add rax, rdx
jmp rax
lea rax, str.fi_FI
jmp 0x1401580b4
lea rax, str.lo_LA
jmp 0x1401580b4
lea rax, str.my_MM
jmp 0x1401580b4
lea rax, str.gl_ES
jmp 0x1401580b4
lea rax, str.kok_IN
jmp 0x1401580b4
lea rax, str.mni_IN
jmp 0x1401580b4
cmp cx, 1
lea rax, str.sd_IN
je 0x1401580b4
lea rdx, [0x1402839fc]
lea rax, str.sd_PK
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.syr_TR
jmp 0x1401580b4
lea rax, str.si_LK
jmp 0x1401580b4
lea rax, str.chr_US
jmp 0x1401580b4
lea rax, str.iu_CA
jmp 0x1401580b4
lea rax, str.am_ET
jmp 0x1401580b4
cmp cx, 1
lea rax, str.ber_MA_arabic
je 0x1401580b4
lea rdx, str.ber_MA
lea rax, str.ber_MA_latin
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
cmp cx, 1
lea rax, str.ks_PK
je 0x1401580b4
lea rdx, [0x140283add]
lea rax, str.ks_IN
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
cmp cx, 1
lea rax, str.ne_NP
je 0x1401580b4
lea rdx, [0x140283a6c]
lea rax, str.ne_IN
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.fy_NL
jmp 0x1401580b4
lea rax, [0x140283a47]
jmp 0x1401580b4
lea rax, str.tl_PH
jmp 0x1401580b4
lea rax, str.div_MV
jmp 0x1401580b4
lea rax, str.bin_NG
jmp 0x1401580b4
lea rax, str.ful_NG
jmp 0x1401580b4
lea rax, str.ha_NG
jmp 0x1401580b4
lea rax, str.nic_NG
jmp 0x1401580b4
lea rax, str.yo_NG
jmp 0x1401580b4
lea rax, str.ibo_NG
jmp 0x1401580b4
lea rax, str.kau_NG
jmp 0x1401580b4
lea rax, str.om_ET
jmp 0x1401580b4
cmp cx, 1
lea rax, str.ti_ET
je 0x1401580b4
lea rdx, [0x1402838e0]
lea rax, str.ti_ER
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.gn_PY
jmp 0x1401580b4
lea rax, str.cpe_US
jmp 0x1401580b4
lea rax, str.la_VA
jmp 0x1401580b4
lea rax, str.so_SO
jmp 0x1401580b4
lea rax, str.sit_CN
jmp 0x1401580b4
cmp cx, 1
lea rax, str.gd_GB
je 0x1401580b4
lea rdx, [0x140283868]
lea rax, str.ga_IE
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.yi_IL
jmp 0x1401580b4
cmp cx, 1
lea rax, str.ms_MY
je 0x1401580b4
lea rdx, [0x140283a97]
lea rax, str.ms_BN
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.kk_KZ
jmp 0x1401580b4
lea rax, str.ky_KG
jmp 0x1401580b4
lea rax, str.sw_KE
jmp 0x1401580b4
lea rax, str.tk_TM
jmp 0x1401580b4
cmp cx, 1
lea rax, str.uz_UZ
je 0x1401580b4
lea rdx, [0x14028389b]
lea rax, str.uz_UZ_cyrillic
cmp cx, 2
cmovne rax, rdx
jmp 0x1401580b4
lea rax, str.fo_FO
jmp 0x1401580b4
lea rax, str.hi_IN
jmp 0x1401580b4
lea rax, str.mt_MT
jmp 0x1401580b4
lea rax, str.se_NO
jmp 0x1401580b4
lea rax, str.zu_ZA
jmp 0x1401580b4
lea rax, [0x140283868]
jmp 0x1401580b4
lea rax, str.zh_MO
jmp 0x1401580b4
lea rax, str.zh_SG
jmp 0x1401580b4
lea rax, str.zh_HK
jmp 0x1401580b4
lea rax, str.zh_CN
jmp 0x1401580b4
lea rax, str.zh_TW
jmp 0x1401580b4
lea rax, str.de_LI
jmp 0x1401580b4
lea rax, str.de_LU
jmp 0x1401580b4
lea rax, str.de_AT
jmp 0x1401580b4
lea rax, str.de_CH
jmp 0x1401580b4
lea rax, str.de_DE
jmp 0x1401580b4
lea rax, [0x140283b5f]
jmp 0x1401580b4
lea rax, [0x140283cca]
jmp 0x1401580b4
lea rax, str.ar_QA
jmp 0x1401580b4
lea rax, str.es_ES
jmp 0x1401580b4
lea rax, [0x14028395b]
jmp 0x1401580b4
lea rax, str.es_NI
jmp 0x1401580b4
lea rax, str.es_HN
jmp 0x1401580b4
lea rax, str.es_PR
jmp 0x1401580b4
lea rax, str.en_SG
jmp 0x1401580b4
lea rax, str.en_MY
jmp 0x1401580b4
lea rax, str.en_IN
jmp 0x1401580b4
lea rax, str.en_HK
jmp 0x1401580b4
lea rax, str.en_ID
jmp 0x1401580b4
lea rax, str.en_PH
jmp 0x1401580b4
lea rax, str.en_ZW
jmp 0x1401580b4
lea rax, str.en_TT
jmp 0x1401580b4
lea rax, str.en_BZ
jmp 0x1401580b4
lea rax, str.en_GD
jmp 0x1401580b4
lea rax, str.en_JM
jmp 0x1401580b4
lea rax, str.en_ZA
jmp 0x1401580b4
lea rax, str.en_IE
jmp 0x1401580b4
lea rax, str.en_NZ
jmp 0x1401580b4
lea rax, str.en_CA
jmp 0x1401580b4
lea rax, str.en_AU
jmp 0x1401580b4
lea rax, str.en_GB
jmp 0x1401580b4
lea rax, str.en_US
jmp 0x1401580b4
lea rax, [0x140283c14]
jmp 0x1401580b4
lea rax, str.es_SV
jmp 0x1401580b4
lea rax, str.es_BO
jmp 0x1401580b4
lea rax, str.es_PY
jmp 0x1401580b4
lea rax, str.es_UY
jmp 0x1401580b4
lea rax, str.es_CL
jmp 0x1401580b4
lea rax, str.es_EC
jmp 0x1401580b4
lea rax, str.es_AR
jmp 0x1401580b4
lea rax, str.es_PE
jmp 0x1401580b4
lea rax, str.es_CO
jmp 0x1401580b4
lea rax, str.es_VE
jmp 0x1401580b4
lea rax, str.es_DO
jmp 0x1401580b4
lea rax, str.es_PA
jmp 0x1401580b4
lea rax, str.es_CR
jmp 0x1401580b4
lea rax, str.es_GT
jmp 0x1401580b4
lea rax, str.es_ES_modern
jmp 0x1401580b4
lea rax, str.es_MX
jmp 0x1401580b4
lea rax, str.fr_ML
jmp 0x1401580b4
lea rax, str.fr_CI
jmp 0x1401580b4
lea rax, str.fr_CM
jmp 0x1401580b4
lea rax, str.fr_SN
jmp 0x1401580b4
lea rax, str.fr_HT
jmp 0x1401580b4
lea rax, str.fr_MA
jmp 0x1401580b4
lea rax, str.fr_FR
jmp 0x1401580b4
lea rax, [0x140283ba5]
jmp 0x1401580b4
lea rax, str.fr_CG
jmp 0x1401580b4
lea rax, str.fr_RE
jmp 0x1401580b4
lea rax, [0x140283ba5]
jmp 0x1401580b4
lea rax, str.fr_MC
jmp 0x1401580b4
lea rax, str.fr_LU
jmp 0x1401580b4
lea rax, str.fr_CH
jmp 0x1401580b4
lea rax, str.fr_CA
jmp 0x1401580b4
lea rax, str.fr_BE
jmp 0x1401580b4
lea rax, str.ar_BH
jmp 0x1401580b4
lea rax, str.ar_AE
jmp 0x1401580b4
lea rax, str.ar_KW
jmp 0x1401580b4
lea rax, str.ar_LB
jmp 0x1401580b4
lea rax, str.ar_JO
jmp 0x1401580b4
lea rax, str.ar_SY
jmp 0x1401580b4
lea rax, str.ar_YE
jmp 0x1401580b4
lea rax, str.ar_OM
jmp 0x1401580b4
lea rax, str.ar_TN
jmp 0x1401580b4
lea rax, str.ar_MA
jmp 0x1401580b4
lea rax, str.ar_DZ
jmp 0x1401580b4
lea rax, str.ar_LY
jmp 0x1401580b4
lea rax, str.ar_EG
jmp 0x1401580b4
lea rax, str.ar_IQ
jmp 0x1401580b4
lea rax, str.ar_SA
jmp 0x1401580b4
lea rax, [0x140283d4c]
jmp 0x1401580b4