Function at 0x4e6cb4
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
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xe287c6
push ebx
add ebx, 4
push ebx
push 8
call fcn.005ddd29
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9e94ec
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.005ddd29
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9e94ec
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4e6d7f
push eax
mov ebx, eax
call fcn.004013d7
inc eax
push eax
call fcn.005ddd29
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e6d90
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
call fcn.0049c5e9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e6dd0
push ebx
call fcn.005ddd23
add esp, 4
push 0xe71c70
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00404a1a
add esp, 8
cmp eax, 0
je 0x4e6e25
push 0xe71c85
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00404a1a
add esp, 8
cmp eax, 0
je 0x4e6e25
push 0xe71c69
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00404a1a
add esp, 8
cmp eax, 0
je 0x4e6e25
xor eax, eax
jmp 0x4e6e2a
mov eax, 1
test eax, eax
je 0x4e6e6c
push 0x113fc6f
push dword [ebp - 8]
push 0xa3c1db
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e6e63
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x4e6ea1
push 0x113fc85
push dword [ebp - 8]
push 0xa3c1db
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e6e9d
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
push 1
call fcn.00439778
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x113fc99
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x113fca0
mov ecx, 4
call fcn.00401442
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e6ee2
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e6ef6
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
mov eax, 0xe28263
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e6f34
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xa412c6
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xa412bb
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e6f76
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e6f86
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe6b0ac
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe2839b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e6fc8
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e6fd8
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe6b0f0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe6b0ff
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e701a
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e702a
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe2829a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe28308
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e706c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e707c
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe6b1cc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe28697
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e70be
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e70ce
push ebx
call fcn.005ddd23
add esp, 4
push 0x113fcaf
push dword [ebp - 8]
push 0xa3c1db
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
mov eax, 0xe286b7
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e7125
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e7135
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe2985f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe2840d
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e7177
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e7187
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e71b8
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
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
push 1
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00411c0d
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4e72b9
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4e72c9
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4e72d9
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4e72e9
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e72f9
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e7309
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x5e4d50
call fcn.005ddd41
add esp, 0x10
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e7340
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004116f2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4e7364
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x24], 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 0x113fcbe
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4e7399
mov eax, 0x7634c9
push eax
push 4
mov ebx, 0x5de9d0
call fcn.005ddd41
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4e73f3
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4e73cc
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5de3d0
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x64
jge 0x4e73f3
mov eax, 1
jmp 0x4e73f8
mov eax, 0
test eax, eax
je 0x4e740a
mov eax, 1
jmp 0x4e748c
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xa3c253
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x113fcc7
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040fc5d
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e7456
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e7466
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e747c
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov eax, 0
jmp 0x4e748c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e749d
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4e74ad
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4e74bd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e74cd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e74dd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e74fd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e750d
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4e751d
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14