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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x40
call fcn.00423940
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
add ebx, 0x28
push ebx
push 0x80
call fcn.00423940
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4c476e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x1e
rep stosd dword es:[edi], eax
push 0xc
call fcn.00423940
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4c4776
push ebx
add ebx, 4
push ebx
push 8
call fcn.00423940
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.00405f8a
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16011c3e
push 0x52010423
call fcn.00423952
add esp, 0x18
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
push 0x142d95c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406541
push ebx
call fcn.00423928
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov eax, 0x4c4b84
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406565
push ebx
call fcn.00423928
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
mov eax, 0x4c3dbe
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40659e
push ebx
call fcn.00423928
add esp, 4
mov eax, 0x4c4c40
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4065b4
push ebx
call fcn.00423928
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
push 1
push 0xa
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406624
push ebx
call fcn.00423928
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406654
push ebx
call fcn.00423928
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
call fcn.00406a8d
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x40667d
jmp 0x4067a6
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x4c4b18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c4d03
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
call fcn.004059e1
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4066d1
push ebx
call fcn.00423928
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4066e1
push ebx
call fcn.00423928
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4066f5
push ebx
call fcn.00423928
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4c3f6f
push dword [ebp - 0x10]
call fcn.004012d4
add esp, 8
cmp eax, 0
je 0x406752
push 0
push 0x64
push 0xffffffffffffffff
push 8
push 0x160127ee
push 0x52010423
call fcn.00423952
add esp, 0x18
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x426130
call fcn.0042393a
add esp, 0x10
jmp 0x4067a1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jl 0x4067a1
mov dword [ebp - 0x14], 0
push 0
push 0x64
push 0xffffffffffffffff
push 8
push 0x160127ee
push 0x52010423
call fcn.00423952
add esp, 0x18
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x426130
call fcn.0042393a
add esp, 0x10
jmp 0x406510
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4c4d17
push getpeername
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x4067e2
mov eax, 0x4c3f6f
push eax
push 4
mov ebx, 0x424300
call fcn.0042393a
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x40688d
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
push 0x142d948
call fcn.0040716c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x142d960]
test ebx, ebx
je 0x406832
push ebx
call fcn.00423928
add esp, 4
pop eax
mov dword [0x142d960], eax
mov eax, dword [0x142d960]
test eax, eax
je 0x406856
push eax
mov ebx, eax
call fcn.00401076
inc eax
push eax
call fcn.00423940
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x142d948]
test ebx, ebx
je 0x40686a
push ebx
call fcn.00423928
add esp, 4
pop eax
mov dword [0x142d948], eax
push 0
push 0x4c4d30
push 0xffffffffffffffff
push 8
push 0x6010422
push 0x52010423
call fcn.00423952
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16011c3e
push 0x52010423
call fcn.00423952
add esp, 0x18
mov dword [0x142d954], 0
push 0
push 0
push 0
push 0x10001
push 0x6010422
push 0x52010423
push 2
mov ebx, 0x425e80
call fcn.0042393a
add esp, 0x1c
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4068ef
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406903
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406917
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40692b
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40693f
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406953
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406967
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40697b
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40698f
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4069a3
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4069c5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4069c1
imul eax, dword [ebx]
jmp 0x4069b6
mov ecx, eax
test ecx, ecx
je 0x4069e4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4069dd
push ebx
push eax
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4069cb
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406a00
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406a14
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406a28
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406a3c
push ebx
call fcn.00423928
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406a50
push ebx
call fcn.00423928
add esp, 4
pop ebx
call fcn.00423928
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00423928
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406a79
push ebx
call fcn.00423928
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406a89
push ebx
call fcn.00423928
add esp, 4
mov esp, ebp
pop ebp
ret