Function at 0x10039818
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x1005d268
call fcn.1005b9d8
sub esp, 0xe0
push ebx
push esi
mov byte [ebp - 0x38], cl
mov al, dl
push edi
mov dword [ebp - 0x4c], 0x2813
xor ebx, ebx
cmp dword [ebp - 0x4c], 0x284a
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x15], al
jle 0x100398df
push ebx
push 0x101e
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, ebx
xor esi, esi
mov dword [ebp - 0x14], edi
inc esi
mov ecx, ebx
mov dword [ebp - 0x20], ebx
mov eax, edi
mov dword [ebp - 0x24], 0x6772
cdq
idiv ecx
mov eax, edx
mov dword [ebp - 0x30], eax
mov edi, ebx
and eax, edi
lea ecx, [ebp - 0xd4]
cdq
push edx
push eax
call fcn.10001a84
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10039893
mov eax, dword [eax]
push eax
call fcn.1004434f
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xd4]
call fcn.100035c0
mov eax, dword [ebp - 0x30]
inc edi
cmp edi, 0x740a
jl 0x10039879
inc eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
jne 0x10039877
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x7899
jl 0x10039866
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x27b5
jl 0x10039861
mov al, byte [ebp - 0x15]
jmp 0x100398e2
xor esi, esi
inc esi
test al, al
je 0x10039a69
mov dword [ebp - 0x30], 0x7db6
cmp dword [ebp - 0x30], 0x7ea5
jle 0x1003994c
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], 0x56e4
mov eax, edi
lea ecx, [ebp - 0xec]
cdq
push edx
push eax
call fcn.10001a84
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10039923
mov eax, dword [eax]
push eax
call fcn.1004434f
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xec]
call fcn.100035c0
dec edi
dec dword [ebp - 0x24]
jne 0x10039909
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x7a00
jl 0x100398ff
cmp byte [ebp + 0x14], 0
je 0x10039963
push 0x184a
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
jmp 0x10039a32
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x34], 0xfffffffa
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], 0x457c
cmp dword [ebp - 0x24], 0x481d
jle 0x100399b5
mov esi, ebx
mov edi, ebx
mov eax, esi
mov ecx, 0x10077e58
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.100030bc
inc edi
cmp edi, 0x5902
jl 0x1003998f
inc esi
cmp esi, 0x548
jl 0x1003998d
mov dword [ebp - 0x40], 9
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], 0x42a0
jge 0x100399d7
mov edx, str.ujddwdp_hbfmtpj_jqyfmpy
mov ecx, 0x10077e58
call fcn.1000530a
mov dword [ebp - 0x24], 0x4a55f07c
xor ecx, ecx
mov dword [ebp - 0x40], 0x373ee763
mov dword [ebp - 0x40], 0x924b5411
mov dword [ebp - 0x14], 0xd814
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
cmp eax, 3
setl cl
xor eax, eax
cmp ecx, 0x31d26ec1
setle al
add eax, 0x1b6a89e5
cmp eax, 0xde5
jne 0x10039a1e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0x34]
inc ecx
cmp ecx, eax
setle dl
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x30], 0x7bde
jge 0x1003a02f
push str.lsgtzvsei_hoprdtmaw_iqggdlf_pedqkhyys_wvgj_epjc_vak_ubablepxy_nan_vdrkohcgn_oxmbf_fqckhc_jkljqwv
call fcn.1004434f
pop ecx
jmp 0x1003a02f
cmp byte [ebp - 0x38], 0
je 0x1003a00e
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], ebx
mov word [ebp - 0xac], ax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xac]
push dword [ebp + 0xc]
call fcn.1000576d
push esi
push 0x252b
call fcn.10038cfb
mov eax, dword [0x1025bbcc]
pop ecx
pop ecx
test al, 1
jne 0x10039ad7
or eax, esi
mov dword [0x1025bbcc], eax
push 0x6cb5
mov byte [ebp - 4], 5
call fcn.10037b0f
pop ecx
mov word [0x1025bbd0], ax
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0x94]
call fcn.10003233
push 0x4de9
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x44], 0xfffffffd
push eax
mov edx, 0x3918
call fcn.1003a90f
add esp, 0xc
call fcn.10038b70
mov dword [ebp - 0x44], ebx
jmp 0x10039b2a
lea eax, [ebp - 0x44]
push eax
push ecx
lea edx, [ebp - 0x94]
call fcn.10039290
inc dword [ebp - 0x44]
pop ecx
pop ecx
cmp dword [ebp - 0x44], esi
jl 0x10039b15
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.100032b6
mov eax, dword [0x1025bbcc]
test al, 2
jne 0x10039b68
or eax, 2
mov dword [0x1025bbcc], eax
push 0x8565
mov byte [ebp - 4], 7
call fcn.10037b0f
pop ecx
mov word [0x1025bbc8], ax
mov byte [ebp - 4], 4
mov edi, dword [ebp + 0xc]
test edi, edi
jmp 0x10039f5c
push esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xd4e06482
push eax
push 0x296
mov dword [ebp - 0x84], 0x4709ba87
xor dl, dl
push 0xbd1
xor cl, cl
call fcn.10039818
add esp, 0x10
mov dword [ebp - 0x3c], 0xfffffff7
jmp 0x10039bc6
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
push eax
lea eax, [ebp - 0x84]
mov cl, 1
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10038831
add esp, 0xc
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xffffffff
jge 0x10039ba7
call fcn.10038816
push 0x34
xor edx, edx
mov dword [ebp - 0x2c], 0x2fd41e55
pop ecx
div ecx
mov dword [ebp - 0x74], 0x3a065c2d
mov esi, edx
mov dword [ebp - 0x1c], 0x11bbb4f5
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x2c], ebx
je 0x10039ef2
push dword [ebp - 0x78]
movdqa xmm0, xmmword [0x1006ae00]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x48], 0x714ad38
push eax
mov dword [ebp - 0x28], 0x8169c147
lea ecx, [ebp - 0x64]
push ebx
movdqu xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.10005a54
mov byte [ebp - 4], 8
mov dword [ebp - 0x20], 0xfb49a5c1
mov dword [ebp - 0x24], 0xf242
mov dword [ebp - 0x14], ebx
jmp 0x10039c61
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10039c53
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.10038971
mov eax, dword [ebp - 0x48]
add esp, 0x10
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x10039c9a
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], ebx
jne 0x10039c9d
mov eax, ebx
jmp 0x10039c9d
xor eax, eax
inc eax
mov ecx, 0xffff0009
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
setg dl
mov dword [ebp - 0x34], ecx
sub eax, edx
mov dword [ecx + 0xc], eax
je 0x10039cd2
cmp dword [ebp - 0x20], ebx
je 0x10039cd2
xor edx, edx
inc edx
jmp 0x10039cd4
mov edx, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x20]
setl cl
imul eax, ecx
test eax, eax
je 0x10039d8d
mov dword [ebp - 0x14], 0xffffffff
xor edx, edx
mov dword [ebp - 0x20], 0x8dfef28e
mov dword [ebp - 0x20], 0xeaf79217
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
setl dl
add edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jge 0x10039d20
cmp dword [ebp - 0x68], ebx
je 0x10039d20
xor ecx, ecx
inc ecx
jmp 0x10039d22
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
sub ecx, eax
jne 0x10039d32
cmp dword [ebp - 0x14], ebx
jne 0x10039d32
mov eax, ebx
jmp 0x10039d35
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
dec eax
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
sub eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
imul eax, eax, 7
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x34]
setge cl
xor edx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
setge dl
imul eax, edx, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], 0xffffffff
jmp 0x10039ee4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 3
jg 0x10039eca
xor ecx, ecx
push 7
pop edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0xfacdc9f
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
cmp eax, edx
push 0
setne cl
xor edx, edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x34]
cmp esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x68]
setle dl
add edx, 0xdf2932b8
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
xor edx, edx
add ecx, 2
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
cmp eax, ecx
mov ecx, dword [ebp - 0x64]
setl dl
xor eax, eax
add edx, dword [ecx + esi*4]
cmp dword [ecx + edi*4], edx
mov edx, dword [ebp - 0x34]
sete al
xor esi, esi
sub eax, 0x3c92ac9e
inc esi
mov dword [ecx + edx*4], eax
xor edx, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
mov dword [eax + ecx*4], esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov eax, dword [ebp - 0x2c]
setle dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x74], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
add edx, 0xf5e9
cmp eax, 0x3647
mov eax, dword [ebp - 0x70]
setg cl
cmp edx, ecx
pop edx
setle dl
sub edx, eax
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, 0xe5e1922
je 0x10039ea4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
cmp dword [eax + ecx*4], ebx
je 0x10039ea4
xor edx, edx
inc edx
jmp 0x10039ea6
mov edx, ebx
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setl cl
imul ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x10039d9d
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10039ee4
push ecx
mov edx, 0x3427
mov ecx, 0x48a7
call fcn.10038a54
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.100032b6
jmp 0x10039f2c
mov dword [ebp - 0x2c], 0xffffffed
jmp 0x10039f26
push 0x2f83
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 1
push 0x6ffb
push eax
mov edx, 0x6edf
call fcn.1003a56a
add esp, 0xc
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xffffffe6
jl 0x10039efb
push 0x1a
pop ecx
cmp esi, ecx
jge 0x10039f3e
movzx edx, word [0x1025bbd0]
add edx, esi
jmp 0x10039f4c
mov eax, esi
cdq
idiv ecx
movzx eax, word [0x1025bbc8]
add edx, eax
push edx
lea ecx, [ebp - 0xac]
call fcn.1000f1f7
push 1
dec edi
pop esi
mov dword [ebp - 0x4c], edi
jne 0x10039b72
mov dword [ebp - 0x28], 0xf29acd40
mov dword [ebp - 0x40], 0x5261fc42
mov dword [ebp - 0x14], ebx
jmp 0x10039f86
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], 0xeac45307
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10039f78
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x58], ebx
je 0x10039fb9
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x28], eax
jle 0x10039fab
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x58]
inc edx
mov eax, dword [ebp - 0x28]
jmp 0x10039fbb
mov edx, ebx
mov eax, dword [ebp - 0x58]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x58]
setl cl
sub ecx, eax
sub ecx, 0x770b168f
jne 0x10039fdb
cmp dword [ebp - 0x28], ebx
jne 0x10039fdb
mov eax, ebx
jmp 0x10039fde
xor eax, eax
inc eax
push ecx
mov dword [ebp - 0x40], eax
call fcn.10039788
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xac]
cmp ecx, eax
je 0x10039ffe
push 0xffffffffffffffff
push ebx
push eax
call fcn.10003604
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.10003acb
jmp 0x1003a043
mov esi, dword [ebp + 0x10]
mov dword [esi], 0x13
jmp 0x1003a02a
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003a028
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
dec dword [esi]
cmp dword [esi], 0xffffffed
jne 0x1003a019
cmp dword [ebp - 0x4c], 0x2683
jge 0x1003a043
push str.johkckn_acqzx_jgdxwrkhz_hlcpro_xvvektmeg_ikevoj_gcmtwr_jueb_xltczbsmm_vlsggv_comk_wqa_lepbumyg_ywmb
call fcn.1004434f
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret