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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x64
mov ebx, dword [ebp + 0x10]
test byte [0x1000c0a0], 8
jne 0x10004ba0
mov eax, ebx
mov edi, 1
and eax, 0xf
sub eax, 1
cmp eax, 2
sbb esi, esi
and ebx, 0xf0
and esi, 0x40000000
add esi, 0x80000000
cmp ebx, 0x20
je 0x10004af9
mov edi, 2
cmp ebx, 0x30
je 0x10004af9
xor eax, eax
cmp ebx, 0x10
setne al
mov edi, eax
lea edi, [edi + edi*2]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x18], eax
mov ebx, 3
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x10004c30
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x34], 0x20
jne 0x10004b70
sub ebx, 1
je 0x10004b70
mov dword [esp], 0x64
call dword [sym.imp.kernel32.dll_Sleep]
sub esp, 4
jmp 0x10004b07
test byte [0x1000c0a0], 8
jne 0x10004be8
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 - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__p___s__0x_08lx__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MSTASK_IPersistFile_Load
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10004ab9
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp + 0xc]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10004b79
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, dword [ebp - 0x18]
sub esp, 8
mov dword [ebp - 0x20], 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 - 0x18]
sub esp, 0x18
test eax, eax
mov dword [ebp - 0x30], eax
je 0x100050c0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 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 - 0x18]
sub esp, 0x14
test eax, eax
mov esi, eax
je 0x10004e70
mov eax, dword [ebp + 8]
sub eax, 4
mov dword [ebp - 0x18], eax
movzx eax, byte [0x1000c0a0]
and eax, 8
cmp dword [ebp - 0x20], 0x43
jbe 0x10005a1b
test al, al
jne 0x10005150
cmp word [esi + 2], 1
jne 0x1000591d
mov eax, dword [esi + 4]
mov edx, dword [ebp + 8]
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
movzx eax, byte [0x1000c0a0]
test al, 8
jne 0x10005274
movzx edx, word [esi + 0x1c]
mov edi, dword [ebp + 8]
mov word [edi + 0x32], dx
movzx edx, word [esi + 0x1e]
mov edi, dword [ebp + 8]
mov word [edi + 0x30], dx
mov edx, dword [esi + 0x20]
mov edi, dword [ebp + 8]
mov dword [edi + 0x38], edx
mov edx, dword [esi + 0x24]
mov edi, dword [ebp + 8]
mov dword [edi + 0x3c], edx
mov edx, dword [esi + 0x28]
mov edi, dword [ebp + 8]
mov dword [edi + 0x40], edx
mov edx, dword [esi + 0x2c]
mov edi, dword [ebp + 8]
mov dword [edi + 0x2c], edx
mov edx, dword [esi + 0x30]
mov edi, dword [ebp + 8]
mov dword [edi + 0x34], edx
mov edx, dword [esi + 0x34]
mov dword [edi + 0x44], edx
mov edx, dword [esi + 0x38]
mov dword [edi + 0x48], edx
mov edx, dword [esi + 0x3c]
mov dword [edi + 0x4c], edx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x50], edx
cmp dword [ebp - 0x20], 0x45
jbe 0x1000591d
movzx edx, word [esi + 0x44]
mov edi, dword [ebp + 8]
mov word [edi + 0x64], dx
movzx edx, word [esi + 0x14]
lea ebx, [edx + 2]
cmp dword [ebp - 0x20], ebx
jbe 0x1000591d
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], ecx
sub edi, edx
mov dword [ebp - 0x40], esi
add edx, esi
mov dword [ebp - 0x38], edi
shr edi, 1
mov byte [ebp - 0x28], al
lea edi, [edi + 1]
mov dword [ebp - 0x34], edi
mov edi, 1
movzx ecx, byte [ebp - 0x28]
lea ebx, [edi - 1]
and ecx, 8
mov byte [ebp - 0x2c], cl
cmp dword [ebp - 0x34], edi
je 0x100058f9
lea eax, [edx + 2]
movzx edx, word [edx]
lea ecx, [edi + edi]
add dword [ebp - 0x24], 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
lea esi, [edx + edx]
sub eax, ecx
cmp esi, eax
ja 0x10005927
cmp byte [ebp - 0x2c], 0
jne 0x10005080
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp ebx, 3
je 0x100050de
ja 0x10004eb0
cmp ebx, 1
je 0x10005100
cmp ebx, 2
jne 0x10005120
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call dword [eax + 0x90]
sub esp, 8
add dword [ebp - 0x24], esi
mov edx, dword [ebp - 0x1c]
add edx, esi
movzx eax, byte [0x1000c0a0]
add edi, 1
mov byte [ebp - 0x28], al
jmp 0x10004dcf
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 - 0x30]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x18], ecx
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], ecx
call ebx
sub esp, 4
jmp 0x10004b8f
cmp ebx, 4
jne 0x10005120
mov ecx, dword [ebp - 0x3c]
mov edi, esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call dword [eax + 0x48]
add dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x28]
sub esp, 8
movzx eax, byte [0x1000c0a0]
test al, 8
jne 0x1000568d
movzx edi, word [esi + 0x16]
lea edx, [edi + 2]
cmp dword [ebp - 0x20], edx
jb 0x1000591d
movzx edx, word [esi + edi]
mov word [ebp - 0x1c], dx
mov edx, dword [ebp - 0x20]
lea ebx, [edx - 2]
sub ebx, edi
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
movzx edx, word [esi + 0x14]
add edx, dword [ebp - 0x24]
sub ebx, edx
lea edi, [esi + edx]
mov dword [ebp - 0x20], ebx
cmp ebx, 1
jbe 0x1000591d
movzx ebx, word [edi]
and eax, 8
lea edx, [ebx + 2]
mov dword [ebp - 0x28], edx
cmp edx, dword [ebp - 0x20]
ja 0x10005a33
test al, al
jne 0x1000578d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
lea edx, [edi + 2]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax - 4]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esp + 8], edx
call dword [eax + 0x58]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
sub esp, 0xc
sub eax, 2
sub eax, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
add ebx, edi
cmp eax, 1
jbe 0x10005a63
movzx eax, word [ebx]
mov dword [ebp - 0x38], eax
lea edx, [eax + 2]
movzx eax, byte [0x1000c0a0]
and eax, 8
cmp dword [ebp - 0x24], edx
jb 0x10005a4b
add edx, ebx
mov dword [ebp - 0x28], edx
movzx edx, word [ebp - 0x1c]
lea edx, [edx + edx*2]
shl edx, 4
mov dword [ebp - 0x20], edx
test al, al
jne 0x100057c0
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], edx
jb 0x1000591d
mov eax, dword [ebp + 8]
cmp word [ebp - 0x1c], 0
mov dword [eax + 0x58], 0
je 0x10005655
movzx eax, word [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], esi
mov edi, dword [ebp + 8]
sub eax, 1
lea ebx, [edx + 2]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [edx + eax + 0x32]
mov dword [ebp - 0x1c], eax
jmp 0x1000503e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x10]
sub esp, 8
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
test esi, esi
jne 0x10005882
add ebx, 0x30
cmp ebx, dword [ebp - 0x1c]
je 0x1000564f
lea ecx, [ebp - 0x10]
mov eax, dword [edi - 4]
lea edx, [ebp - 0x12]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [eax + 0xc]
sub esp, 0xc
test eax, eax
je 0x10005008
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov edi, eax
mov dword [ebp - 0x18], ecx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x18]
sub esp, 4
jmp 0x10004e86
mov eax, dword [ebp - 0x1c]
call sym._wine_dbgstr_wn
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.string__lu:__s_n
mov dword [esp + 8], 0x1000ee10
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10004e0f
test byte [0x1000c0a0], 8
jne 0x100058af
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x10004b79
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call dword [eax + 0x50]
sub esp, 8
jmp 0x10004e4c
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call dword [eax + 0x88]
sub esp, 8
jmp 0x10004e4c
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esp + 4], ebx
mov dword [esp], ecx
call dword [eax + pe_nt_image_headers32]
add dword [ebp - 0x24], esi
lea edx, [ebx + esi]
sub esp, 8
cmp edi, 5
jne 0x10004e54
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
jmp 0x10004edd
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], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_2
test byte [0x1000c0a0], 8
mov ecx, dword [ebp - 0x1c]
je 0x10004cf3
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test byte [0x1000c0a0], 8
mov ecx, dword [ebp - 0x1c]
je 0x10004cf3
lea eax, [esi + 4]
mov edx, eax
shr edx, 0x10
je 0x100059a1
movzx eax, byte [esi + 0x13]
mov dword [ebp - 0x1c], 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], 0x1000e3a0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov ecx, dword [ebp - 0x1c]
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], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x1c]
jmp 0x10004cf3
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], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp - 0x1c]
test al, 8
je 0x10004d28
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp - 0x1c]
test al, 8
je 0x10004d28
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp - 0x1c]
test al, 8
je 0x10004d28
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp - 0x1c]
test al, 8
je 0x10004d28
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp + 8]
movzx edx, word [esi + 0x1c]
test al, 8
mov word [ecx + 0x32], dx
mov ecx, dword [ebp - 0x1c]
je 0x10004d33
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp + 8]
movzx edx, word [esi + 0x1e]
test al, 8
mov word [ecx + 0x30], dx
mov ecx, dword [ebp - 0x1c]
je 0x10004d3e
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x20]
test al, 8
mov dword [ecx + 0x38], edx
mov ecx, dword [ebp - 0x1c]
je 0x10004d47
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x24]
test al, 8
mov dword [ecx + 0x3c], edx
mov ecx, dword [ebp - 0x1c]
je 0x10004d50
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x28]
test al, 8
mov dword [ecx + 0x40], edx
mov ecx, dword [ebp - 0x1c]
je 0x10004d59
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx eax, byte [0x1000c0a0]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x2c]
test al, 8
mov dword [ecx + 0x2c], edx
mov ecx, dword [ebp - 0x1c]
je 0x10004d62
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [esi + 0x30]
mov ecx, dword [ebp + 8]
movzx eax, byte [0x1000c0a0]
mov dword [ecx + 0x34], edx
mov edx, dword [esi + 0x34]
test al, 8
mov dword [ecx + 0x44], edx
mov edx, dword [esi + 0x38]
mov dword [ecx + 0x48], edx
mov edx, dword [esi + 0x3c]
mov dword [ecx + 0x4c], edx
mov edx, dword [esi + 0x40]
mov dword [ecx + 0x50], edx
mov ecx, dword [ebp - 0x1c]
je 0x10004d83
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
cmp dword [ebp - 0x20], 0x45
mov ecx, dword [ebp - 0x1c]
jbe 0x10005a9d
movzx edx, word [esi + 0x44]
mov edi, dword [ebp + 8]
movzx eax, byte [0x1000c0a0]
mov word [edi + 0x64], dx
test al, 8
je 0x10004d98
movzx eax, dx
mov dword [esp + 0xc], str.instance_count__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_2
movzx edx, word [esi + 0x14]
mov ecx, dword [ebp - 0x1c]
lea eax, [edx + 2]
cmp dword [ebp - 0x20], eax
jbe 0x10005a80
movzx eax, byte [0x1000c0a0]
jmp 0x10004da8
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
movzx edx, byte [0x1000c0a0]
sub eax, dword [ebp - 0x20]
sub eax, 4
sub eax, dword [ebp - 0x38]
and edx, 8
cmp eax, 0x43
jbe 0x1000596a
test dl, dl
jne 0x100059bf
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [eax + 0x60], 0
jmp 0x10005067
movzx eax, word [esi + 0x14]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
movzx edi, word [esi + 0x16]
mov ecx, dword [ebp - 0x1c]
lea edx, [edi + 2]
cmp dword [ebp - 0x20], edx
jb 0x10005ad7
movzx eax, byte [0x1000c0a0]
movzx edx, word [esi + edi]
mov word [ebp - 0x1c], dx
mov edx, dword [ebp - 0x20]
lea ebx, [edx - 2]
test al, 8
je 0x10004f0a
movzx eax, word [ebp - 0x1c]
mov dword [esp + 0xc], str.trigger_count__u_n
mov edi, ebx
mov dword [esp + 8], str.load_job_data
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x28], ecx
call sym._wine_dbg_log.constprop.0_2
movzx eax, word [esi + 0x16]
mov ecx, dword [ebp - 0x28]
sub edi, eax
movzx eax, byte [0x1000c0a0]
mov dword [ebp - 0x2c], edi
test al, 8
je 0x10004f0f
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.triggers_size__lu_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0x20]
movzx eax, word [esi + 0x14]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub edx, eax
lea edi, [esi + eax]
cmp edx, 1
mov dword [ebp - 0x20], edx
jbe 0x10005aba
movzx eax, byte [0x1000c0a0]
jmp 0x10004f2a
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], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x24], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x24]
jmp 0x10004f47
mov eax, dword [ebp - 0x38]
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], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x34], ecx
call sym._wine_dbg_log.constprop.0_2
test byte [0x1000c0a0], 8
mov ecx, dword [ebp - 0x34]
je 0x10004fb9
movzx eax, word [esi + 0x16]
mov edi, dword [ebp - 0x20]
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
cmp dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x34]
jae 0x10004fc5
test byte [0x1000c0a0], 8
je 0x1000591d
mov dword [ebp - 0x18], 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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x18]
jmp 0x10005067
movzx edx, word [ebp - 0x12]
mov eax, dword [ebp + 8]
mov edi, esi
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov eax, dword [eax - 4]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [esp], edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
sub esp, 8
jmp 0x10005067
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp + 0xc]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x18]
jmp 0x100050cd
cmp byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
movzx eax, byte [ebp - 0x28]
jne 0x10005a07
movzx edi, word [esi + 0x16]
lea edx, [edi + 2]
cmp dword [ebp - 0x20], edx
jae 0x100056d9
mov edi, 0x8004130e
jmp 0x10005067
cmp byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
movzx eax, byte [ebp - 0x28]
je 0x1000590d
mov dword [ebp - 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.invalid_string__lu_size_n
mov dword [esp + 8], 0x1000ee10
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x1c]
jmp 0x10004edd
test dl, dl
je 0x1000567c
mov dword [esp + 0xc], str.no_space_for_signature_n
mov dword [esp + 8], str.load_job_data
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
mov dword [ebp - 0x18], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x18]
jmp 0x1000567c
movzx eax, ax
mov dword [esp], 0x1000e390
mov dword [esp + 4], eax
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_sprintf_2
mov ecx, dword [ebp - 0x1c]
jmp 0x10005241
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx + 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], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x18]
jmp 0x1000567c
mov dword [ebp - 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.invalid_string__lu_offset_n
jmp 0x10005946
test al, al
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_FIXDLEN_DATA_n
jmp 0x10005859
test al, al
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_user_data_n
jmp 0x10005859
test al, al
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_reserved_data_n
jmp 0x10005859
test byte [0x1000c0a0], 8
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_reserved_data_size_n
jmp 0x10005859
test byte [0x1000c0a0], 8
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.invalid_name_size_offset_n
jmp 0x10005859
test byte [0x1000c0a0], 8
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_instance_count_n
jmp 0x10005859
test byte [0x1000c0a0], 8
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_user_data_size_n
jmp 0x10005859
test byte [0x1000c0a0], 8
je 0x1000591d
mov dword [ebp - 0x18], ecx
mov dword [esp + 0xc], str.no_space_for_triggers_count_n
jmp 0x10005859