Function at 0x1000f230
Capabilities:
Create directory
Set registry value

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0xbf0]
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0xc38
mov dword [ebp - 0xc0c], eax
xor eax, eax
mov dword [ebp - 0xc08], ecx
mov ecx, 0x1e
rep stosd dword es:[edi], eax
test edx, edx
je 0x1000f273
cmp esi, 8
jbe 0x1000f4b0
test byte [0x100131d8], 8
jne 0x1000f4da
mov eax, dword [ebp - 0xbe8]
call sym._validate_envW
mov edi, eax
test eax, eax
je 0x1000f2d8
lea eax, [ebp - 0xbf8]
mov dword [esp + 0x10], 0x408
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x840]
mov dword [ebp - 0xbf8], 0x408
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov eax, dword [edi]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym._fpGetPrinterDriverDirectory_24
sub esp, 0x18
test eax, eax
jne 0x1000f2f0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, dword [ebp - 0xbf8]
lea ebx, [ebp - 0x430]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x840]
mov dword [esp + 4], eax
call sym._memcpy
cmp word [ebp - 0x840], 0
lea edx, [ebp - 0x840]
je 0x1000f331
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000f328
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x1001649e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000f338
lea eax, [ebp - 0x840]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0xc04], eax
call eax
cmp word [ebp - 0x430], 0
mov edx, ebx
mov dword [ebp - 0x20], eax
mov esi, dword [edi + 0x10]
je 0x1000f381
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000f378
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000f388
cmp word [ebp - 0x430], 0
mov edx, ebx
je 0x1000f3b1
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000f3a8
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x1001649e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000f3b8
mov dword [esp], ebx
mov eax, dword [ebp - 0xc04]
call eax
mov esi, dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc08]
mov dword [esp + 4], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x840]
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], 0
call esi
mov eax, dword [edi]
sub esp, 8
call sym._open_driver_reg
mov ebx, eax
test eax, eax
je 0x10010880
lea eax, [ebp - 0xbfc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xc00]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xbec]
mov dword [esp + 0x14], 0x20007
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
mov esi, eax
test eax, eax
je 0x1000f608
test byte [0x100131d8], 2
jne 0x10010dd0
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], esi
jmp 0x1000f2d8
mov eax, dword [esi*4 + 0x10016c60]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0xbf0]
mov dword [esp], eax
call sym._memcpy
test byte [0x100131d8], 8
je 0x1000f280
mov eax, dword [ebp - 0xbf0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.cVersion____:_0x_lx__ld_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbec]
test ebx, ebx
je 0x10010a60
mov eax, ebx
shr eax, 0x10
je 0x1000fbd0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x100109f0
cmp word [ebx], 0
je 0x10010d89
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000f560
mov ecx, 0x224c
mov dword [ebp - 0xc04], ebx
lea esi, [ebp - 0x71e]
mov word [ebp - 0x840], cx
lea ecx, [ebp - 0x83e]
jmp 0x1000f5c5
cmp ax, 9
je 0x1000fd50
cmp ax, 0xa
jne 0x1000fd6e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x1000fe48
cmp ecx, esi
ja 0x1000fe48
mov edx, eax
add dword [ebp - 0xc04], 2
mov eax, dword [ebp - 0xc04]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x1000fd20
jbe 0x1000f590
cmp ax, 0x22
je 0x1000fdc0
cmp ax, 0x5c
jne 0x1000fd61
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x1000f5b0
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], ebx
mov dword [ebp - 0xc14], eax
call eax
lea eax, [edi + 8]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Version
mov dword [esp], eax
call esi
mov ebx, dword [ebp - 0xbe4]
mov eax, dword [sym.imp.ucrtbase.dll_wcsrchr]
sub esp, 0x18
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
mov dword [ebp - 0xc08], eax
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc04]
mov dword [esp], ebx
call edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax + 2]
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Driver
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbe4]
lea ecx, [ebp - 0x840]
mov edx, ebx
sub esp, 0x18
call sym._apd_copyfile
mov ebx, dword [ebp - 0xbe0]
mov dword [esp + 4], 0x5c
mov eax, dword [ebp - 0xc08]
mov dword [esp], ebx
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc04]
mov dword [esp], ebx
call edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax + 2]
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Data_File
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbe0]
lea ecx, [ebp - 0x840]
mov edx, ebx
sub esp, 0x18
call sym._apd_copyfile
mov ebx, dword [ebp - 0xbdc]
mov dword [esp + 4], 0x5c
mov eax, dword [ebp - 0xc08]
mov dword [esp], ebx
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc04]
mov dword [esp], ebx
call edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax + 2]
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Configuration_File
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbdc]
mov edx, ebx
lea ecx, [ebp - 0x840]
sub esp, 0x18
call sym._apd_copyfile
mov ebx, dword [ebp - 0xbd8]
test ebx, ebx
je 0x100110d8
mov dword [esp], ebx
mov eax, dword [ebp - 0xc08]
mov dword [esp + 4], 0x5c
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc04]
mov dword [esp], ebx
call edx
mov dword [esp + 0x10], ebx
lea eax, [eax + eax + 2]
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Help_File
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbd8]
lea ecx, [ebp - 0x840]
mov edx, ebx
sub esp, 0x18
call sym._apd_copyfile
mov eax, dword [ebp - 0xbd4]
test eax, eax
je 0x1000f83b
cmp word [eax], 0
jne 0x10011118
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10015eb2
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov dword [esp + 4], str.Dependent_Files
mov dword [esp], eax
call esi
sub esp, 0x18
mov eax, dword [ebp - 0xbd0]
test eax, eax
je 0x100110c0
mov dword [esp], eax
mov eax, dword [ebp - 0xc04]
call eax
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbd0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Monitor
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbcc]
sub esp, 0x18
test eax, eax
je 0x100110a8
mov dword [esp], eax
mov eax, dword [ebp - 0xc04]
call eax
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbcc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Datatype
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbc8]
sub esp, 0x18
test eax, eax
je 0x10011090
call sym._multi_sz_lenW.part.0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbc8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov dword [esp + 4], str.Previous_Names
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xba0]
sub esp, 0x18
test eax, eax
je 0x10011078
mov dword [esp], eax
mov eax, dword [ebp - 0xc04]
call eax
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xba0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Print_Processor
mov dword [esp], eax
call esi
lea eax, [ebp - 0xa48]
sub esp, 0x18
cmp dword [ebp - 0xc0c], 5
mov dword [ebp - 0xc08], eax
jbe 0x1000f9cd
test byte [0x100131d8], 8
jne 0x10010aca
mov eax, dword [ebp - 0xc00]
mov dword [esp], eax
mov eax, dword [ebp - 0xc14]
call eax
mov ebx, dword [ebp - 0xbdc]
sub esp, 4
test byte [0x100131d8], 8
jne 0x10010f30
mov eax, dword [edi + 0x10]
mov dword [esp], eax
mov eax, dword [ebp - 0xc04]
call eax
mov dword [esp], ebx
mov esi, eax
mov eax, dword [ebp - 0xc04]
call eax
lea edx, [ebp - 0xbf4]
mov dword [esp + 8], 1
add esi, eax
mov eax, 0x102
mov dword [esp + 0x14], edx
sub eax, esi
add eax, eax
mov dword [ebp - 0xbf4], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc08]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym._fpGetPrinterDriverDirectory_24
sub esp, 0x18
test eax, eax
je 0x1001139b
cmp word [ebp - 0xa48], 0
mov esi, dword [edi + 0x10]
mov edx, dword [ebp - 0xc08]
je 0x1000fa79
add edx, 2
cmp word [edx], 0
jne 0x1000fa70
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000fa80
cmp word [ebp - 0xa48], 0
mov edx, dword [ebp - 0xc08]
je 0x1000faa9
add edx, 2
cmp word [edx], 0
jne 0x1000faa0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x1001649e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000fab0
cmp word [ebp - 0xa48], 0
mov edx, dword [ebp - 0xc08]
je 0x1000fae1
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000fad8
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000fae8
mov eax, dword [ebp - 0xc08]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
mov edi, eax
test byte [0x100131d8], 8
jne 0x10011230
mov dword [esp + 4], str.DrvDriverEvent
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov esi, eax
test edi, edi
je 0x1000fb77
test eax, eax
je 0x1000fb77
test byte [0x100131d8], 8
jne 0x10010be2
lea eax, [ebp - 0xbf0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 3
mov dword [esp], 1
call esi
sub esp, 0x10
test byte [0x100131d8], 8
jne 0x10010bb5
mov dword [esp], edi
mov ebx, 1
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
test byte [0x100131d8], 8
je 0x1000f2da
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.__TRUE_with__lu_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000f2da
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbec]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pName_______:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbe8]
test ebx, ebx
je 0x10010ab0
mov eax, ebx
shr eax, 0x10
je 0x100108c0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10010a30
cmp word [ebx], 0
je 0x10010d68
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x1000fc68
mov esi, 0x224c
lea edx, [ebp - 0x71e]
mov word [ebp - 0x840], si
lea esi, [ebp - 0x83e]
mov dword [ebp - 0xc04], edx
jmp 0x1000fcd9
cmp ax, 9
je 0x1000fd38
cmp ax, 0xa
jne 0x1000fdde
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
nop
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc04]
ja 0x1000fe80
test ecx, ecx
jle 0x1000fe80
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x1000fd10
jbe 0x1000fc98
cmp ax, 0x22
je 0x1000fe30
cmp ax, 0x5c
jne 0x1000fdd1
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x1000fcc0
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000fcc0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f5b0
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000fcc0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f5b0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x100109e0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000f5b0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000f5b0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10010980
mov edi, eax
mov byte [esi], 0x5c
add esi, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [esi - 4], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [esi - 3], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [esi - 1], al
mov byte [esi - 2], dl
jmp 0x1000fcc0
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000fcc0
mov byte [ecx], 0x22
test eax, eax
jle 0x10010da2
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbec]
jmp 0x1000fbe9
mov byte [esi], 0x22
test eax, eax
jle 0x10010d81
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbe8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pEnvironment:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbe4]
test ebx, ebx
je 0x10010ac0
mov eax, ebx
shr eax, 0x10
je 0x10010960
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10010a50
cmp word [ebx], 0
je 0x10010d47
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x1000ff30
mov eax, 0x224c
lea edx, [ebp - 0x71e]
lea esi, [ebp - 0x83e]
mov word [ebp - 0x840], ax
mov dword [ebp - 0xc04], edx
jmp 0x1000ff99
cmp ax, 9
je 0x10010050
cmp ax, 0xa
jne 0x1000ffe3
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc04]
ja 0x10010068
test ecx, ecx
jle 0x10010068
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x1000ffc8
jbe 0x1000ff60
cmp ax, 0x22
je 0x10010038
cmp ax, 0x5c
jne 0x1000ffd6
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x1000ff80
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000ff80
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x100109a0
mov edi, eax
mov byte [esi], 0x5c
add esi, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [esi - 4], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [esi - 3], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [esi - 1], al
mov byte [esi - 2], dl
jmp 0x1000ff80
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000ff80
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000ff80
mov byte [esi], 0x22
test eax, eax
jle 0x10010d60
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbe4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pDriverPath_:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbe0]
test ebx, ebx
je 0x10010a80
mov eax, ebx
shr eax, 0x10
je 0x10010940
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10010a00
cmp word [ebx], 0
je 0x10010daa
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10010118
mov eax, 0x224c
mov dword [ebp - 0xc04], ebx
lea ecx, [ebp - 0x83e]
lea esi, [ebp - 0x71e]
mov word [ebp - 0x840], ax
jmp 0x1001017d
cmp ax, 9
je 0x10010240
cmp ax, 0xa
jne 0x100101d3
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x10010258
cmp ecx, esi
ja 0x10010258
mov edx, eax
add dword [ebp - 0xc04], 2
mov eax, dword [ebp - 0xc04]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x100101b8
jbe 0x10010148
cmp ax, 0x22
je 0x10010228
cmp ax, 0x5c
jne 0x100101c6
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10010168
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010168
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x100109b0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10010168
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10010168
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010168
mov byte [ecx], 0x22
test eax, eax
jle 0x10010dc3
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbe0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pDataFile___:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbdc]
test ebx, ebx
je 0x10010aa0
mov eax, ebx
shr eax, 0x10
je 0x10010900
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10010a10
cmp word [ebx], 0
je 0x10010ce4
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x10010308
mov eax, 0x224c
lea edx, [ebp - 0x71e]
lea esi, [ebp - 0x83e]
mov word [ebp - 0x840], ax
mov dword [ebp - 0xc04], edx
jmp 0x10010371
cmp ax, 9
je 0x10010428
cmp ax, 0xa
jne 0x100103bb
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc04]
ja 0x10010440
test ecx, ecx
jle 0x10010440
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x100103a0
jbe 0x10010338
cmp ax, 0x22
je 0x10010410
cmp ax, 0x5c
jne 0x100103ae
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x10010358
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010358
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x100109c0
mov edi, eax
mov byte [esi], 0x5c
add esi, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [esi - 4], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [esi - 3], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [esi - 1], al
mov byte [esi - 2], dl
jmp 0x10010358
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010358
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010358
mov byte [esi], 0x22
test eax, eax
jle 0x10010cfd
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbdc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pConfigFile_:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbd8]
test ebx, ebx
je 0x10010a90
mov eax, ebx
shr eax, 0x10
je 0x100108e0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10010a20
cmp word [ebx], 0
je 0x10010d26
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x100104f0
mov ecx, 0x224c
mov dword [ebp - 0xc04], ebx
lea esi, [ebp - 0x71e]
mov word [ebp - 0x840], cx
lea ecx, [ebp - 0x83e]
jmp 0x10010555
cmp ax, 9
je 0x10010618
cmp ax, 0xa
jne 0x100105ab
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x10010630
cmp ecx, esi
ja 0x10010630
mov edx, eax
add dword [ebp - 0xc04], 2
mov eax, dword [ebp - 0xc04]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10010590
jbe 0x10010520
cmp ax, 0x22
je 0x10010600
cmp ax, 0x5c
jne 0x1001059e
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10010540
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010540
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x100109d0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10010540
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10010540
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010540
mov byte [ecx], 0x22
test eax, eax
jle 0x10010d3f
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbd8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pHelpFile___:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x100131d8], 8
je 0x1000f280
mov ebx, dword [ebp - 0xbd4]
test ebx, ebx
je 0x10010a70
mov eax, ebx
shr eax, 0x10
je 0x10010920
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10010a40
cmp word [ebx], 0
je 0x10010d05
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x100106e0
mov esi, 0x224c
lea edx, [ebp - 0x71e]
mov word [ebp - 0x840], si
lea esi, [ebp - 0x83e]
mov dword [ebp - 0xc04], edx
jmp 0x10010749
cmp ax, 9
je 0x10010800
cmp ax, 0xa
jne 0x10010793
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc04]
ja 0x10010818
test ecx, ecx
jle 0x10010818
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x10010778
jbe 0x10010710
cmp ax, 0x22
je 0x100107e8
cmp ax, 0x5c
jne 0x10010786
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x10010730
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010730
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10010990
mov edi, eax
mov byte [esi], 0x5c
add esi, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [esi - 4], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [esi - 3], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [esi - 1], al
mov byte [esi - 2], dl
jmp 0x10010730
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010730
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010730
mov byte [esi], 0x22
test eax, eax
jle 0x10010d1e
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x840]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbd4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p:_.pDependentFiles:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000f280
test byte [0x100131d8], 2
je 0x1000f2d8
mov dword [esp + 0xc], str.Cant_create_Drivers_key_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000f2da
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbe8]
jmp 0x1000feb2
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbd8]
jmp 0x10010662
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbdc]
jmp 0x10010472
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbd4]
jmp 0x1001084a
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbe0]
jmp 0x1001028a
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov ebx, dword [ebp - 0xbe4]
jmp 0x1001009a
mov byte [esi], al
add esi, 1
jmp 0x1000fcc0
mov byte [esi], al
add esi, 1
jmp 0x10010730
mov byte [esi], al
add esi, 1
jmp 0x1000ff80
mov byte [ecx], al
add ecx, 1
jmp 0x10010168
mov byte [esi], al
add esi, 1
jmp 0x10010358
mov byte [ecx], al
add ecx, 1
jmp 0x10010540
mov byte [ecx], al
add ecx, 1
jmp 0x1000f5b0
mov ebx, dword [ebp - 0xbec]
mov eax, str._invalid_
jmp 0x1000fbe9
mov ebx, dword [ebp - 0xbe0]
mov eax, str._invalid_
jmp 0x1001028a
mov ebx, dword [ebp - 0xbdc]
mov eax, str._invalid_
jmp 0x10010472
mov ebx, dword [ebp - 0xbd8]
mov eax, str._invalid_
jmp 0x10010662
mov ebx, dword [ebp - 0xbe8]
mov eax, str._invalid_
jmp 0x1000feb2
mov ebx, dword [ebp - 0xbd4]
mov eax, str._invalid_
jmp 0x1001084a
mov ebx, dword [ebp - 0xbe4]
mov eax, str._invalid_
jmp 0x1001009a
mov eax, str._null_
jmp 0x1000fbe9
mov eax, str._null_
jmp 0x1001084a
mov eax, str._null_
jmp 0x1001028a
mov eax, str._null_
jmp 0x10010662
mov eax, str._null_
jmp 0x10010472
mov eax, str._null_
jmp 0x1000feb2
mov eax, str._null_
jmp 0x1001009a
mov ebx, dword [ebp - 0xbec]
test ebx, ebx
je 0x10011ac6
mov eax, ebx
shr eax, 0x10
je 0x10011a65
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x100115ab
cmp word [ebx], 0
je 0x10011b0a
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10010b10
mov eax, 0x224c
lea ecx, [ebp - 0x926]
mov dword [ebp - 0xc10], edi
lea esi, [ebp - 0xa46]
mov word [ebp - 0xa48], ax
mov dword [ebp - 0xc08], ecx
jmp 0x10010b81
cmp ax, 9
je 0x100119bf
cmp ax, 0xa
jne 0x1001182a
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp esi, dword [ebp - 0xc08]
ja 0x10011571
test edx, edx
jle 0x10011571
mov edx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x1001188c
jbe 0x10010b43
cmp ax, 0x22
je 0x1001187b
cmp ax, 0x5c
jne 0x1001181d
mov ecx, 0x5c5c
add esi, 2
mov word [esi - 2], cx
jmp 0x10010b68
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.got__d_from_DRIVER_EVENT_INITIALIZE_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000fb77
mov ebx, dword [ebp - 0xbdc]
test ebx, ebx
je 0x10011ab7
mov eax, ebx
shr eax, 0x10
je 0x10011a47
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0xc0c], str._invalid_
sub esp, 8
test eax, eax
jne 0x10011647
cmp word [ebx], 0
je 0x10011aec
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10010c30
mov ecx, 0x224c
lea eax, [ebp - 0x926]
mov dword [ebp - 0xc0c], esi
mov word [ebp - 0xa48], cx
mov esi, eax
lea ecx, [ebp - 0xa46]
mov dword [ebp - 0xc10], edi
mov dword [ebp - 0xc04], ebx
jmp 0x10010ca5
cmp ax, 9
je 0x1001192e
cmp ax, 0xa
jne 0x100118aa
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x10011609
test edx, edx
jle 0x10011609
mov edx, eax
add dword [ebp - 0xc04], 2
mov eax, dword [ebp - 0xc04]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x100119ae
jbe 0x10010c6b
cmp ax, 0x22
je 0x100118fb
cmp ax, 0x5c
jne 0x1001189d
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10010c90
mov eax, 0x224c
mov byte [ebp - 0x83e], 0x22
lea esi, [ebp - 0x83e]
mov word [ebp - 0x840], ax
lea eax, [esi + 1]
jmp 0x1001045b
mov edi, 0x224c
mov byte [ebp - 0x83e], 0x22
lea esi, [ebp - 0x83e]
mov word [ebp - 0x840], di
lea eax, [esi + 1]
jmp 0x10010833
mov ebx, 0x224c
mov byte [ebp - 0x83e], 0x22
lea ecx, [ebp - 0x83e]
mov word [ebp - 0x840], bx
lea eax, [ecx + 1]
jmp 0x1001064b
mov edi, 0x224c
mov byte [ebp - 0x83e], 0x22
lea esi, [ebp - 0x83e]
mov word [ebp - 0x840], di
lea eax, [esi + 1]
jmp 0x10010083
mov ebx, 0x224c
mov byte [ebp - 0x83e], 0x22
lea esi, [ebp - 0x83e]
mov word [ebp - 0x840], bx
lea eax, [esi + 1]
jmp 0x1000fe9b
mov eax, 0x224c
mov byte [ebp - 0x83e], 0x22
lea ecx, [ebp - 0x83e]
mov word [ebp - 0x840], ax
lea eax, [ecx + 1]
jmp 0x1000fe63
mov eax, 0x224c
mov byte [ebp - 0x83e], 0x22
lea ecx, [ebp - 0x83e]
mov word [ebp - 0x840], ax
lea eax, [ecx + 1]
jmp 0x10010273
mov edi, dword [ebp - 0xbec]
test edi, edi
je 0x100119d0
mov eax, edi
shr eax, 0x10
je 0x100117ad
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10010eff
cmp word [edi], 0
je 0x100119e4
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x10010e18
mov eax, 0x224c
mov dword [ebp - 0xc08], ebx
lea ecx, [ebp - 0xa46]
mov word [ebp - 0xa48], ax
lea eax, [ebp - 0x926]
mov dword [ebp - 0xc0c], esi
mov dword [ebp - 0xc04], eax
jmp 0x10010e91
cmp ax, 9
je 0x10011450
cmp ax, 0xa
jne 0x100113d4
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, dword [ebp - 0xc04]
ja 0x10010ec5
test edx, edx
jle 0x10010ec5
mov edx, eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x10011439
jbe 0x10010e58
cmp ax, 0x22
je 0x10011428
cmp ax, 0x5c
jne 0x100113c7
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010e80
mov ebx, dword [ebp - 0xc08]
mov esi, dword [ebp - 0xc0c]
mov byte [ecx], 0x22
test eax, eax
jle 0x100119fd
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
mov byte [eax], 0
lea eax, [ebp - 0xa48]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.cant_create_driver__s:__lu_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000f48f
test ebx, ebx
je 0x100119da
mov eax, ebx
shr eax, 0x10
je 0x100117c7
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10011041
cmp word [ebx], 0
je 0x10011a26
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10010f70
mov eax, 0x224c
mov dword [ebp - 0xc0c], edi
mov esi, ebx
lea ecx, [ebp - 0xa46]
mov word [ebp - 0xa48], ax
mov dword [ebp - 0xc10], ebx
jmp 0x10010fd3
cmp ax, 9
je 0x100115f8
cmp ax, 0xa
jne 0x1001150f
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10011007
lea edi, [ebp - 0x926]
cmp ecx, edi
ja 0x10011007
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x100115e2
jbe 0x10010fa0
cmp ax, 0x22
je 0x10011560
cmp ax, 0x5c
jne 0x10011502
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10010fc0
mov edi, dword [ebp - 0xc0c]
mov ebx, dword [ebp - 0xc10]
mov byte [ecx], 0x22
test eax, eax
jle 0x10011a3f
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
mov eax, dword [ebp - 0xc08]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___s__n
mov dword [esp + 8], str.driver_load
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000f9f4
mov dword [esp + 0x14], 0x12
mov dword [esp + 0x10], str.winprint
jmp 0x1000f985
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10015eb2
jmp 0x1000f934
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10015eb2
jmp 0x1000f8ed
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10015eb2
jmp 0x1000f89c
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10015eb2
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Help_File
mov dword [esp], eax
call esi
sub esp, 0x18
jmp 0x1000f827
call sym._multi_sz_lenW.part.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, dword [ebp - 0xbd4]
mov dword [ebp - 0xc18], eax
cmp word [ebx], 0
je 0x10011ada
mov dword [ebp - 0xc1c], edi
mov dword [ebp - 0xc20], esi
mov esi, eax
lea esi, [esi]
mov dword [esp], ebx
mov eax, dword [ebp - 0xc08]
mov dword [esp + 4], 0x5c
call eax
lea edx, [eax + 2]
test eax, eax
mov eax, dword [ebp - 0xc04]
mov edi, edx
cmove edi, ebx
mov dword [esp], edi
call eax
mov dword [esp], esi
lea ecx, [eax + 1]
mov dword [esp + 4], edi
mov dword [ebp - 0xbf8], ecx
add ecx, ecx
mov dword [esp + 8], ecx
mov dword [ebp - 0xc10], ecx
call sym._memcpy
mov ecx, dword [ebp - 0xc10]
mov edx, edi
mov eax, ebx
add esi, ecx
lea ecx, [ebp - 0x840]
call sym._apd_copyfile
mov dword [esp], ebx
mov eax, dword [ebp - 0xc04]
call eax
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x10011150
mov eax, esi
mov edx, esi
sub eax, dword [ebp - 0xc18]
mov edi, dword [ebp - 0xc1c]
mov esi, dword [ebp - 0xc20]
add eax, 2
mov ebx, edx
xor edx, edx
mov word [ebx], dx
mov ebx, dword [ebp - 0xc18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc00]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov dword [esp + 4], str.Dependent_Files
mov dword [esp], eax
call esi
sub esp, 0x18
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x1000f871
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0xc0c], eax
mov eax, dword [ebp - 0xc08]
shr eax, 0x10
je 0x100117e1
mov esi, dword [ebp - 0xc08]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10011360
cmp word [ebp - 0xa48], 0
je 0x10011a05
mov ecx, esi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10011288
mov ebx, dword [ebp - 0xc08]
mov eax, 0x224c
lea ecx, [ebp - 0xb72]
mov word [ebp - 0xb74], ax
mov dword [ebp - 0xc04], ebx
jmp 0x100112f3
cmp ax, 9
je 0x10011468
cmp ax, 0xa
jne 0x10011486
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea esi, [ebp - 0xa52]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x10011332
test edx, edx
jle 0x10011332
mov edx, eax
add dword [ebp - 0xc04], 2
mov eax, dword [ebp - 0xc04]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x100114f1
jbe 0x100112b8
cmp ax, 0x22
je 0x100114e0
cmp ax, 0x5c
jne 0x10011479
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x100112e0
mov byte [ecx], 0x22
test eax, eax
jle 0x10011a1e
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0xb74]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0xc0c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str._p:_LoadLibrary__s___ld_n
mov dword [esp + 8], str.driver_load
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000fb19
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x6f
xor edi, edi
mov dword [esp + 4], str.DrvDriverEvent
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
jmp 0x1000fb77
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x100117ff
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefcopy_servername_from_name]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefcopy_servername_from_name]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10010e80
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010e80
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010e80
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010e80
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100112e0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x10011813
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefcopy_servername_from_name]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefcopy_servername_from_name]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100112e0
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x100112e0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100112e0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10011809
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10010fc0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10010fc0
mov byte [esi], 0x22
mov edi, dword [ebp - 0xc10]
test eax, eax
jle 0x10011b20
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0xa48]
mov dword [esp], eax
mov dword [ebp - 0xc08], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0xc0c]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.level__lu_for_Driver__s_is_incomplete_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000f9cd
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010fc0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010fc0
mov esi, dword [ebp - 0xc0c]
mov edi, dword [ebp - 0xc10]
mov byte [ecx], 0x22
test eax, eax
jle 0x10011b02
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
mov eax, dword [ebp - 0xc08]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0xc0c], eax
mov ebx, dword [ebp - 0xbec]
test ebx, ebx
je 0x10011ad0
mov eax, ebx
shr eax, 0x10
je 0x10011a7f
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10011776
cmp word [ebx], 0
je 0x10011b28
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10011690
mov eax, 0x224c
mov dword [ebp - 0xc10], esi
lea ecx, [ebp - 0xa46]
mov word [ebp - 0xa48], ax
lea eax, [ebp - 0x926]
mov dword [ebp - 0xc14], edi
mov esi, eax
mov dword [ebp - 0xc04], ebx
jmp 0x100116fd
cmp ax, 9
je 0x1001191d
cmp ax, 0xa
jne 0x1001194c
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x1001173c
test edx, edx
jle 0x1001173c
mov edx, eax
add dword [ebp - 0xc04], 2
mov eax, dword [ebp - 0xc04]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x1001190c
jbe 0x100116cb
cmp ax, 0x22
je 0x1001199d
cmp ax, 0x5c
jne 0x1001193f
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x100116f0
mov esi, dword [ebp - 0xc10]
mov edi, dword [ebp - 0xc14]
mov byte [ecx], 0x22
test eax, eax
jle 0x10011b3e
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
mov eax, dword [ebp - 0xc08]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0xc0c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.DRIVER_EVENT_INITIALIZE_for__s___s__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000fb44
movzx edi, di
mov dword [esp], str._04x
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x10010eff
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x10011041
movzx eax, word [ebp - 0xc08]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x10011360
mov byte [ecx], al
add ecx, 1
jmp 0x10010e80
mov byte [ecx], al
add ecx, 1
jmp 0x10010fc0
mov byte [ecx], al
add ecx, 1
jmp 0x100112e0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10011aad
mov edi, eax
mov byte [esi], 0x5c
add esi, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [esi - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [esi - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [esi - 1], al
mov byte [esi - 2], cl
jmp 0x10010b68
mov edi, 0x225c
add esi, 2
mov word [esi - 2], di
jmp 0x10010b68
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010b68
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10011aa3
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10010c90
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10010c90
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100116f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100116f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010c90
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10011a99
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100116f0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x100116f0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10010c90
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x10010b68
mov edx, str._null_
jmp 0x10010eff
mov edx, str._null_
jmp 0x10011041
mov eax, 0x224c
mov byte [ebp - 0xa46], 0x22
lea ecx, [ebp - 0xa46]
mov word [ebp - 0xa48], ax
lea eax, [ecx + 1]
jmp 0x10010eec
mov eax, 0x224c
mov byte [ebp - 0xb72], 0x22
lea ecx, [ebp - 0xb72]
mov word [ebp - 0xb74], ax
lea eax, [ecx + 1]
jmp 0x1001134d
mov eax, 0x224c
mov byte [ebp - 0xa46], 0x22
lea ecx, [ebp - 0xa46]
mov word [ebp - 0xa48], ax
lea eax, [ecx + 1]
jmp 0x1001102e
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov dword [ebp - 0xc0c], eax
jmp 0x10011647
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x100115ab
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x10011776
mov byte [ecx], al
add ecx, 1
jmp 0x100116f0
mov byte [ecx], al
add ecx, 1
jmp 0x10010c90
mov byte [esi], al
add esi, 1
jmp 0x10010b68
mov dword [ebp - 0xc0c], str._null_
jmp 0x10011647
mov edx, str._null_
jmp 0x100115ab
mov edx, str._null_
jmp 0x10011776
mov eax, dword [ebp - 0xc18]
mov edx, eax
mov eax, 2
jmp 0x100111de
mov word [ebp - 0xa48], 0x224c
lea ecx, [ebp - 0xa46]
mov byte [ebp - 0xa46], 0x22
lea eax, [ecx + 1]
jmp 0x10011630
mov word [ebp - 0xa48], 0x224c
lea esi, [ebp - 0xa46]
mov byte [ebp - 0xa46], 0x22
lea eax, [esi + 1]
jmp 0x10011592
mov word [ebp - 0xa48], 0x224c
lea ecx, [ebp - 0xa46]
mov byte [ebp - 0xa46], 0x22
lea eax, [ecx + 1]
jmp 0x10011763