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

Disassembly:
push 0xffffffffffffffff
push 0x4f9a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
xor ebx, ebx
mov word [esp + 0x34], bp
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x28]
push eax
push str.length
lea esi, [edi + 4]
mov dword [esp + 0x64], ebp
mov ecx, esi
call fcn.00436950
cmp eax, ebp
jl 0x4d6692
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.004ca1e0
add esp, 0xc
cmp eax, ebp
mov dword [edi], eax
jl 0x4d66a4
cmp word [esp + 0x34], 3
jne 0x4d66a4
mov ebx, dword [esp + 0x3c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x60], 0xffffffff
call edi
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
jge 0x4d6b33
xor eax, eax
mov dword [esp + 0x30], eax
xor ebx, ebx
cmp ecx, ebp
mov dword [esp + 0x5c], 1
jl 0x4d6b18
mov dword [esp + 0x18], ebp
mov word [esp + 0x44], 3
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
push str.item
mov ecx, esi
mov byte [esp + 0x68], 3
call fcn.004080f0
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x60], 2
mov dword [esi], eax
call edi
cmp dword [esi], ebp
jl 0x4d6734
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4d6734
push eax
lea ecx, [esp + 0x34]
call fcn.004080d0
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
call fcn.0042ca10
cmp ebx, ebp
je 0x4d6b14
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x60], 4
call fcn.004c9fc0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x5c], 5
je 0x4d67b8
cmp dword [ecx - 0xc], ebp
jge 0x4d678a
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4d678f
cmp dword [eax - 0xc], ebp
jge 0x4d679f
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004021f0
jmp 0x4d67b8
lea ecx, [esp + 0x10]
call fcn.00402350
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x24]
mov ecx, dword [0x50d0e4]
mov byte [esp + 0x5c], 4
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4d67ec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d67ec
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [esp + 0x10]
push str.progress
push ecx
mov dword [esp + 0x1c], ebp
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d6830
push 0x138
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 6
je 0x4d6a15
mov ecx, eax
call fcn.004d0ea0
jmp 0x4d6a17
mov edx, dword [esp + 0x10]
push str.mainmenu
push edx
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d6870
push 0x124
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 7
je 0x4d6a15
mov ecx, eax
call fcn.004d7550
jmp 0x4d6a17
mov eax, dword [esp + 0x10]
push str.subview
push eax
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d68aa
push 0xac
call fcn.004de48f
add esp, 4
cmp eax, ebp
je 0x4d68a3
mov ecx, eax
call fcn.004d5280
jmp 0x4d6a1c
xor eax, eax
jmp 0x4d6a1c
mov ecx, dword [esp + 0x10]
push str.button
push ecx
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d68ea
push 0x12c
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 8
je 0x4d6a15
mov ecx, eax
call fcn.004c6730
jmp 0x4d6a17
mov edx, dword [esp + 0x10]
push str.info
push edx
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d692a
push 0x140
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 9
je 0x4d6a15
mov ecx, eax
call fcn.004c8160
jmp 0x4d6a17
mov eax, dword [esp + 0x10]
push str.playlist
push eax
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d696a
push 0x16c
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 0xa
je 0x4d6a15
mov ecx, eax
call fcn.004960c0
jmp 0x4d6a17
mov ecx, dword [esp + 0x10]
push 0x51d900
push ecx
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d69a3
push 0xd8
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 0xb
je 0x4d6a15
mov ecx, eax
call fcn.004d2d60
jmp 0x4d6a17
mov edx, dword [esp + 0x10]
push str.listtool
push edx
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d69dc
push pe_nt_image_headers32
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 0xc
je 0x4d6a15
mov ecx, eax
call fcn.004ce300
jmp 0x4d6a17
mov eax, dword [esp + 0x10]
push str.mywindow
push eax
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x4d6a20
push 0xb8
call fcn.004de48f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x5c], 0xd
je 0x4d6a15
mov ecx, eax
call fcn.004d4160
jmp 0x4d6a17
xor eax, eax
mov byte [esp + 0x5c], 4
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebp
je 0x4d6ae5
mov edi, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], esp
mov esi, esp
mov eax, dword [edi + 0x78]
cmp dword [eax - 0xc], ebp
jl 0x4d6a4b
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4d6a9b
mov ecx, dword [0x50d0e0]
mov dword [esi], ecx
mov ebx, dword [edi + 0x78]
cmp ebx, ebp
jne 0x4d6a5e
xor edi, edi
jmp 0x4d6a67
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.004022b0
test eax, eax
je 0x4d6a97
mov eax, dword [esi]
lea ebp, [edi + edi]
push ebp
lea edx, [edi + edi + 2]
push ebx
push edx
push eax
call fcn.00402060
mov ecx, dword [esi]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [edx + ebp], 0
xor ebp, ebp
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
mov edx, dword [edi + 0x14]
mov eax, dword [ecx]
push edx
mov edx, dword [edi + 8]
push edx
call dword [eax]
cmp eax, ebp
je 0x4d6ac9
mov eax, dword [edi + 0x2c]
lea ecx, [edi + 0x24]
lea edx, [esp + 0x14]
push edx
push 1
push eax
call fcn.004d90c0
jmp 0x4d6ae5
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x4d6ae5
mov esi, ecx
call fcn.004d5380
push esi
call fcn.004de3a6
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4d6b14
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d6b14
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov dword [esp + 0x5c], 0xffffffff
je 0x4d6b2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x20]
jmp 0x4d6656
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 4