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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6906e4
push ebx
add ebx, 4
push ebx
push 8
call fcn.0055b410
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6906dc
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.0055b410
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6906dc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, 0x107f254
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49520c
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
push 0x70c156
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x107f293
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x70c430
mov ecx, 5
call fcn.00401ec7
add esp, 0x14
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x495254
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x16ba288]
test eax, eax
je 0x495276
push eax
mov ebx, eax
call fcn.0040153d
inc eax
push eax
call fcn.0055b410
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 0x495287
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x70c43d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x70c44f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x4952cd
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4952dd
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x70bced
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x70bce2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x49531f
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x49532f
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x107f29e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x690565
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x495371
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495381
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x690574
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x69057e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x4953c3
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4953d3
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x69058c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x69059d
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x495415
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495425
push ebx
call fcn.0055b416
add esp, 4
call fcn.00401ce5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
mov eax, 0x6905aa
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x495467
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x495477
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x70c457
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x70c45a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x4954b9
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4954c9
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x9d76e8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x70c48c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x49550b
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x49551b
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x73d51d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x690627
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x49555d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x49556d
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x690632
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x69064c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x4955af
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4955bf
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x690653
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x69065f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x495601
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495611
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x69066e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x690673
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x495653
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495663
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x690682
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x690688
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
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 0x4956a5
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4956b5
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4956e6
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00402010
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4957e5
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4957f5
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x495805
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x495815
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x495825
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x495835
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x562390
call fcn.0055b422
add esp, 0x10
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x49586c
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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
lea eax, [ebp - 0x1c]
push eax
call fcn.00406a32
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4958b2
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4958c2
push ebx
call fcn.0055b416
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4958d5
mov eax, 0x6906dc
push eax
push 1
mov ebx, 0x55df90
call fcn.0055b422
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4958fb
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x49590f
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49592f
push eax
mov ebx, eax
call fcn.0040153d
inc eax
push eax
call fcn.0055b410
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x495934
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x495945
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x495955
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x495965
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x495985
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x495995
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4959a5
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8