Function at 0x4a7860
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f1a16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x46c
mov eax, dword [esp + 0x47c]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x4c], ecx
push esi
push 0x7ffff
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], esi
call fcn.004d5e30
push 1
push 0x530ce0
push 0x530cd8
lea ecx, [esp + 0x78]
mov dword [esp + 0x490], esi
call fcn.004d6210
mov eax, dword [esp + 0x470]
cmp eax, 0x200
mov eax, dword [esp + 0x46c]
ja 0x4a78d5
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x4a9554
cmp dword [esp + 0x30], 1
jle 0x4a9547
mov eax, dword [0x5340ac]
mov dword [0x538d78], 1
test eax, eax
je 0x4a9547
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], 0
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push ecx
push eax
mov byte [esp + 0x48c], 1
call dword [edx + 0xc0]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4a9531
mov edi, dword [esp + 0x1c]
push 0xc
mov esi, dword [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 2
je 0x4a7968
push esi
mov ecx, eax
call fcn.00410ba0
jmp 0x4a796a
xor eax, eax
test eax, eax
mov byte [esp + 0x484], 1
mov dword [esp + 0x24], eax
jne 0x4a7988
push 0x8007000e
call fcn.004ddb30
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x484], 3
je 0x4a799d
mov ecx, eax
call fcn.00410c30
jmp 0x4a799f
xor eax, eax
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str._play
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
mov byte [esp + 0x484], 1
call fcn.00410b10
test bl, bl
je 0x4a7ee6
mov cl, byte [0x538d64]
test cl, 1
jne 0x4a79f5
or cl, 1
mov byte [0x538d64], cl
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov cl, byte [0x538d64]
mov dword [0x538d60], eax
jmp 0x4a79fa
mov eax, dword [0x538d60]
test cl, 2
jne 0x4a7a16
mov edx, eax
or cl, 2
and edx, 0xff
mov byte [0x538d64], cl
mov dword [0x538d5c], edx
test cl, 4
jne 0x4a7a34
or cl, 4
mov byte [0x538d64], cl
xor ecx, ecx
mov cl, ah
and ecx, 0xff
mov dword [0x538d58], ecx
mov eax, dword [0x538d58]
mov edi, 1
cmp eax, edi
jae 0x4a7c8d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x538d7c]
mov ebp, eax
mov edx, ebp
sub edx, ecx
cmp edx, 0x3e8
jle 0x4a7c6f
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov eax, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 5
mov dword [esp + 0x34], ecx
call dword [eax + 4]
mov eax, dword [0x534040]
mov bl, 6
cmp eax, esi
mov byte [esp + 0x484], bl
jne 0x4a7aee
cmp dword [0x53403c], esi
jne 0x4a7aee
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov byte [esp + 0x484], 7
je 0x4a7ac4
mov ecx, eax
call fcn.00431c60
jmp 0x4a7ac6
xor eax, eax
mov ecx, dword [0x525888]
mov byte [esp + 0x484], bl
push ecx
push 0x4031b0
mov ecx, 0x538d90
mov dword [0x53403c], eax
call fcn.00402180
mov dword [0x534040], edi
mov edx, dword [0x53a3c0]
mov esi, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 5
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4a7b5a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a7b5a
push 0x5285b0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004030c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a7b5a
mov ecx, dword [0x5340ac]
test ecx, ecx
je 0x4a7b5a
call fcn.00448dd0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push edi
mov eax, dword [esi + 8]
push eax
call fcn.00448800
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, eax
je 0x4a7c43
mov cl, byte [esp + 0x3b]
mov dword [esp + 0x40], eax
mov byte [esp + 0x3c], cl
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov bl, 8
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], bl
call fcn.004c3620
mov eax, dword [esi + 8]
lea edx, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x48c], 9
call fcn.004c3690
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4a7bd5
xor eax, eax
jmp 0x4a7bde
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 4
test eax, eax
jle 0x4a7c0b
xor esi, esi
mov edi, eax
jmp 0x4a7bec
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4a7bf9
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 + 0x2c]
push 0
push eax
call fcn.00448800
add esi, 0x10
dec edi
jne 0x4a7be8
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], bl
call fcn.004c3660
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x48c], 5
call fcn.004ae750
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov byte [esp + 0x484], 4
test eax, eax
je 0x4a7c59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x484], 1
test eax, eax
je 0x4a7c6f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00448800
mov dword [0x538d7c], ebp
jmp 0x4a9531
xor esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov edx, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0xb
mov dword [esp + 0x28], 0x53a3c0
call dword [edx + 4]
mov eax, dword [0x534040]
mov byte [esp + 0x484], 0xc
cmp eax, esi
jne 0x4a7d1f
cmp dword [0x53403c], esi
jne 0x4a7d1f
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, esi
mov byte [esp + 0x484], 0xd
je 0x4a7cf5
mov ecx, eax
call fcn.00431c60
jmp 0x4a7cf7
xor eax, eax
mov dword [0x53403c], eax
mov eax, dword [0x525888]
push eax
push 0x4031b0
mov ecx, 0x538d90
mov byte [esp + 0x48c], 0xc
call fcn.00402180
mov dword [0x534040], edi
mov edx, dword [0x53a3c0]
mov esi, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0xb
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4a7d8b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a7d8b
push 0x5285b0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004030c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a7d8b
mov ecx, dword [0x5340ac]
test ecx, ecx
je 0x4a7d8b
call fcn.00448dd0
mov eax, dword [esp + 0x30]
xor esi, esi
add eax, 0xfffffffe
xor ebp, ebp
test eax, eax
jle 0x4a7eb1
mov ecx, dword [esp + 0x1c]
lea ebx, [ecx + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
xor edx, edx
cmp eax, 1
mov eax, dword [ebx]
sete dl
push edx
push eax
call fcn.00448800
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x2c], esi
call dword [ecx + 0x24]
cmp dword [esp + 0x28], esi
je 0x4a7e9e
mov al, byte [esp + 0x3b]
mov dword [esp + 0x40], esi
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], 0xe
call fcn.004c3620
mov edx, dword [ebx]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x48c], 0xf
call fcn.004c3690
mov ecx, dword [esp + 0x40]
cmp ecx, esi
je 0x4a7e57
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 4
cmp eax, esi
jle 0x4a7e57
xor esi, esi
mov edi, eax
jmp 0x4a7e38
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4a7e45
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 + 0x2c]
push 0
push eax
call fcn.00448800
add esi, 0x10
dec edi
jne 0x4a7e34
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], 0xe
call fcn.004c3660
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x48c], 0xb
call fcn.004ae750
mov edx, dword [esp + 0x40]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x30]
inc ebp
add eax, 0xfffffffe
add ebx, 4
cmp ebp, eax
jl 0x4a7da5
mov eax, dword [esp + 0x14]
mov byte [esp + 0x484], 0xa
cmp eax, esi
je 0x4a7ec7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x484], 1
cmp eax, esi
je 0x4a9531
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4a9531
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x10
je 0x4a7f0d
push esi
mov ecx, eax
call fcn.00410ba0
jmp 0x4a7f0f
xor eax, eax
test eax, eax
mov byte [esp + 0x484], 1
mov dword [esp + 0x24], eax
jne 0x4a7f2d
push 0x8007000e
call fcn.004ddb30
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x484], 0x11
je 0x4a7f42
mov ecx, eax
call fcn.00410c30
jmp 0x4a7f44
xor eax, eax
push str._addtolist
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
mov byte [esp + 0x484], 1
call fcn.00410b10
test bl, bl
je 0x4a81f9
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x13
mov dword [esp + 0x34], 0x53a3c0
call dword [eax + 4]
mov eax, dword [0x534040]
mov bl, 0x14
cmp eax, esi
mov byte [esp + 0x484], bl
jne 0x4a7fff
cmp dword [0x53403c], esi
jne 0x4a7fff
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov byte [esp + 0x484], 0x15
je 0x4a7fd1
mov ecx, eax
call fcn.00431c60
jmp 0x4a7fd3
xor eax, eax
mov ecx, dword [0x525888]
mov byte [esp + 0x484], bl
push ecx
push 0x4031b0
mov ecx, 0x538d90
mov dword [0x53403c], eax
call fcn.00402180
mov dword [0x534040], 1
mov edx, dword [0x53a3c0]
mov esi, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x13
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4a806b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a806b
push 0x5285b0
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.004030c0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a806b
mov ecx, dword [0x5340ac]
test ecx, ecx
je 0x4a806b
call fcn.00448dd0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a8082
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
add ecx, 0xfffffffe
test ecx, ecx
jle 0x4a81c6
mov edx, dword [esp + 0x1c]
xor esi, esi
lea ebp, [edx + 8]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x2c]
push esi
push eax
call fcn.00448800
mov eax, dword [ebp]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x28], esi
je 0x4a8196
mov cl, byte [esp + 0x3b]
mov dword [esp + 0x40], esi
mov byte [esp + 0x3c], cl
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], 0x17
call fcn.004c3620
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x58]
push edx
push ebx
mov byte [esp + 0x48c], 0x18
call fcn.004c3690
mov ecx, dword [esp + 0x40]
cmp ecx, esi
je 0x4a8144
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 4
cmp eax, esi
jle 0x4a8144
xor esi, esi
mov edi, eax
jmp 0x4a8125
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4a8132
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 + 0x2c]
push 0
push eax
call fcn.00448800
add esi, 0x10
dec edi
jne 0x4a8121
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], 0x17
call fcn.004c3660
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x484], 0x16
je 0x4a817d
push 0
mov ecx, esi
call fcn.0043a500
add esi, 0x10
cmp esi, edi
jne 0x4a8169
mov esi, dword [esp + 0x40]
push esi
xor edi, edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
xor esi, esi
push ebx
mov byte [esp + 0x488], 0x13
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
add ecx, 0xfffffffe
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4a80a2
mov eax, dword [esp + 0x18]
jmp 0x4a81c8
xor esi, esi
cmp eax, esi
mov byte [esp + 0x484], 0x12
je 0x4a81da
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x484], 1
cmp eax, esi
je 0x4a9531
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a9531
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x19
je 0x4a8222
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a8224
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a823e
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x1a
je 0x4a8253
mov ecx, esi
call fcn.00410c30
jmp 0x4a8255
xor eax, eax
push str._addandplay
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a8278
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a82be
mov edx, dword [esp + 0x30]
xor esi, esi
add edx, 0xfffffffe
mov eax, 1
test edx, edx
jle 0x4a9531
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
lea edi, [ecx + 8]
mov edx, dword [edi]
push eax
push edx
mov ecx, ebx
call fcn.00448800
mov ecx, dword [esp + 0x30]
xor eax, eax
inc esi
add ecx, 0xfffffffe
add edi, 4
cmp esi, ecx
jl 0x4a829d
jmp 0x4a9531
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x1b
je 0x4a82e7
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a82e9
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a8303
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x1c
je 0x4a8318
mov ecx, esi
call fcn.00410c30
jmp 0x4a831a
xor eax, eax
push str._seekplay
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a833d
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a8607
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], 1
mov dword [esp + 0x10], 0
lea eax, [edx - 2]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4a9531
mov eax, dword [esp + 0x1c]
mov bl, 0x1f
xor edi, edi
lea ebp, [eax + 8]
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x484], 0x1d
je 0x4a839d
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a839f
xor esi, esi
cmp esi, edi
mov byte [esp + 0x484], 1
mov dword [esp + 0x34], esi
jne 0x4a83b9
push 0x8007000e
call fcn.004ddb30
cmp esi, edi
mov byte [esp + 0x484], 0x1e
je 0x4a83ce
mov ecx, esi
call fcn.00410c30
jmp 0x4a83d0
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x40]
add esp, 4
cmp esi, edi
je 0x4a83e9
mov ecx, esi
call fcn.00410be0
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x48c], bl
call dword [ecx + 0xc0]
cmp dword [esp + 0x18], edi
je 0x4a85cc
mov esi, dword [ebp]
push 0xc
mov byte [esp + 0x488], 0x20
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x484], 0x21
je 0x4a8445
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a8447
xor esi, esi
cmp esi, edi
mov byte [esp + 0x484], 0x20
mov dword [esp + 0x34], esi
jne 0x4a8461
push 0x8007000e
call fcn.004ddb30
cmp esi, edi
mov byte [esp + 0x484], 0x22
je 0x4a8471
mov ecx, dword [esi]
jmp 0x4a8473
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea ebx, [esp + 0x14]
push ebx
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x3c]
cmp esi, edi
mov byte [esp + 0x484], 0x20
je 0x4a8496
mov ecx, esi
call fcn.00410be0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4a85b9
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push edx
push 0x52bda0
push eax
call dword [ecx]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x484], 0x23
cmp eax, edi
mov dword [esp + 0x54], edi
je 0x4a84d8
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push 0x528358
push eax
call dword [ecx]
mov eax, dword [esp + 0x54]
mov bl, 0x24
cmp eax, edi
mov byte [esp + 0x484], bl
je 0x4a84f9
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x40]
push edx
push eax
call dword [ecx + 0x34]
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x20], eax
je 0x4a851a
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
push 0x52c2a8
push ecx
call dword [eax]
mov eax, dword [esp + 0x20]
cmp eax, edi
mov byte [esp + 0x484], 0x25
je 0x4a8578
lea edx, [esp + 0x34]
or esi, 0xffffffff
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc4]
cmp dword [esp + 0x28], edi
je 0x4a8574
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x88]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
mov byte [esp + 0x484], bl
je 0x4a8589
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x484], 0x23
cmp eax, edi
je 0x4a859f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x484], 0x20
cmp eax, edi
je 0x4a85b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov bl, 0x1f
cmp eax, edi
mov byte [esp + 0x484], bl
je 0x4a85cc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x484], 1
cmp eax, edi
je 0x4a85e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
inc ecx
add ebp, 8
lea eax, [edx - 2]
mov dword [esp + 0x10], ecx
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jl 0x4a8374
jmp 0x4a9531
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x26
je 0x4a8630
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a8632
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a864c
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x27
je 0x4a8661
mov ecx, esi
call fcn.00410c30
jmp 0x4a8663
xor eax, eax
push str._playdvd
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a8686
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a86a0
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00448dd0
mov eax, dword [edi + 8]
push 1
push eax
jmp 0x4a952a
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x28
je 0x4a86c9
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a86cb
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a86e5
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x29
je 0x4a86fa
mov ecx, esi
call fcn.00410c30
jmp 0x4a86fc
xor eax, eax
push str._fullscreen
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a871f
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a8739
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00448dd0
mov ecx, dword [edi + 8]
push 1
push ecx
jmp 0x4a952a
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x2a
je 0x4a8762
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a8764
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a877e
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x2b
je 0x4a8793
mov ecx, esi
call fcn.00410c30
jmp 0x4a8795
xor eax, eax
push str._start
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a87b8
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a87d1
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00448dd0
mov edx, dword [edi + 0xc]
push 1
jmp 0x4a9529
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x2c
je 0x4a87fa
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a87fc
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a8816
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x2d
je 0x4a882b
mov ecx, esi
call fcn.00410c30
jmp 0x4a882d
xor eax, eax
push 0x530c80
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a8850
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a8885
mov eax, dword [esp + 0x50]
mov byte [esp + 0x484], 0
test eax, eax
je 0x4a886a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x484], 0xffffffff
call fcn.004d5fb0
xor eax, eax
jmp 0x4a9577
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x484], 0x2e
je 0x4a88ae
push esi
mov ecx, eax
call fcn.00410ba0
mov esi, eax
jmp 0x4a88b0
xor esi, esi
test esi, esi
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a88ca
push 0x8007000e
call fcn.004ddb30
test esi, esi
mov byte [esp + 0x484], 0x2f
je 0x4a88df
mov ecx, esi
call fcn.00410c30
jmp 0x4a88e1
xor eax, eax
push str._changeskin
push eax
call ebp
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
test esi, esi
je 0x4a8904
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a8b26
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov edx, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x31
mov dword [esp + 0x10], ecx
call dword [edx + 4]
mov eax, dword [0x534040]
mov bl, 0x32
cmp eax, ebp
mov byte [esp + 0x484], bl
jne 0x4a899a
cmp dword [0x53403c], ebp
jne 0x4a899a
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x484], 0x33
je 0x4a896d
mov ecx, eax
call fcn.00431c60
jmp 0x4a896f
xor eax, eax
mov dword [0x53403c], eax
mov eax, dword [0x525888]
push eax
push 0x4031b0
mov ecx, 0x538d90
mov byte [esp + 0x48c], bl
call fcn.00402180
mov dword [0x534040], 1
mov edx, dword [0x53a3c0]
mov esi, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x31
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [eax + 8]
test eax, eax
mov eax, dword [esp + 0x18]
jl 0x4a8af1
cmp eax, ebp
je 0x4a8af1
push 0x526890
lea edx, [esp + 0x28]
push eax
push edx
call fcn.004030c0
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
push eax
call fcn.004dcf9e
mov ecx, dword [esp + 0x14]
push 0x5c
mov byte [esp + 0x488], 0x34
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x10]
dec esi
lea ecx, [esp + 0x14]
push esi
push edx
call sub.MFC42.DLL_CString::Right
mov esi, dword [esp + 0x10]
mov bl, 0x35
push 0xc
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x484], 0x36
je 0x4a8a51
push esi
mov ecx, eax
call fcn.00410b60
mov esi, eax
jmp 0x4a8a53
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], bl
mov dword [esp + 0x28], esi
jne 0x4a8a6c
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x37
je 0x4a8a7c
mov ecx, dword [esi]
jmp 0x4a8a7e
xor ecx, ecx
mov eax, dword [esp + 0x24]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
cmp esi, ebp
je 0x4a8a94
mov ecx, esi
call fcn.00410be0
mov eax, dword [esp + 0x14]
push 0x207
push eax
push 0x538b50
mov byte [0x538d57], 0
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
push 0x538b50
push ebp
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 + 0x484], 0x34
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x484], 0x31
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x484], 0x30
cmp ecx, ebp
je 0x4a8b0b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x484], 1
je 0x4a9531
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a9531
mov edx, dword [esp + 0x1c]
push 0xc
mov edi, dword [edx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor ebp, ebp
mov byte [esp + 0x484], 0x38
cmp esi, ebp
je 0x4a8b72
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 0x4a8b74
cmp edi, ebp
je 0x4a8b74
push 0x8007000e
call fcn.004ddb30
jmp 0x4a8b74
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a8b8e
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x39
je 0x4a8ba3
mov ecx, esi
call fcn.00410c30
jmp 0x4a8ba5
xor eax, eax
push str._openboxfile
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4a8bcc
mov ecx, esi
call fcn.00410be0
mov eax, dword [esp + 0x1c]
test bl, bl
je 0x4a8c1a
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.004dcf9e
push ebp
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x490], 0x3a
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x54]
call fcn.004abd50
lea ecx, [esp + 0x10]
mov byte [esp + 0x484], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4a9531
mov edi, dword [eax + 4]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x484], 0x3b
je 0x4a8c60
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 0x4a8c62
cmp edi, ebp
je 0x4a8c62
push 0x8007000e
call fcn.004ddb30
jmp 0x4a8c62
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a8c7c
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x3c
je 0x4a8c91
mov ecx, esi
call fcn.00410c30
jmp 0x4a8c93
xor eax, eax
push str._cookies
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4a8cba
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a8ccc
mov ecx, dword [esp + 0x4c]
call fcn.004ac5e0
jmp 0x4a9531
mov ecx, dword [esp + 0x1c]
push 0xc
mov edi, dword [ecx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x484], 0x3d
je 0x4a8d16
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 0x4a8d18
cmp edi, ebp
je 0x4a8d18
push 0x8007000e
call fcn.004ddb30
jmp 0x4a8d18
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a8d32
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x3e
je 0x4a8d47
mov ecx, esi
call fcn.00410c30
jmp 0x4a8d49
xor eax, eax
push str._openboxfile_playnow
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4a8d70
mov ecx, esi
call fcn.00410be0
mov edx, dword [esp + 0x1c]
test bl, bl
je 0x4a9076
mov eax, dword [edx + 8]
lea ecx, [esp + 0x28]
push eax
call fcn.004dcf9e
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x490], 0x3f
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x54]
call fcn.004abd50
cmp dword [esp + 0x30], 4
jle 0x4a9060
mov eax, dword [esp + 0x1c]
push 0xc
mov edi, dword [eax + 0xc]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x484], 0x40
je 0x4a8e02
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 0x4a8e04
cmp edi, ebp
je 0x4a8e04
push 0x8007000e
call fcn.004ddb30
jmp 0x4a8e04
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 0x3f
mov dword [esp + 0x10], esi
jne 0x4a8e1e
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x41
je 0x4a8e51
cmp dword [esi + 4], ebp
jne 0x4a8e4c
mov ecx, dword [esi]
push ecx
call fcn.004ddc52
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4a8e4c
cmp dword [esi], ebp
je 0x4a8e4c
push 0x8007000e
call fcn.004ddb30
mov eax, dword [esi + 4]
jmp 0x4a8e53
xor eax, eax
push str._from
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
sete bl
cmp esi, ebp
je 0x4a8e72
mov ecx, esi
call fcn.00410be0
test bl, bl
je 0x4a9060
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov edx, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x43
mov dword [esp + 0x10], 0x53a3c0
call dword [edx + 4]
mov eax, dword [0x534040]
mov bl, 0x44
cmp eax, ebp
mov byte [esp + 0x484], bl
jne 0x4a8f0a
cmp dword [0x53403c], ebp
jne 0x4a8f0a
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebp
mov byte [esp + 0x484], 0x45
je 0x4a8edd
mov ecx, eax
call fcn.00431c60
jmp 0x4a8edf
xor eax, eax
mov dword [0x53403c], eax
mov eax, dword [0x525888]
push eax
push 0x4031b0
mov ecx, 0x538d90
mov byte [esp + 0x48c], bl
call fcn.00402180
mov dword [0x534040], 1
mov edx, dword [0x53a3c0]
mov esi, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x43
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4a9030
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4a9034
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov edx, dword [eax]
push ecx
push 0x526890
push eax
call dword [edx]
cmp esi, ebp
je 0x4a8f66
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x10], ebp
je 0x4a9030
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x104], ebp
je 0x4a9030
mov ecx, dword [0x538b24]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
je 0x4a8fca
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.00495df0
cmp eax, ebp
jge 0x4a8fc6
cmp eax, 0x80004002
je 0x4a8fc6
push eax
call fcn.004ddb30
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0x484], 0x46
je 0x4a901e
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea eax, [edi + edi + 2]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x10]
mov esi, eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edx, dword [esp + 0x5c]
add esp, 0x10
mov word [esi + edi*2], bp
mov eax, dword [edx + 0x20]
push 1
push esi
push 0xc04
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0x484], 0x43
je 0x4a9030
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x484], 0x42
cmp ecx, ebp
je 0x4a904e
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x484], 0x3f
je 0x4a9060
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x484], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4a9531
mov edi, dword [edx + 4]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x484], 0x47
je 0x4a90bc
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 0x4a90be
cmp edi, ebp
je 0x4a90be
push 0x8007000e
call fcn.004ddb30
jmp 0x4a90be
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a90d8
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x48
je 0x4a910b
cmp dword [esi + 4], ebp
jne 0x4a9106
mov eax, dword [esi]
push eax
call fcn.004ddc52
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4a9106
cmp dword [esi], ebp
je 0x4a9106
push 0x8007000e
call fcn.004ddb30
mov eax, dword [esi + 4]
jmp 0x4a910d
xor eax, eax
push str._box
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4a9144
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4a9144
push 1
mov ecx, esi
call fcn.004223e0
test bl, bl
je 0x4a91a9
call fcn.00474aa0
cmp eax, ebp
je 0x4a9531
cmp dword [esp + 0x30], 2
jle 0x4a9531
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea eax, [edi + edi + 2]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edx, dword [esp + 0x5c]
add esp, 0x10
mov word [esi + edi*2], bp
mov eax, dword [edx + 0x20]
push 1
push esi
push 0xc04
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4a9531
mov ecx, dword [esp + 0x1c]
push 0xc
mov edi, dword [ecx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x484], 0x49
je 0x4a91f3
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 0x4a91f5
cmp edi, ebp
je 0x4a91f5
push 0x8007000e
call fcn.004ddb30
jmp 0x4a91f5
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a920f
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x4a
je 0x4a9242
cmp dword [esi + 4], ebp
jne 0x4a923d
mov edx, dword [esi]
push edx
call fcn.004ddc52
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4a923d
cmp dword [esi], ebp
je 0x4a923d
push 0x8007000e
call fcn.004ddb30
mov eax, dword [esi + 4]
jmp 0x4a9244
xor eax, eax
push str._normal
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
sete bl
cmp esi, ebp
je 0x4a927b
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4a927b
push 1
mov ecx, esi
call fcn.004223e0
test bl, bl
je 0x4a93fe
cmp dword [esp + 0x30], 2
jle 0x4a9531
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov edx, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x4c
mov dword [esp + 0x10], 0x53a3c0
call dword [edx + 4]
mov eax, dword [0x534040]
mov bl, 0x4d
cmp eax, ebp
mov byte [esp + 0x484], bl
jne 0x4a931e
cmp dword [0x53403c], ebp
jne 0x4a931e
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x484], 0x4e
je 0x4a92f1
mov ecx, eax
call fcn.00431c60
jmp 0x4a92f3
xor eax, eax
mov dword [0x53403c], eax
mov eax, dword [0x525888]
push eax
push 0x4031b0
mov ecx, 0x538d90
mov byte [esp + 0x48c], bl
call fcn.00402180
mov dword [0x534040], 1
mov edx, dword [0x53a3c0]
mov esi, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x484], 0x4c
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4a93d7
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4a93db
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov edx, dword [eax]
push ecx
push 0x526890
push eax
call dword [edx]
cmp esi, ebp
je 0x4a937a
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x10], ebp
je 0x4a93d7
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea ecx, [edi + edi + 2]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, eax
push edx
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov word [esi + edi*2], bp
mov ecx, dword [eax + 0x20]
push 1
push esi
push 0xc04
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x484], 0x4b
cmp ecx, ebp
je 0x4a8b0b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x18]
jmp 0x4a8b0b
mov edx, dword [esp + 0x1c]
push 0xc
mov edi, dword [edx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
mov byte [esp + 0x484], 0x4f
je 0x4a9448
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 0x4a944a
cmp edi, ebp
je 0x4a944a
push 0x8007000e
call fcn.004ddb30
jmp 0x4a944a
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x484], 1
mov dword [esp + 0x10], esi
jne 0x4a9464
push 0x8007000e
call fcn.004ddb30
cmp esi, ebp
mov byte [esp + 0x484], 0x50
je 0x4a9497
cmp dword [esi + 4], ebp
jne 0x4a9492
mov eax, dword [esi]
push eax
call fcn.004ddc52
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4a9492
cmp dword [esi], ebp
je 0x4a9492
push 0x8007000e
call fcn.004ddb30
mov eax, dword [esi + 4]
jmp 0x4a9499
xor eax, eax
push str._tag
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
mov byte [esp + 0x484], 1
test eax, eax
setne bl
cmp esi, ebp
je 0x4a94ed
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4a94ed
mov eax, dword [esi]
cmp eax, ebp
je 0x4a94d4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4a94e4
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
test bl, bl
je 0x4a9515
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea eax, [edi + edi + 2]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 4]
mov esi, eax
jmp 0x4a917f
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00448dd0
mov ecx, dword [esp + 0x1c]
push 1
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.00448800
mov eax, dword [esp + 0x50]
mov byte [esp + 0x484], 0
test eax, eax
je 0x4a9547
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x484], 0xffffffff
mov dword [eax + 0x104], esi
call fcn.004d5fb0
mov eax, 1
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x478
ret 4