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

Disassembly:
push 0xffffffffffffffff
push 0x4eeae8
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.00427790
push str.QvodPlayer
lea ecx, [esp + 0x24]
mov word [esp + 0x24], bp
call fcn.00406940
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.004080f0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
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 0x40b43a
cmp eax, ebp
je 0x40b43a
push eax
lea ecx, [esp + 0x38]
call fcn.004080d0
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp eax, ebp
mov byte [esp + 0x80], 0
je 0x40b44c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, ebp
je 0x40b81a
lea ecx, [esp + 0x24]
call fcn.00427790
cmp dword [esp + 0x88], ebp
jne 0x40b4f4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
xor ebx, ebx
mov edi, dword [edx + 0x98]
call fcn.00427790
push str.HotKey
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], bp
call fcn.00406940
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.004080f0
lea edx, [esp + 0x38]
mov dword [edi + 8], eax
push edx
mov byte [esp + 0x84], 4
call esi
cmp dword [edi + 8], ebp
jl 0x40b4df
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40b4df
push eax
lea ecx, [esp + 0x28]
call fcn.004080d0
mov ebx, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 3
call fcn.0042ca10
mov edi, ebx
jmp 0x40b573
lea ecx, [esp + 0x10]
xor edi, edi
call fcn.00427790
push str.HotKey
lea ecx, [esp + 0x3c]
mov word [esp + 0x3c], bp
call fcn.00406940
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.004080f0
lea edx, [esp + 0x38]
mov dword [esp + 0x30], eax
push edx
mov byte [esp + 0x84], 6
call esi
cmp dword [esp + 0x30], ebp
jl 0x40b562
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40b562
push eax
lea ecx, [esp + 0x28]
call fcn.004080d0
mov edi, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 3
call fcn.0042ca10
cmp edi, ebp
je 0x40b809
cmp dword [esp + 0x88], ebp
jne 0x40b59b
mov eax, dword [0x5256b4]
push 0xa0
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [esp + 0x10], eax
jmp 0x40b5a9
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 [sym.imp.USER32.dll_CopyAcceleratorTableW]
mov ebp, eax
lea edi, [ebp*8]
sub edi, ebp
push edi
call fcn.004de48f
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 [sym.imp.USER32.dll_CopyAcceleratorTableW]
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.00406940
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.00406a10
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 0x40b7d2
add ebx, 4
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
push ebp
lea eax, [esp + 0x14]
push str.Keyvirt__d
push eax
mov byte [esp + 0x8c], 0xa
call fcn.004074f0
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.00406940
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.00406a10
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.004074f0
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.00406940
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.00406a10
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.004074f0
add esp, 0xc
and edi, 0xffff
push edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00408550
mov eax, dword [esp + 0x10]
mov ecx, dword [0x50d0e4]
mov byte [esp + 0x80], 3
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40b7be
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40b7be
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x18]
inc ebp
add ebx, 6
cmp ebp, eax
jl 0x40b65d
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40b7df
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x40b7f8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.00409c30
mov edx, dword [esp + 0x14]
push 0
mov ecx, dword [edx + 0x98]
call fcn.00402ba0
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0
call fcn.0042ca10
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042ca10
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4