Function at 0x409f63
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x4306fc
call fcn.004301f0
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, 0x44823c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
inc ebx
jmp 0x409f89
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push esi
call edi
test eax, eax
jne 0x409f82
mov eax, dword [0x448240]
inc eax
mov dword [0x448240], eax
cmp eax, ebx
jne 0x40a20a
cmp dword [0x448244], 0
jne 0x40a20a
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040ef5e
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040effc
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x448244], eax
test eax, eax
jne 0x40a013
push esi
lea eax, [ebp - 0x14]
push str.Chargement_de_la_biblioth
push eax
call fcn.00402a02
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040effc
push eax
xor ecx, ecx
call fcn.004105b8
lea ecx, [ebp - 0x14]
call fcn.0040ef71
push ebx
push 0x44823c
call edi
jmp 0x40a1fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FtpCommandW
push eax
call esi
push str.InternetWriteFile
push dword [0x448244]
call esi
push str.FtpOpenFileW
push dword [0x448244]
mov dword [0x4481e0], eax
call esi
push str.InternetReadFile
push dword [0x448244]
mov dword [0x4481ec], eax
call esi
push str.FtpSetCurrentDirectoryW
push dword [0x448244]
mov dword [0x4481e4], eax
call esi
push str.FtpGetCurrentDirectoryW
push dword [0x448244]
mov dword [0x4481f8], eax
call esi
push str.FtpRemoveDirectoryW
push dword [0x448244]
mov dword [0x4481fc], eax
call esi
push str.FtpCreateDirectoryW
push dword [0x448244]
mov dword [0x448200], eax
call esi
push str.FtpRenameFileW
push dword [0x448244]
mov dword [0x448204], eax
call esi
push str.FtpDeleteFileW
push dword [0x448244]
mov dword [0x448208], eax
call esi
push str.InternetFindNextFileW
push dword [0x448244]
mov dword [0x44820c], eax
call esi
push str.FtpFindFirstFileW
push dword [0x448244]
mov dword [0x4481f0], eax
call esi
push str.InternetSetOptionW
push dword [0x448244]
mov dword [0x4481f4], eax
call esi
push str.InternetOpenW
push dword [0x448244]
mov dword [0x448214], eax
call esi
push str.InternetCloseHandle
push dword [0x448244]
mov dword [0x448220], eax
call esi
push str.InternetConnectW
push dword [0x448244]
mov dword [0x44821c], eax
call esi
push str.InternetGetLastResponseInfoW
push dword [0x448244]
mov dword [0x448210], eax
call esi
push str.HttpOpenRequestW
push dword [0x448244]
mov dword [0x448218], eax
call esi
push str.HttpSendRequestW
push dword [0x448244]
mov dword [0x448238], eax
call esi
push str.InternetQueryOptionW
push dword [0x448244]
mov dword [0x448230], eax
call esi
mov dword [0x448224], eax
push str.InternetErrorDlg
push dword [0x448244]
call esi
push str.HttpAddRequestHeadersW
push dword [0x448244]
mov dword [0x44822c], eax
call esi
push str.InternetGetConnectedState
push dword [0x448244]
mov dword [0x448234], eax
call esi
push str.HttpQueryInfoW
push dword [0x448244]
call esi
push str.FtpGetFileSize
push dword [0x448244]
mov dword [0x448228], eax
call esi
push str.FtpPutFileW
push dword [0x448244]
mov dword [0x4481e8], eax
call esi
push str.HttpSendRequestExW
push dword [0x448244]
call esi
push str.HttpEndRequestW
push dword [0x448244]
call esi
push ebx
push 0x44823c
call edi
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x10]
call fcn.0040ef71
mov eax, ebx
jmp 0x40a21a
push 0
push esi
call edi
xor eax, eax
cmp dword [0x448244], eax
setne al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret