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:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x90
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
movzx eax, byte [global___dbch]
test ebx, ebx
jle 0x4018f0
xor edi, edi
jmp 0x4014bb
add edi, 1
cmp ebx, edi
je 0x401541
mov edx, eax
and edx, 8
je 0x4014b0
mov edx, dword [esi + edi*4]
test edx, edx
je 0x401648
mov eax, edx
shr eax, 0x10
je 0x401588
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x48], edx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x401502
mov eax, dword [ebp - 0x48]
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
add edi, 1
mov dword [esp + 0xc], 0x405047
mov dword [esp + 8], 0x405318
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 0x4014bb
test dl, dl
jne 0x4016a0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
cmp ebx, 1
jne 0x4015a0
test byte [0x403000], 1
jne 0x401788
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
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 0x401502
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 0x4016d0
mov dword [ebp - 0x50], 0
add esi, 8
mov dword [ebp - 0x48], 0
sub ebx, 2
je 0x401f13
mov dword [ebp - 0x4c], eax
jmp 0x401608
cmp ebx, 1
jle 0x4019f2
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x401a0a
mov eax, dword [esi + 4]
sub ebx, 2
add esi, 8
mov dword [ebp - 0x48], eax
test ebx, ebx
je 0x40190d
mov dword [esp + 4], 0x405078
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
je 0x4015e0
mov dword [esp + 4], str._enable
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401658
mov dword [ebp - 0x50], 1
sub ebx, 1
add esi, 4
mov dword [ebp - 0x4c], 1
jmp 0x401600
mov eax, str._null_
jmp 0x401502
mov dword [esp + 4], 0x4050bc
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401fca
movzx eax, byte [global___dbch]
and eax, 1
cmp ebx, 1
jle 0x4020e1
test al, al
jne 0x401880
mov dword [ebp - 0x4c], 1
sub ebx, 2
add esi, 8
jmp 0x401600
mov dword [esp + 0xc], 0x40504b
mov dword [esp + 8], 0x405318
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401549
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 0x40203f
mov eax, ebx
xor ecx, ecx
mov ebx, esi
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], 0
mov esi, eax
mov dword [ebp - 0x48], ecx
jmp 0x401738
cmp esi, 1
jle 0x401e9d
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x401ed3
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x48], eax
test esi, esi
je 0x401bf1
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], 0x405078
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x401850
cmp esi, 1
jle 0x4020ab
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x402075
mov eax, dword [ebx + 4]
sub esi, 2
add ebx, 8
mov dword [ebp - 0x4c], eax
jmp 0x401730
mov dword [esp + 0xc], str.Print_current_tasks_state_n
mov dword [esp + 8], 0x405318
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40156b
mov dword [esp + 4], str._delete
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
test eax, eax
je 0x401b4c
test byte [0x403000], 1
je 0x40156b
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x402289
mov eax, ebx
shr eax, 0x10
je 0x402112
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], 0x405318
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40156b
mov dword [esp + 4], 0x4051b2
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4019b5
mov dword [ebp - 0x50], 6
sub esi, 1
add ebx, 4
jmp 0x401730
mov edx, dword [esi + 4]
test edx, edx
je 0x401f09
mov eax, edx
shr eax, 0x10
je 0x401b37
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x4c], 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 - 0x4c]
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 0x40168a
test al, 8
jne 0x401afe
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
jmp 0x40155e
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401f13
test ecx, ecx
je 0x401a39
call dbg.get_tasks_root_folder
mov ebx, eax
test eax, eax
je 0x401a00
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
lea edx, [ebp - 0x20]
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 0x4022d7
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401a00
mov edx, dword [ebp - 0x50]
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 0x402311
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
jmp 0x40156b
mov dword [esp + 4], 0x4051b8
mov eax, dword [ebx]
mov dword [esp], eax
call edi
test eax, eax
jne 0x402452
movzx eax, byte [global___dbch]
and eax, 1
cmp esi, 1
jle 0x402423
test al, al
jne 0x401a68
sub esi, 2
add ebx, 8
jmp 0x401730
test byte [0x403000], 1
jne 0x401ad5
nop
mov ebx, 1
jmp 0x40156d
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 0x4022bc
mov eax, edx
shr eax, 0x10
je 0x402127
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x54], 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 - 0x54]
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], 0x40504b
mov dword [esp + 8], 0x405318
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 0x40155e
mov dword [esp + 4], edx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4018c0
mov dword [ebp - 0x48], 0
add esi, 8
sub ebx, 2
jne 0x401b77
jmp 0x40213c
test byte [0x403000], 8
jne 0x401bc8
sub ebx, 1
add esi, 4
test ebx, ebx
je 0x401f49
mov dword [esp + 4], 0x4051b2
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
je 0x401b60
mov dword [esp + 4], 0x405078
mov eax, dword [esi]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4021de
cmp ebx, 1
jle 0x4021a8
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x402172
mov eax, dword [esi + 4]
sub ebx, 2
add esi, 8
mov dword [ebp - 0x48], eax
jmp 0x401b6f
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 0x401b69
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov ebx, esi
test eax, eax
je 0x40203f
test ecx, ecx
je 0x4024ce
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 0x402253
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
sub esp, 8
test eax, eax
je 0x401fac
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, ecx
or eax, edx
je 0x401fac
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 0x402354
lea eax, [ebp - 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
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 - 0x48], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0x48]
sub esp, 4
test edx, edx
je 0x40235e
mov eax, dword [ebp - 0x30]
cmp eax, 2
jbe 0x401cfa
cmp byte [edi], 0xff
je 0x4023b2
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 - 0x54], ecx
call ecx
sub esp, 0x18
mov dword [esp + 4], eax
mov dword [ebp - 0x48], eax
mov dword [esp], 0
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
sub esp, 8
mov esi, eax
test eax, eax
je 0x402389
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [ebp - 0x54]
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 0x4022c6
mov eax, dword [ebp - 0x4c]
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 - 0x20], cx
mov word [ebp - 0x30], ax
xor eax, eax
mov ecx, dword [edi]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [ebp - 0x48], edx
mov dword [esp], edi
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 0x48
mov dword [esp], edx
mov dword [ebp - 0x48], eax
call eax
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x48]
call eax
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x4c]
sub esp, 4
test ecx, ecx
js 0x401a00
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x40156d
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 - 0x48]
test eax, eax
je 0x40213c
call dbg.get_tasks_root_folder
mov esi, eax
test eax, eax
je 0x401a00
mov eax, dword [ebp - 0x48]
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 0x40156d
test byte [0x403000], 1
jne 0x402293
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 [esi]
test ebx, ebx
je 0x402419
mov eax, ebx
shr eax, 0x10
je 0x402404
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 0x402012
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
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401819
mov dword [esp + 4], edx
mov dword [esp], str._04x
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 0x4024e1
mov eax, ebx
shr eax, 0x10
je 0x4024b9
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 0x402226
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 0x401fb9
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 0x402389
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 0x401cfa
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 0x401da1
jmp 0x401a00
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402012
mov eax, str._null_
jmp 0x402012
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 0x4024fd
mov eax, ebx
shr eax, 0x10
je 0x4024eb
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
push edx
push edx
test eax, eax
jne 0x402504
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
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402226
test byte [0x403000], 1
jne 0x40250b
mov ebx, 0x80004005
jmp 0x40156d
mov eax, str._null_
jmp 0x402226
mov dword [esp + 4], ebx
mov dword [esp], str._04x
call sym._wine_dbg_sprintf.constprop.0
jmp 0x40248e
mov eax, str._null_
jmp 0x40248e
mov eax, str._invalid_
jmp 0x40248e
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 0x4024d7