Function at 0x46c420
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f11ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], esi
call fcn.004272c0
mov esi, dword [esi + 0x1288]
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0xc8], ebx
call fcn.004272c0
push str.QvodSearch
lea ecx, [esp + 0x48]
mov word [esp + 0x48], bx
call fcn.004067a0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x44]
push eax
push ecx
push str.selectSingleNode
lea ecx, [esi + 4]
mov byte [esp + 0xd4], 2
call fcn.00407e00
mov edi, dword [0x4f936c]
lea edx, [esp + 0x44]
push edx
mov dword [esi + 8], eax
mov byte [esp + 0xcc], 1
call edi
cmp dword [esi + 8], ebx
jl 0x46c4c7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46c4c7
push eax
lea ecx, [esp + 0x34]
call fcn.00407de0
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], bl
call fcn.004282a0
lea ecx, [esp + 0x38]
call fcn.004272c0
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebp
call fcn.004272c0
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.004272c0
push str.SearchWeb
lea ecx, [esp + 0x48]
mov word [esp + 0x48], bx
call fcn.004067a0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x44]
push eax
push ecx
push str.selectNodes
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 6
call fcn.00407e00
lea edx, [esp + 0x44]
mov dword [esp + 0x2c], eax
push edx
mov byte [esp + 0xcc], 5
call edi
cmp dword [esp + 0x2c], ebx
jl 0x46c55d
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46c55d
push eax
lea ecx, [esp + 0x3c]
call fcn.00407de0
mov esi, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 4
call fcn.004282a0
cmp esi, ebx
je 0x46c9c4
xor ebp, ebp
xor esi, esi
mov word [esp + 0x70], bx
lea eax, [esp + 0x70]
lea ecx, [esp + 0x38]
push eax
push str.length
mov byte [esp + 0xd0], 7
call fcn.00469320
cmp eax, ebx
mov dword [esp + 0x34], eax
jl 0x46c5ae
cmp word [esp + 0x70], 3
jne 0x46c5ae
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 4
push ecx
call edi
cmp ebp, esi
jge 0x46c9c0
xor esi, esi
cmp ebp, ebx
jl 0x46c97f
lea ecx, [esp + 0x40]
call fcn.004272c0
mov word [esp + 0x80], 3
mov dword [esp + 0x88], ebp
lea edx, [esp + 0x40]
lea eax, [esp + 0x80]
push edx
push eax
push str.item
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 9
call fcn.00407e00
lea ecx, [esp + 0x80]
mov dword [esp + 0x34], eax
push ecx
mov byte [esp + 0xcc], 8
call edi
cmp dword [esp + 0x34], ebx
jl 0x46c63f
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x46c63f
push eax
lea ecx, [esp + 0x18]
call fcn.00407de0
mov esi, 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 4
call fcn.004282a0
cmp esi, ebx
je 0x46c97f
mov edx, dword [0x50a0e0]
mov dword [esp + 0x3c], edx
mov word [esp + 0x60], bx
push str.type
lea ecx, [esp + 0xa4]
mov word [esp + 0xa4], bx
call fcn.004067a0
lea eax, [esp + 0x60]
lea ecx, [esp + 0xa0]
push eax
push ecx
push str.getAttribute
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 0xc
call fcn.004067f0
lea edx, [esp + 0xa0]
mov dword [esp + 0x10], eax
push edx
mov byte [esp + 0xcc], 0xb
call edi
cmp dword [esp + 0x10], ebx
jl 0x46c71f
cmp word [esp + 0x60], 8
jne 0x46c71f
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x46c71f
push eax
lea ecx, [esp + 0x5c]
call fcn.00406b10
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xcc], 0xd
call fcn.004022b0
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 0xb
call fcn.004021d0
lea ecx, [esp + 0x3c]
call fcn.00407ab0
lea ecx, [esp + 0x3c]
call fcn.004079c0
mov eax, dword [esp + 0x3c]
push eax
call fcn.004dd24b
add esp, 4
mov esi, eax
jmp 0x46c722
or esi, 0xffffffff
lea ecx, [esp + 0x60]
push ecx
call edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc8], 4
call fcn.004021d0
cmp esi, ebx
jne 0x46c785
cmp dword [esp + 0xd0], 8
jne 0x46c785
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xb0]
push edx
call fcn.0046cc00
push ebx
push eax
push str.removeChild
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0xe
call fcn.004067f0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xb0]
push eax
call edi
inc ebp
jmp 0x46c578
lea ecx, [esp + 0x1c]
push 0x5142f4
push ecx
lea ecx, [esp + 0x18]
call fcn.004083f0
lea edx, [esp + 0x20]
push 0x50b500
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 0xf
call fcn.004083f0
lea eax, [esp + 0x24]
push str.sencoder
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 0x10
call fcn.004083f0
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x18], ecx
mov word [esp + 0x44], bx
push str.default
lea ecx, [esp + 0x94]
mov word [esp + 0x94], bx
call fcn.004067a0
lea edx, [esp + 0x44]
lea eax, [esp + 0x90]
push edx
push eax
push str.getAttribute
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 0x14
call fcn.004067f0
lea ecx, [esp + 0x90]
mov dword [esp + 0x10], eax
push ecx
mov byte [esp + 0xcc], 0x13
call edi
cmp dword [esp + 0x10], ebx
jl 0x46c895
cmp word [esp + 0x44], 8
jne 0x46c895
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x46c895
push eax
lea ecx, [esp + 0x60]
call fcn.00406b10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0x15
call fcn.004022b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc8], 0x13
call fcn.004021d0
lea ecx, [esp + 0x18]
call fcn.00407ab0
lea ecx, [esp + 0x18]
call fcn.004079c0
mov edx, dword [esp + 0x18]
push edx
call fcn.004dd24b
add esp, 4
mov esi, eax
jmp 0x46c898
or esi, 0xffffffff
lea eax, [esp + 0x44]
push eax
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 0x11
call fcn.004021d0
cmp dword [esp + 0xd0], 6
jne 0x46c8f6
push ebx
push str.default
lea ecx, [esp + 0x18]
call fcn.00408260
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx]
push eax
push edx
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x46c94c
push 1
push str.default
lea ecx, [esp + 0x18]
call fcn.00408260
jmp 0x46c94c
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push eax
push ecx
call fcn.004dd2dd
add esp, 8
test eax, eax
je 0x46c985
mov eax, dword [esp + 0xd0]
cmp eax, 4
jne 0x46c93e
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push eax
push edx
call fcn.004de36e
add esp, 8
test eax, eax
je 0x46ca13
jmp 0x46c94c
cmp eax, 5
jne 0x46c94c
cmp esi, 1
je 0x46ca24
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0x10
call fcn.004021d0
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 0xf
call fcn.004021d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 4
call fcn.004021d0
inc ebp
jmp 0x46c578
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 1
mov byte [esp + 0xc8], 0x10
call fcn.004021d0
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 0xf
call fcn.004021d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 4
call fcn.004021d0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xd0]
cmp esi, 8
jne 0x46ca9b
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.004282a0
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], bl
call fcn.004282a0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004282a0
mov eax, 1
jmp 0x46cbd6
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 1
push eax
mov ecx, esi
jmp 0x46ca49
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], 1
call fcn.004022b0
mov ecx, dword [esp + 0xd4]
lea eax, [esp + 0x20]
push eax
call fcn.004022b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xec]
call fcn.004022b0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0x10
call fcn.004021d0
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 0xf
call fcn.004021d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 4
call fcn.004021d0
mov ebp, dword [esp + 0x28]
jmp 0x46cb9f
cmp esi, 6
je 0x46cb9f
cmp esi, 7
je 0x46cb9f
cmp ebp, ebx
je 0x46cad6
cmp esi, 2
jne 0x46cac4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call fcn.00469460
cmp esi, ebx
je 0x46cb9f
cmp esi, 4
jne 0x46cadf
jmp 0x46cb9f
cmp esi, ebx
je 0x46caea
jmp 0x46cb9f
cmp esi, 1
jne 0x46cb9f
jmp 0x46cb5d
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x10]
push eax
push str.SearchWeb
mov ecx, dword [ecx + 0x1288]
call fcn.00469c90
mov edx, dword [esp + 0xd8]
lea ecx, [esp + 0x10]
mov eax, dword [edx]
push eax
push 0x5142f4
call fcn.00408090
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x10]
push eax
push str.type
call fcn.00408260
mov ecx, dword [esp + 0xe0]
push ecx
push str.default
lea ecx, [esp + 0x18]
call fcn.00408260
mov edx, dword [esp + 0xe4]
lea ecx, [esp + 0x10]
push edx
push str.imageindex
call fcn.00408260
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0x10]
mov eax, dword [eax]
push eax
push 0x50b500
call fcn.00408090
mov ecx, dword [esp + 0xe8]
mov eax, dword [ecx]
lea ecx, [esp + 0x10]
push eax
push str.sencoder
call fcn.00408090
cmp esi, ebx
jne 0x46cb9f
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call fcn.00409940
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.004282a0
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], bl
call fcn.004282a0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004282a0
mov eax, ebp
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 0x1c