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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51adf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
xor esi, esi
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], esi
call fcn.00464430
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0xb0]
push ecx
mov dword [ebp - 4], esi
mov eax, dword [edi]
mov edx, dword [edi + 0xc]
push edx
mov esi, dword [eax]
call fcn.00482f10
mov ebx, dword [ebp + 0xc]
add edi, 0x18
mov dword [ebp + 0x10], edi
xor edi, edi
add esp, 8
sub ebx, 2
cmp esi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp + 0xc], ebx
jne 0x4639fd
or ebx, 0xffffffff
jmp 0x4642ec
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x92a350
push esi
call dword [eax]
test eax, eax
jge 0x463a19
mov ebx, 0xfffffffe
jmp 0x4642ec
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x50], esi
mov edx, dword [eax]
push ecx
push esi
push edi
push eax
call dword [edx + 0x10]
test eax, eax
jl 0x464337
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jl 0x464337
mov eax, dword [ebp + 0x14]
mov ecx, 1
dec eax
mov edx, 4
je 0x463a96
dec eax
je 0x463a82
dec eax
je 0x463a6c
mov word [ebp - 0x20], di
jmp 0x463aa4
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], 2
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], 8
jmp 0x463aa4
mov word [ebp - 0x20], dx
mov word [ebp - 0x1e], 8
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], di
jmp 0x463aa4
mov word [ebp - 0x20], 2
mov word [ebp - 0x1e], cx
mov word [ebp - 0x1c], di
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x24]
xor edi, edi
push eax
push esi
push 1
mov dword [ebp - 0x18], edi
call dword [sym.imp.OLEAUT32.dll_LHashValOfNameSysA]
mov dword [ebp - 0x38], eax
lea esi, [ebp - 0x20]
mov ax, word [esi]
test ax, ax
je 0x463afb
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
jge 0x463b0e
inc edi
add esi, 2
cmp edi, 4
jb 0x463ac5
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, 0xfffffffd
jmp 0x4642ec
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x60]
cmp eax, 1
jne 0x463b46
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov dx, word [eax + 0x10]
mov dword [ebp - 0x3c], ecx
movsx esi, word [eax + 0x18]
mov word [ebp - 0x28], dx
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x14], edx
mov dword [ebp - 0x38], eax
jmp 0x463bd1
mov ecx, 2
cmp eax, ecx
je 0x463b6c
cmp eax, 4
je 0x463b6c
cmp eax, 3
jne 0x463b62
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, 0xfffffffd
jmp 0x4642ec
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp + 0x14]
mov edi, eax
cmp edx, ecx
mov dword [ebp - 0x44], edi
jne 0x463bbe
mov edx, dword [ebp - 0x18]
add eax, 0xc
mov esi, 1
push eax
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x14], eax
call fcn.00463280
and eax, 0xbfff
add esp, 8
test ah, 0x20
jne 0x463bb5
cmp ax, 0xd
je 0x463bb5
cmp ax, 9
je 0x463bb5
mov dword [ebp - 0x28], 4
jmp 0x463bc9
mov dword [ebp - 0x28], 8
jmp 0x463bc9
xor esi, esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x14], esi
mov eax, dword [edi]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
test ebx, ebx
jle 0x463bef
mov eax, dword [ebp + 0x10]
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*4 - 4]
cmp dword [eax], 0
jne 0x463bec
dec ebx
sub eax, 0xc
test ebx, ebx
jg 0x463bdf
mov dword [ebp + 0xc], ebx
cmp ebx, esi
jle 0x463c82
test esi, esi
je 0x463cd6
test ecx, ecx
je 0x463cd6
cmp word [ecx + 0x1a], 0xffff
jne 0x463cd6
mov ecx, ebx
shl ecx, 4
push ecx
call fcn.0050f5f7
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 0x14]
shl edx, 4
mov ecx, edx
mov dword [ebp - 0x34], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + edx - 0x10]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jge 0x463c7c
mov ecx, dword [ebp - 0x34]
mov eax, ebx
add edx, ecx
mov ecx, dword [ebp - 0x14]
sub eax, ecx
mov ecx, dword [ebp + 0x14]
mov esi, edx
add edx, 0x10
dec eax
mov edi, dword [ecx]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov edi, dword [ecx + 8]
mov dword [esi + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
jne 0x463c5b
mov edx, dword [ebp - 0x34]
mov dword [ebp + 0x14], edx
mov esi, ebx
shl esi, 5
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.004fec00
mov edx, esp
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [ebp - 0x24], edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
mov dword [ebp - 0x74], edx
shl eax, 4
mov dword [ebp - 0x6c], ebx
lea ecx, [eax + edx]
mov dl, byte [ebp - 0x28]
test dl, 0xc
je 0x463ce0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], 0xfffffffd
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], 1
jmp 0x463ce8
mov ebx, 0xfffffffb
jmp 0x4642ec
xor edx, edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], edx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test edi, edi
lea edx, [edi + edi*2]
mov dword [ebp - 0x48], 0
lea ebx, [esi + edx*4 - 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x4c], ebx
lea esi, [edx + eax - 0x10]
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp + 0x10], eax
jle 0x46415e
sub ecx, eax
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebx + 8]
and edi, 0xdfffffff
jne 0x463d3b
mov word [eax], 0xa
mov dword [eax + 8], 0x80020004
jmp 0x464127
push edi
call fcn.00463470
add esp, 4
test eax, eax
je 0x463d4d
mov edi, 0x10030
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.00463280
mov edx, eax
and eax, 0xffff
mov ecx, eax
add esp, 8
shr ecx, 0xe
shr eax, 0xd
and ecx, 1
and eax, 1
and edx, 0xfff
mov dword [ebp - 0x58], ecx
test ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], edx
je 0x463d8d
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0x10]
lea esi, [ecx + edx]
jmp 0x463d90
mov esi, dword [ebp + 0x10]
test dword [ebx + 8], 0x20000000
je 0x463f1b
cmp edi, 0x80000101
ja 0x463e92
je 0x463e81
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
ja 0x463e06
je 0x463df0
sub edi, 0x10030
je 0x463dd9
dec edi
jne 0x46414f
mov eax, dword [ebx]
mov ecx, dword [eax]
push ecx
push esi
call dword [sym.imp.OLEAUT32.dll_VariantChangeType]
jmp 0x46406d
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x14]
push esi
mov eax, dword [edx]
push eax
push ecx
call fcn.004638e0
add esp, 0xc
jmp 0x46406d
mov word [esi], 0xb
mov edx, dword [ebx]
mov eax, dword [edx]
neg eax
sbb eax, eax
mov word [esi + 8], ax
jmp 0x46406d
cmp edi, reloc.WS2_32.dll_closesocket
je 0x463e6a
cmp edi, 0x80000004
jne 0x46414f
lea ecx, [ebp - 0x88]
mov word [esi], 8
call fcn.00464430
mov edx, dword [ebx]
lea ecx, [ebp - 0x88]
push ecx
mov byte [ebp - 4], 1
mov eax, dword [edx]
push eax
call fcn.00482f10
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x88]
mov dword [esi + 8], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], 0x92055c
call fcn.00464630
jmp 0x46406d
mov word [esi], 7
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov dword [esi + 8], edx
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
jmp 0x46406d
mov word [esi], 0x11
mov ecx, dword [ebx]
mov dl, byte [ecx]
mov byte [esi + 8], dl
jmp 0x46406d
cmp edi, 0x80000401
ja 0x463ee2
je 0x463ed1
cmp edi, 0x80000201
je 0x463ebe
cmp edi, 0x80000301
jne 0x46414f
mov word [esi], 3
mov eax, dword [ebx]
mov ecx, dword [eax]
jmp 0x46406a
mov word [esi], 2
mov edx, dword [ebx]
mov ax, word [edx]
mov word [esi + 8], ax
jmp 0x46406d
mov word [esi], 3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov dword [esi + 8], edx
jmp 0x46406d
cmp edi, 0x80000501
je 0x463f0d
cmp edi, 0x80000601
jne 0x46414f
mov word [esi], 5
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
jmp 0x46406d
mov word [esi], 4
mov eax, dword [ebx]
mov ecx, dword [eax]
jmp 0x46406a
cmp edi, 0x80000101
ja 0x463ffe
je 0x463ff2
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
ja 0x463f7e
je 0x463f6a
sub edi, 0x10030
je 0x463f55
dec edi
jne 0x46414f
mov edx, dword [ebx]
push edx
push esi
call dword [sym.imp.OLEAUT32.dll_VariantChangeType]
jmp 0x46406d
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
push esi
push eax
push ecx
call fcn.004638e0
add esp, 0xc
jmp 0x46406d
mov word [esi], 0xb
mov edx, dword [ebx]
neg edx
sbb edx, edx
mov word [esi + 8], dx
jmp 0x46406d
cmp edi, reloc.WS2_32.dll_closesocket
je 0x463fe0
cmp edi, 0x80000004
jne 0x46414f
lea ecx, [ebp - 0x9c]
mov word [esi], 8
call fcn.00464430
mov ecx, dword [ebx]
lea eax, [ebp - 0x9c]
push eax
push ecx
mov byte [ebp - 4], 2
call fcn.00482f10
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x9c]
mov dword [esi + 8], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x9c], 0x92055c
call fcn.00464630
jmp 0x46406d
mov word [esi], 7
mov edx, dword [ebx]
mov dword [esi + 8], edx
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
jmp 0x46406d
mov word [esi], 0x11
mov cl, byte [ebx]
mov byte [esi + 8], cl
jmp 0x46406d
cmp edi, 0x80000401
ja 0x46403d
je 0x464036
cmp edi, 0x80000201
je 0x464028
cmp edi, 0x80000301
jne 0x46414f
mov word [esi], 3
mov edx, dword [ebx]
mov dword [esi + 8], edx
jmp 0x46406d
mov word [esi], 2
mov ax, word [ebx]
mov word [esi + 8], ax
jmp 0x46406d
mov word [esi], 3
jmp 0x464068
cmp edi, 0x80000501
je 0x464063
cmp edi, 0x80000601
jne 0x46414f
mov word [esi], 5
mov edx, dword [ebx]
mov dword [esi + 8], edx
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
jmp 0x46406d
mov word [esi], 4
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov ax, word [esi]
test ax, ax
jne 0x464089
mov eax, dword [ebp + 0x10]
mov word [eax], 0xa
mov dword [eax + 8], 0x80020004
jmp 0x464127
cmp dword [ebp - 0x58], 1
jne 0x464127
cmp ax, 0xa
je 0x464105
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x4640c6
mov edx, eax
and edx, 0x6000
cmp edx, 0x2000
jne 0x464105
mov ecx, dword [ebp + 0x10]
and eax, 0xfff
or ah, 0x60
add esi, 8
mov word [ecx], ax
mov dword [ecx + 8], esi
jmp 0x464127
mov eax, dword [ebp - 0x14]
cmp ax, 0xc
jne 0x4640dc
mov eax, dword [ebp + 0x10]
mov word [eax], 0x400c
mov dword [eax + 8], esi
jmp 0x464127
cmp ax, 0x24
je 0x464105
mov eax, dword [ebp - 0x14]
push eax
push 0
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jl 0x464105
mov ecx, dword [ebp + 0x10]
push esi
push ecx
call fcn.004633d0
add esp, 8
test eax, eax
jne 0x464127
mov eax, dword [ebp + 0x10]
mov edx, esi
push esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
inc ecx
sub ebx, 0xc
sub esi, 0x10
add eax, 0x10
cmp ecx, edi
mov dword [ebp - 0x48], ecx
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], eax
jge 0x46415b
jmp 0x463d1f
mov dword [ebp - 0x10], 0xfffffff9
jmp 0x4642c6
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp + 0x14]
mov eax, dword [ebp - 0x2c]
push edx
lea edx, [ebp - 0x84]
push 0
push edx
lea edx, [ebp - 0x74]
mov dword [ebp + 0x14], 0xffffffff
push edx
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x38]
push 0x92a360
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x464226
mov esi, dword [ebp - 0x24]
test edi, edi
jle 0x4641f1
mov eax, dword [ebp - 0x1c]
add eax, 0xc
mov dword [ebp + 0x10], eax
test byte [esi + 1], 0x40
je 0x4641df
mov ecx, dword [ebp + 0x10]
test byte [ecx], 2
je 0x4641df
mov eax, dword [ebx + 8]
test eax, 0x20000000
je 0x4641df
push 1
and eax, 0xdfffffff
push ebx
push eax
push esi
call fcn.004634a0
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, 0xc
sub edx, 0x10
add esi, 0x10
dec edi
mov dword [ebp + 0x10], edx
jne 0x4641b5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4642b9
push 0
push ecx
lea edx, [ebp - 0x84]
push eax
push edx
call fcn.004634a0
add esp, 0x10
test eax, eax
jne 0x4642b9
mov dword [ebp - 0x10], 0xfffffff8
jmp 0x4642b9
cmp eax, 0x8002000e
jne 0x464239
mov dword [ebp - 0x10], 0xfffffff7
jmp 0x4642b9
cmp eax, 0x80020008
jne 0x464249
mov dword [ebp - 0x10], 0xfffffff6
jmp 0x4642b9
cmp eax, 0x80020009
jne 0x464259
mov dword [ebp - 0x10], 0xfffffff5
jmp 0x4642b9
cmp eax, 0x80020003
jne 0x464269
mov dword [ebp - 0x10], 0xfffffff4
jmp 0x4642b9
cmp eax, 0x80020007
jne 0x464279
mov dword [ebp - 0x10], 0xfffffff3
jmp 0x4642b9
cmp eax, 0x8002000a
jne 0x464289
mov dword [ebp - 0x10], 0xfffffff2
jmp 0x4642b9
cmp eax, 0x80020004
jne 0x464299
mov dword [ebp - 0x10], 0xfffffff1
jmp 0x4642b9
cmp eax, 0x80020005
jne 0x4642a9
mov dword [ebp - 0x10], 0xfffffff0
jmp 0x4642b9
xor ecx, ecx
cmp eax, 0x8002000f
sete cl
add ecx, 0xffffffee
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x24]
add eax, eax
test eax, eax
jle 0x4642e3
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
push esi
call ebx
add esi, 0x10
dec edi
jne 0x4642da
mov eax, dword [ebp - 0x10]
test eax, eax
mov ebx, eax
je 0x464364
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
test esi, esi
je 0x464364
mov edi, ecx
xor edx, edx
mov eax, edi
push esi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [edi + 8], esi
call fcn.00463470
add esp, 4
test eax, eax
jne 0x46431c
cmp esi, 0x10030
jne 0x46433e
push 8
call fcn.00481570
mov dword [eax + 4], 0
mov dword [eax], 0
add esp, 4
mov dword [edi], eax
jmp 0x464364
mov ebx, 0xfffffffc
jmp 0x4642ec
cmp esi, 0x10031
jne 0x464364
push 0x10
call fcn.00481570
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x464375
mov eax, dword [ebp - 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x464386
mov eax, dword [ebp - 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x464393
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4643a0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4643b0
push eax
call fcn.0050f620
add esp, 4
push ebx
call fcn.00463000
add esp, 4
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xb0], 0x92055c
call fcn.00464630
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret