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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
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.006274a7
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], 0xb2993d
push ebx
add ebx, 4
push ebx
push 8
call fcn.006274a7
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.004d4a6d
pop ebx
cmp dword [ebp + 0x30], 1
jge 0x4d233f
mov eax, 0xac142f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d2336
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4d2376
push 0x80000301
push 0
push dword [ebp + 0x30]
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d2372
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x38], 1
jge 0x4d239f
mov eax, 0xac142f
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d2396
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4d23d6
push 0x80000301
push 0
push dword [ebp + 0x38]
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d23d2
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x40], 1
jge 0x4d23ec
mov dword [ebp - 0xc], 0x3c
jmp 0x4d23f2
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc], eax
push 0x70ef7f
mov ebx, dword [ebp + 0x48]
push dword [ebx]
call fcn.00403848
add esp, 8
cmp eax, 0
jne 0x4d242b
mov eax, 0xac142f
push eax
mov ebx, dword [ebp + 0x48]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d2425
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov ebx, dword [ebp + 0x48]
mov dword [ebx], eax
push dword [ebp + 0x18]
call fcn.004d2862
mov dword [ebp - 0x1c], eax
push 0xac127b
mov ebx, dword [ebp + 0x48]
push dword [ebx]
push 0xb29787
push dword [ebp - 8]
push 0xb29798
push dword [ebp - 4]
push 0xb297ad
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0xb297c2
push dword [ebp - 0x1c]
push 0xb297d3
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0xb297e5
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0xb297f4
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0xb29803
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0xb29817
mov ecx, 0x13
call fcn.00403015
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d24af
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d24c3
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00403b2b
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xab05f7
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb29826
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4d2508
mov eax, 0x70ef7f
push eax
push 6
mov ebx, 0x628a40
call fcn.006274b3
add esp, 0x4c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d2532
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
mov eax, 0xb29828
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
mov eax, 0xb298f7
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d3482
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d2594
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d25a4
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d25b4
push ebx
call fcn.006274ad
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4d25c7
mov eax, 0x70ee06
push eax
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d25ed
push ebx
call fcn.006274ad
add esp, 4
push 1
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.004d42df
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d2610
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d2624
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4d2686
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4d2663
push eax
mov ebx, eax
call fcn.00402faa
inc eax
push eax
call fcn.006274a7
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d2676
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
mov eax, 0
jmp 0x4d280a
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xb29918
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d26bf
push ebx
call fcn.006274ad
add esp, 4
push 0xac142f
push dword [ebp - 0x24]
call fcn.00403848
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d26ed
push ebx
call fcn.006274ad
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x4d2756
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xb29918
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d2730
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d2746
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
mov eax, 0
jmp 0x4d280a
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xb2991d
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d278f
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d27a5
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xb2992c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d27e4
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d27fa
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
mov eax, 1
jmp 0x4d280a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d281b
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d282b
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d283b
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d284b
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.006274ad
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x48