Function at 0x10002f24
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0x248
mov eax, 0x10013488
call fcn.1000728a
mov eax, dword [ebp + 8]
mov edi, 0x2000
push edi
mov ebx, ecx
mov dword [ebp - 0x250], eax
call fcn.10004c4b
pop ecx
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], cx
or dword [ebp - 0x248], 0xffffffff
mov dword [ebp - 4], esi
mov dword [ebp - 0x238], esi
cmp eax, esi
jne 0x10002f96
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.1000450b
xor eax, eax
call fcn.100072d4
ret
push edi
push esi
push eax
call fcn.10006980
add esp, 0xc
push esi
push esi
push esi
push esi
push str.IE_Plugin_1.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x254], eax
cmp eax, esi
jne 0x10002fcf
xor ebx, ebx
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.1000450b
mov eax, ebx
jmp 0x10002f90
push 0xd
lea eax, [ebp - 0x234]
call fcn.100045c9
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x10002ff1
lea eax, [ebp - 0x234]
push esi
push 0x80000100
push dword [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x254]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x24c], eax
cmp eax, esi
je 0x1000318a
push eax
lea ebx, [ebp - 0x240]
call fcn.10002d04
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], esi
jne 0x1000304e
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], esi
je 0x1000304e
mov edi, ebx
call fcn.10001ad8
mov edi, 0x2000
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], esi
je 0x100030e7
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.10006980
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x1001b42c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebp - 0x240]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x250]
call fcn.10001b19
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.10001177
cmp dword [ebp - 0x248], 0xffffffff
je 0x1000318a
xor ebx, ebx
jmp 0x1000312c
push esi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
push dword [ebp - 0x244]
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [ebp - 0x238]
lea eax, [ebp - 0x23c]
push eax
push edi
push dword [ebp - 0x244]
mov dword [ebp - 0x23c], esi
push dword [ebp - 0x24c]
mov dword [ebp - 0x238], esi
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x23c], esi
jne 0x10003106
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
jne 0x10003180
mov eax, dword [ebp - 0x250]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x238], esi
jmp 0x1000318a
mov dword [ebp - 0x238], 1
push dword [ebp - 0x244]
call fcn.10005c30
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
push dword [ebp - 0x254]
call edi
push dword [ebp - 0x24c]
call edi
mov ebx, dword [ebp - 0x238]
jmp 0x10002fbc