Function at 0x140017cf0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, r8
mov rsi, rdx
call fcn.140022e78
mov rcx, rax
test rax, rax
je 0x140017ee8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [0x1401e4370]
lea rcx, [rsp + 0x58]
call fcn.14000b6e0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp al, 7
jne 0x140017d57
lea rdx, [0x1401e4374]
jmp 0x140017d96
cmp al, 0xc
jne 0x140017d64
lea rdx, [0x1401e4378]
jmp 0x140017d96
cmp al, 0x10
jne 0x140017d71
lea rdx, [0x1401e437c]
jmp 0x140017d96
cmp al, 0xa
jne 0x140017d7e
lea rdx, [0x1401e4380]
jmp 0x140017d96
cmp al, 0x13
jne 0x140017d8b
lea rdx, [0x1401e4384]
jmp 0x140017d96
cmp al, 0x19
jne 0x140017da0
lea rdx, [0x1401e4388]
lea rcx, [rsp + 0x58]
call fcn.14000b6e0
mov eax, dword [rsi + 0xa4]
mov rbx, qword [rsp + 0x58]
cmp eax, 2
jne 0x140017e03
mov ecx, dword [rsi + 0xa0]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140017de9
cmp ecx, 3
jne 0x140017dcf
lea rdx, str.http:__ts.thrustmaster.com_download_pub_webupdate_tflighthotas_t.flighthotas4_firmware_update_procedure.pdf
jmp 0x140017e96
cmp ecx, 5
je 0x140017e8f
cmp ecx, 6
je 0x140017e8f
cmp ecx, 7
jmp 0x140017e8d
mov r9, rbx
mov r8, rbx
lea rdx, str.http:__ts.thrustmaster.com_faqs__s_thr__s_00136.pdf
mov rcx, rdi
call fcn.140006260
jmp 0x140017e9f
cmp eax, 4
jne 0x140017e67
mov eax, dword [rsi + 0xa0]
cmp eax, 1
jne 0x140017e1c
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_manuals_t500rs_t500rs_bootloader_method.pdf
jmp 0x140017e96
cmp eax, 2
jne 0x140017e2a
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_Manuals_TXRW_TXRW_Bootloader_Method.pdf
jmp 0x140017e96
cmp eax, 3
jne 0x140017e38
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_manuals_t300rs_t300rs_bootloader_method.pdf
jmp 0x140017e96
cmp eax, 4
je 0x140017e8f
cmp eax, 7
jne 0x140017e4b
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_Manuals_TMX_TMX_Bootloader_Method.pdf
jmp 0x140017e96
cmp eax, 6
jne 0x140017e59
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_manuals_t150_t150_bootloader_method.pdf
jmp 0x140017e96
cmp eax, 5
jne 0x140017e85
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_manuals_TGT_T_GT_bootloader_method.pdf
jmp 0x140017e96
cmp eax, 7
jne 0x140017e85
mov eax, dword [rsi + 0xa0]
cmp eax, 1
jne 0x140017e80
lea rdx, str.http:__ts.thrustmaster.com_download_accessories_manuals_TGT_T_GT_bootloader_method.pdf
jmp 0x140017e96
cmp eax, 2
jmp 0x140017e8d
cmp eax, 8
je 0x140017e8f
cmp eax, 9
jne 0x140017e9f
lea rdx, str.https:__support.thrustmaster.com_en_contact_en_
mov rcx, rdi
call fcn.140006260
nop
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017ebe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140017ed8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400060f0
int3