Function at 0x492476
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.0050c1e4
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], 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 - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xc
call fcn.0050c1e4
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], 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 - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, 0x10e0006
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4925a5
push ebx
call fcn.0050c1fc
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, 0x854d45
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x10e0042
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x1224300
call fcn.00415b5e
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4925fd
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x49260d
push ebx
call fcn.0050c1fc
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x492621
push ebx
call fcn.0050c1fc
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, 0x10e004e
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 0x49265f
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x85798b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10e0059
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 0x4926a1
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4926b1
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x5e9295
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10e0068
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 0x4926f3
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492703
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp + 8]
mov eax, 0x10e006b
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 0x49273c
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x8557c4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10e0074
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 0x49277e
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x49278e
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
mov eax, 0x855a1b
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 0x4927c7
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x857a87
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x10e0078
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 0x492809
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492819
push ebx
call fcn.0050c1fc
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 0x49284a
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x1224300]
test eax, eax
je 0x49286c
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 - 0x18]
test ebx, ebx
je 0x49287d
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x856962
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x854aa4
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 0x4928c3
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4928d3
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x855a6b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x85545a
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 0x492915
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492925
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x85696d
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x855431
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 0x492967
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492977
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x10e0081
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8554fd
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 0x4929b9
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4929c9
push ebx
call fcn.0050c1fc
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x857b19
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8553fb
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 0x492a0b
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492a1b
push ebx
call fcn.0050c1fc
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x492a2e
mov eax, 0x5e9295
push eax
push 1
mov ebx, 0x50c7b0
call fcn.0050c1f6
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x50e2f0
call fcn.0050c1f6
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, 0x855400
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 0x492a98
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492aa8
push ebx
call fcn.0050c1fc
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 0x492ad9
push ebx
call fcn.0050c1fc
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.0050c1e4
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.0041013b
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x492bd8
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x492be8
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x492bf8
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x492c08
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x492c18
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x492c28
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x38]
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 - 0x64]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x492c5f
push ebx
call fcn.0050c1fc
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.004154b2
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x492ca5
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x492cb5
push ebx
call fcn.0050c1fc
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x492cc8
mov eax, 0x5e9296
push eax
push 1
mov ebx, 0x50e2f0
call fcn.0050c1f6
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x492cee
push ebx
call fcn.0050c1fc
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x492d02
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x492d22
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 0x492d27
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x492d38
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x492d48
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x492d68
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x492d78
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x492d98
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x492da8
push ebx
call fcn.0050c1fc
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x492db8
push ebx
call fcn.0050c1fc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8