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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 8]
push 0x72673c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42cc9f
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6daae2
push dword [ebp - 4]
call fcn.004019c4
add esp, 8
cmp eax, 0
je 0x42ccf1
push 0x6dab23
push dword [ebp - 4]
push 0x6db869
mov ecx, 3
call fcn.00401968
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42cced
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
push str.User_Agent:_Mozilla_5.0__Windows_NT_5.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_49.0.2623.75_Safari_537.36_r_n
mov ecx, 2
call fcn.00401968
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42cd1d
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6daae2
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.004019c4
add esp, 8
cmp eax, 0
je 0x42cd6c
push dword [ebp - 4]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 2
call fcn.00401968
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42cd68
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jne 0x42ce39
push 0x80000301
push 0
push dword [ebp + 0x1c]
push 0x80000301
push 0
push 0x80000
push 2
mov ebx, 0x572340
call fcn.00571eba
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x10]
mov ebx, 6
call fcn.00401a9a
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42cdd9
mov eax, 0x6daae2
push eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6dc360
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42ce01
mov eax, 0x6daae2
push eax
push 9
mov eax, 4
mov ebx, 0x5dfbe0
call fcn.00571ecc
add esp, 0x70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42ce30
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x42cf09
push 0x80000301
push 0
push dword [ebp + 0x1c]
push 0x80000301
push 0
push 0x80000
push 2
mov ebx, 0x572340
call fcn.00571eba
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x42ce9a
mov eax, 0x6daae2
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42ceae
mov eax, 0x6daae2
push eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6db5f7
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42ced6
mov eax, 0x6daae2
push eax
push 9
mov eax, 4
mov ebx, 0x5dfbe0
call fcn.00571ecc
add esp, 0x70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42cf05
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 0x72673c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42cf6d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42cf54
push eax
mov ebx, eax
call fcn.004018fd
inc eax
push eax
call fcn.00571ea8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42cf67
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42cf87
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00571ea8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42cf8c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42cf9d
push ebx
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42cfad
push ebx
call fcn.00571eae
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42cfbd
push ebx
call fcn.00571eae
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24