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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.004b898e
add esp, 4
mov dword [ebp - 0x10], 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 - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e7a3
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str..html
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__www.nicefile.net_file_
mov ecx, 3
call fcn.00401211
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e7da
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x40e7fa
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]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e80b
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 0
lea eax, [ebp - 8]
push eax
push 1
mov eax, 0x5668bd
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e846
push ebx
call fcn.004b899a
add esp, 4
push 0x7530
push 0x7530
push 0x7530
push 0x7530
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov eax, str.XMLHttpRequest
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.X_Requested_With
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x60]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e89e
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e8ae
push ebx
call fcn.004b899a
add esp, 4
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e907
push ebx
call fcn.004b899a
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e92c
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40e943
mov eax, 0x5668dd
push eax
push 1
mov ebx, 0x4bad00
call fcn.004b8994
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e96d
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040ce29
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e991
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.var_down_info_
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40e9c6
mov eax, 0x560a3f
push eax
push 4
mov ebx, 0x4b94a0
call fcn.004b8994
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x40eb2a
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 dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x56695d
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.nicefile.net_dl.php
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040d13a
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ea58
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ea68
push ebx
call fcn.004b899a
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ea7c
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x560a3f
push dword [ebp - 0x1c]
call fcn.004022ad
add esp, 8
cmp eax, 0
jne 0x40eabc
mov eax, 0x567b33
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40eab1
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
jmp 0x40eb4d
push dword [ebp - 0x1c]
push str.https:__vip2.nicefile.net_dl.php
mov ecx, 2
call fcn.00401211
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eae8
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push str.down2.nicefile.net_vip2.nicefile.net
push dword [ebp - 0x1c]
push 0x566e12
mov ecx, 3
call fcn.00401211
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40eb1f
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
jmp 0x40eb48
mov eax, 0x567baf
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40eb42
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
jmp 0x40eb4d
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40eb5d
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40eb6d
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40eb7d
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40eb9d
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ebad
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ebbd
push ebx
call fcn.004b899a
add esp, 4
mov esp, ebp
pop ebp
ret 8