Function at 0x46ced0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c207b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x2c]
push 0
push eax
push 0x150
push ecx
call edi
push eax
mov ecx, 0x4f1e68
call fcn.00435cf0
mov edx, dword [esi + 0x30]
push 0
push 0
lea ebp, [esi + 0x30]
push 0x1009
push edx
mov ebx, eax
call edi
mov eax, dword [esi + 0x34]
push 0
push 0x82
push 0x401
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0
push 0x83
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x34]
push 0
push 0x84
push 0x401
push edx
call edi
lea ecx, [esp + 0x50]
call fcn.00474510
mov eax, dword [esi + 4]
push 0
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x1dc], 0
call fcn.00424200
mov ecx, dword [esp + 0x54]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
call fcn.00443150
add esp, 4
push eax
lea ecx, [esp + 0x54]
call fcn.00474430
mov dx, word [ebx + 0x48]
mov ebx, dword [sym.imp.WINMM.dll_mciSendCommandW]
mov eax, 0x3a
mov word [esp + 0xc2], ax
lea eax, [esp + 0xa0]
push eax
push 0x3200
xor ecx, ecx
mov word [esp + 0xc8], dx
push 0x803
lea edx, [esp + 0xcc]
push ecx
mov word [esp + 0xd4], cx
mov dword [esp + 0xb8], 0x204
mov dword [esp + 0xbc], edx
call ebx
test eax, eax
jne 0x46d38f
mov esi, dword [esp + 0xa4]
lea edx, [esp + 0xb4]
push edx
push 0x400
push 0x80d
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0xc8], 2
call ebx
test eax, eax
je 0x46d07a
push 0
push 0
push 0x804
push esi
call ebx
mov eax, dword [esp + 0x54]
push eax
jmp 0x46d394
lea ecx, [esp + 0x18]
push ecx
push 0x100
push 0x814
push esi
mov dword [esp + 0x30], 3
call ebx
test eax, eax
je 0x46d0ae
push 0
push 0
push 0x804
push esi
call ebx
mov edx, dword [esp + 0x54]
push edx
jmp 0x46d394
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x70], eax
cmp eax, 1
jb 0x46d37f
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0x110
push 0x814
lea ebx, [esi + 1]
push ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0x4001
call dword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
jne 0x46d3da
push ebx
lea edx, [esp + 0xcc]
push 0x4c4b38
push edx
call fcn.00415400
xor ecx, ecx
add esp, 0xc
cmp dword [esp + 0x1c], 0x440
lea edx, [esp + 0xc8]
sete cl
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], edx
cmp ecx, 0xffffffff
je 0x46d16e
mov dword [esp + 0x28], 3
mov dword [esp + 0x44], ecx
mov edx, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0x104d
push edx
call edi
push ebx
push 0x19
call fcn.00443150
add esp, 4
push eax
lea eax, [esp + 0xd0]
push 0x80
push eax
call fcn.00477440
add esp, 0x10
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x54]
call fcn.00474430
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x110
push 0x814
push ebx
mov dword [esp + 0x30], 2
call dword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
jne 0x46d3f5
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
mov ebx, ecx
shl ebx, 4
sub ebx, ecx
lea ecx, [edx + ebx*4]
imul ecx, ecx, 0x4b
shr eax, 0x10
movzx edx, al
lea eax, [ecx + edx - 0x96]
push eax
lea ecx, [esp + 0xcc]
push 0x4c4b38
push ecx
call fcn.00415400
mov ecx, dword [ebp]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x104c
mov ebx, 1
lea edx, [esp + 0xd4]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], edx
call edi
lea edx, [esp + 0x18]
push edx
push 0x110
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1c]
push 0x814
push ebx
call dword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
jne 0x46d407
mov eax, dword [esp + 0x1c]
movzx ecx, al
mov edx, eax
shr edx, 8
mov ebx, ecx
shl ebx, 4
movzx edx, dl
sub ebx, ecx
lea ebx, [edx + ebx*4]
imul ebx, ebx, 0x4b
shr eax, 0x10
movzx eax, al
lea ebx, [ebx + eax - 0x96]
push ebx
push eax
push edx
push ecx
lea eax, [esp + 0xd8]
push 0x4d092c
push eax
call fcn.00415400
xor eax, eax
add esp, 0x18
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [ebp]
push 0x104c
lea ecx, [esp + 0xd4]
push eax
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 2
mov dword [esp + 0x9c], ecx
call edi
push ebx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, ebp
call fcn.00420f10
mov esi, dword [esp + 0x74]
lea ecx, [esi + 1]
cmp ecx, dword [esp + 0x70]
jbe 0x46d0c1
mov ebx, dword [sym.imp.WINMM.dll_mciSendCommandW]
mov eax, dword [esp + 0x14]
push 0
push 0
push 0x804
push eax
call ebx
mov ecx, dword [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esp + 0x50]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.00474450
xor eax, eax
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.004911aa
add esp, 0x1c4
ret 0x10
mov edx, dword [esp + 0x14]
push 0
push 0
push 0x804
push edx
call dword [sym.imp.WINMM.dll_mciSendCommandW]
mov eax, dword [esp + 0x54]
push eax
jmp 0x46d394
push 0
push 0
push 0x804
push ebx
call dword [sym.imp.WINMM.dll_mciSendCommandW]
jmp 0x46d38f
push 0
push 0
push 0x804
push ebx
call dword [sym.imp.WINMM.dll_mciSendCommandW]
mov edx, dword [esp + 0x54]
push edx
jmp 0x46d394