Function at 0x40370a
Capabilities:
Create process on windows
Read .ini file

Disassembly:
mov eax, 0x4103f8
call fcn.00407a20
sub esp, 0x270
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.00405bc9
mov eax, dword [esi + 0x5c8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x40373f
push dword [esi + 0x5cc]
call eax
pop ecx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00408310
lea eax, [ebp - 0x174]
push str.WDUPDATE.NET
push eax
call fcn.00408320
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x174]
lea eax, [esi + 0x10d]
push edx
push 0x104
push eax
lea ecx, [esi + 0x212]
push 0x418090
push str.SERVEUR
push ecx
call edi
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x27c]
push 0x104
push eax
push 0x418090
lea eax, [esi + 0x212]
push str.CHEMIN
push eax
call edi
lea eax, [ebp - 0x27c]
lea edi, [esi + 0x10d]
push eax
push edi
call fcn.00408320
push edi
call fcn.004048f1
add esp, 0xc
lea eax, [esi + 8]
push eax
push str.WDSETUP8.DAT
push edi
lea eax, [ebp - 0x14]
push str._s_s__REP__s_
push eax
call fcn.00406053
push 0x44
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00407d00
push 0x10
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.00407d00
add esp, 0x2c
cmp dword [esi + 0x41c], ebx
je 0x403881
push str.110___Lancement_du_controleur_de_version
mov ecx, esi
call fcn.00402a1a
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str.111___Ligne_de_commande_:__s
push eax
call fcn.00406066
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00405c30
push eax
mov ecx, esi
call fcn.00402a1a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00405bfb
push edi
lea eax, [ebp - 0x10]
push str.112___R
push eax
call fcn.00406066
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00405c30
push eax
mov ecx, esi
call fcn.00402a1a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00405bfb
lea ecx, [ebp - 0x14]
call fcn.00405ca6
add eax, 4
and al, 0xfc
call fcn.00408510
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call fcn.00405c30
push eax
push dword [ebp - 0x10]
call fcn.00408310
cmp dword [esi + 0x41c], ebx
pop ecx
pop ecx
je 0x4038e3
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push str.109___Ligne_de_commande_de_v
push eax
call fcn.00406066
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00405c30
push eax
mov ecx, esi
call fcn.00402a1a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00405bfb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x403974
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp dword [esi + 0x41c], ebx
je 0x40395b
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push dword [ebp - 0x10]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00406066
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00405c30
push eax
mov ecx, esi
call fcn.00402a1a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00405bfb
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405bfb
xor eax, eax
jmp 0x403983
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405bfb
push 1
pop eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x288]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret