Function at 0x4048ab
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x11b0]
sub eax, 0
je 0x4048c3
sub eax, 1
je 0x4048be
xor eax, eax
ret
jmp fcn.004050a5
jmp 0x4048c8
mov eax, 0x43155b
call fcn.00431294
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 0x404902
push dword [edi + 0xf98]
call eax
pop ecx
lea ebx, [edi + 0xc]
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.004206c4
lea eax, [ebp - 0x228]
push str.WDUPDATE.NET
push eax
call fcn.004206e6
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 0x43c0dc
push 0x43d5c8
push edi
call esi
lea eax, [ebp - 0x228]
push eax
push 0x104
lea eax, [ebp - 0x434]
push eax
push 0x43c0dc
push 0x43d5d8
push edi
call esi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x434]
push eax
push esi
call fcn.004206e6
mov ecx, esi
call fcn.0040c93f
push str.WDSETUP.EXE
push esi
lea eax, [ebp - 0x1c]
push str.__s_s_
push eax
call fcn.00410388
push ebx
lea eax, [ebp - 0x14]
push str._REP__s_
push eax
call fcn.00410388
mov ebx, dword [ebp - 0x10]
add esp, 0x24
mov eax, dword [ebx + 0xc48]
test eax, eax
je 0x404a7c
push str.110___Lancement_du_controleur_de_version
mov ecx, ebx
call fcn.004036a4
lea ecx, [ebp - 0x14]
call fcn.0040fb1f
push eax
lea eax, [ebp - 0x10]
push str.111___Ligne_de_commande_:__s
push eax
call fcn.00402dfa
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040fb1f
push eax
mov ecx, ebx
call fcn.004036a4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040fa91
push esi
lea eax, [ebp - 0x10]
push str.112___R
push eax
call fcn.00402dfa
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040fb1f
push eax
mov ecx, ebx
call fcn.004036a4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040fa91
mov eax, dword [ebx + 0xc48]
test eax, eax
je 0x404a7c
lea ecx, [ebp - 0x14]
call fcn.0040fb1f
push eax
lea eax, [ebp - 0x10]
push str.109___Ligne_de_commande_de_v
push eax
call fcn.00402dfa
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040fb1f
push eax
mov ecx, ebx
call fcn.004036a4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040fa91
lea ecx, [ebp - 0x14]
call fcn.0040fb1f
lea ecx, [ebp - 0x1c]
mov edx, eax
call fcn.0040fb1f
push ecx
push esi
mov ecx, eax
call fcn.0041377f
pop ecx
pop ecx
test eax, eax
jne 0x404b02
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 0x404af7
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00402dfa
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040fb1f
push eax
mov ecx, ebx
call fcn.004036a4
lea ecx, [ebp - 0x10]
call fcn.0040fa91
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x404b0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
lea ecx, [ebp - 0x14]
call fcn.0040fa91
lea ecx, [ebp - 0x1c]
call fcn.0040fa91
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret