Function at 0x6ad44f90
Capabilities:
Get file size
Read file via mapping

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, 0x78
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
test byte [0x6ad4c0a0], 8
jne 0x6ad450a8
mov eax, ebx
and eax, 0xf
dec eax
cmp eax, 2
mov eax, ebx
mov ebx, 1
sbb esi, esi
and eax, 0xf0
and esi, 0x40000000
add esi, 0x80000000
cmp eax, 0x20
je 0x6ad44ffc
mov ebx, 2
cmp eax, 0x30
je 0x6ad44ffc
xor ebx, ebx
cmp eax, 0x10
setne bl
lea ebx, [ebx + ebx*2]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x30], eax
mov edi, 3
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x6ad451e0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x34], 0x20
jne 0x6ad45070
dec edi
je 0x6ad45070
mov dword [esp], 0x64
call dword [sym.imp.kernel32.dll_Sleep]
sub esp, 4
jmp 0x6ad4500a
test byte [0x6ad4c0a0], 8
jne 0x6ad45120
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovg edi, eax
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test eax, eax
je 0x6ad45658
shr eax, 0x10
je 0x6ad451a0
mov esi, dword [ebp - 0x2c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6ad4e3a9
test edx, edx
jne 0x6ad450e7
mov edx, 0xffffffff
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___s__0x_08lx__n
mov dword [esp + 8], str.MSTASK_IPersistFile_Load
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6ad44fbf
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x6ad45668
shr eax, 0x10
je 0x6ad451c0
mov esi, dword [ebp - 0x2c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6ad4e3a9
test edx, edx
jne 0x6ad4516b
mov edx, 0xffffffff
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_open__s__error__lu_n
mov dword [esp + 8], str.MSTASK_IPersistFile_Load
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6ad4507d
movzx eax, word [ebp - 0x2c]
mov dword [esp], 0x6ad4e3b3
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
jmp 0x6ad450e7
movzx edi, word [ebp - 0x2c]
mov dword [esp], 0x6ad4e3b3
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf_2
jmp 0x6ad4516b
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, dword [ebp - 0x30]
sub esp, 8
mov dword [ebp - 0x38], eax
mov dword [esp], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 0x30]
sub esp, 0x18
test eax, eax
mov dword [ebp - 0x44], eax
je 0x6ad457b0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
mov esi, eax
je 0x6ad45678
mov eax, dword [ebp - 0x34]
sub eax, 4
mov dword [ebp - 0x48], eax
movzx eax, byte [0x6ad4c0a0]
and eax, 8
cmp dword [ebp - 0x38], 0x43
jbe 0x6ad460ec
test al, al
jne 0x6ad45843
cmp word [esi + 2], 1
jne 0x6ad45736
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x34]
movzx edi, byte [0x6ad4c0a0]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x24], eax
test edi, 8
jne 0x6ad45967
movzx eax, word [esi + 0x1c]
mov edx, dword [ebp - 0x34]
mov word [edx + 0x32], ax
movzx eax, word [esi + 0x1e]
mov edx, dword [ebp - 0x34]
mov word [edx + 0x30], ax
mov eax, dword [esi + 0x20]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x38], eax
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x40], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x34]
mov dword [edx + 0x44], eax
mov eax, dword [esi + 0x38]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x3c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x40]
mov dword [edx + 0x50], eax
cmp dword [ebp - 0x38], 0x45
jbe 0x6ad45736
movzx eax, word [esi + 0x44]
mov edx, dword [ebp - 0x34]
mov word [edx + 0x64], ax
movzx edx, word [esi + 0x14]
lea eax, [edx + 2]
cmp dword [ebp - 0x38], eax
jbe 0x6ad45736
mov eax, dword [ebp - 0x38]
mov ebx, 1
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x3c], 0
sub eax, edx
add edx, esi
mov esi, ebx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
shr eax, 1
lea ebx, [esi - 1]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, edi
and eax, 8
mov byte [ebp - 0x40], al
cmp dword [ebp - 0x4c], esi
je 0x6ad45426
lea eax, [edx + 2]
movzx edx, word [edx]
add dword [ebp - 0x3c], 2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + edx]
mov dword [ebp - 0x30], ecx
lea ecx, [esi + esi]
sub eax, ecx
cmp dword [ebp - 0x30], eax
ja 0x6ad45fb3
cmp byte [ebp - 0x40], 0
jne 0x6ad45740
mov eax, dword [ebp - 0x34]
mov eax, dword [eax - 4]
cmp ebx, 3
je 0x6ad457ce
ja 0x6ad456b8
cmp ebx, 1
je 0x6ad45828
cmp ebx, 2
jne 0x6ad457f0
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call dword [eax + 0x90]
sub esp, 8
mov ecx, dword [ebp - 0x30]
add dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x2c]
add edx, ecx
movzx edi, byte [0x6ad4c0a0]
inc esi
lea ebx, [esi - 1]
mov eax, edi
and eax, 8
mov byte [ebp - 0x40], al
cmp dword [ebp - 0x4c], esi
jne 0x6ad45394
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
test al, al
jne 0x6ad460bb
movzx eax, word [esi + 0x16]
lea edx, [eax + 2]
cmp dword [ebp - 0x38], edx
jb 0x6ad45736
movzx edx, word [esi + eax]
mov word [ebp - 0x2c], dx
mov edx, dword [ebp - 0x38]
lea ebx, [edx - 2]
test edi, 8
je 0x6ad45713
movzx eax, word [ebp - 0x2c]
mov dword [esp + 0xc], str.trigger_count__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x30], ecx
call sym._wine_dbg_log.constprop.0_2
movzx eax, word [esi + 0x16]
movzx edi, byte [0x6ad4c0a0]
mov ecx, dword [ebp - 0x30]
sub ebx, eax
test edi, 8
mov dword [ebp - 0x40], ebx
je 0x6ad45718
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.triggers_size__lu_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x4c], ecx
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0x38]
movzx eax, word [esi + 0x14]
add eax, dword [ebp - 0x3c]
sub edx, eax
lea ecx, [esi + eax]
cmp edx, 1
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], edx
jbe 0x6ad46151
movzx edi, byte [0x6ad4c0a0]
mov eax, dword [ebp - 0x30]
movzx ebx, word [eax]
mov eax, edi
and eax, 8
lea edx, [ebx + 2]
mov dword [ebp - 0x3c], edx
cmp edx, dword [ebp - 0x38]
ja 0x6ad46139
test al, al
jne 0x6ad45dec
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
lea edx, [edi + 2]
mov eax, dword [eax - 4]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call dword [eax + 0x58]
mov eax, dword [ebp - 0x38]
add edi, dword [ebp - 0x3c]
sub esp, 0xc
mov ecx, dword [ebp - 0x4c]
sub eax, 2
sub eax, ebx
mov ebx, edi
cmp eax, 1
mov dword [ebp - 0x38], eax
jbe 0x6ad460cf
movzx eax, word [edi]
mov dword [ebp - 0x50], eax
lea edx, [eax + 2]
movzx eax, byte [0x6ad4c0a0]
and eax, 8
cmp dword [ebp - 0x38], edx
jb 0x6ad46121
movzx edi, word [ebp - 0x2c]
add edx, ebx
mov dword [ebp - 0x3c], edx
lea edi, [edi + edi*2]
shl edi, 4
mov dword [ebp - 0x30], edi
test al, al
jne 0x6ad45e38
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x40], edx
jb 0x6ad45736
mov eax, dword [ebp - 0x34]
cmp word [ebp - 0x2c], 0
mov dword [eax + 0x58], 0
je 0x6ad45db4
movzx eax, word [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], ecx
mov esi, dword [ebp - 0x48]
dec eax
lea ebx, [edx + 2]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [edx + eax + 0x32]
mov dword [ebp - 0x2c], eax
jmp 0x6ad45616
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
test edi, edi
jne 0x6ad45efa
add ebx, 0x30
cmp dword [ebp - 0x2c], ebx
je 0x6ad45dae
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
mov eax, dword [eax - 4]
mov dword [esp + 8], edx
lea edx, [ebp - 0x1e]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x6ad455e0
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x2c]
sub esp, 4
jmp 0x6ad4568e
mov eax, 0x6ad4e330
jmp 0x6ad450e7
mov eax, 0x6ad4e330
jmp 0x6ad4516b
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovg edi, eax
mov eax, dword [ebp - 0x44]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x2c], ecx
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
call ebx
sub esp, 4
jmp 0x6ad45093
cmp ebx, 4
jne 0x6ad457f0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], ecx
mov dword [esp], edx
call dword [eax + 0x48]
mov edx, dword [ebp - 0x30]
add dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x40]
sub esp, 8
movzx edi, byte [0x6ad4c0a0]
test edi, 8
jne 0x6ad45d5d
movzx eax, word [esi + 0x16]
lea edx, [eax + 2]
cmp dword [ebp - 0x38], edx
jb 0x6ad45736
movzx edx, word [esi + eax]
mov word [ebp - 0x2c], dx
mov edx, dword [ebp - 0x38]
lea ebx, [edx - 2]
sub ebx, eax
mov dword [ebp - 0x40], ebx
movzx eax, word [esi + 0x14]
add eax, dword [ebp - 0x3c]
lea edx, [esi + eax]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x38]
sub edx, eax
mov dword [ebp - 0x38], edx
cmp edx, 1
ja 0x6ad454ff
mov edi, 0x8004130e
jmp 0x6ad4563f
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
je 0x6ad45e1f
mov edi, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [ebp - 0x40], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x6ad4e3a9
test ecx, ecx
jne 0x6ad45777
mov edx, dword [ebp - 0x40]
mov eax, edi
call sym._wine_dbgstr_wn.part.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.string__lu:__s_n
mov dword [esp + 8], 0x6ad4ee10
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6ad453c2
test byte [0x6ad4c0a0], 8
jne 0x6ad45f25
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x6ad4507d
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call dword [eax + 0x50]
sub esp, 8
jmp 0x6ad453ff
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [ebp - 0x30]
mov edx, edi
add dword [ebp - 0x3c], ecx
sub esp, 8
add edx, ecx
cmp esi, 5
jne 0x6ad4540a
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
jmp 0x6ad456e6
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
call dword [eax + 0x88]
sub esp, 8
jmp 0x6ad453ff
movzx eax, word [esi]
mov dword [esp + 0xc], str.product_version__04x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
test byte [0x6ad4c0a0], 8
mov ecx, dword [ebp - 0x2c]
je 0x6ad452a3
movzx eax, word [esi + 2]
mov dword [esp + 0xc], str.file_version__04x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test byte [0x6ad4c0a0], 8
mov ecx, dword [ebp - 0x2c]
je 0x6ad452a3
lea eax, [esi + 4]
mov edx, eax
shr edx, 0x10
je 0x6ad4602f
movzx eax, byte [esi + 0x13]
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0x12]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0x11]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0x10]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 0xa]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
mov dword [esp], 0x6ad4e348
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.uuid__s_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad452a3
movzx eax, word [esi + 0x14]
mov dword [esp + 0xc], str.name_size_offset__04x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov ecx, dword [ebp - 0x2c]
test edi, 8
je 0x6ad452dc
movzx eax, word [esi + 0x16]
mov dword [esp + 0xc], str.trigger_offset__04x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov ecx, dword [ebp - 0x2c]
test edi, 8
je 0x6ad452dc
movzx eax, word [esi + 0x18]
mov dword [esp + 0xc], str.error_retry_count__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov ecx, dword [ebp - 0x2c]
test edi, 8
je 0x6ad452dc
movzx eax, word [esi + 0x1a]
mov dword [esp + 0xc], str.error_retry_interval__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov ecx, dword [ebp - 0x2c]
test edi, 8
je 0x6ad452dc
movzx eax, word [esi + 0x1c]
mov dword [esp + 0xc], str.idle_deadline__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
movzx eax, word [esi + 0x1c]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
test edi, 8
mov word [ebx + 0x32], ax
je 0x6ad452e7
movzx eax, word [esi + 0x1e]
mov dword [esp + 0xc], str.idle_wait__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
movzx eax, word [esi + 0x1e]
mov ecx, dword [ebp - 0x2c]
test edi, 8
mov word [ebx + 0x30], ax
je 0x6ad452f2
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], str.priority__08x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x2c]
test edi, 8
mov dword [ebx + 0x38], eax
je 0x6ad452fb
mov eax, dword [esi + 0x24]
mov dword [esp + 0xc], str.maximum_runtime__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x2c]
test edi, 8
mov dword [ebx + 0x3c], eax
je 0x6ad45304
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], str.exit_code__x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x2c]
test edi, 8
mov dword [ebx + 0x40], eax
je 0x6ad4530d
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xc], str.status__08lx_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, byte [0x6ad4c0a0]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x2c]
test edi, 8
mov dword [ebx + 0x2c], eax
je 0x6ad45316
mov eax, dword [esi + 0x30]
mov dword [esp + 0xc], str.flags__08x_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov eax, dword [esi + 0x30]
movzx edi, byte [0x6ad4c0a0]
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x34]
test edi, 8
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x50], eax
je 0x6ad45337
movzx eax, word [esi + 0x42]
mov dword [esp + 0x2c], eax
movzx eax, word [esi + 0x40]
mov dword [esp + 0x28], eax
movzx eax, word [esi + 0x3e]
mov dword [esp + 0x24], eax
movzx eax, word [esi + 0x3c]
mov dword [esp + 0x20], eax
movzx eax, word [esi + 0x38]
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 0x34]
mov dword [esp + 0x18], eax
movzx eax, word [esi + 0x36]
mov dword [esp + 0x14], eax
movzx eax, word [esi + 0x3a]
mov dword [esp + 0xc], str.last_runtime__u__u__u_wday__u__u:_02u:_02u._03u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
cmp dword [ebp - 0x38], 0x45
mov ecx, dword [ebp - 0x2c]
jbe 0x6ad4616e
movzx eax, word [esi + 0x44]
mov edx, dword [ebp - 0x34]
movzx edi, byte [0x6ad4c0a0]
mov word [edx + 0x64], ax
test edi, 8
je 0x6ad4534c
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.instance_count__u_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
movzx edx, word [esi + 0x14]
mov ecx, dword [ebp - 0x2c]
lea eax, [edx + 2]
cmp dword [ebp - 0x38], eax
jbe 0x6ad46104
movzx edi, byte [0x6ad4c0a0]
jmp 0x6ad4535c
movzx eax, word [esi + 0x14]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.unicode_strings_end_at__lx_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, word [esi + 0x16]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 2]
cmp dword [ebp - 0x38], edx
jb 0x6ad46188
movzx edi, byte [0x6ad4c0a0]
jmp 0x6ad45444
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
movzx edx, byte [0x6ad4c0a0]
sub eax, dword [ebp - 0x30]
sub eax, 4
sub eax, dword [ebp - 0x50]
and edx, 8
cmp eax, 0x43
jbe 0x6ad45ff8
test dl, dl
jne 0x6ad46069
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [eax + 0x60], 0
jmp 0x6ad4563f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.User_Data_size__lx_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x4c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x4c]
jmp 0x6ad45521
movzx eax, word [ebp - 0x2c]
mov dword [esp], 0x6ad4e3b3
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
jmp 0x6ad45777
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], str.Reserved_Data_size__lx_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x4c], ecx
call sym._wine_dbg_log.constprop.0_2
test byte [0x6ad4c0a0], 8
mov ecx, dword [ebp - 0x4c]
je 0x6ad45596
movzx eax, word [esi + 0x16]
mov edi, dword [ebp - 0x30]
mov dword [esp + 0xc], str.trigger_offset__04x__triggers_end_at__04Ix_n
mov dword [esp + 8], str.load_job_data
lea edx, [edi + eax + 2]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
cmp dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x4c]
jae 0x6ad455a2
test byte [0x6ad4c0a0], 8
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_triggers_data_n
mov dword [esp + 8], str.load_job_data
mov edi, 0x8004130e
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad4563f
movzx edx, word [ebp - 0x1e]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x4c]
mov eax, dword [eax - 4]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
mov dword [esp], edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x2c]
sub esp, 8
jmp 0x6ad4563f
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x6ad460b1
shr eax, 0x10
je 0x6ad4604d
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x30]
mov edx, eax
sub esp, 8
mov eax, 0x6ad4e3a9
test edx, edx
jne 0x6ad45f7c
mov edx, 0xffffffff
mov eax, esi
mov dword [ebp - 0x2c], ecx
call sym._wine_dbgstr_wn.part.0
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_create_file_mapping__s__error__lu_n
mov dword [esp + 8], str.MSTASK_IPersistFile_Load
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad457bd
movzx eax, byte [ebp - 0x40]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
test al, al
je 0x6ad45434
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.invalid_string__lu_size_n
mov dword [esp + 8], 0x6ad4ee10
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad456e6
test dl, dl
je 0x6ad45ddb
mov dword [esp + 0xc], str.no_space_for_signature_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad45ddb
movzx eax, ax
mov dword [esp], 0x6ad4e337
mov dword [esp + 4], eax
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_sprintf_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad45934
movzx edi, word [ebp - 0x2c]
mov dword [esp], 0x6ad4e3b3
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf_2
mov ecx, dword [ebp - 0x30]
jmp 0x6ad45f7c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
lea eax, [eax + edx + 2]
movzx edx, word [eax + 2]
mov dword [esp + 0x14], edx
movzx eax, word [eax]
mov dword [esp + 0xc], str.signature_version__04x__client_version__04x_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x6ad45ddb
mov eax, 0x6ad4e330
jmp 0x6ad45f7c
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.invalid_string__lu_offset_n
jmp 0x6ad45fd4
test byte [0x6ad4c0a0], 8
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_reserved_data_size_n
jmp 0x6ad45ed1
test al, al
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_FIXDLEN_DATA_n
jmp 0x6ad45ed1
test byte [0x6ad4c0a0], 8
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.invalid_name_size_offset_n
jmp 0x6ad45ed1
test al, al
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_reserved_data_n
jmp 0x6ad45ed1
test al, al
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_user_data_n
jmp 0x6ad45ed1
test byte [0x6ad4c0a0], 8
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_user_data_size_n
jmp 0x6ad45ed1
test byte [0x6ad4c0a0], 8
je 0x6ad45736
mov dword [esp + 0xc], str.no_space_for_instance_count_n
jmp 0x6ad45ed1
test byte [0x6ad4c0a0], 8
je 0x6ad45736
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], str.no_space_for_triggers_count_n
jmp 0x6ad45ed1