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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.0050348b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x86629d
push ebx
add ebx, 4
push ebx
push 8
call fcn.0050348b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5e02c1
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.0050348b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5e02c1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xc
call fcn.0050348b
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], 0x86629d
push ebx
add ebx, 4
push ebx
push 8
call fcn.0050348b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5e02c1
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.0050348b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5e02c1
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
mov eax, 0x10da103
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d35e1
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x5e0536
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x10da13f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x121a3ac
call fcn.0045e1d1
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d3639
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d3649
push ebx
call fcn.005034a3
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d365d
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
mov eax, 0x10da14b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
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 0x4d369b
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x10d7428
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10da156
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d36dd
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d36ed
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x5e027c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10da165
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d372f
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d373f
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp + 8]
mov eax, 0x10da168
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
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 0x4d3778
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x5e0fea
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10da171
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d37ba
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d37ca
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
mov eax, 0x866386
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
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 0x4d3803
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x8672b3
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10da175
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d3845
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d3855
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d3886
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x121a3ac]
test eax, eax
je 0x4d38a8
push eax
mov ebx, eax
call fcn.004011e5
inc eax
push eax
call fcn.0050348b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d38b9
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x866597
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5e135a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x4d38ff
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d390f
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x8660b9
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8660ea
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x4d3951
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d3961
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x8665a2
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8660b2
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x4d39a3
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d39b3
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x10d705c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8661ad
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x4d39f5
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d3a05
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x867345
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x86606f
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x4d3a47
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d3a57
push ebx
call fcn.005034a3
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4d3a6a
mov eax, 0x5e027c
push eax
push 1
mov ebx, 0x503a60
call fcn.0050349d
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5055a0
call fcn.0050349d
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
mov eax, 0x866074
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 0x4d3ad4
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d3ae4
push ebx
call fcn.005034a3
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
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 - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d3b15
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0050348b
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0046a30b
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4d3c14
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4d3c24
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4d3c34
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4d3c44
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4d3c54
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d3c64
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x508380
call fcn.0050349d
add esp, 0x10
call fcn.005034a3
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d3c9b
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 0x24], 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
lea eax, [ebp - 0x24]
push eax
call fcn.0045f3b9
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d3ce1
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d3cf1
push ebx
call fcn.005034a3
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4d3d04
mov eax, 0x5e02c1
push eax
push 1
mov ebx, 0x5055a0
call fcn.0050349d
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d3d2a
push ebx
call fcn.005034a3
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d3d3e
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4d3d5e
push eax
mov ebx, eax
call fcn.004011e5
inc eax
push eax
call fcn.0050348b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4d3d63
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d3d74
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d3d84
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d3da4
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d3db4
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d3dd4
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d3de4
push ebx
call fcn.005034a3
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d3df4
push ebx
call fcn.005034a3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8