Function at 0x14000d4e0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402878c8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
call fcn.140022e78
mov rcx, rax
test rax, rax
je 0x14000dc89
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call fcn.140005750
nop
mov rcx, rdi
call fcn.140031668
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call fcn.140036a8c
mov qword [rdi + 0x130], rax
lea rcx, [rdi + 0x20c8]
call fcn.140004a70
lea rcx, [rdi + 0x25c0]
call fcn.140002c10
mov word [rdi + 0x1733], 0
mov byte [rdi + 0x20b9], 0
lea rcx, [rdi + 0x1248]
xor edx, edx
mov r8d, 0x4e8
call fcn.1401af400
mov byte [rdi + 0x1704], 1
mov dword [rsp + 0x48], 0x104
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x80]
lea rdx, str.path
lea rcx, str.SoftwareThrustmasterTMFirmwareUpdater
call fcn.1400094b0
lea rcx, [rbp - 0x80]
mov r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d5e4
dec eax
movsxd rcx, eax
test eax, eax
jle 0x14000d609
cmp word [rbp + rcx*2 - 0x80], 0x5c
je 0x14000d609
dec eax
dec rcx
test rcx, rcx
jg 0x14000d5f7
xor r12d, r12d
test eax, eax
jle 0x14000d64c
cdqe
add rax, rax
cmp rax, 0x208
jae 0x14000dc83
mov word [rbp + rax - 0x80], r12w
lea r8, str._firmware_
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1401b6edc
lea rcx, [rdi + 0xe18]
lea rdx, [rbp - 0x80]
call fcn.1400159a0
mov r9, qword [rdi + 0x1238]
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.Thrustmaster___Firmware_Updater
mov rcx, rdi
call fcn.1400307e4
mov rdx, qword [rdi + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140017510
mov word [rdi + 0x1f49], r12w
mov byte [rdi + 0x1f48], r12b
mov dword [rdi + 0x1744], r12d
mov dword [rdi + 0x1f50], r12d
mov ecx, 0x3ff
call fcn.140018570
test rax, rax
jne 0x14000d6b4
mov ecx, r12d
jmp 0x14000d6ca
mov rcx, r13
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14000d6c0
mov r8d, ecx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006850
mov edx, 0x413
mov rcx, rdi
call fcn.140030320
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1400307e4
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1401b25d8
lea rcx, [rdi + 0x2ab0]
lea r8, [rsp + 0x44]
lea rdx, [rbp - 0x80]
call fcn.1400177f0
mov r15d, dword [rsp + 0x44]
mov eax, r15d
shr eax, 8
movzx r14d, al
mov eax, r15d
shr eax, 0x10
movzx esi, al
shr r15d, 0x18
mov ecx, 0x3f0
call fcn.140018570
mov r8, rax
lea rcx, [rdi + 0x1f58]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
mov r9d, r15d
lea rdx, str._1_s____2_d_._3_d_._4_d__
call fcn.14000cab0
mov r8d, dword [rsp + 0x44]
movzx edx, r8b
mov eax, r8d
shr eax, 8
movzx ecx, al
mov eax, r8d
shr eax, 0x10
movzx r9d, al
shr r8d, 0x18
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea rdx, str.Thrustmaster_Firmware_Updater___d._d._d._d_
lea rcx, [rdi + 0xe18]
call fcn.140015de0
lea rdx, [0x1401e33c4]
lea rcx, [rdi + 0x1f60]
call fcn.14000b6e0
mov ecx, 0x3f1
call fcn.140018570
test rax, rax
jne 0x14000d7db
mov ecx, r12d
jmp 0x14000d7ea
mov rcx, r13
nop
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14000d7e0
mov r8d, ecx
mov rdx, rax
lea rcx, [rdi + 0x1f60]
call fcn.140006000
mov dword [rdi + 0x1f80], 3
mov qword [rdi + 0x1f88], r12
mov ecx, 0x3f7
call fcn.140018570
test rax, rax
jne 0x14000d821
mov ecx, r12d
jmp 0x14000d82e
mov rcx, r13
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14000d824
mov r8d, ecx
mov rdx, rax
lea rcx, [rdi + 0x1f98]
call fcn.140006850
mov ecx, 0x1388
call fcn.140018570
test rax, rax
jne 0x14000d854
mov ecx, r12d
jmp 0x14000d86a
mov rcx, r13
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14000d860
mov r8d, ecx
mov rdx, rax
lea rcx, [rdi + 0x1fa0]
call fcn.140006850
mov dword [rdi + 0x1fb0], r12d
lea rcx, [rdi + 0x1fa8]
lea rdx, [0x1401e30e0]
call fcn.14000b6e0
mov ecx, 0x44f
call fcn.140018570
test rax, rax
jne 0x14000d8aa
mov ecx, r12d
jmp 0x14000d8ba
mov rcx, r13
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14000d8b0
mov r8d, ecx
mov rdx, rax
lea rcx, [rdi + 0x1f98]
call fcn.140006850
mov eax, 0x2000003
mov ecx, 0x6000003
cmp byte [rdi + 0x1730], r12b
cmovne eax, ecx
or eax, 0x18000000
mov dword [rdi + 0x1f80], eax
mov ecx, 0x33
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x14
jge 0x14000d907
mov dword [rdi + 0x1f4c], r12d
mov r8d, r12d
jmp 0x14000d917
mov dword [rdi + 0x1f4c], 1
mov r8d, 1
lea rdx, str.GUI_size_detection:__d
lea rcx, [rdi + 0xe18]
call fcn.140015de0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call fcn.140029f54
lea rdx, [rsp + 0x68]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x70]
sub eax, dword [rsp + 0x68]
cmp eax, 0x3e8
jl 0x14000d97c
mov ecx, 0x33
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rax + 0x29e]
mov eax, dword [rsp + 0x74]
sub eax, dword [rsp + 0x6c]
cmp eax, ecx
jl 0x14000d97c
mov r8d, dword [rdi + 0x1f4c]
jmp 0x14000d986
mov dword [rdi + 0x1f4c], r12d
mov r8d, r12d
lea rdx, str.GUI_size_after_constraint:__d
lea rcx, [rdi + 0xe18]
call fcn.140015de0
mov eax, dword [rdi + 0x1f4c]
test eax, eax
jne 0x14000da1b
lea ecx, [rax + 0x33]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, 0x1cc
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2ee
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140295020]
mov rcx, rdi
call fcn.140030780
mov ecx, 0x33
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov edx, 0x410
mov rcx, rdi
call fcn.140030320
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x1a
mov dword [rsp + 0x20], 0x7d
lea r9d, [rsi + 0x16d]
mov r8d, 0x226
jmp 0x14000da9a
cmp eax, 1
jne 0x14000daa4
lea ecx, [rax + 0x32]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, 0x258
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x3d7
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140295020]
mov rcx, rdi
call fcn.140030780
mov ecx, 0x33
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov edx, 0x410
mov rcx, rdi
call fcn.140030320
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x1e
mov dword [rsp + 0x20], LoadRegTypeLib
lea r9d, [rsi + 0x1fe]
mov r8d, 0x2ee
xor edx, edx
mov rcx, rax
call fcn.140030780
mov ecx, 0x3ed
call fcn.140018570
mov rsi, rax
mov edx, 0x410
mov rcx, rdi
call fcn.140030320
mov rcx, rax
mov rdx, rsi
call fcn.1400307e4
cmp byte [rdi + 0x1730], r12b
jne 0x14000db37
cmp byte [0x14028d1e8], r12b
jne 0x14000db37
mov edx, 0x413
mov rcx, rdi
call fcn.140030320
mov rcx, rax
xor edx, edx
call fcn.140030850
mov edx, 0x414
mov rcx, rdi
call fcn.140030320
mov rcx, rax
xor edx, edx
call fcn.140030850
mov edx, 0x411
mov rcx, rdi
call fcn.140030320
mov rcx, rax
xor edx, edx
call fcn.140030850
mov edx, 0x412
mov rcx, rdi
call fcn.140030320
mov rcx, rax
xor edx, edx
call fcn.140030850
cmp byte [rdi + 0x1732], r12b
je 0x14000dbbf
mov dword [rdi + 0x173c], r12d
mov eax, r12d
nop word [rax + rax]
inc r12d
cmp r12d, 0x1e
jge 0x14000db68
test eax, eax
jne 0x14000db68
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.14000c0a0
cmp r12d, 0x1e
jge 0x14000db80
mov eax, dword [rdi + 0x173c]
test eax, eax
je 0x14000db50
cmp dword [rdi + 0x1740], 0
jne 0x14000dbd4
xor edx, edx
mov rcx, rdi
call fcn.140031360
nop
lea rcx, [rsp + 0x40]
call fcn.140002470
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r13d
sub r13d, 1
jg 0x14000dbb8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14000dc53
xor r9d, r9d
lea edx, [r9 + 2]
lea r8d, [r9 + 0x19]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
lea rdx, str.Initialization_completed.
lea rcx, [rdi + 0xe18]
call fcn.140015de0
xor r9d, r9d
lea edx, [r9 + 4]
mov r8d, 0x1f4
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 0x14]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
xor r9d, r9d
lea edx, [r9 + 7]
lea r8d, [r9 + 0x64]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
nop
lea rcx, [rsp + 0x40]
call fcn.140002470
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r13d
sub r13d, 1
jg 0x14000dc4e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401adf80
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401ae12c
nop
mov ecx, 0x80004005
call fcn.1400060f0
int3