Function at 0x14000cde8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
xor ebx, ebx
jmp 0x14000ce0f
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x140058064], eax
test eax, eax
jne 0x14000ce04
mov eax, dword [0x14005808c]
inc eax
mov dword [0x14005808c], eax
cmp eax, 1
jne 0x14000d192
cmp qword [0x140058160], rbx
jne 0x14000d192
lea rcx, [rsp + 0x40]
call fcn.14001396c
nop
lea rcx, [rsp + 0x40]
call fcn.140013a24
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140058160], rax
test rax, rax
jne 0x14000ceae
mov r8, rdi
lea rdx, str.Chargement_de_la_biblioth
lea rcx, [rsp + 0x48]
call fcn.1400031c4
nop
mov rcx, rax
call fcn.140013a24
mov rdx, rax
xor ecx, ecx
call fcn.140015668
nop
lea rcx, [rsp + 0x48]
call fcn.140013988
mov eax, ebx
xchg dword [0x140058064], eax
jmp 0x14000d186
lea rdx, str.FtpCommandW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InternetWriteFile
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580a8], rax
lea rdx, str.FtpOpenFileW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580c0], rax
lea rdx, str.InternetReadFile
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580b0], rax
lea rdx, str.FtpSetCurrentDirectoryW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580d8], rax
lea rdx, str.FtpGetCurrentDirectoryW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580e0], rax
lea rdx, str.FtpRemoveDirectoryW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580e8], rax
lea rdx, str.FtpCreateDirectoryW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580f0], rax
lea rdx, str.FtpRenameFileW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580f8], rax
lea rdx, str.FtpDeleteFileW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058100], rax
lea rdx, str.InternetFindNextFileW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580c8], rax
lea rdx, str.FtpFindFirstFileW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580d0], rax
lea rdx, str.InternetSetOptionW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058110], rax
lea rdx, str.InternetOpenW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058128], rax
lea rdx, str.InternetCloseHandle
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058120], rax
lea rdx, str.InternetConnectW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058108], rax
lea rdx, str.InternetGetLastResponseInfoW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058118], rax
lea rdx, str.HttpOpenRequestW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058158], rax
lea rdx, str.HttpSendRequestW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058148], rax
lea rdx, str.InternetQueryOptionW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058130], rax
lea rdx, str.InternetErrorDlg
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058140], rax
lea rdx, str.HttpAddRequestHeadersW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058150], rax
lea rdx, str.InternetGetConnectedState
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.HttpQueryInfoW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058138], rax
lea rdx, str.FtpGetFileSize
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400580b8], rax
lea rdx, str.FtpPutFileW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.HttpSendRequestExW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.HttpEndRequestW
mov rcx, qword [0x140058160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xchg dword [0x140058064], ebx
mov ebx, 1
lea rcx, [rsp + 0x40]
call fcn.140013988
jmp 0x14000d1a4
mov eax, ebx
xchg dword [0x140058064], eax
cmp qword [0x140058160], rbx
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret