Function at 0x1003d276
Capabilities:
Get keyboard layout

Disassembly:
mov eax, 0x1005bc60
call fcn.1005a3a0
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x24], edi
test dl, dl
je 0x1003d3b0
cmp byte [ebp + 0x1c], 0
je 0x1003d2e4
mov edi, dword [ebp + 0x24]
xor esi, esi
cmp dword [edi], esi
jbe 0x1003d4d5
mov ebx, dword [ebp + 0x10]
call fcn.1003b942
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x1a
mov eax, edx
pop ecx
cmp eax, ecx
jge 0x1003d2c6
movsx edx, byte [ebx]
jmp 0x1003d2cf
cdq
idiv ecx
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
mov ecx, dword [ebp + 0x34]
add edx, eax
push edx
call fcn.100112d9
inc esi
cmp esi, dword [edi]
jb 0x1003d2ac
jmp 0x1003d4d5
mov dword [ebp - 0x14], 0x543c
cmp dword [ebp - 0x14], 0x5809
jle 0x1003d343
push 0x1965
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
xor esi, esi
mov edi, esi
mov ebx, esi
lea eax, [ebx + edi]
cdq
lea ecx, [ebp - 0x40]
push edx
push eax
call fcn.10001365
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003d31d
mov eax, dword [eax]
push eax
call fcn.100439ae
pop ecx
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.10001636
inc ebx
cmp ebx, 0x6261
jl 0x1003d305
inc edi
cmp edi, 0x1b63
jl 0x1003d303
jmp 0x1003d345
xor esi, esi
cmp dword [ebp - 0x14], 0x50bc
jge 0x1003d359
push str.vck_capry_adr_dmnlcd_nzhqq_avmqq_wzbbppb_nothl
call fcn.100439ae
pop ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], esi
cmp dword [edx], esi
jg 0x1003d4d5
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x38]
mov dword [ebp - 0x20], 0xf1bcd962
mov dword [eax], 0xffffffff
mov eax, dword [edx]
mov edi, dword [ecx]
xor ecx, ecx
cmp dword [edi + eax*4], esi
setge cl
cmp ecx, 0xffffffff
jge 0x1003d391
cmp dword [edi], esi
je 0x1003d3a0
mov eax, dword [ebx]
mov eax, dword [ebp + 0x20]
cmp dword [eax], 2
je 0x1003d3a0
xor eax, eax
inc eax
jmp 0x1003d3a2
mov eax, esi
mov dword [ebp - 0x20], eax
inc dword [edx]
cmp dword [edx], esi
jle 0x1003d369
jmp 0x1003d4d5
mov dword [ebp - 0x20], 0x1560
xor esi, esi
cmp dword [ebp - 0x20], 0x18e3
jle 0x1003d42c
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x14]
mov ebx, esi
mov dword [ebp - 0x1c], ebx
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, ebx
mov dword [ebp - 0x28], esi
cdq
idiv ecx
mov ebx, edx
mov eax, ebx
mov ecx, 0x10074fb8
cdq
idiv esi
lea eax, [edi + edx]
cdq
push edx
push eax
call fcn.1000333f
inc esi
cmp esi, 0x7a14
jl 0x1003d3dc
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x18], ecx
push 0
pop esi
cmp ecx, 0x3755
jl 0x1003d3d2
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, 0x7434
jl 0x1003d3cd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0xee1
jl 0x1003d3c5
mov edi, dword [ebp - 0x24]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x13b0
jge 0x1003d44b
mov edx, str.ufvjbxg_vndu_zclzrqjrp_cmf_edvpmvrgj_uoyxk_qbagyay_ahrsxjfco_lhas_dechoixa_oojinzks_xlwbwi
mov ecx, 0x10074fb8
call fcn.1000494d
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x40], 0
je 0x1003d4bb
cmp dword [edi], esi
je 0x1003d478
mov eax, dword [edi]
mov edx, dword [ebp + 0x30]
mov eax, dword [edi]
mov ecx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ecx]
mov eax, dword [edx]
mov eax, dword [edi]
mov eax, dword [ecx]
cmp dword [edx], 0x13a6c9cd
je 0x1003d478
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x18]
xor edx, edx
inc dword [ecx]
mov eax, dword [edi]
cmp esi, eax
mov eax, dword [ecx]
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp + 0x44]
sete cl
mov dword [eax], ecx
jmp 0x1003d4d5
mov eax, dword [ebp + 0x28]
cmp byte [eax], 0
je 0x1003d4d5
push 0x732e
mov edx, 0x6d93
xor cl, cl
call fcn.1003d1e5
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret