Function at 0x401440
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:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa8
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
movzx eax, byte [global___dbch]
test ebx, ebx
jle 0x4018b0
xor edi, edi
jmp 0x40147b
add edi, 1
cmp ebx, edi
je 0x401501
mov edx, eax
and edx, 8
je 0x401470
mov edx, dword [esi + edi*4]
test edx, edx
je 0x401600
mov eax, edx
shr eax, 0x10
je 0x401540
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 0x4014c2
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___FUNCTION__.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 0x40147b
test dl, dl
jne 0x401658
mov dword [esp], 0
call sym._CoInitialize_4
sub esp, 4
cmp ebx, 1
jne 0x401558
test byte [0x403000], 1
jne 0x401748
xor ebx, ebx
call sym._CoUninitialize_0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], edx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4014c2
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
test eax, eax
jne 0x401688
mov dword [ebp - 0x64], 0
add esi, 8
mov dword [ebp - 0x5c], 0
sub ebx, 2
je 0x401ecc
mov dword [ebp - 0x60], eax
jmp 0x4015c0
cmp ebx, 1
jle 0x4019b3
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4019ca
mov eax, dword [esi + 4]
sub ebx, 2
add esi, 8
mov dword [ebp - 0x5c], eax
test ebx, ebx
je 0x4018cc
mov dword [esp + 4], 0x404078
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
je 0x401598
mov dword [esp + 4], str._enable
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401610
mov dword [ebp - 0x64], 1
sub ebx, 1
add esi, 4
mov dword [ebp - 0x60], 1
jmp 0x4015b8
mov eax, str._null_
jmp 0x4014c2
mov dword [esp + 4], 0x4040bc
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401f81
movzx eax, byte [global___dbch]
and eax, 1
cmp ebx, 1
jle 0x402098
test al, al
jne 0x401840
mov dword [ebp - 0x60], 1
sub ebx, 2
add esi, 8
jmp 0x4015b8
mov dword [esp + 0xc], 0x40404b
mov dword [esp + 8], global___FUNCTION__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401509
mov dword [esp + 4], str._create
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401778
add esi, 8
sub ebx, 2
je 0x401ff6
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 0x4016f8
cmp esi, 1
jle 0x401e56
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x401e8c
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x401bb1
mov dword [esp + 4], str._xml
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
je 0x4016d0
mov dword [esp + 4], 0x404078
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401810
cmp esi, 1
jle 0x402062
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40202c
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x60], eax
jmp 0x4016f0
mov dword [esp + 0xc], str.Print_current_tasks_state_n
mov dword [esp + 8], global___FUNCTION__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40152a
mov dword [esp + 4], str._delete
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
test eax, eax
je 0x401b0b
test byte [0x403000], 1
je 0x40152a
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x402282
mov eax, ebx
shr eax, 0x10
je 0x40210b
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 0x4017d9
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___FUNCTION__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40152a
mov dword [esp + 4], 0x4041b2
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401976
mov dword [ebp - 0x64], 6
sub esi, 1
add ebx, 4
jmp 0x4016f0
mov edx, dword [esi + 4]
test edx, edx
je 0x401ec2
mov eax, edx
shr eax, 0x10
je 0x401af6
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 0x401880
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 0x401642
test al, 8
jne 0x401abe
mov dword [esp], 0
call sym._CoInitialize_4
sub esp, 4
jmp 0x40151d
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
test ebx, ebx
je 0x401ecc
test ecx, ecx
je 0x4019f9
call dbg.get_tasks_root_folder
mov ebx, eax
test eax, eax
je 0x4019c0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sym._SysAllocString_4
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 sym._SysFreeString_4
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
test edi, edi
js 0x4022cf
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4019c0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx]
test edx, edx
je 0x401968
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 0x402309
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
jmp 0x40152a
mov dword [esp + 4], 0x4041b8
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x40242a
movzx eax, byte [global___dbch]
and eax, 1
cmp esi, 1
jle 0x4023fb
test al, al
jne 0x401a28
sub esi, 2
add ebx, 8
jmp 0x4016f0
test byte [0x403000], 1
jne 0x401a95
mov ebx, 1
jmp 0x40152c
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
mov edx, dword [ebx + 4]
test edx, edx
je 0x4022c5
mov eax, edx
shr eax, 0x10
je 0x402120
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 0x401a68
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 0x4019a8
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 0x4019c0
mov dword [esp + 0xc], 0x40404b
mov dword [esp + 8], global___FUNCTION__.0
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov dword [esp], 0
call sym._CoInitialize_4
sub esp, 4
jmp 0x40151d
mov dword [esp + 4], edx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401880
mov dword [ebp - 0x5c], 0
add esi, 8
sub ebx, 2
jne 0x401b37
jmp 0x402135
test byte [0x403000], 8
jne 0x401b88
sub ebx, 1
add esi, 4
test ebx, ebx
je 0x401f02
mov dword [esp + 4], 0x4041b2
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
je 0x401b20
mov dword [esp + 4], 0x404078
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4021d7
cmp ebx, 1
jle 0x4021a1
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x40216b
mov eax, dword [esi + 4]
sub ebx, 2
add esi, 8
mov dword [ebp - 0x5c], eax
jmp 0x401b2f
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 0x401b29
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov ebx, esi
test eax, eax
je 0x401ff6
test ecx, ecx
je 0x40248d
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 0x40224c
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 0x401f63
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, ecx
or eax, edx
je 0x401f63
mov dword [esp + 8], ecx
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_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x4020c9
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 0x4020d5
mov eax, dword [ebp - 0x38]
cmp eax, 2
jbe 0x401cba
cmp byte [edi], 0xff
je 0x40234c
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 sym._SysAllocStringLen_8
sub esp, 8
mov esi, eax
test eax, eax
je 0x4020e2
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 0x4022b5
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._SysAllocString_4
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 - 0x60], edx
mov dword [esp], edi
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x60]
sub esp, 0x48
mov dword [ebp - 0x5c], eax
mov dword [esp], edx
call sym._SysFreeString_4
sub esp, 4
mov dword [esp], esi
call sym._SysFreeString_4
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x5c]
sub esp, 4
test ecx, ecx
js 0x4019c0
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x40152c
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
mov eax, str._null_
jmp 0x401880
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x402135
call dbg.get_tasks_root_folder
mov esi, eax
test eax, eax
je 0x4019c0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sym._SysAllocString_4
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 sym._SysFreeString_4
mov eax, dword [esi]
sub esp, 4
mov dword [esp], esi
call dword [eax + 8]
sub esp, 4
jmp 0x40152c
test byte [0x403000], 1
jne 0x40228c
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x4019c0
test byte [0x403000], 1
je 0x4019c0
mov ebx, dword [esi]
test ebx, ebx
je 0x4023f1
mov eax, ebx
shr eax, 0x10
je 0x4023dc
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 0x401fc9
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test al, al
je 0x4019c0
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 0x4019c0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
test byte [0x403000], 1
jne 0x4023a0
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 0x4019c0
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4017d9
mov dword [esp + 4], edx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401a68
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
mov ebx, dword [esi]
test ebx, ebx
je 0x4024a0
mov eax, ebx
shr eax, 0x10
je 0x4023c7
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 0x40221f
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 0x4019c0
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
mov eax, str._null_
jmp 0x4017d9
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 0x401f70
mov dword [esp], esi
call sym._SysFreeString_4
sub esp, 4
jmp 0x4019c0
mov eax, str._null_
jmp 0x401a68
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
test byte [0x403000], 1
je 0x4019c0
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 0x4019c0
cmp byte [edi + 1], 0xfe
jne 0x401cba
sub eax, 2
shr eax, 1
mov dword [esp + 4], eax
lea eax, [edi + 2]
mov dword [esp], eax
call sym._SysAllocStringLen_8
sub esp, 8
mov esi, eax
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
test esi, esi
jne 0x401d60
jmp 0x4019c0
xor eax, eax
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], eax
call sym._wine_dbg_log.constprop.0
jmp 0x4020e2
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x40221f
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401fc9
mov eax, str._null_
jmp 0x401fc9
test al, al
je 0x4019c0
xor ebx, ebx
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], ebx
call sym._wine_dbg_log.constprop.0
jmp 0x4019c0
test byte [0x403000], 1
je 0x4019c0
mov ebx, dword [ebx]
test ebx, ebx
je 0x4024bc
mov eax, ebx
shr eax, 0x10
je 0x4024aa
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
push ecx
push ecx
test eax, eax
jne 0x4024c3
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
xor edx, edx
mov dword [esp + 0x10], 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], edx
call sym._wine_dbg_log.constprop.0
jmp 0x4019c0
test byte [0x403000], 1
jne 0x4024ca
mov ebx, 0x80004005
jmp 0x40152c
mov eax, str._null_
jmp 0x40221f
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402462
mov eax, str._null_
jmp 0x402462
mov eax, str._invalid_
jmp 0x402462
xor eax, eax
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], eax
call sym._wine_dbg_log.constprop.0
jmp 0x402496