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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.0050c1e4
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x85561c
push ebx
add ebx, 4
push ebx
push 8
call fcn.0050c1e4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5e9296
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.0050c1e4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5e9296
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [0x1224300]
test eax, eax
je 0x45849f
push eax
mov ebx, eax
call fcn.0040112e
inc eax
push eax
call fcn.0050c1e4
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 0x4584b0
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x857740
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x8571a0
mov ecx, 3
call fcn.00401199
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x8553fb
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45850d
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45851d
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x854aaf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x854aa4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45855f
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45856f
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x8577e0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x857823
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4585b1
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4585c1
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x85782d
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x855431
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x458603
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458613
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x855a9c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x855aab
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x458655
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458665
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x857894
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x85789a
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4586a7
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4586b7
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x855467
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x85546a
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4586f9
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458709
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x85789f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x8554fd
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45874b
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45875b
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x857921
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x857929
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45879d
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4587ad
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x855b55
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x855532
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4587ef
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4587ff
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x855541
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x855546
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x458841
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458851
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x855555
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x85555b
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x458893
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4588a3
push ebx
call fcn.0050c1fc
add esp, 4
push 0x85793c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x8576e4
mov ecx, 3
call fcn.00401199
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x8555ac
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4588fc
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45890c
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x8555b4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x8555e4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45894e
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45895e
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45898f
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0050c1e4
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
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
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0041013b
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x458a94
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x458aa4
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x458ab4
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x458ac4
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x458ad4
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x458ae4
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x458af4
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x5110d0
call fcn.0050c1f6
add esp, 0x10
call fcn.0050c1fc
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x458b2b
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x458b42
mov eax, 0x5e9296
push eax
push 1
mov ebx, 0x50e2f0
call fcn.0050c1f6
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x458b6c
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x85798b
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x458ba1
mov eax, 0x5e9295
push eax
push 4
mov ebx, 0x50cbe0
call fcn.0050c1f6
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x458c64
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004154b2
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x458c03
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458c13
push ebx
call fcn.0050c1fc
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x458c26
mov eax, 0x5e9296
push eax
push 1
mov ebx, 0x50e2f0
call fcn.0050c1f6
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x458c4c
push ebx
call fcn.0050c1fc
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x458c60
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x458c80
push eax
mov ebx, eax
call fcn.0040112e
inc eax
push eax
call fcn.0050c1e4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x458c85
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x458c96
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x458cb6
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x458cc6
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x458cd6
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8