Function at 0x10003929
Capabilities:
Encode data using xor
Get keyboard layout

Disassembly:
mov eax, 0x100648c5
call fcn.100641f8
push ecx
mov eax, 0xafdc
call fcn.10060460
push ebx
push esi
mov byte [ebp - 0x24], dl
mov dword [ebp - 0x38], 0x5b5f
cmp dword [ebp - 0x38], 0x5df0
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
jle 0x10003b72
push 0xce4
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x34], eax
add eax, ebx
lea ecx, [edi + esi]
xor eax, ecx
mov ecx, 0x10081de8
cdq
push edx
push eax
call fcn.1000d012
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x5f4f
jl 0x10003974
inc ebx
cmp ebx, 0x4cd8
jl 0x1000396f
inc edi
cmp edi, 0x3e66
jl 0x1000396d
inc esi
cmp esi, 0x7048
jl 0x1000396b
mov dword [ebp - 0x1c], 0x1d38
cmp dword [ebp - 0x1c], 0xb97
jge 0x10003b67
lea eax, [ebp - 0x30]
push eax
push 0x1006db38
call fcn.1004be5b
pop ecx
pop ecx
jmp 0x10003b5c
jle 0x10003a42
mov ebx, edx
lea esi, [ebp - 0xafec]
shl ebx, 2
mov ecx, ebx
mov edi, esi
shr ecx, 2
xor eax, eax
add esi, 0x1a8
rep stosd dword es:[edi], eax
dec edx
jne 0x100039e7
jmp 0x10003a42
dec eax
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x5c]
push eax
push 0x1006dd48
call fcn.1004be5b
lea eax, [ebp - 0x5c]
xor esi, esi
push eax
call fcn.1004bdd0
add esp, 0xc
jmp 0x10003a31
movsx ecx, byte [ebp + eax - 0x5c]
xor edx, edx
sub ecx, 0x61
inc edx
shl edx, cl
or esi, edx
dec eax
jns 0x10003a22
imul eax, dword [ebp - 0x14], 0x6a
add eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xafec], esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push str._d__d
call fcn.1004be5b
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x100039fd
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jle 0x10003b25
lea edx, [ebp - 0xafec]
mov dword [ebp - 0x1c], ecx
mov esi, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0xafec]
mov dword [ebp - 0x34], ecx
mov ebx, edx
mov edx, esi
mov dword [ebp - 0x40], edi
mov esi, ecx
mov ecx, edi
mov eax, dword [edx]
lea edx, [edx + 4]
and eax, dword [ebx]
or dword [ecx], eax
lea ecx, [ecx + 4]
dec esi
jne 0x10003a8e
mov ecx, dword [ebp - 0x30]
mov eax, 0x1a8
mov esi, dword [ebp - 0x28]
add ebx, eax
add edi, eax
dec dword [ebp - 0x34]
jne 0x10003a85
mov edx, dword [ebp - 0x2c]
add esi, eax
add edx, 4
mov dword [ebp - 0x28], esi
dec dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
jne 0x10003a7a
jmp 0x10003b25
mov edi, dword [ebp - 0x18]
dec esi
imul eax, esi, 0x6a
dec edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
add eax, edi
cmp dword [ebp + eax*4 - 0xafec], 0
jne 0x10003ae7
push 0x1006dd4c
jmp 0x10003b1f
xor ebx, ebx
imul edx, esi, 0x6a
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
add edx, edi
test dword [ebp + edx*4 - 0xafec], eax
je 0x10003b14
lea eax, [ebx + 0x61]
push eax
push 0x1006dd50
call fcn.1004c39e
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
inc ebx
cmp ebx, 0x1a
jl 0x10003ae9
push 0x1006dd54
call fcn.1004c39e
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push str._d__d
call fcn.1004be5b
mov esi, dword [ebp - 0x14]
add esp, 0xc
test esi, esi
jne 0x10003ac6
push 0x1006dd54
call fcn.1004c39e
lea eax, [ebp - 0x30]
push eax
push 0x1006db38
call fcn.1004be5b
add esp, 0xc
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x100039da
push 0x1513
call dword [sym.imp.USER32.dll_GetKeyboardType]
mov dword [ebp - 0x28], 0x5164
cmp dword [ebp - 0x28], 0x5423
jle 0x10003bc0
xor esi, esi
mov dword [ebp - 0x2c], esi
mov ebx, 0x7016
mov edi, esi
mov dword [ebp - 0x1c], ebx
mov esi, edi
mov ebx, 0x13c3
mov eax, esi
mov ecx, 0x10081de8
cdq
push edx
push eax
call fcn.1000d012
dec esi
dec ebx
jne 0x10003b98
dec edi
dec dword [ebp - 0x1c]
jne 0x10003b91
mov esi, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0x6800
jl 0x10003b87
cmp byte [ebp - 0x24], 0
je 0x10003bd6
mov eax, dword [ebp - 0x3c]
cmp byte [eax], 0
je 0x10003bed
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
jmp 0x10003bed
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 0x1d], 0
je 0x10003bed
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x50cc
jge 0x10003c09
mov edx, str.jwdsxfmat_sozft_dplexxb_ymkaaav_qssstzpba_lrplqa
mov ecx, 0x10081de8
call fcn.1000ff9e
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x5867
jge 0x10003c28
mov edx, str.julfybf_keaoc_hadyf_mft_jmayuneoi_sxbmbjhr_afy_vnuvw_xtalqk_vqiyxau_bazkbxkw_irvu_vatrqiqom_kwqkgssm
mov ecx, 0x10081de8
call fcn.1000ff9e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret