Function at 0x40e366
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
push 0x1c
call fcn.004b898e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebx], 0x56785f
push ebx
add ebx, 4
push ebx
push 8
call fcn.004b898e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040bb38
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__www.108disk.com_file_
mov ecx, 2
call fcn.00401211
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e40d
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
push 0
lea eax, [ebp - 4]
push eax
push 1
mov eax, 0x5668bd
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e448
push ebx
call fcn.004b899a
add esp, 4
push 0x3a98
push 0x3a98
push 0x3a98
push 0x3a98
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
push 1
mov eax, str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.3987.87_Safari_537.36
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e499
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__www.108disk.com_file_
mov ecx, 2
call fcn.00401211
add esp, 8
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e4da
push ebx
call fcn.004b899a
add esp, 4
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e505
push ebx
call fcn.004b899a
add esp, 4
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e52a
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e541
mov eax, 0x5668dd
push eax
push 1
mov ebx, 0x4bad00
call fcn.004b8994
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e56b
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ce29
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e58f
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x567d78
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.load_down_addr1_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d13a
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e605
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e615
push ebx
call fcn.004b899a
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e629
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x560a3f
push dword [ebp - 0x14]
call fcn.004022ad
add esp, 8
cmp eax, 0
jne 0x40e655
mov eax, 0x560a3f
jmp 0x40e676
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e671
push eax
mov ebx, eax
call fcn.004011a6
inc eax
push eax
call fcn.004b898e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40e676
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e687
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e6a7
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e6b7
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e6c7
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4