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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x1c
call fcn.004b898e
add esp, 4
mov dword [ebp - 0xc], 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 - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__yufile.com_file_
mov ecx, 2
call fcn.00401211
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4158b5
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
mov ebx, 0x4b8ee0
call fcn.004b8994
add esp, 4
mov dword [ebp - 0x1c], eax
push str._Config.dat
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401211
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4158f6
push ebx
call fcn.004b899a
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push str.Cookie_yufile
push getpeername
push 0
push str.Cookie
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x415927
mov eax, 0x560a3f
push eax
push 4
mov ebx, 0x4bc640
call fcn.004b8994
add esp, 0x34
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41594d
push ebx
call fcn.004b899a
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x415961
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 0
lea eax, [ebp - 4]
push eax
push 1
mov eax, 0x5668bd
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41599c
push ebx
call fcn.004b899a
add esp, 4
push 0x3a98
push 0x3a98
push 0x3a98
push 0x3a98
lea eax, [ebp - 0xc]
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 - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4159ed
push ebx
call fcn.004b899a
add esp, 4
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x415a46
push ebx
call fcn.004b899a
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415a6b
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x415a82
mov eax, 0x5668dd
push eax
push 1
mov ebx, 0x4bad00
call fcn.004b8994
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x415aac
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040ce29
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x415ad0
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x567d78
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.save_as_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d13a
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x415b46
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x415b56
push ebx
call fcn.004b899a
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415b6a
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x560a3f
push dword [ebp - 0x18]
call fcn.004022ad
add esp, 8
cmp eax, 0
jne 0x415b96
mov eax, 0x560a3f
jmp 0x415bb7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415bb2
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 0x415bb7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x415bc8
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x415bd8
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415bf8
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x415c08
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415c18
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4