Function at 0x14003d7d0
Capabilities:
Identify system language via api
Log keystrokes via application hook

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r12d, edx
mov rbx, rcx
add rcx, 0x238
call fcn.1401d5ab0
test eax, eax
je 0x14003dacd
call fcn.1401ffea8
test rax, rax
je 0x14003d830
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14003d830
xor edx, edx
mov rcx, rax
call fcn.140028a40
mov rcx, qword [rbx + 0x4c8]
test rcx, rcx
je 0x14003dacb
lea rdx, [rsp + 0x40]
mov rax, qword [0x140274338]
mov qword [rdx], rax
mov rax, qword [0x140274340]
mov qword [rdx + 8], rax
lea rbp, [rbx + 0x48]
mov dword [rsp + 0x28], 0x1ec
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8d, [r9 + 0x19]
lea rdx, [rsp + 0x40]
call fcn.14003dd00
test eax, eax
je 0x14003dacb
test byte [rbx + 0x5c], 0x80
mov eax, dword [0x14032f0cc]
mov r13d, 0
cmovne eax, r13d
mov dword [0x14032f0cc], eax
mov ecx, 0x820
call fcn.1401f0b44
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14003d8f0
call fcn.1401ffea8
test rax, rax
je 0x14003d8d6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14003d8d6
mov rdx, qword [rax + 0x40]
jmp 0x14003d8d9
mov rdx, r13
mov r9, qword [rbx + 0x4c8]
mov r8d, 0x8002
mov rcx, rdi
call fcn.14007b770
jmp 0x14003d8f3
mov rax, r13
mov qword [rbx + 0x1aa8], rax
test rax, rax
je 0x14003dacd
mov rcx, rbx
call fcn.1400449f0
mov word [rbx + 0x55e], 0x409
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
test ax, ax
je 0x14003d935
movzx edx, ax
lea rcx, [rbx + 0x550]
call fcn.1400d4fd0
mov word [rbx + 0x55e], ax
movzx eax, word [rbx + 0x55e]
mov word [rbx + 0x55c], ax
mov dword [rbx + 0x558], 1
xor r9d, r9d
lea r8, str.Language
lea rdx, str.General
lea rcx, [0x140333a50]
call fcn.140204860
test ax, ax
je 0x14003d98c
movzx edx, ax
lea rcx, [rbx + 0x550]
call fcn.1400d4fd0
mov word [rbx + 0x55c], ax
mov dword [rbx + 0x558], r13d
lea rcx, [rbx + 0x560]
mov rdx, rbx
call fcn.1400c9180
test eax, eax
je 0x14003dacd
lea rcx, [rbx + 0x1ac0]
mov rdx, rbx
call fcn.14014e3f0
test eax, eax
je 0x14003dacd
bt dword [rbx + 0x54], 0x19
jae 0x14003d9d0
mov rdx, rbp
lea rcx, [rbx + 0x238]
call fcn.1401d6650
lea rcx, [rbx + 0x238]
call fcn.1401d6880
test byte [rbx + 0x10], 4
je 0x14003d9ea
mov rcx, rbx
call fcn.14003eed0
test byte [rbx + 0x13], 1
je 0x14003d9f8
mov rcx, rbx
call fcn.140049210
test byte [rbx + 0x10], 0x20
je 0x14003da06
mov rcx, rbx
call fcn.14003f060
bt dword [rbx + 0x38], 0xc
jae 0x14003da15
mov rcx, rbx
call fcn.14003f220
test byte [rbx + 0x10], 0x40
je 0x14003da56
mov rcx, qword [rbx + 0x1b58]
test rcx, rcx
je 0x14003da38
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x14003da38
mov qword [rbx + 0x1b58], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140044940]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbx + 0x1b58], rax
bt dword [rbx + 0x10], 0x11
jae 0x14003da65
mov rcx, rbx
call fcn.140048270
mov rdi, qword [rbx + 0x1ad0]
test rdi, rdi
je 0x14003daaa
mov rdx, rdi
test rdi, rdi
je 0x14003daa4
mov rdi, qword [rdi]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x14003da9d
cmp dword [rdx + 0x50], 0
je 0x14003da9d
bt dword [rdx + 0x1cc], 0x12
jae 0x14003da9d
mov rcx, rbx
call fcn.140048530
test rdi, rdi
jne 0x14003da71
jmp 0x14003daaa
call fcn.1401fd6b8
int3
test r12d, r12d
je 0x14003dac4
mov ecx, dword [rbx + 0x5c]
bt ecx, 0x1c
jae 0x14003dac4
test cl, cl
jns 0x14003dac4
mov rcx, rbx
call fcn.14004b2a0
mov eax, 1
jmp 0x14003dacd
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret