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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x70c124
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b11d
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
call fcn.0040b4d5
mov dword [ebp - 0x20], eax
push 0x70c156
push dword [ebp - 0x20]
push 0x70c159
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x70c16a
mov ecx, 5
call fcn.00401ec7
add esp, 0x14
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b167
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b17b
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x16ba288]
test eax, eax
je 0x40b19d
push eax
mov ebx, eax
call fcn.0040153d
inc eax
push eax
call fcn.0055b410
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b1ae
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
call fcn.0040b4d5
mov dword [ebp - 0x20], eax
push 0x70c176
push dword [ebp - 0x20]
push 0x70c343
mov ecx, 3
call fcn.00401ec7
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b1e7
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b1fb
push ebx
call fcn.0055b416
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.0055b410
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
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00402010
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40b2fa
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40b30a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b31a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b32a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b33a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b34a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x562390
call fcn.0055b422
add esp, 0x10
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b381
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040b690
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b3a5
push ebx
call fcn.0055b416
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.00406a32
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b3eb
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b3fb
push ebx
call fcn.0055b416
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40b40e
mov eax, 0x6906dc
push eax
push 1
mov ebx, 0x55df90
call fcn.0055b422
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b434
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b448
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b468
push eax
mov ebx, eax
call fcn.0040153d
inc eax
push eax
call fcn.0055b410
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b46d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b47e
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b48e
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b49e
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b4ae
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b4be
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b4ce
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4