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

Disassembly:
push 0xffffffffffffffff
push 0x4f7ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
xor ebp, ebp
mov word [esp + 0x34], di
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x28]
push eax
push str.length
lea esi, [ebx + 4]
mov dword [esp + 0x64], edi
mov ecx, esi
call fcn.004b1e30
cmp eax, edi
jl 0x4d4fa2
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.004c90a0
add esp, 0xc
cmp eax, edi
mov dword [ebx], eax
jl 0x4d4fb4
cmp word [esp + 0x34], 3
jne 0x4d4fb4
mov ebp, dword [esp + 0x3c]
mov ebx, dword [0x4f936c]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x60], 0xffffffff
call ebx
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
jge 0x4d5448
xor eax, eax
mov dword [esp + 0x30], eax
xor ebp, ebp
cmp ecx, edi
mov dword [esp + 0x5c], 1
jl 0x4d542d
mov dword [esp + 0x18], edi
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.00407e00
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x60], 2
mov dword [esi], eax
call ebx
cmp dword [esi], edi
jl 0x4d5044
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4d5044
push eax
lea ecx, [esp + 0x34]
call fcn.00407de0
mov ebp, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
call fcn.004282a0
cmp ebp, edi
je 0x4d5429
mov edx, dword [0x50a0e0]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x60], 4
call fcn.004c8e50
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x5c], 5
je 0x4d50c8
cmp dword [ecx - 0xc], edi
jge 0x4d509a
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4d509f
cmp dword [eax - 0xc], edi
jge 0x4d50af
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402200
jmp 0x4d50c8
lea ecx, [esp + 0x10]
call fcn.004020f0
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [0x4f9310]
mov eax, dword [esp + 0x24]
mov ecx, dword [0x50a0e4]
mov byte [esp + 0x5c], 4
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4d50fc
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4d50fc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov ecx, dword [esp + 0x10]
push str.progress
push ecx
mov dword [esp + 0x1c], edi
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d5140
push 0x138
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 6
je 0x4d5325
mov ecx, eax
call fcn.004cfcf0
jmp 0x4d5327
mov edx, dword [esp + 0x10]
push str.mainmenu
push edx
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d5180
push 0x124
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 7
je 0x4d5325
mov ecx, eax
call fcn.004d5e50
jmp 0x4d5327
mov eax, dword [esp + 0x10]
push str.subview
push eax
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d51ba
push 0xac
call fcn.004dcb8f
add esp, 4
cmp eax, edi
je 0x4d51b3
mov ecx, eax
call fcn.004d3b60
jmp 0x4d532c
xor eax, eax
jmp 0x4d532c
mov ecx, dword [esp + 0x10]
push str.button
push ecx
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d51fa
push 0x12c
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 8
je 0x4d5325
mov ecx, eax
call fcn.004c56d0
jmp 0x4d5327
mov edx, dword [esp + 0x10]
push str.info
push edx
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d523a
push 0x140
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 9
je 0x4d5325
mov ecx, eax
call fcn.004c7090
jmp 0x4d5327
mov eax, dword [esp + 0x10]
push str.playlist
push eax
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d527a
push 0x16c
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 0xa
je 0x4d5325
mov ecx, eax
call fcn.00495140
jmp 0x4d5327
mov ecx, dword [esp + 0x10]
push 0x51a338
push ecx
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d52b3
push 0xd8
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 0xb
je 0x4d5325
mov ecx, eax
call fcn.004d1a50
jmp 0x4d5327
mov edx, dword [esp + 0x10]
push str.listtool
push edx
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d52ec
push 0x110
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 0xc
je 0x4d5325
mov ecx, eax
call fcn.004cd0e0
jmp 0x4d5327
mov eax, dword [esp + 0x10]
push str.mywindow
push eax
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4d5330
push 0xb8
call fcn.004dcb8f
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 0xd
je 0x4d5325
mov ecx, eax
call fcn.004d2a40
jmp 0x4d5327
xor eax, eax
mov byte [esp + 0x5c], 4
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], edi
je 0x4d53fa
mov esi, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], esp
mov ebp, esp
mov eax, dword [esi + 0x78]
cmp dword [eax - 0xc], edi
jl 0x4d535c
mov dword [ebp], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
jmp 0x4d53b0
mov ecx, dword [0x50a0e0]
mov dword [ebp], ecx
mov esi, dword [esi + 0x78]
cmp esi, edi
jne 0x4d5370
xor ebx, ebx
jmp 0x4d5379
push esi
call dword [0x4f9318]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00402130
test eax, eax
je 0x4d53ac
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
xor edi, edi
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [eax + edx], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 0x14]
mov eax, dword [ecx]
push edx
mov edx, dword [esi + 8]
push edx
call dword [eax]
cmp eax, edi
je 0x4d53de
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x24]
lea edx, [esp + 0x14]
push edx
push 1
push eax
call fcn.004d77e0
jmp 0x4d53fa
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4d53fa
mov esi, ecx
call fcn.004d3c60
push esi
call fcn.004dcaa6
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4d5429
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4d5429
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x5c], 0xffffffff
je 0x4d543f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x20]
jmp 0x4d4f66
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