Function at 0x4044c6
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x11b0]
sub eax, 0
je 0x4044de
sub eax, 1
je 0x4044d9
xor eax, eax
ret
jmp fcn.00404cb9
jmp 0x4044e3
mov eax, 0x43038d
call fcn.00430150
sub esp, 0x428
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xf94]
test eax, eax
je 0x40451d
push dword [edi + 0xf98]
call eax
pop ecx
lea ebx, [edi + 0xc]
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.0041f9a6
lea eax, [ebp - 0x228]
push str.WDUPDATE.NET
push eax
call fcn.0041f9c8
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x228]
add esp, 0x10
lea eax, [edi + 0x216]
add edi, 0x834
mov dword [ebp - 0x18], eax
push ecx
push 0x104
push eax
push 0x43ace4
push 0x43c1d0
push edi
call esi
lea eax, [ebp - 0x228]
push eax
push 0x104
lea eax, [ebp - 0x434]
push eax
push 0x43ace4
push 0x43c1e0
push edi
call esi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x434]
push eax
push esi
call fcn.0041f9c8
mov ecx, esi
call fcn.0040bda4
push str.WDSETUP.EXE
push esi
lea eax, [ebp - 0x1c]
push str.__s_s_
push eax
call fcn.0040f56f
push ebx
lea eax, [ebp - 0x14]
push str._REP__s_
push eax
call fcn.0040f56f
mov ebx, dword [ebp - 0x10]
add esp, 0x24
mov eax, dword [ebx + 0xc48]
test eax, eax
je 0x404697
push str.110___Lancement_du_controleur_de_version
mov ecx, ebx
call fcn.004032cc
lea ecx, [ebp - 0x14]
call fcn.0040ef7e
push eax
lea eax, [ebp - 0x10]
push str.111___Ligne_de_commande_:__s
push eax
call fcn.00402a02
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ef7e
push eax
mov ecx, ebx
call fcn.004032cc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040eef5
push esi
lea eax, [ebp - 0x10]
push str.112___R
push eax
call fcn.00402a02
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040ef7e
push eax
mov ecx, ebx
call fcn.004032cc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040eef5
mov eax, dword [ebx + 0xc48]
test eax, eax
je 0x404697
lea ecx, [ebp - 0x14]
call fcn.0040ef7e
push eax
lea eax, [ebp - 0x10]
push str.109___Ligne_de_commande_de_v
push eax
call fcn.00402a02
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040ef7e
push eax
mov ecx, ebx
call fcn.004032cc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040eef5
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0040ef7e
lea ecx, [ebp - 0x1c]
mov edx, eax
call fcn.0040ef7e
mov ecx, eax
call fcn.004127c1
pop ecx
pop ecx
test eax, eax
jne 0x40471d
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [ebx + 0xc48], esi
je 0x404712
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00402a02
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040ef7e
push eax
mov ecx, ebx
call fcn.004032cc
lea ecx, [ebp - 0x10]
call fcn.0040eef5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x404727
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
lea ecx, [ebp - 0x14]
call fcn.0040eef5
lea ecx, [ebp - 0x1c]
call fcn.0040eef5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret