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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
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
push 0xc
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x1c], 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 - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0xc
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xa3c7b8
push ebx
add ebx, 8
push ebx
push 8
call fcn.005ddd29
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.00411735
pop ebx
mov dword [ebp - 0x30], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4e9eb9
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 0x4e9eca
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x4e9eec
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 - 8]
test ebx, ebx
je 0x4e9efd
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4e9f1f
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 - 0xc]
test ebx, ebx
je 0x4e9f30
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
test eax, eax
je 0x4e9f52
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 - 0x10]
test ebx, ebx
je 0x4e9f63
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x113fde3
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0xa3c1db
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e9f9a
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x113fdfd
push dword [ebp - 8]
push 0x113fe08
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e9fcf
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp + 8]
mov eax, 0xe28263
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea00c
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xa412c6
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xa412bb
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea04e
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea05e
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x113fd56
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe2839b
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea0a0
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea0b0
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0xa3c1db
mov ecx, 2
call fcn.00401442
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
mov eax, 0xe2866e
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea104
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4ea114
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe6b110
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe28308
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea156
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea166
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe28675
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe28697
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea1a8
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea1b8
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x113fe0f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe286b7
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea1fa
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea20a
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe2985f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe2840d
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea24c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea25c
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4ea28d
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 8
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.00411c0d
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4ea38e
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4ea39e
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4ea3ae
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4ea3be
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4ea3ce
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4ea3de
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x40]
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 - 0x6c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4ea415
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004116f2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4ea439
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x20
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x34]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ea495
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ea4a9
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ea4bd
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ea4d1
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0xe645b2
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ea515
push ebx
call fcn.005ddd23
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.00467691
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ea531
push ebx
call fcn.005ddd23
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.00467691
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4ea54d
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4ea561
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x30], 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 0xe6b9ab
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4ea596
mov eax, 0x7634c9
push eax
push 4
mov ebx, 0x5de9d0
call fcn.005ddd41
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4ea5f0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4ea5c9
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5de3d0
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x64
jge 0x4ea5f0
mov eax, 1
jmp 0x4ea5f5
mov eax, 0
test eax, eax
je 0x4ea607
mov eax, 1
jmp 0x4ea646
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4ea623
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 + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ea636
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov eax, 0
jmp 0x4ea646
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ea657
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ea667
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4ea677
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4ea687
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ea697
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ea6a7
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4ea6c7
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4ea6d7
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4ea6e7
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4ea707
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18