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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x28
call fcn.00462e3a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xefd462
mov dword [ebp - 8], 0
push 8
call fcn.00462e3a
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0xefd562
push ebx
add ebx, 4
push ebx
push 8
call fcn.00462e3a
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
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41673b
mov eax, 0x500e29
push eax
push 1
mov ebx, 0x4632e0
call fcn.00462e4c
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0xefd307
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x416784
mov eax, 0x500e29
push eax
push 4
mov ebx, 0x463780
call fcn.00462e4c
add esp, 0x34
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0xe52b0a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.0040103c
push 0x80000301
push 0
push eax
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4167da
mov eax, 0x500e29
push eax
push 2
mov ebx, 0x463520
call fcn.00462e4c
add esp, 0x1c
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push 0xefd30a
mov ecx, 2
call fcn.00401887
add esp, 8
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x416818
push ebx
call fcn.00462e34
add esp, 4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41683d
push ebx
call fcn.00462e34
add esp, 4
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push getpeername
push 0
push 0xe52b88
push getpeername
push 0
push 0xefd345
push 3
mov ebx, 0x463ea0
call fcn.00462e4c
add esp, 0x28
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4168d6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4168d2
imul eax, dword [ebx]
jmp 0x4168c7
mov ecx, eax
test ecx, ecx
je 0x4168f5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4168ee
push ebx
push eax
call fcn.00462e34
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4168dc
call fcn.00462e34
add esp, 4
mov eax, 0x500e29
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41692a
push ebx
call fcn.00462e34
add esp, 4
push 0
push 0x2f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00416f19
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4169a6
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4169b6
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4169c6
push ebx
call fcn.00462e34
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4169d9
mov eax, 0x500e01
push eax
push 1
mov ebx, 0x4648b0
call fcn.00462e4c
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4169ff
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416a13
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 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
push dword [ebp - 0x30]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
push 1
mov eax, 0xefd3c1
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 + 0x118]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416a8d
push ebx
call fcn.00462e34
add esp, 4
push 1
push 1
push 1
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.00417636
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416ab7
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x416acb
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
mov eax, 0xefd3e0
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 + 0x118]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416b01
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416b15
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 1
mov eax, 0xefd3ea
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 + 0x118]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416b4b
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416b5f
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 0
push 0x64
call fcn.00413694
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
push dword [ebp - 0x18]
push 0xefd3fc
push dword [ebp - 0x10]
push 0xefd405
push dword [ebp - 0x14]
push 0xefd40d
mov ecx, 6
call fcn.00401887
add esp, 0x18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416c08
push ebx
call fcn.00462e34
add esp, 4
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push getpeername
push 0
push 0xe52b88
push getpeername
push 0
push 0xefd345
push 3
mov ebx, 0x463ea0
call fcn.00462e4c
add esp, 0x28
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x416ca1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x416c9d
imul eax, dword [ebx]
jmp 0x416c92
mov ecx, eax
test ecx, ecx
je 0x416cc0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x416cb9
push ebx
push eax
call fcn.00462e34
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x416ca7
call fcn.00462e34
add esp, 4
mov eax, 0x500e29
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416cf5
push ebx
call fcn.00462e34
add esp, 4
push 0
push 0x2f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00416f19
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416d71
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416d81
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416d91
push ebx
call fcn.00462e34
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x416da4
mov eax, 0x500e01
push eax
push 1
mov ebx, 0x4648b0
call fcn.00462e4c
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416dca
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x416dde
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 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
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
push 1
mov eax, 0xefd45a
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 + 0x118]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416e58
push ebx
call fcn.00462e34
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416e6c
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x416e8c
push eax
mov ebx, eax
call fcn.0040181c
inc eax
push eax
call fcn.00462e3a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x416e91
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416eb2
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x416ed2
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416ee2
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416ef2
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x416f02
push ebx
call fcn.00462e34
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416f12
push ebx
call fcn.00462e34
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4