Function at 0x140005194
Capabilities:
Read .ini file

Disassembly:
mov edx, dword [rcx + 0x11d0]
test edx, edx
je 0x1400051ab
cmp edx, 1
je 0x1400051a6
xor eax, eax
ret
jmp fcn.140005b50
jmp 0x1400051b0
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x378]
sub rsp, 0x478
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov r14, rcx
xor esi, esi
mov qword [rbp + 0x3b8], rsi
mov qword [rbp + 0x3b0], rsi
mov rax, qword [rcx + 0xfa0]
test rax, rax
je 0x1400051f9
mov rcx, qword [rcx + 0xfa8]
call rax
lea rdx, [r14 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1400266bc
lea rdx, str.WDUPDATE.NET
lea rcx, [rsp + 0x50]
call fcn.1400266d8
lea r15, [r14 + 0x222]
lea rbx, [r14 + 0x840]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
mov r9, r15
lea r8, [0x1400446c8]
lea rdx, [0x140045c98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x160]
lea r8, [0x1400446c8]
lea rdx, [0x140045ca8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rbp + 0x160]
mov rcx, r15
call fcn.1400266d8
mov rcx, r15
call fcn.14000f670
lea r9, str.WDSETUP.EXE
mov r8, r15
lea rdx, str.__s_s_
lea rcx, [rbp + 0x3b8]
call fcn.1400142bc
lea r8, [r14 + 0x18]
lea rdx, str._REP__s_
lea rcx, [rbp + 0x3b0]
call fcn.1400142bc
mov eax, dword [r14 + 0xc54]
test eax, eax
je 0x1400053b3
lea rdx, str.110___Lancement_du_controleur_de_version
mov rcx, r14
call fcn.140003c50
lea rcx, [rbp + 0x3b0]
call fcn.140013a24
mov r8, rax
lea rdx, str.111___Ligne_de_commande_:__s
lea rcx, [rbp + 0x3c0]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, r14
call fcn.140003c50
nop
lea rcx, [rbp + 0x3c0]
call fcn.140013988
mov r8, r15
lea rdx, str.112___R
lea rcx, [rbp + 0x3c0]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, r14
call fcn.140003c50
nop
lea rcx, [rbp + 0x3c0]
call fcn.140013988
mov eax, dword [r14 + 0xc54]
test eax, eax
je 0x1400053b3
lea rcx, [rbp + 0x3b0]
call fcn.140013a24
mov r8, rax
lea rdx, str.109___Ligne_de_commande_de_v
lea rcx, [rbp + 0x3c0]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, r14
call fcn.140003c50
nop
lea rcx, [rbp + 0x3c0]
call fcn.140013988
lea rcx, [rbp + 0x3b0]
call fcn.140013a24
mov rdx, rax
lea rcx, [rbp + 0x3b8]
call fcn.140013a24
mov rcx, rax
mov r8, r15
call fcn.1400180cc
test rax, rax
jne 0x140005469
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1300
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [r14 + 0xc54], esi
je 0x14000545a
mov r8, qword [rbp + 0x3c0]
mov r9, r8
lea rdx, str.Impossible_de_lancer_lapplication_de_contr
lea rcx, [rbp + 0x3c8]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, r14
call fcn.140003c50
nop
lea rcx, [rbp + 0x3c8]
call fcn.140013988
mov rcx, qword [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140005477
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
lea rcx, [rbp + 0x3b0]
call fcn.140013988
nop
lea rcx, [rbp + 0x3b8]
call fcn.140013988
mov eax, esi
add rsp, 0x478
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret