Function at 0x100366a6
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x1005be0b
call fcn.1005a9e0
sub esp, 0x94
cmp byte [ebp + 0x20], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x30], cl
je 0x10036ad2
test cl, cl
je 0x10036875
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
xor eax, eax
inc eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], edi
xor ebx, ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], ecx
mov dword [esi], eax
cmp dword [esi], ebx
jl 0x10036b92
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xcc027682
mov dword [edi], eax
cmp dword [edi], ebx
jl 0x1003685b
push dword [ebp + 0x20]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x50], 0xfefd5227
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], ebx
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
movdqu xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x38], ebx
call fcn.10019a9d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x44ad
cmp dword [ebp - 0x1c], 0x4578
jle 0x100367b8
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov ebx, eax
and ebx, esi
mov eax, ebx
mov ecx, 0x10076818
or eax, edi
cdq
push edx
push eax
call fcn.10001a30
inc edi
cmp edi, 0x2adb
jl 0x10036763
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
push 0
pop ebx
cmp eax, 0x60ae
jl 0x1003675d
inc esi
cmp esi, 0x41a6
jl 0x10036758
push 0xef
push 0x8b0
push 0x19c2
push 0x1e21
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
push edi
push ecx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x44]
push eax
push ecx
lea edx, [ebp - 0x48]
call fcn.10036f57
add esp, 0x2c
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0x4117
jge 0x10036838
mov edx, str.zijw_pfiij_kxyzctrqa_jzum_bfjwudzm_barrhtdtu_nhgt_xmj_kkbw_rbm
mov ecx, 0x10076818
call fcn.1000349f
jmp 0x10036838
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0
je 0x10036854
push dword [ebp - 0x40]
call fcn.10044367
pop ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
dec dword [edi]
jmp 0x1003670c
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [eax]
cmp dword [eax + ecx*4], ebx
jne 0x10036b92
dec dword [esi]
xor eax, eax
inc eax
jmp 0x100366f8
mov dword [ebp - 0x18], 1
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 0x719f
cmp dword [ebp - 0x24], 0x74ea
jle 0x100368ef
mov edi, ebx
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x1c], 0x456c
mov dword [ebp - 0x20], eax
xor eax, edi
lea ecx, [ebp - 0x88]
cdq
push edx
push eax
call fcn.10003aad
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100368bb
mov eax, dword [eax]
push eax
call fcn.100445e8
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.10001e5d
mov eax, dword [ebp - 0x20]
add eax, esi
dec dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jne 0x100368a1
inc esi
cmp esi, 0x4aed
jl 0x10036895
inc edi
cmp edi, 0x5067
jl 0x10036893
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x24], 0x7164
jge 0x1003690a
push str.fqjsbhvtc_dgyhq_zbgyblnh_wcfno
call fcn.100445e8
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x1c], 0x1fc80ae7
mov dword [ebp - 0x18], 0x92079655
push 1
call fcn.10001b45
push ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 5
push ebx
push eax
lea edx, [ebp - 0x5c]
call fcn.10036e25
mov dword [ebp - 0x18], 0x68c8
add esp, 0xc
cmp dword [ebp - 0x18], 0x6b65
jle 0x100369c1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov dword [ebp - 0x20], ebx
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov eax, esi
mov dword [ebp - 0x2c], ebx
cdq
idiv edi
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov edi, edx
mov eax, edi
cdq
idiv esi
mov eax, ebx
mov ecx, edx
sar eax, cl
mov ecx, 0x10076818
cdq
push edx
push eax
call fcn.10001a30
inc esi
cmp esi, 0xbaa
jl 0x10036971
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x24], edi
push 0
pop ebx
cmp edi, 0x1fb
jl 0x10036961
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x72d
jl 0x1003695c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x24be
jl 0x10036957
mov byte [ebp + 0x23], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0x6609
jge 0x100369fe
mov edx, str.hmo_qid_uyh_ybao_opccluc_ribo_xpzjt
mov ecx, 0x10076818
call fcn.1000349f
jmp 0x100369fe
push ebx
push 0x7069
push ebx
push 0x4fa9
push 0x6fca
push 0x30d8
push 1
push 0x47e3
mov edx, 0x7ce9
mov dword [ebp - 4], 5
lea ecx, [ebp + 0x23]
call fcn.10037323
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
test eax, eax
setg cl
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, eax
setle bl
xor ecx, ecx
imul ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov eax, dword [ebp - 0x5c]
setge cl
mov dword [eax], ecx
xor ecx, ecx
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x14]
cmp eax, 1
mov eax, dword [ebp - 0x18]
setg cl
xor edx, edx
cmp eax, ecx
setne dl
xor ecx, ecx
imul edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp edx, eax
mov eax, dword [ebp - 0x14]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x5c]
setl dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x14], ecx
call fcn.10044367
add esp, 0x24
jmp 0x10036b92
cmp byte [ebp + 0x18], 0
je 0x10036ae3
mov eax, dword [ebp + 0x14]
and dword [eax], 0
jmp 0x10036b92
mov dword [ebp - 0x28], 0x2679
xor ebx, ebx
cmp dword [ebp - 0x28], 0x2806
jle 0x10036b64
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp + 0x20], ebx
mov ecx, edi
mov dword [ebp - 0x2c], esi
mov edi, esi
mov esi, ebx
sar edi, cl
mov ecx, esi
mov eax, edi
sar eax, cl
lea ecx, [ebp - 0xa0]
cdq
push edx
push eax
call fcn.10003aad
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10036b28
mov eax, dword [eax]
push eax
call fcn.100445e8
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.10001e5d
inc esi
cmp esi, 0x3dd4
jl 0x10036b0a
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp + 0x20], edi
cmp edi, 0x413f
jl 0x10036aff
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x5eac
jl 0x10036afa
push ebx
push ebx
push 0x28a
push ebx
push 0x2081
push ebx
push ebx
push 0x1d22
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x28], 0x22ed
jge 0x10036b92
push str.pttub_jwp_ony_ggbkfz_ixhyfxzu_rtlqjqcq_pdinewbj_dkwekyo_pinkjlpkn_vcugk_wfwr
call fcn.100445e8
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret