Function at 0x4b4700
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4f9564
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
mov eax, dword [esp + 0x468]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x1c], ecx
push esi
push 0x7ffff
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esi
call fcn.004dda50
push 1
push 0x53a188
push 0x53a180
lea ecx, [esp + 0x64]
mov dword [esp + 0x47c], esi
call fcn.004dde30
mov eax, dword [esp + 0x45c]
cmp eax, 0x200
mov eax, dword [esp + 0x458]
ja 0x4b4775
lea eax, [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x4b5cc3
cmp dword [esp + 0x2c], 1
jle 0x4b5cb8
mov eax, dword [0x541d2c]
mov dword [0x54237c], 1
test eax, eax
je 0x4b5cb8
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], 0
mov edx, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push eax
mov byte [esp + 0x478], 1
call dword [edx + 0xc0]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b5ca2
mov ebp, dword [esp + 0x14]
push 0xc
mov esi, dword [ebp + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x470], 2
je 0x4b4808
push esi
mov ecx, eax
call fcn.00405fc0
jmp 0x4b480a
xor eax, eax
test eax, eax
mov byte [esp + 0x470], 1
mov dword [esp + 0x18], eax
jne 0x4b4828
push 0x8007000e
call fcn.004e2fd8
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x470], 3
je 0x4b483d
mov ecx, eax
call fcn.00406050
jmp 0x4b483f
xor eax, eax
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str._play
push eax
call edi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
mov byte [esp + 0x470], 1
call fcn.00409570
test bl, bl
je 0x4b4d21
mov cl, byte [0x54236c]
test cl, 1
jne 0x4b4895
or cl, 1
mov byte [0x54236c], cl
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov cl, byte [0x54236c]
mov dword [0x542368], eax
jmp 0x4b489a
mov eax, dword [0x542368]
test cl, 2
jne 0x4b48b6
mov edx, eax
or cl, 2
and edx, 0xff
mov byte [0x54236c], cl
mov dword [0x542364], edx
test cl, 4
jne 0x4b48d4
or cl, 4
mov byte [0x54236c], cl
xor ecx, ecx
mov cl, ah
and ecx, 0xff
mov dword [0x542360], ecx
mov eax, dword [0x542360]
mov esi, 1
cmp eax, esi
jae 0x4b4af5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x542380]
mov ebp, eax
mov edx, ebp
sub edx, ecx
cmp edx, 0x3e8
jle 0x4b4ad7
mov eax, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x48], ecx
call dword [eax + 4]
mov eax, dword [0x53d630]
mov byte [esp + 0x470], 4
test eax, eax
jne 0x4b4983
mov eax, dword [0x53d62c]
test eax, eax
jne 0x4b4983
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x470], 5
je 0x4b4954
push 0
mov ecx, eax
call fcn.00403840
jmp 0x4b4956
xor eax, eax
mov ecx, dword [0x52e7f4]
mov byte [esp + 0x470], 4
push ecx
push 0x403810
mov ecx, 0x542398
mov dword [0x53d62c], eax
call fcn.004021a0
mov dword [0x53d630], 1
mov edx, dword [0x544f40]
mov edi, dword [0x53d62c]
mov ecx, 0x544f40
mov byte [esp + 0x470], 1
call dword [edx + 8]
xor ebx, ebx
mov dword [esp + 0x48], edi
cmp edi, ebx
je 0x4b49af
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp edi, ebx
mov byte [esp + 0x470], 6
je 0x4b49de
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push edx
push edi
call dword [ecx + 0x14c]
cmp dword [esp + 0x10], ebx
je 0x4b49de
mov ecx, dword [0x541d2c]
cmp ecx, ebx
je 0x4b49de
call fcn.00459f50
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push 1
mov eax, dword [esi + 8]
push eax
call fcn.00459ca0
mov ecx, dword [edi]
lea edx, [esp + 0x1c]
push edx
push edi
call dword [ecx + 0xd8]
cmp dword [esp + 0x1c], ebx
je 0x4b4ac5
mov al, byte [esp + 0x2b]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 7
call fcn.004c9240
mov edx, dword [esi + 8]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x478], 8
call fcn.004c9250
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jne 0x4b4a54
xor eax, eax
jmp 0x4b4a5d
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jle 0x4b4a8a
xor esi, esi
mov ebx, eax
jmp 0x4b4a6b
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4b4a78
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x20]
push 0
push eax
call fcn.00459ca0
add esi, 0x10
dec ebx
jne 0x4b4a67
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 7
call fcn.004dc960
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x478], 6
call fcn.004242f0
mov edx, dword [esp + 0x34]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
cmp edi, ebx
mov byte [esp + 0x470], 1
je 0x4b4ad7
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
push 0
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x24]
push edx
call fcn.00459ca0
mov dword [0x542380], ebp
jmp 0x4b5ca2
mov eax, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x544f40
call dword [eax + 4]
mov eax, dword [0x53d630]
mov bl, 9
test eax, eax
mov byte [esp + 0x470], bl
jne 0x4b4b78
mov eax, dword [0x53d62c]
test eax, eax
jne 0x4b4b78
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x470], 0xa
je 0x4b4b4e
push 0
mov ecx, eax
call fcn.00403840
jmp 0x4b4b50
xor eax, eax
mov ecx, dword [0x52e7f4]
mov byte [esp + 0x470], bl
push ecx
push 0x403810
mov ecx, 0x542398
mov dword [0x53d62c], eax
call fcn.004021a0
mov dword [0x53d630], esi
mov edx, dword [0x544f40]
mov ebx, dword [0x53d62c]
mov ecx, 0x544f40
mov byte [esp + 0x470], 1
call dword [edx + 8]
test ebx, ebx
mov dword [esp + 0x48], ebx
je 0x4b4ba2
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
test ebx, ebx
mov byte [esp + 0x470], 0xb
je 0x4b4bd3
mov ecx, dword [ebx]
lea edx, [esp + 0x10]
push edx
push ebx
call dword [ecx + 0x14c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b4bd3
mov ecx, dword [0x541d2c]
test ecx, ecx
je 0x4b4bd3
call fcn.00459f50
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], 0
add eax, 0xfffffffe
test eax, eax
jle 0x4b4d06
mov ecx, dword [esp + 0x14]
lea ebp, [ecx + 8]
mov edi, dword [esp + 0x18]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x20]
xor edx, edx
cmp edi, 1
sete dl
push edx
push eax
call fcn.00459ca0
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
xor esi, esi
push edx
push ebx
mov dword [esp + 0x20], esi
call dword [ecx + 0xd8]
cmp dword [esp + 0x1c], esi
je 0x4b4ceb
mov al, byte [esp + 0x2b]
mov dword [esp + 0x34], esi
mov byte [esp + 0x30], al
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x470], 0xc
call fcn.004c9240
mov edx, dword [ebp]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x478], 0xd
call fcn.004c9250
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0x4b4ca4
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 4
cmp eax, esi
jle 0x4b4ca4
mov edi, eax
jmp 0x4b4c85
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi + 4]
test eax, eax
jne 0x4b4c92
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x20]
push 0
push eax
call fcn.00459ca0
add esi, 0x10
dec edi
jne 0x4b4c81
lea ecx, [esp + 0x40]
mov byte [esp + 0x470], 0xc
call fcn.004dc960
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x478], 0xb
call fcn.004242f0
mov edx, dword [esp + 0x34]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
inc eax
add ecx, 0xfffffffe
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x4b4bf1
test ebx, ebx
mov byte [esp + 0x470], 1
je 0x4b5ca2
mov edx, dword [ebx]
push ebx
call dword [edx + 8]
jmp 0x4b5ca2
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x470], 0xe
je 0x4b4d48
push esi
mov ecx, eax
call fcn.00405fc0
jmp 0x4b4d4a
xor eax, eax
test eax, eax
mov byte [esp + 0x470], 1
mov dword [esp + 0x18], eax
jne 0x4b4d68
push 0x8007000e
call fcn.004e2fd8
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x470], 0xf
je 0x4b4d7d
mov ecx, eax
call fcn.00406050
jmp 0x4b4d7f
xor eax, eax
push str._addtolist
push eax
call edi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
mov byte [esp + 0x470], 1
call fcn.00409570
test bl, bl
je 0x4b4ff1
mov eax, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x48], 0x544f40
call dword [eax + 4]
mov eax, dword [0x53d630]
mov byte [esp + 0x470], 0x10
test eax, eax
jne 0x4b4e2b
mov eax, dword [0x53d62c]
test eax, eax
jne 0x4b4e2b
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x470], 0x11
je 0x4b4dfc
push 0
mov ecx, eax
call fcn.00403840
jmp 0x4b4dfe
xor eax, eax
mov ecx, dword [0x52e7f4]
mov byte [esp + 0x470], 0x10
push ecx
push 0x403810
mov ecx, 0x542398
mov dword [0x53d62c], eax
call fcn.004021a0
mov dword [0x53d630], 1
mov esi, dword [0x53d62c]
mov edx, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x48], esi
mov byte [esp + 0x470], 1
call dword [edx + 8]
test esi, esi
mov dword [esp + 0x44], esi
je 0x4b4e59
mov eax, dword [esi]
push esi
call dword [eax + 4]
test esi, esi
mov byte [esp + 0x470], 0x12
je 0x4b4e98
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x14c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b4e8a
mov ecx, dword [0x541d2c]
test ecx, ecx
je 0x4b4e8a
call fcn.00459f50
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [eax + 0xd8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x40], 0
add edx, 0xfffffffe
test edx, edx
jle 0x4b4fd2
mov eax, dword [esp + 0x14]
lea ebp, [eax + 8]
mov ecx, dword [ebp]
xor esi, esi
push esi
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00459ca0
mov eax, dword [ebp]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x1c], esi
je 0x4b4fa8
mov dl, byte [esp + 0x2b]
mov dword [esp + 0x34], esi
mov byte [esp + 0x30], dl
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 0x14
call fcn.004c9240
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
push ebx
mov byte [esp + 0x478], 0x15
call fcn.004c9250
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0x4b4f58
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 4
cmp eax, esi
jle 0x4b4f58
mov edi, eax
jmp 0x4b4f39
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi + 4]
test eax, eax
jne 0x4b4f46
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x20]
push 0
push eax
call fcn.00459ca0
add esi, 0x10
dec edi
jne 0x4b4f35
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 0x14
call fcn.004dc960
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, edi
mov byte [esp + 0x470], 0x13
je 0x4b4f91
push 0
mov ecx, esi
call fcn.0044ca30
add esi, 0x10
cmp esi, edi
jne 0x4b4f7d
mov esi, dword [esp + 0x34]
push esi
xor edi, edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
push ebx
mov byte [esp + 0x474], 0x12
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
inc eax
add ecx, 0xfffffffe
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x4b4eb6
mov eax, dword [esp + 0x48]
mov byte [esp + 0x470], 1
test eax, eax
je 0x4b5ca2
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4b5ca2
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x470], 0x16
je 0x4b501a
push esi
mov ecx, eax
call fcn.00405fc0
mov esi, eax
jmp 0x4b501c
xor esi, esi
test esi, esi
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b5036
push 0x8007000e
call fcn.004e2fd8
test esi, esi
mov byte [esp + 0x470], 0x17
je 0x4b504b
mov ecx, esi
call fcn.00406050
jmp 0x4b504d
xor eax, eax
push str._addandplay
push eax
call edi
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
test esi, esi
je 0x4b5070
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b50b6
mov ecx, dword [esp + 0x2c]
xor esi, esi
add ecx, 0xfffffffe
mov eax, 1
test ecx, ecx
jle 0x4b5ca2
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
lea edi, [edx + 8]
push eax
mov eax, dword [edi]
push eax
mov ecx, ebx
call fcn.00459ca0
mov ecx, dword [esp + 0x2c]
xor eax, eax
inc esi
add ecx, 0xfffffffe
add edi, 4
cmp esi, ecx
jl 0x4b5095
jmp 0x4b5ca2
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x470], 0x18
je 0x4b50df
push esi
mov ecx, eax
call fcn.00405fc0
mov esi, eax
jmp 0x4b50e1
xor esi, esi
test esi, esi
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b50fb
push 0x8007000e
call fcn.004e2fd8
test esi, esi
mov byte [esp + 0x470], 0x19
je 0x4b5110
mov ecx, esi
call fcn.00406050
jmp 0x4b5112
xor eax, eax
push str._seekplay
push eax
call edi
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
test esi, esi
je 0x4b5135
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b5401
mov edx, dword [esp + 0x2c]
mov ebp, 1
mov dword [esp + 0x10], 0
lea eax, [edx - 2]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4b5ca2
mov eax, dword [esp + 0x14]
mov bl, 0x1c
lea edi, [eax + 8]
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x470], 0x1a
je 0x4b5190
push esi
mov ecx, eax
call fcn.00405fc0
mov esi, eax
jmp 0x4b5192
xor esi, esi
test esi, esi
mov byte [esp + 0x470], 1
mov dword [esp + 0x1c], esi
jne 0x4b51ac
push 0x8007000e
call fcn.004e2fd8
test esi, esi
mov byte [esp + 0x470], 0x1b
je 0x4b51c1
mov ecx, esi
call fcn.00406050
jmp 0x4b51c3
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x4c]
add esp, 4
test esi, esi
je 0x4b51dc
mov ecx, esi
call fcn.00406000
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x50]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x478], bl
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b53c6
mov esi, dword [edi]
push 0xc
mov byte [esp + 0x474], 0x1d
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x470], 0x1e
je 0x4b5241
push esi
mov ecx, eax
call fcn.00405fc0
mov esi, eax
jmp 0x4b5243
xor esi, esi
test esi, esi
mov byte [esp + 0x470], 0x1d
mov dword [esp + 0x1c], esi
jne 0x4b525d
push 0x8007000e
call fcn.004e2fd8
test esi, esi
mov byte [esp + 0x470], 0x1f
je 0x4b526d
mov ecx, dword [esi]
jmp 0x4b526f
xor ecx, ecx
mov eax, dword [esp + 0x50]
lea ebx, [esp + 0x24]
push ebx
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x3c]
xor ebx, ebx
mov byte [esp + 0x470], 0x1d
cmp esi, ebx
je 0x4b5294
mov ecx, esi
call fcn.00406000
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4b53b3
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push 0x5351d8
push eax
call dword [ecx]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x470], 0x20
cmp eax, ebx
mov dword [esp + 0x40], ebx
je 0x4b52d6
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push 0x535080
push eax
call dword [ecx]
mov eax, dword [esp + 0x40]
mov bl, 0x21
test eax, eax
mov byte [esp + 0x470], bl
je 0x4b52f7
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x4c]
push edx
push eax
call dword [ecx + 0x34]
mov ecx, dword [esp + 0x50]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x44], eax
je 0x4b5318
mov eax, dword [ecx]
lea edx, [esp + 0x44]
push edx
push 0x5357b0
push ecx
call dword [eax]
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [esp + 0x470], 0x22
je 0x4b5372
lea edx, [esp + 0x48]
or esi, 0xffffffff
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc4]
test ebp, ebp
je 0x4b536e
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x88]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
xor ebp, ebp
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [esp + 0x470], bl
je 0x4b5383
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x470], 0x20
test eax, eax
je 0x4b5399
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x470], 0x1d
test eax, eax
je 0x4b53af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov bl, 0x1c
test eax, eax
mov byte [esp + 0x470], bl
je 0x4b53c6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x470], 1
test eax, eax
je 0x4b53dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
inc ecx
add edi, 8
lea eax, [edx - 2]
mov dword [esp + 0x10], ecx
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jl 0x4b5167
jmp 0x4b5ca2
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor ebp, ebp
mov byte [esp + 0x470], 0x23
cmp esi, ebp
je 0x4b544d
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x4b544f
cmp edi, ebp
je 0x4b544f
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b544f
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b5469
push 0x8007000e
call fcn.004e2fd8
cmp esi, ebp
mov byte [esp + 0x470], 0x24
je 0x4b547e
mov ecx, esi
call fcn.00406050
jmp 0x4b5480
xor eax, eax
push str._playdvd
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4b54a7
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b54c5
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00459f50
mov ecx, dword [esp + 0x14]
push 1
mov edx, dword [ecx + 8]
push edx
jmp 0x4b5c9b
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x470], 0x25
je 0x4b550f
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x4b5511
cmp edi, ebp
je 0x4b5511
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b5511
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b552b
push 0x8007000e
call fcn.004e2fd8
cmp esi, ebp
mov byte [esp + 0x470], 0x26
je 0x4b5540
mov ecx, esi
call fcn.00406050
jmp 0x4b5542
xor eax, eax
push str._fullscreen
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4b5569
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b5587
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00459f50
mov ecx, dword [esp + 0x14]
push 1
mov edx, dword [ecx + 8]
push edx
jmp 0x4b5c9b
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x470], 0x27
je 0x4b55d1
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x4b55d3
cmp edi, ebp
je 0x4b55d3
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b55d3
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b55ed
push 0x8007000e
call fcn.004e2fd8
cmp esi, ebp
mov byte [esp + 0x470], 0x28
je 0x4b5602
mov ecx, esi
call fcn.00406050
jmp 0x4b5604
xor eax, eax
push str._start
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4b562b
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b5649
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00459f50
mov ecx, dword [esp + 0x14]
push 1
mov edx, dword [ecx + 0xc]
push edx
jmp 0x4b5c9b
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x470], 0x29
je 0x4b5693
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x4b5695
cmp edi, ebp
je 0x4b5695
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b5695
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b56af
push 0x8007000e
call fcn.004e2fd8
cmp esi, ebp
mov byte [esp + 0x470], 0x2a
je 0x4b56e2
cmp dword [esi + 4], ebp
jne 0x4b56dd
mov ecx, dword [esi]
push ecx
call fcn.004e30fa
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4b56dd
cmp dword [esi], ebp
je 0x4b56dd
push 0x8007000e
call fcn.004e2fd8
mov eax, dword [esi + 4]
jmp 0x4b56e4
xor eax, eax
push 0x53a128
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4b570b
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b5740
mov eax, dword [esp + 0x54]
mov byte [esp + 0x470], 0
cmp eax, ebp
je 0x4b5725
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 0x470], 0xffffffff
call fcn.004ddbd0
xor eax, eax
jmp 0x4b5cdc
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x470], 0x2b
je 0x4b578a
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x4b578c
cmp edi, ebp
je 0x4b578c
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b578c
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b57a6
push 0x8007000e
call fcn.004e2fd8
cmp esi, ebp
mov byte [esp + 0x470], 0x2c
je 0x4b57d9
cmp dword [esi + 4], ebp
jne 0x4b57d4
mov ecx, dword [esi]
push ecx
call fcn.004e30fa
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4b57d4
cmp dword [esi], ebp
je 0x4b57d4
push 0x8007000e
call fcn.004e2fd8
mov eax, dword [esi + 4]
jmp 0x4b57db
xor eax, eax
push str._changeskin
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4b5802
mov ecx, esi
call fcn.00406000
test bl, bl
je 0x4b5a22
mov edx, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x10], 0x544f40
call dword [edx + 4]
mov eax, dword [0x53d630]
mov bl, 0x2d
cmp eax, ebp
mov byte [esp + 0x470], bl
jne 0x4b588b
cmp dword [0x53d62c], ebp
jne 0x4b588b
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x470], 0x2e
je 0x4b585e
push ebp
mov ecx, eax
call fcn.00403840
jmp 0x4b5860
xor eax, eax
mov dword [0x53d62c], eax
mov eax, dword [0x52e7f4]
push eax
push 0x403810
mov ecx, 0x542398
mov byte [esp + 0x478], bl
call fcn.004021a0
mov dword [0x53d630], 1
mov edx, dword [0x544f40]
mov edi, dword [0x53d62c]
mov ecx, 0x544f40
mov byte [esp + 0x470], 1
call dword [edx + 8]
cmp edi, ebp
mov dword [esp + 0x1c], edi
je 0x4b58b5
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp edi, ebp
mov byte [esp + 0x470], 0x2f
je 0x4b5a07
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x24]
push edx
call fcn.004e2378
mov eax, dword [esp + 0x24]
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x474], 0x30
mov esi, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea ecx, [esp + 0x10]
dec esi
push esi
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
mov ebp, dword [esp + 0x10]
mov bl, 0x31
push 0xc
mov byte [esp + 0x474], bl
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x470], 0x32
je 0x4b5955
push ebp
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004e3085
test eax, eax
mov dword [esi], eax
jne 0x4b5957
test ebp, ebp
je 0x4b5957
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b5957
xor esi, esi
test esi, esi
mov byte [esp + 0x470], bl
mov dword [esp + 0x48], esi
jne 0x4b5970
push 0x8007000e
call fcn.004e2fd8
test esi, esi
mov byte [esp + 0x470], 0x33
je 0x4b5980
mov eax, dword [esi]
jmp 0x4b5982
xor eax, eax
mov edx, dword [edi]
push eax
push edi
call dword [edx + 0x30]
test esi, esi
mov byte [esp + 0x470], bl
je 0x4b59ab
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4b59ab
push 1
mov ecx, esi
call fcn.0042e460
mov ecx, dword [esp + 0x24]
push 0x207
push ecx
push 0x542158
mov byte [0x54235f], 0
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
push 0x542158
push 0
push 0x7ef
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x470], 0x30
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x470], 0x2f
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
cmp edi, ebp
mov byte [esp + 0x470], 1
je 0x4b5ca2
mov edx, dword [edi]
push edi
call dword [edx + 8]
jmp 0x4b5ca2
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x470], 0x34
je 0x4b5a6c
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x4b5a6e
cmp edi, ebp
je 0x4b5a6e
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b5a6e
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b5a88
push 0x8007000e
call fcn.004e2fd8
cmp esi, ebp
mov byte [esp + 0x470], 0x35
je 0x4b5abb
cmp dword [esi + 4], ebp
jne 0x4b5ab6
mov ecx, dword [esi]
push ecx
call fcn.004e30fa
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4b5ab6
cmp dword [esi], ebp
je 0x4b5ab6
push 0x8007000e
call fcn.004e2fd8
mov eax, dword [esi + 4]
jmp 0x4b5abd
xor eax, eax
push str._openboxfile
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 8
test eax, eax
sete bl
test esi, esi
mov byte [esp + 0x470], 1
je 0x4b5afd
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x4b5afd
mov ecx, esi
call fcn.0041e550
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
test bl, bl
je 0x4b5b4c
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.004e2378
push 0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x47c], 0x36
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x24]
call fcn.004b82f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x470], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4b5ca2
mov edi, dword [eax + 4]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x470], 0x37
je 0x4b5b96
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi], eax
jne 0x4b5b98
test edi, edi
je 0x4b5b98
push 0x8007000e
call fcn.004e2fd8
jmp 0x4b5b98
xor esi, esi
test esi, esi
mov byte [esp + 0x470], 1
mov dword [esp + 0x10], esi
jne 0x4b5bb2
push 0x8007000e
call fcn.004e2fd8
test esi, esi
mov byte [esp + 0x470], 0x38
je 0x4b5be8
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b5be3
mov ecx, dword [esi]
push ecx
call fcn.004e30fa
test eax, eax
mov dword [esi + 4], eax
jne 0x4b5be3
cmp dword [esi], 0
je 0x4b5be3
push 0x8007000e
call fcn.004e2fd8
mov eax, dword [esi + 4]
jmp 0x4b5bea
xor eax, eax
push str._openboxfile_playnow
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x470], 1
test eax, eax
sete bl
test esi, esi
je 0x4b5c3a
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x4b5c3a
mov eax, dword [esi]
test eax, eax
je 0x4b5c21
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4b5c31
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
test bl, bl
je 0x4b5c86
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.004e2378
push 1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x47c], 0x39
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x24]
call fcn.004b82f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x470], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4b5ca2
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00459f50
mov eax, dword [esp + 0x14]
push 1
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00459ca0
mov eax, dword [esp + 0x54]
mov byte [esp + 0x470], 0
test eax, eax
je 0x4b5cb8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x58]
mov dword [esp + 0x470], 0xffffffff
call fcn.004ddbd0
mov eax, 1
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x464
ret 4