Function at 0x404e7d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4304cb
call fcn.004301f0
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.00405a3c
test eax, eax
je 0x4051d6
push ebx
push esi
push ecx
lea ecx, [ebp - 0xe0]
call fcn.004100d3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409cc0
push ecx
push ecx
lea eax, [ebp - 0xe0]
push eax
mov eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.004091b2
push ecx
mov byte [ebp - 4], 2
call fcn.004098b5
push ecx
call fcn.004098c6
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 - 0x18], ecx
test edx, edx
je 0x404f56
cmp dword [edx - 4], 2
jb 0x404f56
mov eax, dword [edi + 0x11d4]
test eax, eax
cmovne esi, eax
jmp 0x404f58
xor esi, esi
test edx, edx
je 0x404f62
cmp dword [edx - 4], 2
jae 0x404f64
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 - 0x18]
push eax
push dword [edi + 0x11c8]
push esi
push edx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00409240
test eax, eax
jne 0x404fe9
cmp dword [edi + 0xc48], eax
je 0x404fe2
lea ecx, [ebp - 0xe0]
call fcn.004105e4
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.0040effc
push eax
mov ecx, edi
call fcn.004032cc
lea ecx, [ebp - 0x1c]
call fcn.0040ef71
xor esi, esi
jmp 0x4051b7
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.0040ef30
push ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040f63d
cmp ax, 0x2f
jne 0x405030
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.0040f28e
lea ecx, [ebp - 0x10]
call fcn.0040f3de
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040f265
dec eax
cmp esi, eax
jne 0x40507e
lea ecx, [ebp - 0x10]
call fcn.0040f265
dec eax
lea edx, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f367
mov esi, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040ef9d
mov ecx, dword [esi]
and dword [esi], 0
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0040ef71
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040effc
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.00405e49
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040effc
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409421
mov esi, eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405f30
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
jmp 0x405166
push 0x43cc34
lea ecx, [ebp - 0x14]
call fcn.00405e88
test eax, eax
jne 0x4051e3
mov ecx, edi
call fcn.00405bbb
test eax, eax
je 0x405280
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.0040937d
push ecx
push ecx
mov ecx, ebx
call fcn.00405e49
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040effc
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409421
mov esi, eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405eff
lea eax, [ebp - 0x14]
push eax
push 0x43cc30
push 1
lea ecx, [ebp - 0x18]
call fcn.0040603b
test esi, esi
jne 0x4050ea
xor esi, esi
lea ecx, [ebp - 0x5c]
call fcn.004093c3
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14]
call fcn.00406689
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x18]
call fcn.00406689
lea ecx, [ebp - 0x24]
call fcn.0040ef71
lea ecx, [ebp - 0x10]
call fcn.0040ef71
lea ecx, [ebp - 0x5c]
call fcn.004091fd
lea ecx, [ebp - 0x34]
call fcn.00409cf3
lea ecx, [ebp - 0xe0]
call fcn.00410196
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 0x405181
push 0x43cc3c
lea ecx, [ebp - 0x14]
call fcn.00405e88
test eax, eax
jne 0x405181
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fdfc
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0xb
call fcn.0040aa78
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.0040b8a9
test eax, eax
je 0x405269
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405249
mov ecx, dword [eax - 4]
jmp 0x40524b
xor ecx, ecx
push 0
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.0040ae1c
lea ecx, [ebp - 0x318]
test eax, eax
jne 0x405287
call fcn.0040ad19
lea ecx, [ebp - 0x318]
call fcn.0040ab1f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
call fcn.00406689
xor esi, esi
jmp 0x40518b
call fcn.0040ad19
lea ecx, [ebp - 0x318]
call fcn.0040ab1f
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c]
call fcn.00406689
mov byte [ebp - 4], 8
jmp 0x405183