Function at 0x100063b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x180
mov ebx, dword [ebp + 0x14]
test byte [0x100110c0], 8
jne 0x10006618
mov eax, dword [ebp + 0x24]
xor edi, edi
mov dword [eax], 0
mov eax, dword [ebp + 0x28]
mov dword [eax], 0
test byte [ebp + 0x10], 1
jne 0x1000660a
mov eax, dword [ebp + 8]
test eax, eax
je 0x10006738
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14c]
call sym._get_full_name
mov ebx, eax
test eax, eax
je 0x10006f7a
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x5c
mov esi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp], eax
call esi
test eax, eax
je 0x10006d68
mov dword [esp + 4], 0x2f
mov edi, dword [sym.imp.ucrtbase.dll_wcsrchr]
mov dword [esp], ebx
call edi
mov esi, eax
test eax, eax
je 0x10006e30
xor eax, eax
mov word [esi], ax
mov eax, ebx
call sym._create_directory
mov edi, eax
test eax, eax
je 0x10006465
cmp eax, 0x800700b7
jne 0x100069a8
mov eax, 0x5c
mov word [esi], ax
mov edx, dword [ebp + 0x10]
mov eax, 3
and edx, 6
cmp edx, 4
je 0x10006489
xor eax, eax
cmp edx, 6
sete al
lea eax, [eax + eax*2 + 1]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x10006700
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x154], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
sub esp, 0x20
mov dword [ebp - 0x138], eax
mov edi, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x154]
test eax, eax
mov dword [ebp - 0x150], eax
je 0x10006f94
mov eax, dword [ebp - 0x150]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea eax, [ebp - 0x138]
sub esp, 0x20
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x10013d75
mov dword [esp], esi
mov dword [ebp - 0x154], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x10006790
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov edx, dword [sym.imp.ucrtbase.dll_free]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovg edi, eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x150], edx
mov dword [esp], eax
call edx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0x150]
sub esp, 4
test edi, edi
je 0x1000686b
mov dword [esp], ebx
call edx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
test ebx, ebx
je 0x10006e58
mov eax, ebx
shr eax, 0x10
je 0x100068a0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x158], 0x10013887
sub esp, 8
test eax, eax
jne 0x100068b9
cmp word [ebx], 0
je 0x10006e80
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10006660
mov ecx, 0x224c
lea esi, [ebp - 0x136]
mov word [ebp - 0x138], cx
lea ecx, [ebp - 0x16]
mov dword [ebp - 0x150], ecx
jmp 0x100066c9
cmp ax, 9
je 0x10006ce0
cmp ax, 0xa
jne 0x10006cfe
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea eax, [edx - 1]
cmp esi, dword [ebp - 0x150]
ja 0x10006d88
test edx, edx
jle 0x10006d88
mov edx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x10006cc8
jbe 0x10006690
cmp ax, 0x22
je 0x10006d50
cmp ax, 0x5c
jne 0x10006cf1
mov ecx, 0x5c5c
add esi, 2
mov word [esi - 2], cx
jmp 0x100066b0
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x50
je 0x10006f84
mov edi, dword [eax + 0x34]
mov edx, dword [sym.imp.ucrtbase.dll_free]
test edi, edi
jle 0x100065fd
movzx edi, di
mov edx, dword [sym.imp.ucrtbase.dll_free]
or edi, 0x80070000
jmp 0x10006605
lea esi, [ebp - 0x148]
lea ebx, [ebp - 0x138]
mov dword [esp], esi
call dword [sym.imp.rpcrt4.dll_UuidCreate]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x27
mov dword [esp], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov eax, ebx
lea edx, [ebp - 0x14c]
sub esp, 0xc
call sym._get_full_name
mov ebx, eax
test eax, eax
je 0x10006f7a
add dword [ebp - 0x14c], 2
jmp 0x1000646d
lea eax, [ebp - 0x138]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x154]
mov dword [esp + 8], 0x29
mov dword [esp + 4], str._____Task_definition_created_by_Wine_____n
mov dword [esp], esi
call eax
sub esp, 0x14
test eax, eax
je 0x100065be
mov eax, dword [ebp - 0x150]
cmp dword [eax], 0x6d783f3c
je 0x10006ef8
mov edx, dword [ebp - 0x150]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x100067e0
mov ecx, eax
mov edi, dword [ebp - 0x150]
mov dword [esp + 0x10], 0
shr ecx, 0x10
test eax, 0x8080
mov dword [esp], esi
cmove eax, ecx
lea ecx, [edx + 2]
mov dword [esp + 4], edi
cmove edx, ecx
mov ecx, eax
add cl, al
lea eax, [ebp - 0x138]
sbb edx, 3
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x154]
sub edx, edi
mov dword [esp + 8], edx
call eax
sub esp, 0x14
test eax, eax
je 0x100065be
mov dword [esp], edi
mov edx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x150], edx
call edx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0x150]
sub esp, 4
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], edx
xor edi, edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
call sym._schedsvc_auto_start
mov edx, dword [ebp - 0x150]
jmp 0x10006605
movzx ebx, bx
mov dword [esp], 0x10013891
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_1
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10006e70
mov eax, dword [ebp + 0xc]
shr eax, 0x10
je 0x10006de0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x154], 0x10013887
sub esp, 8
test eax, eax
jne 0x100069f2
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x10006ea8
lea esi, [esi]
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10006910
mov esi, 0x224c
lea ecx, [ebp - 0x16]
lea ebx, [ebp - 0x136]
mov word [ebp - 0x138], si
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x150], ecx
jmp 0x10006971
cmp ax, 9
je 0x10006c40
cmp ax, 0xa
jne 0x10006c5e
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
lea eax, [edx - 1]
cmp ebx, dword [ebp - 0x150]
ja 0x100069c0
test edx, edx
jle 0x100069c0
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10006c28
jbe 0x10006940
cmp ax, 0x22
je 0x10006cb0
cmp ax, 0x5c
jne 0x10006c51
mov ecx, 0x5c5c
add ebx, 2
mov word [ebx - 2], cx
jmp 0x10006960
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x1000660a
mov byte [ebx], 0x22
test eax, eax
jle 0x10006ec1
mov edx, 0x2e2e
mov byte [ebx + 3], 0x2e
lea eax, [ebx + 4]
mov word [ebx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10006e48
mov eax, dword [ebp + 8]
shr eax, 0x10
je 0x10006dc0
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x10013887
sub esp, 8
test eax, eax
jne 0x10006b0e
mov ecx, dword [ebp + 8]
cmp word [ecx], 0
je 0x10006ed0
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10006a40
mov ebx, dword [ebp + 8]
mov eax, 0x224c
lea ecx, [ebp - 0x136]
lea esi, [ebp - 0x16]
mov word [ebp - 0x138], ax
mov dword [ebp - 0x150], ebx
jmp 0x10006a9d
cmp ax, 9
je 0x10006b98
cmp ax, 0xa
jne 0x10006bb6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10006ae0
cmp ecx, esi
ja 0x10006ae0
mov edx, eax
add dword [ebp - 0x150], 2
mov eax, dword [ebp - 0x150]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10006b80
jbe 0x10006a70
cmp ax, 0x22
je 0x10006c10
cmp ax, 0x5c
jne 0x10006ba9
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10006a90
mov byte [ecx], 0x22
test eax, eax
jle 0x10006ee9
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str._s__s__lx__s__lu__lu__p__p__p_n
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 8], 0x10013d4c
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], 0x100110c0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp], 3
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x154]
mov dword [esp + 0x14], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x100063cc
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10006a90
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10006a90
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10006e00
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefSchRpcRegisterTask]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10006a90
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10006a90
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x10006960
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x10006960
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10006e20
mov edi, eax
mov byte [ebx], 0x5c
add ebx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ebx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefSchRpcRegisterTask]
and edi, 0xf
mov byte [ebx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov byte [ebx - 1], al
mov byte [ebx - 2], cl
jmp 0x10006960
mov edi, 0x225c
add ebx, 2
mov word [ebx - 2], di
jmp 0x10006960
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x100066b0
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x100066b0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10006e10
mov edi, eax
mov byte [esi], 0x5c
add esi, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [esi - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefSchRpcRegisterTask]
and edi, 0xf
mov byte [esi - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefSchRpcRegisterTask]
mov byte [esi - 1], al
mov byte [esi - 2], cl
jmp 0x100066b0
mov edi, 0x225c
add esi, 2
mov word [esi - 2], di
jmp 0x100066b0
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call esi
test eax, eax
jne 0x1000642b
jmp 0x1000646d
mov byte [esi], 0x22
test eax, eax
jle 0x10006e99
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x158], eax
jmp 0x100068b9
movzx eax, word [ebp + 8]
mov dword [esp], 0x10013891
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
jmp 0x10006b0e
movzx eax, word [ebp + 0xc]
mov dword [esp], 0x10013891
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [ebp - 0x154], eax
jmp 0x100069f2
mov byte [ecx], al
add ecx, 1
jmp 0x10006a90
mov byte [esi], al
add esi, 1
jmp 0x100066b0
mov byte [ebx], al
add ebx, 1
jmp 0x10006960
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call edi
mov esi, eax
jmp 0x10006448
mov edx, str._null_
jmp 0x10006b0e
mov dword [ebp - 0x158], str._null_
jmp 0x100068b9
mov dword [ebp - 0x154], str._null_
jmp 0x100069f2
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea esi, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [esi + 1]
jmp 0x10006da3
mov byte [ebp - 0x136], 0x22
mov ebx, 0x224c
mov word [ebp - 0x138], bx
lea ebx, [ebp - 0x136]
lea eax, [ebx + 1]
jmp 0x100069db
mov edi, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], di
lea eax, [ecx + 1]
jmp 0x10006afb
cmp byte [eax + 4], 0x6c
jne 0x100067da
mov dword [esp + 4], 0x3e
mov edi, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x10006f33
lea edi, [eax + 1]
jmp 0x10006f23
add edi, 1
movsx eax, byte [edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_isspace]
test eax, eax
jne 0x10006f20
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
lea ecx, [ebp - 0x138]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x154]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
mov dword [esp], esi
call eax
sub esp, 0x14
test eax, eax
je 0x100065be
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
jmp 0x1000684b
mov edi, 0x8007000e
jmp 0x1000660a
mov edx, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x800700b7
jmp 0x10006605
mov dword [esp], esi
mov edi, 0x8007000e
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [sym.imp.ucrtbase.dll_free]
push eax
jmp 0x10006605