Function at 0x40443f
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x4314fa
call fcn.00431274
sub esp, 0x5bc
lea eax, [ebp - 0x108]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 0x28
push eax
call fcn.004050a8
test eax, eax
je 0x404894
cmp dword [edi + 0x11b0], 1
lea esi, [edi + 0x834]
jne 0x404599
push esi
lea eax, [edi + 0x420]
lea ecx, [edi + 0x11c0]
push eax
call fcn.00407475
mov ecx, edi
call fcn.0040527b
test eax, eax
jne 0x404599
cmp dword [ebp + 0x64], ebx
jne 0x404890
mov dword [ebp + 0x58], ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x11c0]
cmp dword [ecx], 0
mov ebx, 0x43c0ec
mov eax, ebx
cmovne eax, dword [ecx]
push ecx
push eax
lea ecx, [ebp + 0x64]
call fcn.00406294
push ecx
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 1
call fcn.004063b7
mov eax, dword [edi + 0x11e0]
mov edx, ebx
test eax, eax
mov ecx, ebx
cmovne edx, eax
mov eax, dword [edi + 0x11c4]
test eax, eax
push edx
cmovne ecx, eax
cmp dword [ebp + 0x64], 0
push ecx
mov eax, ebx
cmovne eax, dword [ebp + 0x64]
push eax
lea eax, [ebp + 0x58]
push str._s:___s_s
push eax
call fcn.00406363
mov eax, dword [ebp + 0x58]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
cmovne ebx, eax
push ecx
push ebx
lea eax, [ebp + 0x54]
push str.Le_serveur_HTTP_de_la_version_de_r
push eax
call fcn.00402dfa
add esp, 0x24
mov ecx, eax
push 0x14
push esi
call fcn.0040fb17
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp + 0x54]
mov esi, eax
call fcn.0040fa89
cmp esi, 7
jne 0x404579
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x64]
call fcn.00406a78
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 0x58]
call fcn.00406a78
xor eax, eax
inc eax
jmp 0x404897
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x64]
call fcn.00406a78
mov dword [ebp - 4], 5
mov ecx, dword [ebp + 0x58]
call fcn.00406a78
jmp 0x404890
lea ebx, [edi + 0x62a]
mov ecx, ebx
call fcn.0040c6d1
test eax, eax
jne 0x40465d
and dword [edi + 0xf90], eax
cmp dword [ebp + 0x64], eax
jne 0x404631
push ebx
push ebx
lea eax, [ebp + 0x64]
push str.Le_fichier_des_param
push eax
call fcn.00402dfa
add esp, 0x10
mov ecx, eax
call fcn.0040fb17
push 0x14
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp + 0x64]
mov esi, eax
call fcn.0040fa89
cmp esi, 7
jne 0x404631
cmp dword [edi + 0xc48], 0
je 0x404571
push ebx
push ebx
lea eax, [ebp + 0x64]
push str.127___Le_fichier_de_param
push eax
call fcn.00402dfa
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.0040fb17
push eax
mov ecx, edi
call fcn.004036a4
lea ecx, [ebp + 0x64]
call fcn.0040fa89
jmp 0x404571
cmp dword [edi + 0xc48], 0
je 0x404890
push ebx
push ebx
lea eax, [ebp + 0x64]
push str.126___Le_fichier_de_param
push eax
call fcn.00402dfa
add esp, 0x10
mov dword [ebp - 4], 7
jmp 0x4046f4
push ebx
push 0x28
lea eax, [ebp]
push eax
push 0x43c0ec
push str.VERSION
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00420ea6
pop ecx
pop ecx
test eax, eax
je 0x404890
cmp dword [edi + 0x11b0], 1
jne 0x404794
cmp word [ebp], 0
jne 0x404710
cmp dword [edi + 0xc48], 0
je 0x404890
push ecx
mov edx, 0x43d41c
lea ecx, [ebp - 0x5c8]
call fcn.0040d0bb
pop ecx
test eax, eax
je 0x4046d5
push ecx
mov edx, ebx
lea ecx, [ebp - 0x5c8]
call fcn.0040c597
pop ecx
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp + 0x64]
push str.140___Impossible_de_d
push eax
call fcn.00402dfa
add esp, 0xc
mov dword [ebp - 4], 8
mov ecx, eax
call fcn.0040fb17
push eax
mov ecx, edi
call fcn.004036a4
lea ecx, [ebp + 0x64]
call fcn.0040fa89
jmp 0x404890
lea eax, [ebp - 0x3bc]
mov ecx, edi
push eax
call fcn.004051d1
test eax, eax
je 0x404794
lea ecx, [ebp - 0x3bc]
call fcn.0040c938
lea eax, [ebp - 0x3bc]
push str.WDSetup.exe
push eax
call fcn.004206c6
pop ecx
pop ecx
lea eax, [ebp - 0x3bc]
push eax
push 0x28
lea eax, [ebp - 0x15c]
push eax
call fcn.004050a8
test eax, eax
je 0x404794
push ebx
push 0x28
lea eax, [ebp - 0x1b0]
push eax
push 0x43c0ec
push str.VERSIONWDSETUP
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00420bb0
pop ecx
pop ecx
test eax, eax
je 0x404794
mov ecx, edi
call fcn.004057bc
push ebx
push 0
push str.VERSION_OBLIGATOIRE
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x404894
call fcn.0040eef8
lea ecx, [edi + 0x420]
mov dword [ebp + 0x64], eax
push ecx
push 0x28
lea eax, [ebp - 0x60]
push eax
push 0x43c0ec
push str.LIMITEMAJ
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x60], 0
je 0x404811
lea eax, [ebp - 0x60]
push eax
call fcn.00420819
mov esi, eax
lea eax, [ebp]
push eax
call fcn.00420819
add esp, 4
lea ecx, [ebp - 0x60]
lea edx, [ebp]
push esi
push ecx
mov ecx, dword [ebp + 0x64]
push eax
call fcn.0040ef03
add esp, 0x10
test eax, eax
jle 0x404890
lea esi, [edi + 0x834]
push ebx
push 0x28
lea eax, [ebp - 0xb4]
push eax
push 0x43c0ec
push str.DERNIERE_VERSION
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xb4], 0
je 0x404871
lea eax, [ebp - 0xb4]
push eax
call fcn.00420819
mov esi, eax
lea eax, [ebp - 0x108]
push eax
call fcn.00420819
add esp, 4
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0x108]
push esi
push ecx
mov ecx, dword [ebp + 0x64]
push eax
call fcn.0040ef03
add esp, 0x10
test eax, eax
js 0x404894
mov ecx, edi
call fcn.0040615e
test eax, eax
jne 0x404894
cmp dword [edi + 0xc48], eax
je 0x404890
push str.141___V
mov ecx, edi
call fcn.004036a4
xor eax, eax
jmp 0x404897
push 2
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x5c
leave
ret 4