Function at 0x60d810
Capabilities:
Delete file
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660738
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x210
mov eax, dword [0x6feae4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x190], ecx
mov byte [ebp - 0x191], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044d7f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0044d7f0
mov byte [ebp - 4], 2
mov eax, 0x50
mov word [ebp - 0x1b0], ax
lea ecx, [ebp - 0x1b0]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0060c5f0
add esp, 0x10
movzx edx, word [ebp - 0x1b0]
cmp edx, 0x1bb
jne 0x60d8e2
mov byte [ebp - 0x1a5], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0044d6c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044d6c0
mov al, byte [ebp - 0x1a5]
jmp 0x60e2df
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0060ef40
add esp, 8
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 3
movzx edx, word [ebp - 0x1b0]
push edx
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x190]
call fcn.0060ec80
mov byte [ebp - 0x1a6], al
movzx ecx, byte [ebp - 0x1a6]
test ecx, ecx
jne 0x60d945
mov dword [ebp - 0x200], 0x6cf264
push 0x6f5ea4
lea edx, [ebp - 0x200]
push edx
call fcn.0062c21d
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x190]
add ecx, 0x24
call fcn.006142c0
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.0060ef40
add esp, 8
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1f8]
push ecx
mov ecx, dword [ebp - 0x190]
add ecx, 0x24
call fcn.0060f080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.00446fe0
push 0
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x190]
add ecx, 0x24
call fcn.006147a0
mov dword [ebp - 0x208], eax
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x8c]
call fcn.00446fa0
push eax
lea ecx, [ebp - 0x8c]
call fcn.00446fb0
push eax
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0xffffffff
jne 0x60da1c
mov dword [ebp - 0x1ec], 3
push 0x6f5bc0
lea edx, [ebp - 0x1ec]
push edx
call fcn.0062c21d
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1cc], 0
xorps xmm0, xmm0
movsd qword [ebp - 0x1c8], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x1bc], xmm0
mov byte [ebp - 0x199], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0060ebc0
add esp, 4
mov byte [ebp - 0x1a7], al
movzx ecx, byte [ebp - 0x1a7]
test ecx, ecx
je 0x60da74
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x6cf268
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.0063944e
add esp, 0xc
cmp dword [ebp - 0x1a4], 0
jne 0x60dab0
mov dword [ebp - 0x1e8], 7
push 0x6f5bc0
lea edx, [ebp - 0x1e8]
push edx
call fcn.0062c21d
push 0x1001
call fcn.006394f3
add esp, 4
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0x80], 0
je 0x60db27
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x7c]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x80]
mov edx, dword [edx]
mov ecx, dword [eax + 0x80]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x1a8], al
movzx ecx, byte [ebp - 0x1a8]
test ecx, ecx
je 0x60db27
mov dword [ebp - 0x1e4], 0xb
push 0x6f5bc0
lea edx, [ebp - 0x1e4]
push edx
call fcn.0062c21d
push 0
push 0x1000
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x60db6f
mov dword [ebp - 0x1e0], 0xa
push 0x6f5bc0
lea eax, [ebp - 0x1e0]
push eax
call fcn.0062c21d
cmp dword [ebp - 0x1a0], 0
jle 0x60e1b3
mov ecx, dword [ebp - 0x198]
add ecx, dword [ebp - 0x1a0]
mov byte [ecx], 0
movzx edx, byte [ebp - 0x199]
test edx, edx
jne 0x60e0af
mov eax, dword [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00447070
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 6
push 0
push 0x6cf270
lea ecx, [ebp - 0x2c]
call fcn.0044f330
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0xffffffff
jne 0x60dbe2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00446fe0
jmp 0x60e1b3
lea ecx, [ebp - 0x44]
call fcn.004470b0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x198]
push edx
lea ecx, [ebp - 0x44]
call fcn.0044b4c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x144]
call fcn.00612920
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x144]
call fcn.0060c310
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x1dc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x190]
cmp dword [eax + 4], 0x190
jne 0x60dc67
mov dword [ebp - 0x1d8], 5
push 0x6f5bc0
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.0062c21d
mov edx, dword [ebp - 0x190]
cmp dword [edx + 4], 0x12c
jle 0x60de86
mov eax, dword [ebp - 0x190]
cmp dword [eax + 4], 0x190
jge 0x60de86
push 0x6cf278
lea ecx, [ebp - 0xec]
call fcn.00447070
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0x174]
push edx
lea ecx, [ebp - 0x144]
call fcn.00612ea0
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1d0]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.0060d5e0
add esp, 8
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x174]
call fcn.00446fe0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xec]
call fcn.00446fe0
push 0
push 0x6cf284
lea ecx, [ebp - 0xa4]
call fcn.0060d3c0
test eax, eax
je 0x60dd7f
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0044f300
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.0044d6c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.00612b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00446fe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00446fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00446fe0
jmp 0x60d95a
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 8], 0xffffffff
je 0x60dda8
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0x198]
push edx
call fcn.00632f24
add esp, 4
mov dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.00638f9a
add esp, 4
mov dword [ebp - 0x1a4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0044d5e0
push eax
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x190]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 0x1b1], al
mov al, byte [ebp - 0x1b1]
mov byte [ebp - 0x1a9], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.0044d6c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.00612b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00446fe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00446fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00446fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.00446fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0044d6c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044d6c0
mov al, byte [ebp - 0x1a9]
jmp 0x60e2df
push 0x6cf294
lea ecx, [ebp - 0xd4]
call fcn.00447070
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x144]
call fcn.00612ea0
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
call fcn.00446fb0
push eax
call fcn.0063e477
add esp, 4
fstp qword [ebp - 0x1c8]
lea ecx, [ebp - 0x15c]
call fcn.00446fe0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.00446fe0
mov eax, dword [ebp - 0x1a0]
sub eax, dword [ebp - 0x1c0]
sub eax, 4
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
jle 0x60dfaf
mov ecx, dword [ebp - 0x1a4]
push ecx
push 1
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x198]
lea edx, [ecx + eax + 4]
push edx
call fcn.00639252
add esp, 0x10
cvtsi2sd xmm0, dword [ebp - 0x1a0]
addsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1bc], xmm0
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0x80], 0
je 0x60dfaf
sub esp, 8
movsd xmm0, qword [ebp - 0x1bc]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x1c8]
movsd qword [esp], xmm0
push 0
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x7c]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x80]
mov edx, dword [edx]
mov ecx, dword [eax + 0x80]
mov eax, dword [edx]
call eax
movsd xmm0, qword [ebp - 0x1c8]
ucomisd xmm0, qword [ebp - 0x1bc]
lahf
test ah, 0x44
jp 0x60e055
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0x80], 0
je 0x60e022
sub esp, 8
movsd xmm0, qword [ebp - 0x1bc]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x1c8]
movsd qword [esp], xmm0
push 2
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x7c]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x80]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x80]
mov eax, dword [edx]
call eax
mov byte [ebp - 0x191], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.00612b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00446fe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00446fe0
jmp 0x60e1c0
mov byte [ebp - 0x199], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.00612b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00446fe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00446fe0
jmp 0x60e1b3
mov ecx, dword [ebp - 0x1a4]
push ecx
push 1
mov edx, dword [ebp - 0x1a0]
push edx
mov eax, dword [ebp - 0x198]
push eax
call fcn.00639252
add esp, 0x10
cvtsi2sd xmm0, dword [ebp - 0x1a0]
addsd xmm0, qword [ebp - 0x1bc]
movsd qword [ebp - 0x1bc], xmm0
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0x80], 0
je 0x60e13f
sub esp, 8
movsd xmm0, qword [ebp - 0x1bc]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x1c8]
movsd qword [esp], xmm0
push 0
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x7c]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x80]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x80]
mov eax, dword [edx]
call eax
movsd xmm0, qword [ebp - 0x1bc]
comisd xmm0, xmmword [ebp - 0x1c8]
jb 0x60e1b3
mov byte [ebp - 0x191], 1
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0x80], 0
je 0x60e1b1
sub esp, 8
movsd xmm0, qword [ebp - 0x1bc]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x1c8]
movsd qword [esp], xmm0
push 2
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x7c]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x80]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x80]
mov eax, dword [edx]
call eax
jmp 0x60e1c0
cmp dword [ebp - 0x1a0], 0
jg 0x60dac3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00446fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.00446fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0044d6c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044d6c0
jmp 0x60e265
mov dword [ebp - 4], 0xffffffff
jmp 0x60e277
jmp 0x60e280
cmp dword [ebp - 0x198], 0
je 0x60e2a2
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.00632f24
add esp, 4
mov dword [ebp - 0x198], 0
cmp dword [ebp - 0x1a4], 0
je 0x60e2c4
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.00638f9a
add esp, 4
mov dword [ebp - 0x1a4], 0
movzx eax, byte [ebp - 0x191]
test eax, eax
jne 0x60e2d9
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp - 0x191]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0060963b
mov esp, ebp
pop ebp
ret 8