Function at 0x40afc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ed148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], ebp
mov edi, dword [ecx + 0x98]
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], ebp
xor ebx, ebx
call fcn.004272c0
push str.QvodPlayer
lea ecx, [esp + 0x24]
mov word [esp + 0x24], bp
call fcn.004067a0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push str.selectSingleNode
lea ecx, [edi + 4]
mov byte [esp + 0x8c], 2
call fcn.00407e00
mov esi, dword [0x4f936c]
lea edx, [esp + 0x20]
push edx
mov dword [edi + 8], eax
mov byte [esp + 0x84], 1
call esi
mov eax, dword [edi + 8]
cmp eax, ebp
mov eax, dword [esp + 0x10]
jl 0x40b06a
cmp eax, ebp
je 0x40b06a
push eax
lea ecx, [esp + 0x38]
call fcn.00407de0
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp eax, ebp
mov byte [esp + 0x80], 0
je 0x40b07c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, ebp
je 0x40b44a
lea ecx, [esp + 0x24]
call fcn.004272c0
cmp dword [esp + 0x88], ebp
jne 0x40b124
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
xor ebx, ebx
mov edi, dword [edx + 0x98]
call fcn.004272c0
push str.HotKey
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], bp
call fcn.004067a0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push ecx
push str.createElement
lea ecx, [edi + 4]
mov byte [esp + 0x8c], 5
call fcn.00407e00
lea edx, [esp + 0x38]
mov dword [edi + 8], eax
push edx
mov byte [esp + 0x84], 4
call esi
cmp dword [edi + 8], ebp
jl 0x40b10f
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40b10f
push eax
lea ecx, [esp + 0x28]
call fcn.00407de0
mov ebx, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 3
call fcn.004282a0
mov edi, ebx
jmp 0x40b1a3
lea ecx, [esp + 0x10]
xor edi, edi
call fcn.004272c0
push str.HotKey
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], bp
call fcn.004067a0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push ecx
push str.selectSingleNode
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 7
call fcn.00407e00
lea edx, [esp + 0x38]
mov dword [esp + 0x30], eax
push edx
mov byte [esp + 0x84], 6
call esi
cmp dword [esp + 0x30], ebp
jl 0x40b192
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40b192
push eax
lea ecx, [esp + 0x28]
call fcn.00407de0
mov edi, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 3
call fcn.004282a0
cmp edi, ebp
je 0x40b439
cmp dword [esp + 0x88], ebp
jne 0x40b1cb
mov eax, dword [0x5220dc]
push 0xa0
push eax
call dword [0x4f944c]
mov dword [esp + 0x10], eax
jmp 0x40b1d9
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xe8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push ebp
push ebp
push eax
call dword [0x4f9448]
mov ebp, eax
lea edi, [ebp*8]
sub edi, ebp
push edi
call fcn.004dcb8f
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
push eax
call dword [0x4f9448]
mov edi, eax
mov word [esp + 0x48], 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], edi
xor ebp, ebp
push str.KeyMap_Count
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], bp
call fcn.004067a0
lea ecx, [esp + 0x48]
push ebp
lea edx, [esp + 0x3c]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 9
call fcn.00406870
mov dword [esp + 0x20], eax
lea eax, [esp + 0x38]
push eax
call esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 3
push ecx
call esi
cmp edi, ebp
jle 0x40b402
add ebx, 4
mov edx, dword [0x50a0e0]
mov dword [esp + 0x10], edx
push ebp
lea eax, [esp + 0x14]
push str.Keyvirt__d
push eax
mov byte [esp + 0x8c], 0xa
call fcn.004073f0
xor eax, eax
add esp, 0xc
mov al, byte [ebx - 4]
mov word [esp + 0x38], 3
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov word [esp + 0x48], 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.004067a0
lea edx, [esp + 0x38]
push 0
lea eax, [esp + 0x4c]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 0xc
call fcn.00406870
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], eax
push ecx
call esi
lea edx, [esp + 0x38]
mov byte [esp + 0x80], 0xa
push edx
call esi
mov di, word [ebx - 2]
push ebp
lea eax, [esp + 0x14]
push str.Keykey__d
push eax
call fcn.004073f0
and edi, 0xffff
add esp, 0xc
mov word [esp + 0x68], 3
mov dword [esp + 0x70], edi
mov ecx, dword [esp + 0x10]
mov word [esp + 0x58], 0
push ecx
lea ecx, [esp + 0x5c]
call fcn.004067a0
lea edx, [esp + 0x68]
push 0
lea eax, [esp + 0x5c]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 0xe
call fcn.00406870
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], eax
push ecx
call esi
lea edx, [esp + 0x68]
mov byte [esp + 0x80], 0xa
push edx
call esi
mov di, word [ebx]
push ebp
lea eax, [esp + 0x14]
push str.Kyecmd__d
push eax
call fcn.004073f0
add esp, 0xc
and edi, 0xffff
push edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00408260
mov eax, dword [esp + 0x10]
mov ecx, dword [0x50a0e4]
mov byte [esp + 0x80], 3
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40b3ee
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x40b3ee
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x18]
inc ebp
add ebx, 6
cmp ebp, eax
jl 0x40b28d
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40b40f
push ebx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x40b428
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.00409940
mov edx, dword [esp + 0x14]
push 0
mov ecx, dword [edx + 0x98]
call fcn.00402b80
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0
call fcn.004282a0
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call fcn.004282a0
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4