Function at 0x140004be8
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov ebx, edx
mov rdi, rcx
xor r9d, r9d
lea r12d, [r9 + 0x28]
mov r8d, r12d
lea rdx, [rbp + 0x80]
call fcn.140005b54
xor r13d, r13d
test eax, eax
je 0x140005172
lea r14, [rdi + 0x840]
cmp dword [rdi + 0x11d0], 1
jne 0x140004e06
lea rsi, [rdi + 0x11e0]
lea rdx, [rdi + 0x42c]
mov r8, r14
mov rcx, rsi
call fcn.140008f34
mov rcx, rdi
call fcn.140005dcc
test eax, eax
jne 0x140004e06
test ebx, ebx
jne 0x140004dff
mov qword [rbp + 0x618], r13
lea r15, [0x1400446c8]
mov rdx, r15
cmp qword [rsi], r13
cmovne rdx, qword [rsi]
lea rcx, [rbp + 0x610]
call fcn.140007704
nop
lea rcx, [rbp + 0x610]
call fcn.1400078e4
mov rax, qword [rdi + 0x1220]
mov rcx, r15
test rax, rax
cmovne rcx, rax
mov rax, qword [rdi + 0x11e8]
mov r9, r15
test rax, rax
cmovne r9, rax
mov r8, r15
mov rax, qword [rbp + 0x610]
test rax, rax
cmovne r8, rax
mov qword [rsp + 0x20], rcx
lea rdx, str._s:___s_s
lea rcx, [rbp + 0x618]
call fcn.14000786c
mov r9, r15
mov rax, qword [rbp + 0x618]
test rax, rax
cmovne r9, rax
cmovne r15, rax
mov r8, r15
lea rdx, str.Le_serveur_HTTP_de_la_version_de_r
lea rcx, [rsp + 0x30]
call fcn.1400031c4
mov rcx, rax
call fcn.140013a24
mov rdx, rax
lea r9d, [r12 - 0x14]
mov r8, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.140013988
nop
cmp ebx, 7
jne 0x140004dac
mov rdx, qword [rbp + 0x610]
or ebx, 0xffffffff
test rdx, rdx
je 0x140004d75
mov eax, ebx
lock xadd dword [rdx - 0xc], eax
add eax, ebx
jne 0x140004d75
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rbp + 0x610], r13
mov rdx, qword [rbp + 0x618]
test rdx, rdx
je 0x140004da2
mov ecx, ebx
lock xadd dword [rdx - 0xc], ecx
add ecx, ebx
jne 0x140004da2
mov rcx, qword [0x140058170]
mov r8, qword [rcx]
call qword [r8 + 0x18]
nop
mov eax, 1
jmp 0x140005177
mov rdx, qword [rbp + 0x610]
or ebx, 0xffffffff
test rdx, rdx
je 0x140004dd3
mov eax, ebx
lock xadd dword [rdx - 0xc], eax
add eax, ebx
jne 0x140004dd3
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rbp + 0x610], r13
mov rdx, qword [rbp + 0x618]
test rdx, rdx
je 0x140004dff
mov eax, ebx
lock xadd dword [rdx - 0xc], eax
add eax, ebx
jne 0x140004dff
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
call qword [rax + 0x18]
nop
xor eax, eax
jmp 0x140005177
lea rsi, [rdi + 0x636]
mov rcx, rsi
call fcn.14000f414
test eax, eax
jne 0x140004efe
mov dword [rdi + 0xf9c], r13d
test ebx, ebx
jne 0x140004eb6
mov r9, rsi
mov r8, rsi
lea rdx, str.Le_fichier_des_param
lea rcx, [rsp + 0x38]
call fcn.1400031c4
mov rcx, rax
call fcn.140013a24
lea r9d, [rbx + 0x14]
mov r8, r14
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140013988
cmp ebx, 7
jne 0x140004eb6
cmp dword [rdi + 0xc54], r13d
je 0x140004da2
mov r9, rsi
mov r8, rsi
lea rdx, str.127___Le_fichier_de_param
lea rcx, [rsp + 0x40]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, rdi
call fcn.140003c50
nop
lea rcx, [rsp + 0x40]
call fcn.140013988
jmp 0x140004da2
cmp dword [rdi + 0xc54], r13d
je 0x140004dff
mov r9, rsi
mov r8, rsi
lea rdx, str.126___Le_fichier_de_param
lea rcx, [rsp + 0x48]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, rdi
call fcn.140003c50
nop
lea rcx, [rsp + 0x48]
call fcn.140013988
jmp 0x140004dff
mov rcx, rdi
call fcn.140007630
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x60]
lea r15, [0x1400446c8]
mov r8, r15
lea rdx, str.VERSION
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140026b24
test eax, eax
je 0x140004dff
cmp dword [rdi + 0x11d0], 1
jne 0x140005056
cmp word [rsp + 0x60], r13w
jne 0x140004fc7
cmp dword [rdi + 0xc54], r13d
je 0x140004dff
lea rdx, [0x140045ad8]
lea rcx, [rbp + 0x3b0]
call fcn.14000ff50
test eax, eax
je 0x140004f90
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14000f320
lea r8, [rbp + 0x3b0]
lea rdx, str.140___Impossible_de_d
lea rcx, [rsp + 0x50]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, rdi
call fcn.140003c50
nop
lea rcx, [rsp + 0x50]
jmp 0x140004ef4
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call fcn.140005cec
test eax, eax
je 0x140005056
lea rcx, [rbp + 0x1a0]
call fcn.14000f670
lea rdx, str.WDSetup.exe
lea rcx, [rbp + 0x1a0]
call fcn.1400266d8
lea r9, [rbp + 0x1a0]
mov r8d, r12d
lea rdx, [rbp + 0xe0]
call fcn.140005b54
test eax, eax
je 0x140005056
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x140]
mov r8, r15
lea rdx, str.VERSIONWDSETUP
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x140]
call fcn.140026768
test eax, eax
je 0x140005056
mov rcx, rdi
call fcn.1400065c4
mov r9, rsi
xor r8d, r8d
lea rdx, str.VERSION_OBLIGATOIRE
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x140005172
call fcn.140012d58
mov r12, rax
lea rcx, [rdi + 0x42c]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x28
lea r9, [rbp - 0x40]
mov r8, r15
lea rdx, str.LIMITEMAJ
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp - 0x40], r13w
je 0x1400050e4
lea rcx, [rbp - 0x40]
call fcn.140026704
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140026704
mov r8, rax
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x40]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140012d6c
test eax, eax
jle 0x140004dff
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x28
lea r9, [rbp + 0x20]
mov r8, r15
lea rdx, str.DERNIERE_VERSION
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x20], r13w
je 0x140005145
lea rcx, [rbp + 0x20]
call fcn.140026704
mov rbx, rax
lea rcx, [rbp + 0x80]
call fcn.140026704
mov r8, rax
mov dword [rsp + 0x20], ebx
lea r9, [rbp + 0x20]
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.140012d6c
test eax, eax
js 0x140005172
mov rcx, rdi
call fcn.140007548
test eax, eax
jne 0x140005172
cmp dword [rdi + 0xc54], r13d
je 0x140004dff
lea rdx, str.141___V
mov rcx, rdi
call fcn.140003c50
jmp 0x140004dff
mov eax, 2
mov rbx, qword [rsp + 0x700]
add rsp, 0x6c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret