Function at 0x140005dcc
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rdi, rcx
lea rax, [rcx + 0x42c]
add rcx, 0x840
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x330]
lea r8, str.WDUPDATE.NET
lea rdx, str.FICUPDATE
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, rdi
call fcn.140006f54
xor r14d, r14d
test eax, eax
je 0x140006336
lea rcx, [rbp]
call fcn.14001502c
nop
lea rcx, [rbp - 0x78]
call fcn.14000ca70
nop
lea r8, [rbp]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x50]
call fcn.14000bc54
nop
lea rcx, [rbp - 0x50]
call fcn.14000c568
lea rcx, [rbp - 0x50]
call fcn.14000c578
mov rax, qword [rdi + 0x1218]
lea rsi, [0x1400446c8]
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov rax, qword [rdi + 0x1210]
mov r10, rsi
test rax, rax
cmovne r10, rax
mov rax, qword [rdi + 0x11f8]
mov r11, rsi
test rax, rax
cmovne r11, rax
mov ebx, dword [rdi + 0x11f0]
mov r8, qword [rdi + 0x1200]
test r8, r8
je 0x140005edc
movsxd rax, dword [r8 - 4]
shr rax, 1
test eax, eax
je 0x140005edc
mov rax, qword [rdi + 0x1208]
mov r9, rsi
test rax, rax
cmovne r9, rax
jmp 0x140005edf
mov r9, r14
test r8, r8
je 0x140005eef
movsxd rax, dword [r8 - 4]
shr rax, 1
test eax, eax
jne 0x140005ef2
mov r8, r14
mov rax, qword [rdi + 0x11e8]
mov rdx, rsi
test rax, rax
cmovne rdx, rax
imul eax, dword [rdi + 0x1228], 0x3e8
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x50]
call fcn.14000bcfc
test eax, eax
jne 0x140005f85
cmp dword [rdi + 0xc54], r14d
je 0x140005f7d
lea rcx, [rbp]
call fcn.1400156bc
mov r9, rax
lea r8, str.134___Echec_de_linit_de_WinSock
lea rdx, str._s_:__s
lea rcx, [rsp + 0x68]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
mov rcx, rdi
call fcn.140003c50
nop
lea rcx, [rsp + 0x68]
call fcn.140013988
mov ebx, r14d
jmp 0x140006317
mov rax, qword [rdi + 0x1220]
mov rdx, rsi
test rax, rax
cmovne rdx, rax
lea rcx, [rbp + 0x580]
call fcn.140013934
nop
lea rcx, [rbp + 0x580]
call fcn.14001432c
cmp ax, 0x2f
jne 0x140005fd6
mov rax, qword [rdi + 0x1220]
mov rdx, rsi
test rax, rax
cmovne rdx, rax
add rdx, 2
lea rcx, [rbp + 0x580]
call fcn.140013e2c
lea rcx, [rbp + 0x580]
call fcn.140013fe4
mov ebx, eax
lea rcx, [rbp + 0x580]
call fcn.140013dfc
mov r12d, 1
sub eax, r12d
cmp ebx, eax
jne 0x140006046
lea rcx, [rbp + 0x580]
call fcn.140013dfc
sub eax, r12d
movsxd r8, eax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x580]
call fcn.140013f44
mov rbx, rax
lea rcx, [rbp + 0x580]
call fcn.1400139a4
mov rcx, qword [rbx]
mov qword [rbp + 0x580], rcx
mov qword [rbx], r14
lea rcx, [rsp + 0x70]
call fcn.140013988
lea rcx, [rbp + 0x580]
call fcn.140013a24
mov r8, rax
lea r9, [rbp + 0x330]
lea rdx, str.__s_INSTALL__s
lea rcx, [rsp + 0x60]
call fcn.1400031c4
nop
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
lea rcx, str.https
call fcn.140026704
mov r8, qword [rdi + 0x11e0]
test r8, r8
je 0x140006098
movsxd rdx, dword [r8 - 4]
shr rdx, 1
jmp 0x14000609b
mov edx, r14d
mov rcx, rsi
test r8, r8
cmovne rcx, r8
mov dword [rsp + 0x20], r12d
mov r9d, eax
lea r8, str.https
call fcn.140007938
mov r8d, r14d
test eax, eax
sete r8b
lea rcx, [rsp + 0x60]
call fcn.140013a24
mov rdx, rax
mov dword [rsp + 0x28], r8d
lea r8, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.14000bfdc
mov ebx, eax
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1400060fb
mov qword [rbp + 0x588], rax
lock add dword [rax - 0xc], r12d
jmp 0x140006102
mov qword [rbp + 0x588], r14
mov qword [rbp + 0x590], r14
lea r9, [rbp + 0x590]
lea r8, [0x1400466c0]
mov edx, r12d
lea rcx, [rbp + 0x588]
call fcn.140007890
or r15d, 0xffffffff
jmp 0x14000628f
lea rcx, [0x1400466c8]
call fcn.140026704
mov r8, rax
mov rcx, qword [rbp + 0x590]
test rcx, rcx
je 0x140006153
movsxd rdx, dword [rcx - 4]
shr rdx, 1
jmp 0x140006156
mov edx, r14d
mov rax, rsi
test rcx, rcx
cmovne rax, rcx
mov dword [rsp + 0x20], r14d
mov r9d, r8d
lea r8, [0x1400466c8]
mov rcx, rax
call fcn.140007938
test eax, eax
jne 0x140006348
mov rcx, rdi
call fcn.140007258
test eax, eax
je 0x14000645f
mov rax, qword [rdi + 0x1218]
mov r8, rsi
test rax, rax
cmovne r8, rax
mov rax, qword [rdi + 0x1210]
mov rdx, rsi
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000bed8
lea rcx, str.https
call fcn.140026704
mov r8, qword [rdi + 0x11e0]
test r8, r8
je 0x1400061db
movsxd rdx, dword [r8 - 4]
shr rdx, 1
jmp 0x1400061de
mov edx, r14d
mov rcx, rsi
test r8, r8
cmovne rcx, r8
mov dword [rsp + 0x20], r12d
mov r9d, eax
lea r8, str.https
call fcn.140007938
mov r8d, r14d
test eax, eax
sete r8b
lea rcx, [rsp + 0x60]
call fcn.140013a24
mov rdx, rax
mov dword [rsp + 0x28], r8d
lea r8, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.14000bfdc
mov ebx, eax
mov rax, qword [rbp + 0x588]
test rax, rax
je 0x140006254
mov ecx, r15d
lock xadd dword [rax - 0xc], ecx
add ecx, r15d
jne 0x140006254
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x588]
call qword [rax + 0x18]
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14000626b
mov qword [rbp + 0x588], rax
lock add dword [rax - 0xc], r12d
jmp 0x140006272
mov qword [rbp + 0x588], r14
lea r9, [rbp + 0x590]
lea r8, [0x1400466c0]
mov edx, r12d
lea rcx, [rbp + 0x588]
call fcn.140007890
test ebx, ebx
jne 0x14000612f
mov ebx, r14d
lea rcx, [rbp - 0x50]
call fcn.14000bf48
nop
mov rdx, qword [rbp + 0x590]
test rdx, rdx
je 0x1400062ca
mov eax, r15d
lock xadd dword [rdx - 0xc], eax
add eax, r15d
jne 0x1400062ca
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rbp + 0x590], r14
mov rax, qword [rbp + 0x588]
test rax, rax
je 0x1400062ff
mov ecx, r15d
lock xadd dword [rax - 0xc], ecx
add ecx, r15d
jne 0x1400062ff
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x588]
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x60]
call fcn.140013988
nop
lea rcx, [rbp + 0x580]
call fcn.140013988
nop
lea rcx, [rbp - 0x50]
call fcn.14000bcc0
nop
lea rcx, [rbp - 0x78]
call fcn.14000cac0
nop
lea rcx, [rbp]
call fcn.14001511c
mov eax, ebx
add rsp, 0x640
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test ebx, ebx
je 0x140006297
lea rcx, [0x1400466d0]
call fcn.140026704
mov rcx, qword [rbp + 0x590]
test rcx, rcx
je 0x140006371
movsxd rdx, dword [rcx - 4]
shr rdx, 1
jmp 0x140006374
mov edx, r14d
test rcx, rcx
cmovne rsi, rcx
mov dword [rsp + 0x20], r14d
mov r9d, eax
lea r8, [0x1400466d0]
mov rcx, rsi
call fcn.140007938
test eax, eax
jne 0x140006297
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x598]
call fcn.140014bd4
nop
lea rcx, [rbp + 0xd0]
call fcn.14000dac4
nop
lea rdx, [rdi + 0x636]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 4
mov r9d, 3
mov r8d, 0xc0000000
lea rcx, [rbp + 0xd0]
call fcn.14000edec
test eax, eax
je 0x140006425
mov rdx, qword [rbp + 0x598]
test rdx, rdx
je 0x140006402
mov r8d, dword [rdx - 4]
jmp 0x140006405
mov r8d, r14d
xor r9d, r9d
lea rcx, [rbp + 0xd0]
call fcn.14000df94
lea rcx, [rbp + 0xd0]
test eax, eax
jne 0x140006467
call fcn.14000de24
nop
lea rcx, [rbp + 0xd0]
call fcn.14000dbb0
nop
mov rdx, qword [rbp + 0x598]
test rdx, rdx
je 0x140006458
mov eax, r15d
lock xadd dword [rdx - 0xc], eax
add eax, r15d
jne 0x140006458
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rbp + 0x598], r14
mov ebx, r14d
jmp 0x1400062a4
call fcn.14000de24
nop
lea rcx, [rbp + 0xd0]
call fcn.14000dbb0
nop
mov rdx, qword [rbp + 0x598]
test rdx, rdx
je 0x1400064a0
mov eax, r15d
lock xadd dword [rdx - 0xc], eax
add eax, r15d
jne 0x1400064a0
mov rcx, qword [0x140058170]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rbp + 0x598], r14
jmp 0x14000629a