Function at 0x4140bf
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x11b0]
sub eax, 0
je 0x4140d7
sub eax, 1
je 0x4140d2
xor eax, eax
ret
jmp fcn.00401708
jmp 0x4140dc
mov eax, 0x42f4f5
call fcn.0042ef64
sub esp, 0x42c
push ebx
mov edx, ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov eax, dword [edx + 0xf94]
test eax, eax
je 0x414118
push dword [edx + 0xf98]
call eax
mov edx, dword [ebp - 0x20]
pop ecx
lea eax, [edx + 0xc]
lea esi, [ebp - 0x22c]
mov dword [ebp - 0x10], eax
mov ecx, eax
sub esi, eax
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x414128
push edi
lea edi, [ebp - 0x22c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x414141
push 6
pop ecx
mov esi, str.WDUPDATE.NET
lea eax, [edx + 0x216]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
push ecx
push 0x104
push eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [edx + 0x834]
push 0x4368b0
push 0x43af38
push edi
call esi
lea eax, [ebp - 0x22c]
push eax
push 0x104
lea eax, [ebp - 0x438]
push eax
push 0x4368b0
push 0x43af48
push edi
call esi
lea edx, [ebp - 0x438]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x4141b0
mov edi, dword [ebp - 0x14]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4141c3
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0040755f
push str.WDSETUP.EXE
push edi
lea eax, [ebp - 0x1c]
push str.__s_s_
push eax
call fcn.0040b982
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push str._REP__s_
push eax
call fcn.0040b982
mov esi, dword [ebp - 0x20]
add esp, 0x1c
cmp dword [esi + 0xc48], ebx
je 0x4142d1
push str.110___Lancement_du_controleur_de_version
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x18]
call fcn.0040b37e
push eax
lea eax, [ebp - 0x10]
push str.111___Ligne_de_commande_:__s
push eax
call fcn.00402d4f
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040b37e
push eax
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x10]
call fcn.0040b313
push edi
lea eax, [ebp - 0x10]
push str.112___R
push eax
call fcn.00402d4f
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040b37e
push eax
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040b313
cmp dword [esi + 0xc48], ebx
je 0x4142d1
lea ecx, [ebp - 0x18]
call fcn.0040b37e
push eax
lea eax, [ebp - 0x10]
push str.109___Ligne_de_commande_de_v
push eax
call fcn.00402d4f
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040b37e
push eax
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040b313
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.0040b37e
lea ecx, [ebp - 0x1c]
mov edx, eax
call fcn.0040b37e
mov ecx, eax
call fcn.00417bb3
pop ecx
pop ecx
pop edi
test eax, eax
jne 0x414356
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [esi + 0xc48], ebx
je 0x41434b
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push 0x43a0b8
push eax
call fcn.00402d4f
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040b37e
push eax
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x10]
call fcn.0040b313
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x414360
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x18]
call fcn.0040b313
lea ecx, [ebp - 0x1c]
call fcn.0040b313
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret