Function at 0x404e8f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x430429
call fcn.00430150
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.00405a4e
test eax, eax
je 0x4051e8
push ebx
push esi
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00410055
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409ce3
push ecx
push ecx
lea eax, [ebp - 0xe0]
push eax
mov eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.004091d5
push ecx
mov byte [ebp - 4], 2
call fcn.004098d8
push ecx
call fcn.004098e9
mov eax, dword [edi + 0x11dc]
mov esi, 0x43ace4
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 - 0x18], ecx
test edx, edx
je 0x404f68
cmp dword [edx - 4], 2
jb 0x404f68
mov eax, dword [edi + 0x11d4]
test eax, eax
cmovne esi, eax
jmp 0x404f6a
xor esi, esi
test edx, edx
je 0x404f74
cmp dword [edx - 4], 2
jae 0x404f76
xor edx, edx
mov eax, dword [edi + 0x11c4]
mov ecx, 0x43ace4
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 - 0x18]
push eax
push dword [edi + 0x11c8]
push esi
push edx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00409263
test eax, eax
jne 0x404ffb
cmp dword [edi + 0xc48], eax
je 0x404ff4
lea ecx, [ebp - 0xe0]
call fcn.00410566
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.0040ef7e
push eax
mov ecx, edi
call fcn.004032cc
lea ecx, [ebp - 0x1c]
call fcn.0040eef5
xor esi, esi
jmp 0x4051c9
mov eax, dword [edi + 0x11e0]
mov ebx, 0x43ace4
test eax, eax
mov ecx, ebx
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040eeb4
push ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040f5bf
cmp ax, 0x2f
jne 0x405042
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.0040f210
lea ecx, [ebp - 0x10]
call fcn.0040f360
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040f1e7
dec eax
cmp esi, eax
jne 0x405090
lea ecx, [ebp - 0x10]
call fcn.0040f1e7
dec eax
lea edx, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f2e9
mov esi, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040ef21
mov ecx, dword [esi]
and dword [esi], 0
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0040eef5
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ef7e
push eax
lea eax, [ebp - 0x24]
push 0x43cb90
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.00405e5b
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ef7e
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409444
mov esi, eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405f42
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
jmp 0x405178
push 0x43cbb4
lea ecx, [ebp - 0x14]
call fcn.00405e9a
test eax, eax
jne 0x4051f5
mov ecx, edi
call fcn.00405bcd
test eax, eax
je 0x405292
mov eax, dword [edi + 0x11dc]
mov ecx, 0x43ace4
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.004093a0
push ecx
push ecx
mov ecx, ebx
call fcn.00405e5b
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ef7e
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409444
mov esi, eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405f11
lea eax, [ebp - 0x14]
push eax
push 0x43cbb0
push 1
lea ecx, [ebp - 0x18]
call fcn.0040604d
test esi, esi
jne 0x4050fc
xor esi, esi
lea ecx, [ebp - 0x5c]
call fcn.004093e6
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14]
call fcn.004066ac
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x18]
call fcn.004066ac
lea ecx, [ebp - 0x24]
call fcn.0040eef5
lea ecx, [ebp - 0x10]
call fcn.0040eef5
lea ecx, [ebp - 0x5c]
call fcn.00409220
lea ecx, [ebp - 0x34]
call fcn.00409d16
lea ecx, [ebp - 0xe0]
call fcn.00410118
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 0x405193
push 0x43cbbc
lea ecx, [ebp - 0x14]
call fcn.00405e9a
test eax, eax
jne 0x405193
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fd7e
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0xb
call fcn.0040a954
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.0040b792
test eax, eax
je 0x40527b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40525b
mov ecx, dword [eax - 4]
jmp 0x40525d
xor ecx, ecx
push 0
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.0040acf3
lea ecx, [ebp - 0x318]
test eax, eax
jne 0x405299
call fcn.0040abf0
lea ecx, [ebp - 0x318]
call fcn.0040a9fb
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
call fcn.004066ac
xor esi, esi
jmp 0x40519d
call fcn.0040abf0
lea ecx, [ebp - 0x318]
call fcn.0040a9fb
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c]
call fcn.004066ac
mov byte [ebp - 4], 8
jmp 0x405195