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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0xc
call fcn.004da58c
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x86dfc3
push ebx
add ebx, 8
push ebx
push 8
call fcn.004da58c
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.0040ef60
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 8
call fcn.004da58c
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push 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
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, 0x10bb060
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp + 8]
push 1
mov eax, 0x10bb424
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 1
push 1
mov eax, 0x10bb451
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00409d3a
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x42cf9d
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x42cfad
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x42cfbd
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x42cfcd
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42cfdd
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42cfed
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42cffd
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42d00d
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42d01d
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4e0340
call fcn.004da5a4
add esp, 0x10
call fcn.004da586
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x42d053
mov eax, 0x86cca4
push eax
push 1
mov ebx, 0x4dcca0
call fcn.004da5a4
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42d079
push ebx
call fcn.004da586
add esp, 4
push 1
push 1
lea eax, [ebp - 0x58]
push eax
call fcn.0042b0df
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x42d09c
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42d0b0
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x20
call fcn.004da58c
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d10c
push ebx
call fcn.004da586
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d120
push ebx
call fcn.004da586
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d134
push ebx
call fcn.004da586
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d148
push ebx
call fcn.004da586
add esp, 4
pop ebx
call fcn.004da586
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x10bb48e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42d18c
push ebx
call fcn.004da586
add esp, 4
push 1
push 1
push 1
mov eax, 0x10bb4ae
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42d1c2
push ebx
call fcn.004da586
add esp, 4
push dword [ebp - 0x20]
push 0x10bb033
push dword [ebp - 0x18]
mov ecx, 3
call fcn.004010e1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42d1ed
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42d1fd
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42d211
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x10bb033
push dword [ebp - 0xc]
call fcn.004012f3
add esp, 8
cmp eax, 0
jne 0x42d5f3
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 8
call fcn.004da58c
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push 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
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, 0x10bb060
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp + 8]
push 1
mov eax, 0x10bb4cc
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 1
push 1
mov eax, 0x10bb507
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00409d3a
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x42d342
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x42d352
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x42d362
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x42d372
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42d382
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42d392
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42d3a2
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42d3b2
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42d3c2
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4e0340
call fcn.004da5a4
add esp, 0x10
call fcn.004da586
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x42d3f8
mov eax, 0x86cca4
push eax
push 1
mov ebx, 0x4dcca0
call fcn.004da5a4
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42d41e
push ebx
call fcn.004da586
add esp, 4
push 1
push 1
lea eax, [ebp - 0x58]
push eax
call fcn.0042b0df
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x42d441
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42d455
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x20
call fcn.004da58c
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d4b1
push ebx
call fcn.004da586
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d4c5
push ebx
call fcn.004da586
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d4d9
push ebx
call fcn.004da586
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d4ed
push ebx
call fcn.004da586
add esp, 4
pop ebx
call fcn.004da586
add esp, 4
push 1
mov eax, 0x10bb551
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42d525
push ebx
call fcn.004da586
add esp, 4
cmp dword [ebp - 0x14], 1
jle 0x42d5f3
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x10bb48e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42d56a
push ebx
call fcn.004da586
add esp, 4
push 1
push 1
push 1
mov eax, 0x10bb4ae
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42d5a0
push ebx
call fcn.004da586
add esp, 4
push dword [ebp - 0x20]
push 0x10bb033
push dword [ebp - 0x18]
mov ecx, 3
call fcn.004010e1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42d5cb
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42d5db
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42d5ef
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x10bb55d
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42d624
mov eax, 0x86cbc3
push eax
push 4
mov ebx, 0x4db300
call fcn.004da5a4
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x42d65e
mov eax, 0x10bb036
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42d65a
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42d67a
push eax
mov ebx, eax
call fcn.00401076
inc eax
push eax
call fcn.004da58c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42d67f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42d690
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42d6b0
push ebx
call fcn.004da586
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4