Function at 0x463140
Capabilities:
Create directory
Create http request
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 ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5fc4e8
push 0x5612f0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x60f520]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], fcn.00462d90
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x78], xmm0
or ebx, 0xffffffff
mov dword [ebp - 0x54], ebx
xor esi, esi
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], esi
push edi
push edi
push edi
push edi
push str.Beacon
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4633c2
push edi
push SysReAllocString
push edi
push edi
push dword [ebp - 0x64]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4633c2
mov dword [ebp - 0x80], 0xf
push edi
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 5
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x46321e
push 0xa
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.005530ce
add esp, 0xc
mov ecx, edx
jmp 0x463224
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], ecx
or eax, ecx
jne 0x46325e
mov dword [ebp - 0x40], eax
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push 0
mov ebx, dword [ebp - 0x44]
push ebx
mov esi, dword [sym.imp.WININET.dll_InternetSetFilePointer]
call esi
xor ecx, ecx
mov edx, dword [ebp - 0x40]
or ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x58], edx
push 0
push 0
push 0
push 0
push ebx
call esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x54], ebx
cmp ebx, 0xffffffff
jne 0x463309
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x463309
push 0x208
call fcn.00551ee7
add esp, 4
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4633c2
push dword [ebp - 0x48]
push 0x104
push esi
call fcn.00555f13
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x4633c2
push esi
call fcn.00551f79
add esp, 4
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x54], ebx
cmp ebx, 0xffffffff
je 0x4633c2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x100
call fcn.00551ee7
add esp, 4
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4633c2
lea esp, [esp]
lea eax, [ebp - 0x40]
push eax
push 0x100
push esi
push dword [ebp - 0x44]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4633c2
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x463358
mov edi, 1
mov dword [ebp - 0x5c], edi
jmp 0x4633c2
mov edx, dword [ebp - 0x78]
add edx, eax
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x74]
adc ecx, 0
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x84], 0
je 0x463393
push eax
push ecx
push edx
push dword [ebp - 0x58]
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x64]
push dword [ebp - 0x7c]
call fcn.00462d90
add esp, 0x20
test eax, eax
je 0x4633c2
mov eax, dword [ebp - 0x40]
push 0
lea ecx, [ebp - 0x88]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4633c2
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x40]
jne 0x4633c2
xor eax, eax
je 0x463330
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], 0xfffffffe
call fcn.004633f5
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret