Function at 0x40a7bc
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x4318c6
call fcn.00431294
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
inc ebx
mov esi, 0x44a4b0
jmp 0x40a7db
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
xchg dword [esi], eax
test eax, eax
jne 0x40a7d4
mov eax, dword [0x44a4b4]
inc eax
mov dword [0x44a4b4], eax
cmp eax, ebx
jne 0x40aa55
cmp dword [0x44a4b8], 0
jne 0x40aa55
push edi
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040fa7e
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040fb1f
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x44a4b8], eax
test eax, eax
jne 0x40a85d
push edi
lea eax, [ebp - 0x14]
push str.Chargement_de_la_biblioth
push eax
call fcn.00402dfa
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0040fb1f
push eax
xor ecx, ecx
call fcn.00411706
lea ecx, [ebp - 0x14]
call fcn.0040fa91
jmp 0x40aa3f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FtpCommandW
push eax
call esi
push str.InternetWriteFile
push dword [0x44a4b8]
call esi
push str.FtpOpenFileW
push dword [0x44a4b8]
mov dword [0x44a454], eax
call esi
push str.InternetReadFile
push dword [0x44a4b8]
mov dword [0x44a460], eax
call esi
push str.FtpSetCurrentDirectoryW
push dword [0x44a4b8]
mov dword [0x44a458], eax
call esi
push str.FtpGetCurrentDirectoryW
push dword [0x44a4b8]
mov dword [0x44a46c], eax
call esi
push str.FtpRemoveDirectoryW
push dword [0x44a4b8]
mov dword [0x44a470], eax
call esi
push str.FtpCreateDirectoryW
push dword [0x44a4b8]
mov dword [0x44a474], eax
call esi
push str.FtpRenameFileW
push dword [0x44a4b8]
mov dword [0x44a478], eax
call esi
push str.FtpDeleteFileW
push dword [0x44a4b8]
mov dword [0x44a47c], eax
call esi
push str.InternetFindNextFileW
push dword [0x44a4b8]
mov dword [0x44a480], eax
call esi
push str.FtpFindFirstFileW
push dword [0x44a4b8]
mov dword [0x44a464], eax
call esi
push str.InternetSetOptionW
push dword [0x44a4b8]
mov dword [0x44a468], eax
call esi
push str.InternetOpenW
push dword [0x44a4b8]
mov dword [0x44a488], eax
call esi
push str.InternetCloseHandle
push dword [0x44a4b8]
mov dword [0x44a494], eax
call esi
push str.InternetConnectW
push dword [0x44a4b8]
mov dword [0x44a490], eax
call esi
push str.InternetGetLastResponseInfoW
push dword [0x44a4b8]
mov dword [0x44a484], eax
call esi
push str.HttpOpenRequestW
push dword [0x44a4b8]
mov dword [0x44a48c], eax
call esi
push str.HttpSendRequestW
push dword [0x44a4b8]
mov dword [0x44a4ac], eax
call esi
push str.InternetQueryOptionW
push dword [0x44a4b8]
mov dword [0x44a4a4], eax
call esi
mov dword [0x44a498], eax
push str.InternetErrorDlg
push dword [0x44a4b8]
call esi
push str.HttpAddRequestHeadersW
push dword [0x44a4b8]
mov dword [0x44a4a0], eax
call esi
push str.InternetGetConnectedState
push dword [0x44a4b8]
mov dword [0x44a4a8], eax
call esi
push str.HttpQueryInfoW
push dword [0x44a4b8]
call esi
push str.FtpGetFileSize
push dword [0x44a4b8]
mov dword [0x44a49c], eax
call esi
push str.FtpPutFileW
push dword [0x44a4b8]
mov dword [0x44a45c], eax
call esi
push str.HttpSendRequestExW
push dword [0x44a4b8]
call esi
push str.HttpEndRequestW
push dword [0x44a4b8]
call esi
mov esi, ebx
xor ecx, ecx
mov eax, 0x44a4b0
xchg dword [eax], ecx
lea ecx, [ebp - 0x10]
call fcn.0040fa91
mov eax, esi
pop edi
jmp 0x40aa64
xor eax, eax
xchg dword [esi], eax
xor eax, eax
cmp dword [0x44a4b8], eax
setne al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret