Function at 0x404e84
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x43007b
call fcn.0042fda0
sub esp, 0x518
push edi
mov edi, ecx
lea eax, [edi + 0x420]
push eax
push 0x104
lea eax, [ebp - 0x524]
push eax
push str.WDUPDATE.NET
push str.FICUPDATE
lea eax, [edi + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
call fcn.00405a5f
test eax, eax
je 0x4051eb
push ebx
push esi
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040fffe
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409c33
push ecx
push ecx
lea eax, [ebp - 0xe0]
push eax
mov eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.00409129
push ecx
mov byte [ebp - 4], 2
call fcn.0040982c
push ecx
call fcn.0040983d
mov eax, dword [edi + 0x11dc]
mov esi, 0x43ad64
mov edx, dword [edi + 0x11d0]
test eax, eax
mov ebx, esi
mov ecx, esi
cmovne ebx, eax
mov eax, dword [edi + 0x11d8]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x1c], ecx
test eax, eax
mov ecx, esi
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
test edx, edx
je 0x404f5d
cmp dword [edx - 4], 2
jb 0x404f5d
mov eax, dword [edi + 0x11d4]
test eax, eax
cmovne esi, eax
jmp 0x404f5f
xor esi, esi
test edx, edx
je 0x404f69
cmp dword [edx - 4], 2
jae 0x404f6b
xor edx, edx
mov eax, dword [edi + 0x11c4]
mov ecx, 0x43ad64
push ebx
push dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
imul eax, dword [edi + 0x11e4], 0x3e8
push ecx
push ecx
push dword [ebp - 0x14]
push eax
push dword [edi + 0x11c8]
push esi
push edx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004091b7
test eax, eax
jne 0x404ff0
cmp dword [edi + 0xc48], eax
je 0x404fe9
lea ecx, [ebp - 0xe0]
call fcn.0041050f
push eax
push str.134___Echec_de_linit_de_WinSock
lea eax, [ebp - 0x1c]
push str._s_:__s
push eax
call fcn.00402a02
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040ef3e
push eax
mov ecx, edi
call fcn.004032d3
lea ecx, [ebp - 0x1c]
call fcn.0040eeb5
xor esi, esi
jmp 0x4051cc
mov eax, dword [edi + 0x11e0]
mov ebx, 0x43ad64
test eax, eax
mov ecx, ebx
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040ee74
push ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040f568
cmp ax, 0x2f
jne 0x405037
mov eax, dword [edi + 0x11e0]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f1b9
lea ecx, [ebp - 0x10]
call fcn.0040f309
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040f190
dec eax
cmp esi, eax
jne 0x405085
lea ecx, [ebp - 0x10]
call fcn.0040f190
dec eax
lea edx, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f292
mov esi, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040eee1
mov ecx, dword [esi]
and dword [esi], 0
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0040eeb5
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ef3e
push eax
lea eax, [ebp - 0x24]
push 0x43cc10
push eax
call fcn.00402a02
add esp, 8
mov byte [ebp - 4], 6
and dword [ebp - 0x20], 0
lea ebx, [edi + 0x11c0]
and dword [ebp - 0x1c], 0
mov ecx, ebx
call fcn.00405e58
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ef3e
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409398
mov esi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4050f1
mov dword [ebp - 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4050f5
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 8
jmp 0x40517b
push 0x43cc34
lea ecx, [ebp - 0x18]
call fcn.00405e97
test eax, eax
jne 0x4051f8
mov ecx, edi
call fcn.00405bd4
test eax, eax
je 0x405295
mov eax, dword [edi + 0x11dc]
mov ecx, 0x43ad64
test eax, eax
mov edx, ecx
cmovne edx, eax
mov eax, dword [edi + 0x11d8]
test eax, eax
push edx
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004092f4
push ecx
push ecx
mov ecx, ebx
call fcn.00405e58
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ef3e
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409398
mov esi, eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405f0e
lea eax, [ebp - 0x18]
push eax
push 0x43cc30
push 1
lea ecx, [ebp - 0x14]
call fcn.00406024
test esi, esi
jne 0x4050ff
xor esi, esi
lea ecx, [ebp - 0x5c]
call fcn.0040933a
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x18]
call fcn.00406672
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x14]
call fcn.00406672
lea ecx, [ebp - 0x24]
call fcn.0040eeb5
lea ecx, [ebp - 0x10]
call fcn.0040eeb5
lea ecx, [ebp - 0x5c]
call fcn.00409174
lea ecx, [ebp - 0x34]
call fcn.00409c66
lea ecx, [ebp - 0xe0]
call fcn.004100c1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x405196
push 0x43cc3c
lea ecx, [ebp - 0x18]
call fcn.00405e97
test eax, eax
jne 0x405196
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fd27
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0xb
call fcn.0040a9e0
push 0
push 0x10000000
push 4
push 3
push 0xc0000000
lea eax, [edi + 0x62a]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x318]
call fcn.0040b819
test eax, eax
je 0x40527e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40525e
mov ecx, dword [eax - 4]
jmp 0x405260
xor ecx, ecx
push 0
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.0040ad84
lea ecx, [ebp - 0x318]
test eax, eax
jne 0x40529c
call fcn.0040ac81
lea ecx, [ebp - 0x318]
call fcn.0040aa87
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
call fcn.00406672
xor esi, esi
jmp 0x4051a0
call fcn.0040ac81
lea ecx, [ebp - 0x318]
call fcn.0040aa87
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c]
call fcn.00406672
mov byte [ebp - 4], 8
jmp 0x405198