Function at 0x41d7b6
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
push str..html
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__www.rainbowyun.com_file_
mov ecx, 3
call fcn.00401211
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d869
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 0x41d8aa
push ebx
call fcn.004b899a
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push str.Cookie_rainbowyun
push getpeername
push 0
push str.Cookie
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41d8db
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 0x41d901
push ebx
call fcn.004b899a
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d915
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 0x41d950
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 0x41d9a1
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 0x41d9fa
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 0x41da1f
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 0x41da36
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 0x41da60
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 0x41da84
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 0x41dafa
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41db0a
push ebx
call fcn.004b899a
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41db1e
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 0x41db4a
mov eax, 0x560a3f
jmp 0x41db6b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41db66
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 0x41db6b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41db7c
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41db8c
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 0x41dbac
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41dbbc
push ebx
call fcn.004b899a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41dbcc
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4