Function at 0x407aa0
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea edx, [ebp - 0x164]
push ebx
sub esp, 0x1ac
mov dword [ebp - 0x188], eax
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp], esi
lea esi, [ebp - 0x160]
mov dword [esp + 4], str.bIl
call dword [eax]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x38c
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Could_not_get_IWMPPlayer4_iface:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x154]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x390
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_controls_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x391
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov ecx, dword [ebp - 0x154]
xor eax, eax
mov dword [esp + 4], str.controls__NULL_n
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x160], 0
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x410f38
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x395
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
cmp ebx, 0x80004002
mov dword [esp + 4], str.Getting_IWMPPlayer_from_IWMPControls_SUCCEEDED_n
sete al
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x396
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov ebx, dword [ebp - 0x160]
xor eax, eax
mov dword [esp + 4], str.player___NULL_n
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x14c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x4120e8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x39a
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Failed_to_get_IUnknown__hr__x._n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x39b
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov edi, dword [ebp - 0x14c]
xor eax, eax
mov dword [esp + 4], str.Unexpected_interface_pointer._n
test edi, edi
setne al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x14c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x154]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x150], 0
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x50]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3a3
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_network_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3a4
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov edx, dword [ebp - 0x150]
xor eax, eax
mov dword [esp + 4], str.network__NULL_n
test edx, edx
setne al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x160], 0
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x410f38
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3a8
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.Getting_IWMPPlayer_from_IWMPNetwork_SUCCEEDED_n
setne al
lea ebx, [ebp - 0x15c]
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3a9
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov ecx, dword [ebp - 0x160]
xor eax, eax
mov dword [esp + 4], str.player___NULL_n
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x15c], 0
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4110b8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x3af
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
cmp esi, 0x80004002
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Getting_IWMPPlaylist_from_IWMPPlayer4_succeeded:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3b0
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov esi, dword [ebp - 0x15c]
xor eax, eax
mov dword [esp + 4], str.playlist___NULL_n
test esi, esi
lea esi, [ebp - 0x158]
sete al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x15c], 0
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x54]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3b4
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.IWMPPlayer4_get_currentPlaylist_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3b5
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov edi, dword [ebp - 0x15c]
xor eax, eax
mov dword [esp + 4], str.playlist___NULL_n
test edi, edi
setne al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x158], 0
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4110a8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3bb
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
cmp ebx, 0x80004002
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_currentMedia_SUCCEEDED:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3bc
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov edx, dword [ebp - 0x158]
xor eax, eax
mov dword [esp + 4], str.media___NULL_n
test edx, edx
sete al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x158], 0
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3c1
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
cmp ebx, 1
mov dword [esp + 4], str.get_currentMedia_SUCCEEDED_n
sete al
mov ebx, 0x413680
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3c2
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov ecx, dword [ebp - 0x158]
xor eax, eax
mov dword [esp + 4], str.media___NULL_n
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x413680
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov edx, ebx
sub esp, 8
cmp word [0x413680], 0
je 0x40804c
add edx, 2
cmp word [edx], 0
jne 0x408043
xor eax, eax
mov ecx, 0x74
jmp 0x40805c
movzx ecx, word [eax + 0x410cb4]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x408055
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
mov dword [esp], 0x413680
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov dword [ebp - 0x180], eax
mov dword [esp + 4], 0x56
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18c], eax
mov eax, ebx
shr eax, 0x10
je 0x4097c4
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x413680
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4081d0
cmp word [0x413680], 0
je 0x40811e
lea esi, [esi]
lea esi, [esi]
add eax, 1
cmp word [eax + eax + 0x413680], 0
jne 0x408110
mov edx, 0x224c
lea esi, [ebp - 0x22]
lea ebx, [eax - 1]
mov ecx, 0x413680
mov word [ebp - 0x144], dx
lea edx, [ebp - 0x142]
mov dword [ebp - 0x17c], ecx
test eax, eax
jle 0x408197
cmp edx, esi
ja 0x408197
add dword [ebp - 0x17c], 2
mov eax, dword [ebp - 0x17c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x408d33
ja 0x408450
cmp ax, 9
je 0x408d20
cmp ax, 0xa
jne 0x408cc0
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea esi, [esi]
lea ebx, [eax - 1]
test eax, eax
jg 0x408145
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x4081b1
mov ebx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
mov dword [ebp - 0x184], eax
call fcn.0040ca80
jmp 0x4081e1
lea ecx, [ebp - 0x144]
mov eax, str._invalid_
mov dword [ebp - 0x184], ecx
mov esi, dword [ebp - 0x18c]
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x180], 0xffffffff
mov dword [esp + 4], str.file_creation_failed__at__s__error__d_n
setne al
mov dword [esp + 0xc], esi
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x410cb4
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x5a
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.couldnt_find_resource_n
setne al
mov dword [esp], eax
call fcn.0040bf20
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [esp], 0
call esi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LockResource]
sub esp, 4
mov dword [ebp - 0x17c], eax
mov dword [esp], 0
call esi
mov edi, dword [sym.imp.kernel32.dll_SizeofResource]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x17c]
sub esp, 8
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x180]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp + 4], 0x5d
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov dword [esp], 0
call esi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
mov edi, 0x4101a2
sub esp, 8
cmp dword [ebp - 0x144], eax
sete al
mov dword [esp + 4], str.couldnt_write_resource_n
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x180]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], 0x413680
call sub.oleaut32.dll_SysAllocString
mov dword [0x4138d8], 1
mov esi, eax
sub esp, 4
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x164]
mov dword [0x4138c0], 1
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3c9
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.IWMPPlayer4_put_URL_failed:__08x_n
mov ebx, 1
mov dword [esp], eax
call fcn.0040bf20
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040c090
jmp 0x408409
mov dword [esp + 4], str.expected_GetContainer_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [0x4138d4], 0
mov dword [0x4138d8], 0
call fcn.0040c0e0
call fcn.0040c0c0
test eax, eax
je 0x408480
mov dword [esp + 4], 0x3ca
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov ecx, dword [0x4138d4]
mov eax, 1
test ecx, ecx
jne 0x4083e0
mov dword [esp], ebx
call fcn.0040bd90
test eax, eax
setne al
movzx eax, al
jmp 0x4083e0
cmp ax, 0x22
je 0x408d50
cmp ax, 0x5c
jne 0x408cc0
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x408190
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x4101a2
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040c090
jmp 0x4084f2
mov dword [esp + 4], 0x3cb
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [0x4138bc]
mov dword [esp + 4], str.expected_Invoke_USERMODE_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [0x4138bc], 0
mov dword [0x4138c0], 0
call fcn.0040c0e0
call fcn.0040c0c0
test eax, eax
jne 0x4084b0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x148], 0
lea esi, [ebp - 0x148]
mov dword [0x4138c0], 1
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3d0
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.IWMPPlayer4_get_URL_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3d1
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x409920
shr eax, 0x10
je 0x409800
mov esi, dword [ebp - 0x180]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x18c], str._invalid_
sub esp, 8
test eax, eax
jne 0x408678
cmp word [esi], 0
je 0x4085ca
mov edx, esi
lea esi, [esi]
add eax, 1
cmp word [edx + eax*2], 0
jne 0x4085c0
mov edx, 0x224c
mov ecx, dword [ebp - 0x180]
lea esi, [ebp - 0x22]
lea ebx, [eax - 1]
mov word [ebp - 0x144], dx
lea edx, [ebp - 0x142]
mov dword [ebp - 0x17c], ecx
cmp edx, esi
ja 0x408647
test eax, eax
jle 0x408647
add dword [ebp - 0x17c], 2
mov eax, dword [ebp - 0x17c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x408ea0
ja 0x408c60
cmp ax, 9
je 0x408e83
cmp ax, 0xa
jne 0x408e23
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea esi, [esi]
lea ebx, [eax - 1]
cmp edx, esi
jbe 0x4085f2
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x408661
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
mov eax, dword [ebp - 0x184]
mov dword [esp], eax
call fcn.0040ca80
mov dword [ebp - 0x18c], eax
mov ebx, dword [ebp - 0x148]
test ebx, ebx
je 0x40982b
mov eax, ebx
shr eax, 0x10
je 0x409890
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x409900
cmp word [ebx], 0
je 0x4086bd
add eax, 1
cmp word [ebx + eax*2], 0
jne 0x4086b3
mov edx, 0x224c
lea esi, [ebp - 0x22]
mov dword [ebp - 0x17c], ebx
lea ecx, [eax - 1]
mov word [ebp - 0x144], dx
lea edx, [ebp - 0x142]
test eax, eax
jle 0x408737
nop
cmp edx, esi
ja 0x408737
add dword [ebp - 0x17c], 2
mov eax, dword [ebp - 0x17c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x408d63
ja 0x408c90
cmp ax, 9
je 0x408df3
cmp ax, 0xa
jne 0x408d93
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
lea esi, [esi]
nop
lea ecx, [eax - 1]
test eax, eax
jg 0x4086e0
mov byte [edx], 0x22
lea eax, [edx + 1]
test ecx, ecx
jle 0x408751
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
mov eax, dword [ebp - 0x184]
mov dword [esp], eax
call fcn.0040ca80
mov ebx, dword [ebp - 0x148]
mov esi, eax
mov eax, dword [ebp - 0x180]
mov dword [esp], ebx
mov edi, 0x4101a2
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [ebp - 0x190], eax
call eax
mov ecx, dword [ebp - 0x18c]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 0xc], ecx
movzx eax, al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str._s____s_n
call fcn.0040bf20
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040c090
jmp 0x408822
mov dword [esp + 4], 0x3d2
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [0x4138bc]
mov dword [esp + 4], str.expected_Invoke_USERMODE_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [0x4138bc], 0
mov dword [0x4138c0], 0
call fcn.0040c0e0
call fcn.0040c0c0
test eax, eax
jne 0x4087e0
mov eax, dword [ebp - 0x148]
lea esi, [ebp - 0x158]
mov dword [esp], eax
call sub.oleaut32.dll_SysFreeString
mov eax, dword [ebp - 0x164]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], esi
lea esi, [ebp - 0x148]
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3d6
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_currentMedia_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3d7
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.media____p__n
test eax, eax
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3db
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.IWMPMedia_get_sourceURL_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3dc
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x409910
shr eax, 0x10
je 0x409855
mov edi, dword [ebp - 0x180]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x18c], str._invalid_
sub esp, 8
test eax, eax
jne 0x408a28
cmp word [edi], 0
je 0x40897d
mov edx, edi
add eax, 1
cmp word [edx + eax*2], 0
jne 0x408973
mov ecx, dword [ebp - 0x180]
mov edx, 0x224c
lea esi, [ebp - 0x22]
lea ebx, [eax - 1]
mov word [ebp - 0x144], dx
lea edx, [ebp - 0x142]
mov dword [ebp - 0x17c], ecx
test eax, eax
jle 0x4089f7
cmp edx, esi
ja 0x4089f7
add dword [ebp - 0x17c], 2
mov eax, dword [ebp - 0x17c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x408fb0
ja 0x408eb3
cmp ax, 9
je 0x409023
cmp ax, 0xa
jne 0x408fc3
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea esi, [esi]
lea ebx, [eax - 1]
test eax, eax
jg 0x4089a5
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x408a11
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
mov eax, dword [ebp - 0x184]
mov dword [esp], eax
call fcn.0040ca80
mov dword [ebp - 0x18c], eax
mov ebx, dword [ebp - 0x148]
test ebx, ebx
je 0x409880
mov eax, ebx
shr eax, 0x10
je 0x409835
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4098f0
cmp word [ebx], 0
je 0x408a6d
add eax, 1
cmp word [ebx + eax*2], 0
jne 0x408a63
mov edx, 0x224c
lea esi, [ebp - 0x22]
mov dword [ebp - 0x17c], ebx
lea ecx, [eax - 1]
mov word [ebp - 0x144], dx
lea edx, [ebp - 0x142]
test eax, eax
jle 0x408ae7
nop
cmp edx, esi
ja 0x408ae7
add dword [ebp - 0x17c], 2
mov eax, dword [ebp - 0x17c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x408f93
ja 0x408ee0
cmp ax, 9
je 0x408f63
cmp ax, 0xa
jne 0x408f03
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
lea esi, [esi]
nop
lea ecx, [eax - 1]
test eax, eax
jg 0x408a90
mov byte [edx], 0x22
lea eax, [edx + 1]
test ecx, ecx
jle 0x408b01
mov edi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], di
mov byte [eax], 0
mov eax, dword [ebp - 0x184]
mov dword [esp], eax
call fcn.0040ca80
mov ebx, dword [ebp - 0x148]
mov esi, eax
mov eax, dword [ebp - 0x180]
mov dword [esp], ebx
mov edi, 0x4101a2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x190]
call eax
mov ecx, dword [ebp - 0x18c]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 0xc], ecx
movzx eax, al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str._s____s_n
call fcn.0040bf20
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call sub.oleaut32.dll_SysFreeString
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x158]
mov dword [0x4138d8], 1
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3e1
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.put_currentMedia_failed:__08x_n
mov ebx, 1
mov dword [esp], eax
call fcn.0040bf20
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040c090
jmp 0x408c19
mov dword [esp + 4], str.expected_GetContainer_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [0x4138d4], 0
mov dword [0x4138d8], 0
call fcn.0040c0e0
call fcn.0040c0c0
test eax, eax
je 0x409053
mov dword [esp + 4], 0x3e2
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov esi, dword [0x4138d4]
mov eax, 1
test esi, esi
jne 0x408bf0
mov dword [esp], ebx
call fcn.0040bd90
test eax, eax
setne al
movzx eax, al
jmp 0x408bf0
cmp ax, 0x22
je 0x408e10
cmp ax, 0x5c
jne 0x408e23
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x408640
cmp ax, 0x22
je 0x408d80
cmp ax, 0x5c
jne 0x408d93
mov ebx, 0x5c5c
add edx, 2
mov eax, ecx
mov word [edx - 2], bx
jmp 0x408730
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4097f0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x408190
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x408190
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x408190
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x408190
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
jmp 0x408730
mov edi, 0x225c
add edx, 2
mov eax, ecx
mov word [edx - 2], di
jmp 0x408730
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4098b0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ecx
mov byte [edx - 2], bl
jmp 0x408730
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
jmp 0x408730
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x408640
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4098d0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x408640
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x408640
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x408640
cmp ax, 0x22
je 0x409040
cmp ax, 0x5c
jne 0x408fc3
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x4089f0
cmp ax, 0x22
je 0x408f80
cmp ax, 0x5c
jne 0x408f03
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
jmp 0x408ae0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4098c0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ecx
mov byte [edx - 2], bl
jmp 0x408ae0
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
jmp 0x408ae0
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
jmp 0x408ae0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ecx
jmp 0x408ae0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4089f0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4098e0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x4089f0
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4089f0
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4089f0
mov eax, dword [ebp - 0x158]
lea esi, [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x164]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], esi
lea esi, [ebp - 0x168]
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3e7
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_currentMedia_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3e8
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.media____p__n
test eax, eax
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], 0
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x34]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x3ee
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_settings_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3ef
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov edx, dword [ebp - 0x168]
xor eax, eax
mov dword [esp + 4], str.settings__NULL_n
test edx, edx
setne al
mov dword [esp], eax
call fcn.0040bf20
mov edi, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x184]
mov eax, dword [edi]
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 4], 0x411068
call dword [eax]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3f2
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Could_not_get_IWMPSettings_iface:__08x_n
lea ebx, [ebp - 0x16a]
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3f3
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x168], eax
mov dword [esp + 4], str.settings___settings_qi_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x168]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x3f8
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_get_autoStart_from_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3f9
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
movsx edx, word [ebp - 0x16a]
mov dword [esp + 4], str.autoStart___x_n
cmp dx, 0xffff
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x3fb
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_put_autoStart_in_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x3fd
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_get_autoStart_from_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x3fe
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
movsx edx, word [ebp - 0x16a]
mov dword [esp + 4], str.autoStart___x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x401
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_get_invokeURLs_from_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x402
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
movsx edx, word [ebp - 0x16a]
mov dword [esp + 4], str.invokeURLs___x_n
cmp dx, 0xffff
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x404
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_put_invokeURLs_in_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x406
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_get_invokeURLs_from_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x407
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
movsx edx, word [ebp - 0x16a]
mov dword [esp + 4], str.invokeURLs___x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x70]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x40a
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_get_enableErrorDialogs_from_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x40b
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
movsx edx, word [ebp - 0x16a]
mov dword [esp + 4], str.enableErrorDialogs___x_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x74]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x40d
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Could_not_put_enableErrorDialogs_in_IWMPSettings:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x70]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x40f
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Could_not_get_enableErrorDialogs_from_IWMPSettings:__08x_n
lea ebx, [ebp - 0x160]
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x410
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
movsx edx, word [ebp - 0x16a]
mov dword [esp + 4], str.enableErrorDialogs___x_n
cmp dx, 0xffff
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x168]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x164]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov edi, dword [ebp - 0x188]
sub esp, 4
mov eax, dword [edi]
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], 0x410f38
call dword [eax]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x416
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Could_not_get_IWMPPlayer_iface:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], 0
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x34]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x41a
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.get_settings_failed:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x41b
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov ecx, dword [ebp - 0x168]
xor eax, eax
mov dword [esp + 4], str.settings__NULL_n
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.0040bf20
mov ecx, dword [ebp - 0x184]
mov eax, dword [edi]
mov dword [esp], edi
mov dword [esp + 4], 0x411068
mov dword [esp + 8], ecx
call dword [eax]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x41e
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Could_not_get_IWMPSettings_iface:__08x_n
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp + 4], 0x41f
mov dword [esp], str..._wine_dlls_wmp_tests_oleobj.c
call fcn.0040bcb0
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x168], eax
mov dword [esp + 4], str.settings___settings_qi_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040bf20
mov eax, dword [ebp - 0x144]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x168]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x160]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov esi, dword [ebp - 0x180]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
mov dword [esp], esi
call sub.oleaut32.dll_SysFreeString
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00407150
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x184], ecx
jmp 0x4081e1
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x408190
movzx eax, word [ebp - 0x180]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00407150
mov ebx, dword [ebp - 0x148]
mov dword [ebp - 0x18c], eax
test ebx, ebx
jne 0x408686
mov esi, str._null_
jmp 0x40876a
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00407150
mov ebx, dword [ebp - 0x148]
mov esi, eax
jmp 0x408b1a
movzx eax, word [ebp - 0x180]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00407150
mov ebx, dword [ebp - 0x148]
mov dword [ebp - 0x18c], eax
test ebx, ebx
jne 0x408a36
mov esi, str._null_
jmp 0x408b1a
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00407150
mov ebx, dword [ebp - 0x148]
mov esi, eax
jmp 0x40876a
mov byte [edx], al
add edx, 1
mov eax, ecx
jmp 0x408730
mov byte [edx], al
add edx, 1
mov eax, ecx
jmp 0x408ae0
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x408640
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x4089f0
mov ebx, dword [ebp - 0x148]
mov esi, str._invalid_
jmp 0x408b1a
mov ebx, dword [ebp - 0x148]
mov esi, str._invalid_
jmp 0x40876a
mov dword [ebp - 0x18c], str._null_
jmp 0x408a28
mov dword [ebp - 0x18c], str._null_
jmp 0x408678