Function at 0x5133d0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str.LC_ALL
call sub.msvcrt.dll_getenv
test rax, rax
je 0x5133ee
cmp byte [rax], 0
jne 0x513474
lea rcx, str.LC_MESSAGES
call sub.msvcrt.dll_getenv
test rax, rax
je 0x513404
cmp byte [rax], 0
jne 0x513474
lea rcx, str.LANG
call sub.msvcrt.dll_getenv
test rax, rax
je 0x51341a
cmp byte [rax], 0
jne 0x513474
call qword [sym.imp.KERNEL32.DLL_GetThreadLocale]
mov ecx, eax
and eax, 0x3ff
shr cx, 0xa
cmp eax, 0x79
ja case.0x513442.0
lea rdx, [0x007807c0]
movsxd rax, dword [rdx + rax*4]
add rdx, rax
jmp rdx
cmp cx, 2
lea rax, str.sr_CS
je 0x513474
cmp cx, 3
lea rax, str.sr_CS_cyrillic
je 0x513474
lea rax, [0x0078035e]
lea rdx, str.hr_HR
cmp cx, 1
cmove rax, rdx
add rsp, 0x28
ret
lea rax, str.pap_AN
jmp 0x513474
cmp cx, 0x10
ja case.0x51349d.0
lea rax, [0x007809a8]
movzx ecx, cx
movsxd rdx, dword [rax + rcx*4]
add rax, rdx
jmp rax
lea rax, str.bg_BG
jmp 0x513474
lea rax, str.ca_ES
jmp 0x513474
cmp cx, 5
ja case.0x5134cc.0
lea rax, [0x007809ec]
movzx ecx, cx
movsxd rdx, dword [rax + rcx*4]
add rax, rdx
jmp rax
lea rax, str.cs_CZ
jmp 0x513474
lea rax, str.da_DK
jmp 0x513474
cmp cx, 5
ja case.0x5134fb.0
lea rax, [0x00780a04]
movzx ecx, cx
movsxd rdx, dword [rax + rcx*4]
add rax, rdx
jmp rax
lea rax, str.el_GR
jmp 0x513474
cmp cx, 0x12
ja case.0x513524.0
lea rax, [0x00780a1c]
movzx ecx, cx
movsxd rdx, dword [rax + rcx*4]
add rax, rdx
jmp rax
lea rax, str.xh_ZA
jmp 0x513474
lea rax, str.af_ZA
jmp 0x513474
lea rax, str.ka_GE
jmp 0x513474
lea rax, str.tt_RU
jmp 0x513474
cmp cx, 1
lea rax, str.bn_IN
je 0x513474
lea rax, [0x00780300]
lea rdx, str.bn_BD
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, [0x007805e3]
lea rdx, str.pa_IN
cmp cx, 1
cmove rax, rdx
jmp 0x513474
lea rax, str.gu_IN
jmp 0x513474
lea rax, str.or_IN
jmp 0x513474
lea rax, [0x00780705]
jmp 0x513474
lea rax, str.te_IN
jmp 0x513474
lea rax, str.kn_IN
jmp 0x513474
lea rax, str.ml_IN
jmp 0x513474
lea rax, str.as_IN
jmp 0x513474
lea rax, str.mr_IN
jmp 0x513474
lea rax, str.sa_IN
jmp 0x513474
lea rax, [0x00780591]
jmp 0x513474
lea rax, str.bo_CN
jmp 0x513474
lea rax, str.cy_GB
jmp 0x513474
lea rax, str.km_KH
jmp 0x513474
cmp cx, 1
lea rax, str.no_NO
je 0x513474
lea rax, [0x007805af]
lea rdx, str.nn_NO
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.pl_PL
jmp 0x513474
cmp cx, 1
lea rax, str.pt_BR
je 0x513474
lea rax, [0x007805da]
lea rdx, str.pt_PT
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.rm_CH
jmp 0x513474
lea rax, [0x007805f2]
lea rdx, str.ro_RO
cmp cx, 1
cmove rax, rdx
jmp 0x513474
lea rax, [0x007805f5]
jmp 0x513474
lea rax, str.sk_SK
jmp 0x513474
lea rax, str.sq_AL
jmp 0x513474
cmp cx, 1
lea rax, str.sv_SE
je 0x513474
lea rax, [0x007806cd]
lea rdx, str.sv_FI
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.th_TH
jmp 0x513474
lea rax, str.tr_TR
jmp 0x513474
cmp cx, 1
lea rax, str.ur_PK
je 0x513474
lea rax, [0x00780759]
lea rdx, str.ur_IN
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.id_ID
jmp 0x513474
lea rax, str.uk_UA
jmp 0x513474
lea rax, str.be_BY
jmp 0x513474
lea rax, str.sl_SI
jmp 0x513474
lea rax, str.et_EE
jmp 0x513474
lea rax, str.lv_LV
jmp 0x513474
lea rax, str.lt_LT
jmp 0x513474
lea rax, str.tg_TJ
jmp 0x513474
lea rax, str.fa_IR
jmp 0x513474
lea rax, str.vi_VN
jmp 0x513474
lea rax, str.hy_AM
jmp 0x513474
cmp cx, 1
lea rax, str.az_AZ_latin
je 0x513474
lea rax, [0x007802e8]
lea rdx, str.az_AZ_cyrillic
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, [0x007802eb]
jmp 0x513474
lea rax, str.wen_DE
jmp 0x513474
lea rax, str.mk_MK
jmp 0x513474
lea rax, str.bnt_TZ
jmp 0x513474
lea rax, str.ts_ZA
jmp 0x513474
lea rax, str.tn_BW
jmp 0x513474
lea rax, str.ven_ZA
jmp 0x513474
cmp cx, 0xf
ja case.0x513877.0
lea rax, [0x00780a68]
movzx ecx, cx
movsxd rdx, dword [rax + rcx*4]
add rax, rdx
jmp rax
lea rax, str.he_IL
jmp 0x513474
lea rax, str.hu_HU
jmp 0x513474
lea rax, str.is_IS
jmp 0x513474
cmp cx, 1
lea rax, str.it_IT
je 0x513474
lea rax, [0x0078050d]
lea rdx, str.it_CH
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.ja_JP
jmp 0x513474
lea rax, str.ko_KR
jmp 0x513474
cmp cx, 1
lea rax, str.nl_NL
je 0x513474
lea rax, [0x00780380]
lea rdx, str.nl_BE
cmp cx, 2
cmove rax, rdx
jmp 0x513474
cmp cx, 0x14
ja case.0x513928.0
lea rax, [0x00780aa8]
movzx ecx, cx
movsxd rdx, dword [rax + rcx*4]
add rax, rdx
jmp rax
lea rax, str.fi_FI
jmp 0x513474
lea rax, str.lo_LA
jmp 0x513474
lea rax, str.my_MM
jmp 0x513474
lea rax, str.gl_ES
jmp 0x513474
lea rax, str.kok_IN
jmp 0x513474
lea rax, str.mni_IN
jmp 0x513474
cmp cx, 1
lea rax, str.sd_IN
je 0x513474
lea rax, [0x00780610]
lea rdx, str.sd_PK
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.syr_TR
jmp 0x513474
lea rax, str.si_LK
jmp 0x513474
lea rax, str.chr_US
jmp 0x513474
lea rax, str.iu_CA
jmp 0x513474
lea rax, str.am_ET
jmp 0x513474
cmp cx, 1
lea rax, str.ber_MA_arabic
je 0x513474
lea rax, str.ber_MA
lea rdx, str.ber_MA_latin
cmp cx, 2
cmove rax, rdx
jmp 0x513474
cmp cx, 1
lea rax, str.ks_PK
je 0x513474
lea rax, [0x0078052f]
lea rdx, str.ks_IN
cmp cx, 2
cmove rax, rdx
jmp 0x513474
cmp cx, 1
lea rax, str.ne_NP
je 0x513474
lea rax, [0x007805a0]
lea rdx, str.ne_IN
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.fy_NL
jmp 0x513474
lea rax, [0x007805c5]
jmp 0x513474
lea rax, str.tl_PH
jmp 0x513474
lea rax, str.div_MV
jmp 0x513474
lea rax, str.bin_NG
jmp 0x513474
lea rax, str.ful_NG
jmp 0x513474
lea rax, str.ha_NG
jmp 0x513474
lea rax, str.nic_NG
jmp 0x513474
lea rax, str.yo_NG
jmp 0x513474
lea rax, str.ibo_NG
jmp 0x513474
lea rax, str.kau_NG
jmp 0x513474
lea rax, str.om_ET
jmp 0x513474
cmp cx, 1
lea rax, str.ti_ET
je 0x513474
lea rax, [0x0078072c]
lea rdx, str.ti_ER
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.gn_PY
jmp 0x513474
lea rax, str.cpe_US
jmp 0x513474
lea rax, str.la_VA
jmp 0x513474
lea rax, str.so_SO
jmp 0x513474
lea rax, str.sit_CN
jmp 0x513474
cmp cx, 1
lea rax, str.gd_GB
je 0x513474
lea rax, [0x00780481]
lea rdx, str.ga_IE
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.yi_IL
jmp 0x513474
cmp cx, 1
lea rax, str.ms_MY
je 0x513474
lea rax, [0x00780575]
lea rdx, str.ms_BN
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.kk_KZ
jmp 0x513474
lea rax, str.ky_KG
jmp 0x513474
lea rax, str.sw_KE
jmp 0x513474
lea rax, str.tk_TM
jmp 0x513474
cmp cx, 1
lea rax, str.uz_UZ
je 0x513474
lea rax, [0x00780771]
lea rdx, str.uz_UZ_cyrillic
cmp cx, 2
cmove rax, rdx
jmp 0x513474
lea rax, str.fo_FO
jmp 0x513474
lea rax, str.hi_IN
jmp 0x513474
lea rax, str.mt_MT
jmp 0x513474
lea rax, str.se_NO
jmp 0x513474
lea rax, str.zu_ZA
jmp 0x513474
lea rax, [0x00780481]
jmp 0x513474
lea rax, str.zh_MO
jmp 0x513474
lea rax, str.zh_SG
jmp 0x513474
lea rax, str.zh_HK
jmp 0x513474
lea rax, str.zh_CN
jmp 0x513474
lea rax, str.zh_TW
jmp 0x513474
lea rax, str.de_LI
jmp 0x513474
lea rax, str.de_LU
jmp 0x513474
lea rax, str.de_AT
jmp 0x513474
lea rax, str.de_CH
jmp 0x513474
lea rax, str.de_DE
jmp 0x513474
lea rax, [0x007804ad]
jmp 0x513474
lea rax, [0x00780340]
jmp 0x513474
lea rax, str.ar_QA
jmp 0x513474
lea rax, str.es_ES
jmp 0x513474
lea rax, [0x007806b1]
jmp 0x513474
lea rax, str.es_NI
jmp 0x513474
lea rax, str.es_HN
jmp 0x513474
lea rax, str.es_PR
jmp 0x513474
lea rax, str.en_SG
jmp 0x513474
lea rax, str.en_MY
jmp 0x513474
lea rax, str.en_IN
jmp 0x513474
lea rax, str.en_HK
jmp 0x513474
lea rax, str.en_ID
jmp 0x513474
lea rax, str.en_PH
jmp 0x513474
lea rax, str.en_ZW
jmp 0x513474
lea rax, str.en_TT
jmp 0x513474
lea rax, str.en_BZ
jmp 0x513474
lea rax, str.en_GD
jmp 0x513474
lea rax, str.en_JM
jmp 0x513474
lea rax, str.en_ZA
jmp 0x513474
lea rax, str.en_IE
jmp 0x513474
lea rax, str.en_NZ
jmp 0x513474
lea rax, str.en_CA
jmp 0x513474
lea rax, str.en_AU
jmp 0x513474
lea rax, str.en_GB
jmp 0x513474
lea rax, str.en_US
jmp 0x513474
lea rax, [0x007803f6]
jmp 0x513474
lea rax, str.es_SV
jmp 0x513474
lea rax, str.es_BO
jmp 0x513474
lea rax, str.es_PY
jmp 0x513474
lea rax, str.es_UY
jmp 0x513474
lea rax, str.es_CL
jmp 0x513474
lea rax, str.es_EC
jmp 0x513474
lea rax, str.es_AR
jmp 0x513474
lea rax, str.es_PE
jmp 0x513474
lea rax, str.es_CO
jmp 0x513474
lea rax, str.es_VE
jmp 0x513474
lea rax, str.es_DO
jmp 0x513474
lea rax, str.es_PA
jmp 0x513474
lea rax, str.es_CR
jmp 0x513474
lea rax, str.es_GT
jmp 0x513474
lea rax, str.es_ES_modern
jmp 0x513474
lea rax, str.es_MX
jmp 0x513474
lea rax, str.fr_ML
jmp 0x513474
lea rax, str.fr_CI
jmp 0x513474
lea rax, str.fr_CM
jmp 0x513474
lea rax, str.fr_SN
jmp 0x513474
lea rax, str.fr_HT
jmp 0x513474
lea rax, str.fr_MA
jmp 0x513474
lea rax, str.fr_FR
jmp 0x513474
lea rax, [0x00780435]
jmp 0x513474
lea rax, str.fr_CG
jmp 0x513474
lea rax, str.fr_RE
jmp 0x513474
lea rax, [0x00780435]
jmp 0x513474
lea rax, str.fr_MC
jmp 0x513474
lea rax, str.fr_LU
jmp 0x513474
lea rax, str.fr_CH
jmp 0x513474
lea rax, str.fr_CA
jmp 0x513474
lea rax, str.fr_BE
jmp 0x513474
lea rax, str.ar_BH
jmp 0x513474
lea rax, str.ar_AE
jmp 0x513474
lea rax, str.ar_KW
jmp 0x513474
lea rax, str.ar_LB
jmp 0x513474
lea rax, str.ar_JO
jmp 0x513474
lea rax, str.ar_SY
jmp 0x513474
lea rax, str.ar_YE
jmp 0x513474
lea rax, str.ar_OM
jmp 0x513474
lea rax, str.ar_TN
jmp 0x513474
lea rax, str.ar_MA
jmp 0x513474
lea rax, str.ar_DZ
jmp 0x513474
lea rax, str.ar_LY
jmp 0x513474
lea rax, str.ar_EG
jmp 0x513474
lea rax, str.ar_IQ
jmp 0x513474
lea rax, str.ar_SA
jmp 0x513474
lea rax, [0x007802be]
jmp 0x513474