Function at 0x401480
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get file size
Get kernel32 base address
Get process heap flags
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx eax, byte [global___dbch]
test ebx, ebx
jle 0x4018f0
xor edi, edi
jmp 0x4014b3
add edi, 1
cmp ebx, edi
je 0x401539
mov edx, eax
and edx, 8
je 0x4014a8
mov edx, dword [esi + edi*4]
test edx, edx
je 0x401640
mov eax, edx
shr eax, 0x10
je 0x401578
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x5c], edx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4014fa
mov eax, dword [ebp - 0x5c]
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
add edi, 1
mov dword [esp + 0xc], 0x404047
mov dword [esp + 8], global___func__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
movzx eax, byte [global___dbch]
mov edx, eax
and edx, 8
cmp ebx, edi
jne 0x4014b3
test dl, dl
jne 0x401698
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
cmp ebx, 1
jne 0x401590
test byte [0x403000], 1
jne 0x401788
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, dx
mov dword [esp], str._04x
mov dword [esp + 4], edx
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4014fa
mov dword [esp + 4], str._change
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.ucrtbase.dll__wcsicmp]
mov dword [esp], eax
call edi
mov ecx, eax
test eax, eax
jne 0x4016c8
mov dword [ebp - 0x64], 0
add esi, 8
mov dword [ebp - 0x5c], 0
sub ebx, 2
je 0x401f1a
mov eax, esi
mov dword [ebp - 0x60], ecx
mov esi, ebx
mov ebx, eax
jmp 0x401600
cmp esi, 1
je 0x4019f2
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x401a0a
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x40190d
mov dword [esp + 4], 0x404078
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
je 0x4015d8
mov dword [esp + 4], str._enable
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401650
mov dword [ebp - 0x64], 1
sub esi, 1
add ebx, 4
mov dword [ebp - 0x60], 1
jmp 0x4015f8
mov eax, str._null_
jmp 0x4014fa
mov dword [esp + 4], 0x4040bc
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401fd1
movzx eax, byte [global___dbch]
and eax, 1
cmp esi, 1
je 0x4020e8
test al, al
jne 0x401880
mov dword [ebp - 0x60], 1
sub esi, 2
add ebx, 8
jmp 0x4015f8
mov dword [esp + 0xc], 0x40404b
mov dword [esp + 8], global___func__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401541
mov dword [esp + 4], str._create
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4017b8
add esi, 8
sub ebx, 2
je 0x402046
mov eax, ebx
xor ecx, ecx
mov ebx, esi
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 0
mov esi, eax
mov dword [ebp - 0x5c], ecx
jmp 0x401738
cmp esi, 1
je 0x401ea4
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x401eda
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x401bf9
mov dword [esp + 4], str._xml
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
je 0x401710
mov dword [esp + 4], 0x404078
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401850
cmp esi, 1
je 0x4020b2
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40207c
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x60], eax
jmp 0x401730
mov dword [esp + 0xc], str.Print_current_tasks_state_n
mov dword [esp + 8], global___func__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401563
mov dword [esp + 4], str._delete
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
test eax, eax
je 0x401b4f
test byte [0x403000], 1
je 0x401563
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x402296
mov eax, ebx
shr eax, 0x10
je 0x402119
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x401819
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_command__s_n
mov dword [esp + 8], global___func__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401563
mov dword [esp + 4], 0x4041b2
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4019b5
mov dword [ebp - 0x64], 6
sub esi, 1
add ebx, 4
jmp 0x401730
mov edx, dword [ebx + 4]
test edx, edx
je 0x401f10
mov eax, edx
shr eax, 0x10
je 0x401b37
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x60], edx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4018c0
mov eax, dword [ebp - 0x60]
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported__tr_option__s_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401682
test al, 8
jne 0x401afe
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
jmp 0x401556
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
test ebx, ebx
je 0x401f1a
test ecx, ecx
je 0x401a39
call dbg.get_tasks_root_folder
mov ebx, eax
test eax, eax
je 0x401a00
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
lea edx, [ebp - 0x28]
mov esi, eax
mov eax, dword [ebx]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x34]
sub esp, 0xc
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
test edi, edi
js 0x4022e4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401a00
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx]
test edx, edx
je 0x4019a7
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [eax + 0x2c]
mov esi, eax
sub esp, 8
mov eax, dword [ebx]
test esi, esi
js 0x40231e
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
jmp 0x401563
mov dword [esp + 4], 0x4041b8
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x402462
movzx eax, byte [global___dbch]
and eax, 1
cmp esi, 1
je 0x402433
test al, al
jne 0x401a68
sub esi, 2
add ebx, 8
jmp 0x401730
test byte [0x403000], 1
jne 0x401ad5
nop
mov ebx, 1
jmp 0x401565
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Duplicated__tn_argument_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing_change_options_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov edx, dword [ebx + 4]
test edx, edx
je 0x4022c9
mov eax, edx
shr eax, 0x10
je 0x402131
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x68], edx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x401aa8
mov eax, dword [ebp - 0x68]
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported__ru_option__s_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x4019e7
mov dword [esp + 0xc], str.Missing__tn_value_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov dword [esp + 0xc], 0x40404b
mov dword [esp + 8], global___func__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
jmp 0x401556
movzx eax, dx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4018c0
mov dword [ebp - 0x5c], 0
add esi, 8
sub ebx, 2
jne 0x401b7f
jmp 0x402149
test byte [0x403000], 8
jne 0x401bd0
sub ebx, 1
add esi, 4
test ebx, ebx
je 0x401f50
mov dword [esp + 4], 0x4041b2
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
je 0x401b68
mov dword [esp + 4], 0x404078
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4021eb
cmp ebx, 1
je 0x4021b5
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x40217f
mov eax, dword [esi + 4]
sub ebx, 2
add esi, 8
mov dword [ebp - 0x5c], eax
jmp 0x401b77
mov dword [esp + 0xc], str.force_opt_n
mov dword [esp + 8], str.delete_command
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401b71
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov ebx, esi
test eax, eax
je 0x402046
test ecx, ecx
je 0x4024e9
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x402260
lea eax, [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
sub esp, 8
test eax, eax
je 0x401fb3
mov eax, dword [ebp - 0x28]
mov ecx, eax
or ecx, dword [ebp - 0x24]
je 0x401fb3
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x402361
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
mov dword [ebp - 0x5c], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0x5c]
sub esp, 4
test edx, edx
je 0x40236b
mov eax, dword [ebp - 0x38]
cmp eax, 2
jbe 0x401d01
cmp byte [edi], 0xff
je 0x4023bf
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x68], ecx
call ecx
sub esp, 0x18
mov dword [esp + 4], eax
mov dword [ebp - 0x5c], eax
mov dword [esp], 0
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
sub esp, 8
mov esi, eax
test eax, eax
je 0x402396
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [ebp - 0x68]
call ecx
sub esp, 0x18
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
call dbg.get_tasks_root_folder
mov edi, eax
test eax, eax
je 0x4022d3
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
xor ecx, ecx
mov edx, eax
xor eax, eax
sub esp, 4
mov word [ebp - 0x28], cx
mov word [ebp - 0x38], ax
xor eax, eax
mov ecx, dword [edi]
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [ebp - 0x5c], edx
mov dword [esp], edi
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 0x48
mov dword [esp], edx
mov dword [ebp - 0x5c], eax
call eax
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x5c]
call eax
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x60]
sub esp, 4
test ecx, ecx
js 0x401a00
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x401565
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing__xml_value_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Duplicated__xml_argument_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov eax, str._null_
jmp 0x4018c0
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing__tn_option_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x402149
call dbg.get_tasks_root_folder
mov esi, eax
test eax, eax
je 0x401a00
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov edi, eax
mov eax, dword [esi]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [eax + 0x3c]
sub esp, 0xc
mov ebx, eax
mov dword [esp], edi
shr ebx, 0x1f
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, dword [esi]
sub esp, 4
mov dword [esp], esi
call dword [eax + 8]
sub esp, 4
jmp 0x401565
test byte [0x403000], 1
jne 0x4022a0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov ebx, dword [ebx]
test ebx, ebx
je 0x402429
mov eax, ebx
shr eax, 0x10
je 0x402411
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x402019
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_arguments__s_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing__tn_argument_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Duplicated__tn_argument_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing__tn_value_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test al, al
je 0x401a00
mov dword [esp + 0xc], str.Missing__tr_value_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401819
movzx eax, dx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401aa8
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing__tn_argument_n
mov dword [esp + 8], str.delete_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Duplicated__tn_argument_n
mov dword [esp + 8], str.delete_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Missing__tn_value_n
mov dword [esp + 8], str.delete_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov ebx, dword [esi]
test ebx, ebx
je 0x4024fc
mov eax, ebx
shr eax, 0x10
je 0x4024d1
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x402233
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_argument__s_n
mov dword [esp + 8], str.delete_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0xc], str.Could_not_open_file_n
mov dword [esp + 8], str.read_file_to_bstr
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov eax, str._null_
jmp 0x401819
mov dword [esp + 0xc], str.Empty_file_n
mov dword [esp + 8], str.read_file_to_bstr
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401fc0
mov eax, str._null_
jmp 0x401aa8
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.GetTask_failed:__08lx_n
mov dword [esp + 8], str.get_registered_task
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
test byte [0x403000], 1
je 0x401a00
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.put_Enabled_failed:__08lx_n
mov dword [esp + 8], str.change_command
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push esi
test byte [0x403000], 1
je 0x402396
xor ebx, ebx
mov dword [esp + 0xc], str.Read_failed_n
mov dword [esp + 8], str.read_file_to_bstr
mov dword [esp + 4], global___dbch
mov dword [esp], ebx
call sym._wine_dbg_log.constprop.0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x401a00
cmp byte [edi + 1], 0xfe
jne 0x401d01
sub eax, 2
shr eax, 1
mov dword [esp + 4], eax
lea eax, [edi + 2]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
xor ecx, ecx
push edx
mov esi, eax
push edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
test esi, esi
jne 0x401da8
jmp 0x401a00
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402019
mov eax, str._null_
jmp 0x402019
test al, al
je 0x401a00
xor ecx, ecx
mov dword [esp + 0xc], str.Missing__ru_value_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], ecx
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
test byte [0x403000], 1
je 0x401a00
mov ebx, dword [ebx]
test ebx, ebx
je 0x40251b
mov eax, ebx
shr eax, 0x10
je 0x402506
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
push edx
push edx
test eax, eax
jne 0x402522
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], str.Unsupported_argument__s_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401a00
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402233
test byte [0x403000], 1
jne 0x40252c
mov ebx, 0x80004005
jmp 0x401565
mov eax, str._null_
jmp 0x402233
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4024a6
mov eax, str._null_
jmp 0x4024a6
mov eax, str._invalid_
jmp 0x4024a6
xor edi, edi
mov dword [esp + 0xc], str.Missing__xml_argument_n
mov dword [esp + 8], str.create_command
mov dword [esp + 4], global___dbch
mov dword [esp], edi
call sym._wine_dbg_log.constprop.0
jmp 0x4024f2