Function at 0x4fca70
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check os version
Parse pe header
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56b86b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x508
mov eax, dword [esp + 0x518]
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 + 0x114]
mov dword [esp + 0x3c], esi
call fcn.00544690
push 1
push 0x5c5970
push 0x5c5968
lea ecx, [esp + 0x114]
mov dword [esp + 0x52c], esi
call fcn.00544a70
mov eax, dword [esp + 0x50c]
cmp eax, 0x200
mov eax, dword [esp + 0x508]
ja 0x4fcaee
lea eax, [esp + 0x108]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x4fee77
cmp dword [esp + 0x30], 1
jle 0x4fee6a
mov eax, dword [0x5cb0b8]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov dword [0x5d016c], 1
je 0x4fee6a
test eax, eax
mov dword [esp + 0x34], eax
je 0x4fee6a
mov dword [esp + 0x58], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x58]
push ecx
push eax
mov byte [esp + 0x528], 1
call dword [edx + 0xc0]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4fecdc
mov edx, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [edx + 0x24]
mov ebp, dword [esp + 0x24]
push 0xc
mov esi, dword [ebp + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
xor edi, edi
mov byte [esp + 0x520], 2
cmp eax, edi
je 0x4fcb9c
push esi
mov ecx, eax
call fcn.00412730
jmp 0x4fcb9e
xor eax, eax
cmp eax, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x50], eax
jne 0x4fcbbc
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x50]
mov bl, 3
cmp eax, edi
mov byte [esp + 0x520], bl
je 0x4fcbd2
mov ecx, eax
call fcn.004127c0
jmp 0x4fcbd4
xor eax, eax
push str._play
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x4fcc65
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x520], 4
je 0x4fcc0e
push esi
mov ecx, eax
call fcn.00412730
jmp 0x4fcc10
xor eax, eax
cmp eax, edi
mov byte [esp + 0x520], bl
mov dword [esp + 0x1c], eax
jne 0x4fcc2d
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0x520], 5
je 0x4fcc42
mov ecx, eax
call fcn.004127c0
jmp 0x4fcc44
xor eax, eax
push str._stmplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.004126a0
test bl, bl
je 0x4fcc67
mov bl, 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x520], 1
call fcn.004126a0
mov esi, dword [ebp + 4]
push 0xc
test bl, bl
je 0x4fd242
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x520], 6
je 0x4fcca7
push esi
mov ecx, eax
call fcn.00412730
jmp 0x4fcca9
xor eax, eax
cmp eax, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x1c], eax
jne 0x4fccc7
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0x520], 7
je 0x4fccdc
mov ecx, eax
call fcn.004127c0
jmp 0x4fccde
xor eax, eax
push str._stmplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
mov byte [esp + 0x520], 1
call fcn.004126a0
test bl, bl
je 0x4fcd12
push str.stmplay
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x74]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x78], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov al, byte [0x5d012c]
test al, 1
jne 0x4fcd4e
mov ecx, dword [esp + 0x78]
or al, 1
mov byte [0x5d012c], al
mov dword [0x5d0128], ecx
jmp 0x4fcd54
mov ecx, dword [0x5d0128]
test al, 2
jne 0x4fcd68
or al, 2
mov byte [0x5d012c], al
mov eax, dword [esp + 0x7c]
mov dword [0x5d0124], eax
cmp ecx, 4
je 0x4fcd7d
cmp ecx, 5
jne 0x4fcd86
mov eax, dword [0x5d0124]
xor edi, edi
cmp eax, edi
jne 0x4fcd88
mov byte [0x5d0170], 1
jmp 0x4fcd95
xor edi, edi
mov al, byte [0x5d0170]
test al, al
je 0x4fcfe4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x5d0174]
mov ebp, eax
mov ecx, ebp
sub ecx, edx
cmp ecx, 0x3e8
jle 0x4fcfc5
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 9
mov dword [esp + 0x2c], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0xa
cmp eax, edi
mov byte [esp + 0x520], bl
jne 0x4fce41
cmp dword [0x5cb0c8], edi
jne 0x4fce41
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x520], 0xb
je 0x4fce14
mov ecx, eax
call fcn.0045e9d0
jmp 0x4fce16
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x528], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 9
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4fceaf
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4fceaf
push 0x5b68d0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.00423a70
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
cmp dword [esp + 0x10], edi
je 0x4fceaf
mov ecx, dword [0x5cb0b8]
mov dword [esp + 0x54], edi
cmp ecx, edi
je 0x4fceaf
call fcn.00482ad0
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
push 1
mov eax, dword [esi + 8]
push eax
call fcn.00482420
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [esp + 0x20], edi
je 0x4fcf97
mov al, byte [esp + 0x3b]
mov dword [esp + 0x40], edi
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x520], 0xc
call fcn.0052e7e0
mov edx, dword [esi + 8]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x528], 0xd
call fcn.0052e850
mov ecx, dword [esp + 0x40]
cmp ecx, edi
jne 0x4fcf26
xor eax, eax
jmp 0x4fcf2f
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 4
cmp eax, edi
jle 0x4fcf5c
xor esi, esi
mov edi, eax
jmp 0x4fcf3d
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4fcf4a
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 + 0x34]
push 0
push eax
call fcn.00482420
add esi, 0x10
dec edi
jne 0x4fcf39
lea ecx, [esp + 0x60]
mov byte [esp + 0x520], 0xc
call fcn.0052e820
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x528], 9
call fcn.0050ab60
mov edx, dword [esp + 0x40]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x14]
mov byte [esp + 0x520], 8
cmp eax, edi
je 0x4fcfad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x520], 1
cmp eax, edi
je 0x4fcfc7
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4fcfc7
xor edi, edi
mov eax, dword [esp + 0x24]
push edi
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00482420
mov dword [0x5d0174], ebp
jmp 0x4fecdc
mov esi, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0xf
mov dword [esp + 0x20], 0x5d2a60
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov byte [esp + 0x520], 0x10
cmp eax, edi
jne 0x4fd079
cmp dword [0x5cb0c8], edi
jne 0x4fd079
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x520], 0x11
je 0x4fd04f
mov ecx, eax
call fcn.0045e9d0
jmp 0x4fd051
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x528], 0x10
call fcn.00406500
mov dword [0x5cb0cc], esi
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0xf
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4fd0e7
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4fd0e7
push 0x5b68d0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.00423a70
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
cmp dword [esp + 0x10], edi
je 0x4fd0e7
mov ecx, dword [0x5cb0b8]
mov dword [esp + 0x54], edi
cmp ecx, edi
je 0x4fd0e7
call fcn.00482ad0
mov eax, dword [esp + 0x30]
xor esi, esi
add eax, 0xfffffffe
xor ebp, ebp
test eax, eax
jle 0x4fd20d
mov ecx, dword [esp + 0x24]
lea ebx, [ecx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
xor edx, edx
cmp eax, 1
mov eax, dword [ebx]
sete dl
push edx
push eax
call fcn.00482420
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x24], esi
call dword [ecx + 0x24]
cmp dword [esp + 0x20], esi
je 0x4fd1fa
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 + 0x60]
mov byte [esp + 0x520], 0x12
call fcn.0052e7e0
mov edx, dword [ebx]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x528], 0x13
call fcn.0052e850
mov ecx, dword [esp + 0x40]
cmp ecx, esi
je 0x4fd1b3
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 4
cmp eax, esi
jle 0x4fd1b3
xor esi, esi
mov edi, eax
jmp 0x4fd194
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4fd1a1
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 + 0x34]
push 0
push eax
call fcn.00482420
add esi, 0x10
dec edi
jne 0x4fd190
lea ecx, [esp + 0x60]
mov byte [esp + 0x520], 0x12
call fcn.0052e820
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x528], 0xf
call fcn.0050ab60
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 0x4fd101
mov eax, dword [esp + 0x14]
mov byte [esp + 0x520], 0xe
cmp eax, esi
je 0x4fd223
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x520], 1
cmp eax, esi
je 0x4fecdc
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4fecdc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x520], 0x14
je 0x4fd264
push esi
mov ecx, eax
call fcn.00412730
jmp 0x4fd266
xor eax, eax
cmp eax, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x50], eax
jne 0x4fd284
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x50]
mov bl, 0x15
cmp eax, edi
mov byte [esp + 0x520], bl
je 0x4fd29a
mov ecx, eax
call fcn.004127c0
jmp 0x4fd29c
xor eax, eax
push str._addtolist
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x4fd32d
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x520], 0x16
je 0x4fd2d6
push esi
mov ecx, eax
call fcn.00412730
jmp 0x4fd2d8
xor eax, eax
cmp eax, edi
mov byte [esp + 0x520], bl
mov dword [esp + 0x1c], eax
jne 0x4fd2f5
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0x520], 0x17
je 0x4fd30a
mov ecx, eax
call fcn.004127c0
jmp 0x4fd30c
xor eax, eax
push str._stmaddtolist
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.004126a0
test bl, bl
je 0x4fd32f
mov bl, 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x520], 1
call fcn.004126a0
mov esi, dword [ebp + 4]
push 0xc
test bl, bl
je 0x4fd64f
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x520], 0x18
je 0x4fd36f
push esi
mov ecx, eax
call fcn.00412730
jmp 0x4fd371
xor eax, eax
cmp eax, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x1c], eax
jne 0x4fd38f
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0x520], 0x19
je 0x4fd3a4
mov ecx, eax
call fcn.004127c0
jmp 0x4fd3a6
xor eax, eax
push str._stmaddtolist
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.004126a0
test bl, bl
je 0x4fd3d2
push str.stmaddtolist
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov eax, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x1b
mov dword [esp + 0x2c], 0x5d2a60
call dword [eax + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x1c
cmp eax, edi
mov byte [esp + 0x520], bl
jne 0x4fd462
cmp dword [0x5cb0c8], edi
jne 0x4fd462
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x520], 0x1d
je 0x4fd434
mov ecx, eax
call fcn.0045e9d0
jmp 0x4fd436
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [esp + 0x520], bl
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x1b
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4fd4d0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4fd4d0
push 0x5b68d0
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.00423a70
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
cmp dword [esp + 0x10], edi
je 0x4fd4d0
mov ecx, dword [0x5cb0b8]
mov dword [esp + 0x54], edi
cmp ecx, edi
je 0x4fd4d0
call fcn.00482ad0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4fd4e7
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
add ecx, 0xfffffffe
test ecx, ecx
jle 0x4fd61c
mov edx, dword [esp + 0x24]
xor esi, esi
lea ebp, [edx + 8]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x34]
push esi
push eax
call fcn.00482420
mov eax, dword [ebp]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x20], esi
je 0x4fd5ec
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 + 0x60]
mov byte [esp + 0x520], 0x1f
call fcn.0052e7e0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x60]
push edx
push ebx
mov byte [esp + 0x528], 0x20
call fcn.0052e850
mov ecx, dword [esp + 0x40]
cmp ecx, esi
je 0x4fd5a5
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 4
cmp eax, esi
jle 0x4fd5a5
xor esi, esi
mov edi, eax
jmp 0x4fd586
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4fd593
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 + 0x34]
push 0
push eax
call fcn.00482420
add esi, 0x10
dec edi
jne 0x4fd582
lea ecx, [esp + 0x60]
mov byte [esp + 0x520], 0x1f
call fcn.0052e820
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x528], 0x1e
call fcn.0050ab60
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
push ebx
mov byte [esp + 0x524], 0x1b
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc eax
add ecx, 0xfffffffe
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4fd503
mov eax, dword [esp + 0x18]
jmp 0x4fd61e
xor esi, esi
cmp eax, esi
mov byte [esp + 0x520], 0x1a
je 0x4fd630
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x520], 1
cmp eax, esi
je 0x4fecdc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4fecdc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x520], 0x21
je 0x4fd673
push esi
mov ecx, eax
call fcn.00412730
mov edi, eax
jmp 0x4fd675
xor edi, edi
test edi, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], edi
jne 0x4fd68f
push 0x8007000e
call fcn.005505fa
mov bl, 0x22
test edi, edi
mov byte [esp + 0x520], bl
je 0x4fd6a5
mov ecx, edi
call fcn.004127c0
jmp 0x4fd6a7
xor eax, eax
push str._addandplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x4fd738
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x520], 0x23
je 0x4fd6e3
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fd6e5
xor esi, esi
test esi, esi
mov byte [esp + 0x520], bl
mov dword [esp + 0x20], esi
jne 0x4fd6fe
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x24
je 0x4fd713
mov ecx, esi
call fcn.004127c0
jmp 0x4fd715
xor eax, eax
push str._stmaddandplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
sete bl
test esi, esi
je 0x4fd734
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fd73a
mov bl, 1
test edi, edi
mov byte [esp + 0x520], 1
je 0x4fd74d
mov ecx, edi
call fcn.00412770
mov esi, dword [ebp + 4]
push 0xc
test bl, bl
je 0x4fd829
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x520], 0x25
je 0x4fd77e
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fd780
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fd79a
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x26
je 0x4fd7af
mov ecx, esi
call fcn.004127c0
jmp 0x4fd7b1
xor eax, eax
push str._stmaddandplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fd7d8
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fd7e7
push str.stmaddandplay
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x30]
xor esi, esi
add edx, 0xfffffffe
mov eax, 1
test edx, edx
jle 0x4fecdc
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
lea edi, [ecx + 8]
mov edx, dword [edi]
push eax
push edx
mov ecx, ebx
call fcn.00482420
mov ecx, dword [esp + 0x30]
xor eax, eax
inc esi
add ecx, 0xfffffffe
add edi, 4
cmp esi, ecx
jl 0x4fd808
jmp 0x4fecdc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x520], 0x27
je 0x4fd84d
push esi
mov ecx, eax
call fcn.00412730
mov edi, eax
jmp 0x4fd84f
xor edi, edi
test edi, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], edi
jne 0x4fd869
push 0x8007000e
call fcn.005505fa
mov bl, 0x28
test edi, edi
mov byte [esp + 0x520], bl
je 0x4fd87f
mov ecx, edi
call fcn.004127c0
jmp 0x4fd881
xor eax, eax
push str._seekplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x4fd912
mov esi, dword [ebp + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x520], 0x29
je 0x4fd8bd
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fd8bf
xor esi, esi
test esi, esi
mov byte [esp + 0x520], bl
mov dword [esp + 0x20], esi
jne 0x4fd8d8
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x2a
je 0x4fd8ed
mov ecx, esi
call fcn.004127c0
jmp 0x4fd8ef
xor eax, eax
push str._stmseekplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
sete bl
test esi, esi
je 0x4fd90e
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fd914
mov bl, 1
test edi, edi
mov byte [esp + 0x520], 1
je 0x4fd927
mov ecx, edi
call fcn.00412770
mov esi, dword [ebp + 4]
push 0xc
test bl, bl
je 0x4fdc83
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x520], 0x2b
je 0x4fd958
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fd95a
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fd974
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x2c
je 0x4fd989
mov ecx, esi
call fcn.004127c0
jmp 0x4fd98b
xor eax, eax
push str._stmseekplay
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fd9b2
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fd9c1
push str.stmseekplay
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], 0
lea eax, [edx - 2]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4fecdc
mov eax, dword [esp + 0x24]
mov bl, 0x2f
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 + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x520], 0x2d
je 0x4fda19
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fda1b
xor esi, esi
cmp esi, edi
mov byte [esp + 0x520], 1
mov dword [esp + 0x2c], esi
jne 0x4fda35
push 0x8007000e
call fcn.005505fa
cmp esi, edi
mov byte [esp + 0x520], 0x2e
je 0x4fda4a
mov ecx, esi
call fcn.004127c0
jmp 0x4fda4c
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x40]
add esp, 4
cmp esi, edi
je 0x4fda65
mov ecx, esi
call fcn.00412770
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x528], bl
call dword [ecx + 0xc0]
cmp dword [esp + 0x18], edi
je 0x4fdc48
mov esi, dword [ebp]
push 0xc
mov byte [esp + 0x524], 0x30
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x520], 0x31
je 0x4fdac1
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fdac3
xor esi, esi
cmp esi, edi
mov byte [esp + 0x520], 0x30
mov dword [esp + 0x2c], esi
jne 0x4fdadd
push 0x8007000e
call fcn.005505fa
cmp esi, edi
mov byte [esp + 0x520], 0x32
je 0x4fdaed
mov ecx, dword [esi]
jmp 0x4fdaef
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 + 0x520], 0x30
je 0x4fdb12
mov ecx, esi
call fcn.00412770
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4fdc35
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov ecx, dword [eax]
push edx
push 0x5be8e0
push eax
call dword [ecx]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x520], 0x33
cmp eax, edi
mov dword [esp + 0x50], edi
je 0x4fdb54
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push 0x5b8e28
push eax
call dword [ecx]
mov eax, dword [esp + 0x50]
mov bl, 0x34
cmp eax, edi
mov byte [esp + 0x520], bl
je 0x4fdb75
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 + 0x28], eax
je 0x4fdb96
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
push 0x5bede8
push ecx
call dword [eax]
mov eax, dword [esp + 0x28]
cmp eax, edi
mov byte [esp + 0x520], 0x35
je 0x4fdbf4
lea edx, [esp + 0x2c]
or esi, 0xffffffff
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc8]
cmp dword [esp + 0x20], edi
je 0x4fdbf0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x88]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x28]
cmp eax, edi
mov byte [esp + 0x520], bl
je 0x4fdc05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x520], 0x33
cmp eax, edi
je 0x4fdc1b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x520], 0x30
cmp eax, edi
je 0x4fdc31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov bl, 0x2f
cmp eax, edi
mov byte [esp + 0x520], bl
je 0x4fdc48
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x520], 1
cmp eax, edi
je 0x4fdc5e
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 0x4fd9f0
jmp 0x4fecdc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x520], 0x36
je 0x4fdca7
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fdca9
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fdcc3
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x37
je 0x4fdcd8
mov ecx, esi
call fcn.004127c0
jmp 0x4fdcda
xor eax, eax
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str._playdvd
push eax
call edi
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fdd03
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fdd1c
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00482ad0
mov eax, dword [ebp + 8]
push 1
jmp 0x4fecd4
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 + 0x520], 0x38
je 0x4fdd45
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fdd47
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fdd61
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x39
je 0x4fdd76
mov ecx, esi
call fcn.004127c0
jmp 0x4fdd78
xor eax, eax
push str._fullscreen
push eax
call edi
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fdd9b
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fddb5
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00482ad0
mov ecx, dword [ebp + 8]
push 1
push ecx
jmp 0x4fecd5
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 + 0x520], 0x3a
je 0x4fddde
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fdde0
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fddfa
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x3b
je 0x4fde0f
mov ecx, esi
call fcn.004127c0
jmp 0x4fde11
xor eax, eax
push str._start
push eax
call edi
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fde34
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fde4e
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00482ad0
mov edx, dword [ebp + 0xc]
push 1
push edx
jmp 0x4fecd5
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 + 0x520], 0x3c
je 0x4fde77
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fde79
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fde93
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x3d
je 0x4fdea8
mov ecx, esi
call fcn.004127c0
jmp 0x4fdeaa
xor eax, eax
push 0x5c5848
push eax
call edi
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fdecd
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fdf05
mov eax, dword [esp + 0x58]
mov byte [esp + 0x520], 0
test eax, eax
je 0x4fdee7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x108]
mov dword [esp + 0x520], 0xffffffff
call fcn.00544810
xor eax, eax
jmp 0x4fee9d
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 + 0x520], 0x3e
je 0x4fdf2e
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x4fdf30
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fdf4a
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x3f
je 0x4fdf5f
mov ecx, esi
call fcn.004127c0
jmp 0x4fdf61
xor eax, eax
push str._changeskin
push eax
call edi
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fdf84
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fe1a6
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x41
mov dword [esp + 0x10], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x42
cmp eax, edi
mov byte [esp + 0x520], bl
jne 0x4fe01a
cmp dword [0x5cb0c8], edi
jne 0x4fe01a
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x520], 0x43
je 0x4fdfed
mov ecx, eax
call fcn.0045e9d0
jmp 0x4fdfef
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x528], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x41
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 0x4fe171
cmp eax, edi
je 0x4fe171
push 0x5b7820
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00423a70
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x14]
push 0x5c
mov byte [esp + 0x524], 0x44
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, 0x45
push 0xc
mov byte [esp + 0x524], bl
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x520], 0x46
je 0x4fe0d1
push esi
mov ecx, eax
call fcn.004126f0
mov esi, eax
jmp 0x4fe0d3
xor esi, esi
cmp esi, edi
mov byte [esp + 0x520], bl
mov dword [esp + 0x20], esi
jne 0x4fe0ec
push 0x8007000e
call fcn.005505fa
cmp esi, edi
mov byte [esp + 0x520], 0x47
je 0x4fe0fc
mov ecx, dword [esi]
jmp 0x4fe0fe
xor ecx, ecx
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
cmp esi, edi
je 0x4fe114
mov ecx, esi
call fcn.00412770
mov eax, dword [esp + 0x14]
push 0x207
push eax
push 0x5cff1c
mov byte [0x5d0123], 0
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
push 0x5cff1c
push edi
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 + 0x520], 0x44
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x520], 0x41
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x520], 0x40
cmp ecx, edi
je 0x4fe18b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x520], 1
je 0x4fecdc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4fecdc
mov edx, dword [esp + 0x24]
push 0xc
mov edi, dword [edx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov byte [esp + 0x520], 0x48
test esi, esi
je 0x4fe1f6
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fe1f8
test edi, edi
je 0x4fe1f8
push 0x8007000e
call fcn.005505fa
jmp 0x4fe1f8
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fe212
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x49
je 0x4fe227
mov ecx, esi
call fcn.004127c0
jmp 0x4fe229
xor eax, eax
push str._openboxfile
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fe250
mov ecx, esi
call fcn.00412770
mov eax, dword [esp + 0x24]
test bl, bl
je 0x4fe29f
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
push 0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x52c], 0x4a
call fcn.0054f83e
mov ecx, dword [esp + 0x54]
call fcn.00504de0
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4fecdc
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 + 0x520], 0x4b
je 0x4fe2e5
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fe2e7
test edi, edi
je 0x4fe2e7
push 0x8007000e
call fcn.005505fa
jmp 0x4fe2e7
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fe301
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x4c
je 0x4fe316
mov ecx, esi
call fcn.004127c0
jmp 0x4fe318
xor eax, eax
push str._cookies
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fe33f
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fe351
mov ecx, dword [esp + 0x4c]
call fcn.00505780
jmp 0x4fecdc
mov ecx, dword [esp + 0x24]
push 0xc
mov edi, dword [ecx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x520], 0x4d
je 0x4fe39b
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fe39d
test edi, edi
je 0x4fe39d
push 0x8007000e
call fcn.005505fa
jmp 0x4fe39d
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fe3b7
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x4e
je 0x4fe3cc
mov ecx, esi
call fcn.004127c0
jmp 0x4fe3ce
xor eax, eax
push str._openboxfile_playnow
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fe3f5
mov ecx, esi
call fcn.00412770
mov edx, dword [esp + 0x24]
test bl, bl
je 0x4fe700
mov eax, dword [edx + 8]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::CString_1
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x52c], 0x4f
call fcn.0054f83e
mov ecx, dword [esp + 0x54]
call fcn.00504de0
cmp dword [esp + 0x30], 4
jle 0x4fe6ea
mov eax, dword [esp + 0x24]
push 0xc
mov edi, dword [eax + 0xc]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x520], 0x50
je 0x4fe487
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fe489
test edi, edi
je 0x4fe489
push 0x8007000e
call fcn.005505fa
jmp 0x4fe489
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 0x4f
mov dword [esp + 0x10], esi
jne 0x4fe4a3
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x51
je 0x4fe4d9
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fe4d4
mov ecx, dword [esi]
push ecx
call fcn.0055071c
test eax, eax
mov dword [esi + 4], eax
jne 0x4fe4d4
cmp dword [esi], 0
je 0x4fe4d4
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x4fe4db
xor eax, eax
push str._from
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
sete bl
xor edi, edi
cmp esi, edi
je 0x4fe4fc
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fe6ea
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x53
mov dword [esp + 0x10], 0x5d2a60
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x54
cmp eax, edi
mov byte [esp + 0x520], bl
jne 0x4fe594
cmp dword [0x5cb0c8], edi
jne 0x4fe594
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x520], 0x55
je 0x4fe567
mov ecx, eax
call fcn.0045e9d0
jmp 0x4fe569
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x528], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x53
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4fe6ba
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4fe6be
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov edx, dword [eax]
push ecx
push 0x5b7820
push eax
call dword [edx]
cmp esi, edi
je 0x4fe5f0
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x10], edi
je 0x4fe6ba
mov ebp, dword [esp + 0x4c]
cmp dword [ebp + 0x160], edi
je 0x4fe6ba
mov ecx, dword [0x5cfedc]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
je 0x4fe654
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
call fcn.0048c000
cmp eax, edi
jge 0x4fe650
cmp eax, 0x80004002
je 0x4fe650
push eax
call fcn.005505fa
mov eax, dword [esp + 0x28]
cmp eax, edi
mov byte [esp + 0x520], 0x56
je 0x4fe6a8
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea edx, [edi + edi + 2]
push edx
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x10
mov word [esi + edi*2], 0
mov ecx, dword [ebp + 0x20]
push 1
push esi
push 0xc04
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
mov byte [esp + 0x520], 0x53
je 0x4fe6ba
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x520], 0x52
cmp ecx, edi
je 0x4fe6d8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x520], 0x4f
je 0x4fe6ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x520], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4fecdc
mov edi, dword [edx + 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 + 0x520], 0x57
je 0x4fe746
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fe748
test edi, edi
je 0x4fe748
push 0x8007000e
call fcn.005505fa
jmp 0x4fe748
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fe762
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x58
je 0x4fe798
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fe793
mov eax, dword [esi]
push eax
call fcn.0055071c
test eax, eax
mov dword [esi + 4], eax
jne 0x4fe793
cmp dword [esi], 0
je 0x4fe793
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x4fe79a
xor eax, eax
push 0x5c57f8
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
test esi, esi
je 0x4fe7c1
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x4fe828
call fcn.004bbc90
test eax, eax
je 0x4fecdc
cmp dword [esp + 0x30], 2
jle 0x4fecdc
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea edx, [edi + edi + 2]
push edx
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [ebx + 8]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x10
mov word [esi + edi*2], 0
mov ecx, dword [esp + 0x4c]
push 1
push esi
push 0xc04
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4fecdc
mov eax, dword [esp + 0x24]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x520], 0x59
je 0x4fe872
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fe874
test edi, edi
je 0x4fe874
push 0x8007000e
call fcn.005505fa
jmp 0x4fe874
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fe88e
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x5a
je 0x4fe8c4
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fe8bf
mov ecx, dword [esi]
push ecx
call fcn.0055071c
test eax, eax
mov dword [esi + 4], eax
jne 0x4fe8bf
cmp dword [esi], 0
je 0x4fe8bf
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x4fe8c6
xor eax, eax
push str._normal
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
sete bl
xor edi, edi
cmp esi, edi
je 0x4fe8ff
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4fe8ff
push 1
mov ecx, esi
call fcn.00443c60
test bl, bl
je 0x4fea8c
cmp dword [esp + 0x30], 2
jle 0x4fecdc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov eax, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x5c
mov dword [esp + 0x10], 0x5d2a60
call dword [eax + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x5d
cmp eax, edi
mov byte [esp + 0x520], bl
jne 0x4fe9a2
cmp dword [0x5cb0c8], edi
jne 0x4fe9a2
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x520], 0x5e
je 0x4fe974
mov ecx, eax
call fcn.0045e9d0
jmp 0x4fe976
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [esp + 0x520], bl
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x520], 0x5c
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4fea65
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4fea69
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov edx, dword [eax]
push ecx
push 0x5b7820
push eax
call dword [edx]
cmp esi, edi
je 0x4fe9fe
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x10], edi
je 0x4fea65
mov ebx, dword [esp + 0x24]
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], 0
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]
xor edi, edi
jmp 0x4fea69
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x520], 0x5b
cmp ecx, edi
je 0x4fe18b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x18]
jmp 0x4fe18b
mov edx, dword [esp + 0x24]
push 0xc
mov edi, dword [edx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x520], 0x5f
je 0x4fead6
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x4fead8
test edi, edi
je 0x4fead8
push 0x8007000e
call fcn.005505fa
jmp 0x4fead8
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4feaf2
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x60
je 0x4feb28
mov eax, dword [esi + 4]
test eax, eax
jne 0x4feb23
mov eax, dword [esi]
push eax
call fcn.0055071c
test eax, eax
mov dword [esi + 4], eax
jne 0x4feb23
cmp dword [esi], 0
je 0x4feb23
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x4feb2a
xor eax, eax
mov ebp, dword [sym.imp.MSVCRT.dll__mbsstr]
push str._tag
push eax
call ebp
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
setne bl
test esi, esi
je 0x4feb6a
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4feb6a
mov ecx, esi
call fcn.004127f0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
test bl, bl
je 0x4febae
mov edx, dword [esp + 0x528]
push 0x5c57dc
push edx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, eax
lea eax, [ebp + ebp + 2]
push eax
call sub.MFC42.DLL_operatornew
mov esi, eax
push edi
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x18
mov word [esi + ebp*2], 0
jmp 0x4fe80d
mov eax, dword [esp + 0x24]
push 0xc
mov edi, dword [eax + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x520], 0x61
je 0x4febfc
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 0x4febfe
test edi, edi
je 0x4febfe
push 0x8007000e
call fcn.005505fa
jmp 0x4febfe
xor esi, esi
test esi, esi
mov byte [esp + 0x520], 1
mov dword [esp + 0x10], esi
jne 0x4fec18
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0x520], 0x62
je 0x4fec4e
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fec49
mov ecx, dword [esi]
push ecx
call fcn.0055071c
test eax, eax
mov dword [esi + 4], eax
jne 0x4fec49
cmp dword [esi], 0
je 0x4fec49
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x4fec50
xor eax, eax
push 0x5c57c8
push eax
call ebp
add esp, 8
mov byte [esp + 0x520], 1
test eax, eax
setne bl
test esi, esi
je 0x4feca0
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4feca0
mov eax, dword [esi]
test eax, eax
je 0x4fec87
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4fec97
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
test bl, bl
je 0x4fecc0
mov eax, dword [esp + 0x4c]
push 0
push 0x3e8
push 0x111
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4fecdc
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00482ad0
mov edx, dword [esp + 0x24]
push 1
mov eax, dword [edx + 4]
push eax
mov ecx, esi
call fcn.00482420
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
sub esi, ecx
test esi, esi
jle 0x4fee54
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push esi
lea eax, [esp + 0x20]
push 0x5bd330
push eax
mov byte [esp + 0x52c], 0x63
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x5d2a80]
mov ecx, 0x5d2a80
add esp, 0xc
mov dword [esp + 0x10], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0c0]
mov bl, 0x64
test eax, eax
mov byte [esp + 0x520], bl
jne 0x4fee1b
mov eax, dword [0x5cb0bc]
test eax, eax
jne 0x4fee1b
push 0x1044
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x520], 0x65
je 0x4fed8d
mov ecx, esi
call fcn.0051b870
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
mov eax, esi
jmp 0x4fed8f
xor eax, eax
mov ebp, dword [0x5b5894]
mov dword [0x5cb0bc], eax
mov eax, dword [0x5d0198]
xor edi, edi
dec eax
mov byte [esp + 0x520], bl
test eax, eax
mov ebx, 0x41c8d0
jl 0x4fedd1
mov ecx, dword [0x5d0194]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 4]
cmp ebp, edx
jge 0x4fedcd
inc edi
add ecx, 8
cmp edi, eax
jle 0x4fedb8
test eax, eax
jge 0x4fede2
push 1
push ebp
push ebx
push edi
mov ecx, 0x5d0190
call fcn.00417800
jmp 0x4fee11
xor esi, esi
test eax, eax
jle 0x4fee11
mov eax, dword [0x5d0194]
cmp dword [eax + esi*8], 0x41c8d0
je 0x4fee11
push 1
push ebp
push ebx
push edi
mov ecx, 0x5d0190
call fcn.00417800
mov ecx, dword [0x5d0198]
inc esi
dec ecx
cmp esi, ecx
jl 0x4fede8
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [esp + 0x520], 0x63
call dword [edx + 8]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0051cf20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x520], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x58]
mov byte [esp + 0x520], 0
test eax, eax
je 0x4fee6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x108]
mov dword [esp + 0x520], 0xffffffff
mov dword [eax + 0x160], esi
call fcn.00544810
mov eax, 1
mov ecx, dword [esp + 0x518]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x514
ret 4