Function at 0x40a2e6
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x432245
call fcn.00431d00
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
inc ebx
mov esi, 0x44a3ac
jmp 0x40a305
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
xchg dword [esi], eax
test eax, eax
jne 0x40a2fe
mov eax, dword [0x44a3b0]
inc eax
mov dword [0x44a3b0], eax
cmp eax, ebx
jne 0x40a588
cmp dword [0x44a3b4], 0
jne 0x40a588
push edi
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040f4ee
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040f58a
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x44a3b4], eax
test eax, eax
jne 0x40a390
push edi
lea eax, [ebp - 0x14]
push str.Chargement_de_la_biblioth
push eax
call fcn.004029fb
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0040f58a
push eax
xor ecx, ecx
call fcn.004111d2
lea ecx, [ebp - 0x14]
call fcn.0040f501
xor eax, eax
mov ecx, 0x44a3ac
xchg dword [ecx], eax
jmp 0x40a57b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FtpCommandW
push eax
call esi
push str.InternetWriteFile
push dword [0x44a3b4]
call esi
push str.FtpOpenFileW
push dword [0x44a3b4]
mov dword [0x44a350], eax
call esi
push str.InternetReadFile
push dword [0x44a3b4]
mov dword [0x44a35c], eax
call esi
push str.FtpSetCurrentDirectoryW
push dword [0x44a3b4]
mov dword [0x44a354], eax
call esi
push str.FtpGetCurrentDirectoryW
push dword [0x44a3b4]
mov dword [0x44a368], eax
call esi
push str.FtpRemoveDirectoryW
push dword [0x44a3b4]
mov dword [0x44a36c], eax
call esi
push str.FtpCreateDirectoryW
push dword [0x44a3b4]
mov dword [0x44a370], eax
call esi
push str.FtpRenameFileW
push dword [0x44a3b4]
mov dword [0x44a374], eax
call esi
push str.FtpDeleteFileW
push dword [0x44a3b4]
mov dword [0x44a378], eax
call esi
push str.InternetFindNextFileW
push dword [0x44a3b4]
mov dword [0x44a37c], eax
call esi
push str.FtpFindFirstFileW
push dword [0x44a3b4]
mov dword [0x44a360], eax
call esi
push str.InternetSetOptionW
push dword [0x44a3b4]
mov dword [0x44a364], eax
call esi
push str.InternetOpenW
push dword [0x44a3b4]
mov dword [0x44a384], eax
call esi
push str.InternetCloseHandle
push dword [0x44a3b4]
mov dword [0x44a390], eax
call esi
push str.InternetConnectW
push dword [0x44a3b4]
mov dword [0x44a38c], eax
call esi
push str.InternetGetLastResponseInfoW
push dword [0x44a3b4]
mov dword [0x44a380], eax
call esi
push str.HttpOpenRequestW
push dword [0x44a3b4]
mov dword [0x44a388], eax
call esi
push str.HttpSendRequestW
push dword [0x44a3b4]
mov dword [0x44a3a8], eax
call esi
push str.InternetQueryOptionW
push dword [0x44a3b4]
mov dword [0x44a3a0], eax
call esi
mov dword [0x44a394], eax
push str.InternetErrorDlg
push dword [0x44a3b4]
call esi
push str.HttpAddRequestHeadersW
push dword [0x44a3b4]
mov dword [0x44a39c], eax
call esi
push str.InternetGetConnectedState
push dword [0x44a3b4]
mov dword [0x44a3a4], eax
call esi
push str.HttpQueryInfoW
push dword [0x44a3b4]
call esi
push str.FtpGetFileSize
push dword [0x44a3b4]
mov dword [0x44a398], eax
call esi
push str.FtpPutFileW
push dword [0x44a3b4]
mov dword [0x44a358], eax
call esi
push str.HttpSendRequestExW
push dword [0x44a3b4]
call esi
push str.HttpEndRequestW
push dword [0x44a3b4]
call esi
xor eax, eax
mov ecx, 0x44a3ac
xchg dword [ecx], eax
mov esi, ebx
lea ecx, [ebp - 0x10]
call fcn.0040f501
mov eax, esi
pop edi
jmp 0x40a597
xor eax, eax
xchg dword [esi], eax
xor eax, eax
cmp dword [0x44a3b4], eax
setne al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret