Function at 0x6514f0f0
Capabilities:
Create directory
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0xbf8]
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0xc4c
mov dword [ebp - 0xc14], eax
xor eax, eax
mov dword [ebp - 0xc10], ecx
mov ecx, 0x1e
rep stosd dword es:[edi], eax
test edx, edx
je 0x6514f128
cmp esi, 8
jbe 0x6514f360
test byte [0x651531d8], 8
jne 0x6514f38a
mov eax, dword [ebp - 0xbf0]
call sym._validate_envW
mov edi, eax
test eax, eax
je 0x6514f18d
lea eax, [ebp - 0xc00]
mov dword [esp + 0x10], 0x408
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x848]
mov dword [ebp - 0xc00], 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 0x6514f1a0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0xc00]
lea ebx, [ebp - 0x438]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x848]
mov dword [esp + 4], eax
call sym._memcpy
cmp word [ebp - 0x848], 0
lea edx, [ebp - 0x848]
je 0x6514f1e1
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6514f1d8
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x6515649e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6514f1e8
lea eax, [ebp - 0x848]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0xc0c], eax
call eax
cmp word [ebp - 0x438], 0
mov edx, ebx
mov dword [ebp - 0x28], eax
mov esi, dword [edi + 0x10]
je 0x6514f231
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6514f228
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6514f238
cmp word [ebp - 0x438], 0
mov edx, ebx
je 0x6514f261
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6514f258
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x6515649e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6514f268
mov dword [esp], ebx
mov eax, dword [ebp - 0xc0c]
call eax
mov esi, dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc10]
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x848]
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 0x65150730
lea eax, [ebp - 0xc04]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xc08]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xbf4]
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 0x6514f4b8
test byte [0x651531d8], 2
jne 0x65150c80
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 0x6514f18d
mov eax, dword [esi*4 + 0x65156c60]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0xbf8]
mov dword [esp], eax
call sym._memcpy
test byte [0x651531d8], 8
je 0x6514f135
mov eax, dword [ebp - 0xbf8]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbf4]
test ebx, ebx
je 0x65150910
mov eax, ebx
shr eax, 0x10
je 0x6514fa80
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x651508a0
cmp word [ebx], 0
je 0x65150c39
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6514f410
mov ecx, 0x224c
mov dword [ebp - 0xc0c], ebx
lea esi, [ebp - 0x726]
mov word [ebp - 0x848], cx
lea ecx, [ebp - 0x846]
jmp 0x6514f475
cmp ax, 9
je 0x6514fc00
cmp ax, 0xa
jne 0x6514fc1e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x6514fcf8
cmp ecx, esi
ja 0x6514fcf8
mov edx, eax
add dword [ebp - 0xc0c], 2
mov eax, dword [ebp - 0xc0c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x6514fbd0
jbe 0x6514f440
cmp ax, 0x22
je 0x6514fc70
cmp ax, 0x5c
jne 0x6514fc11
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x6514f460
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], ebx
mov dword [ebp - 0xc1c], 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 - 0xc08]
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 - 0xbec]
mov eax, dword [sym.imp.ucrtbase.dll_wcsrchr]
sub esp, 0x18
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
mov dword [ebp - 0xc10], eax
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc0c]
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 - 0xc08]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Driver
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbec]
lea ecx, [ebp - 0x848]
mov edx, ebx
sub esp, 0x18
call sym._apd_copyfile
mov ebx, dword [ebp - 0xbe8]
mov dword [esp + 4], 0x5c
mov eax, dword [ebp - 0xc10]
mov dword [esp], ebx
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc0c]
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 - 0xc08]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Data_File
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbe8]
lea ecx, [ebp - 0x848]
mov edx, ebx
sub esp, 0x18
call sym._apd_copyfile
mov ebx, dword [ebp - 0xbe4]
mov dword [esp + 4], 0x5c
mov eax, dword [ebp - 0xc10]
mov dword [esp], ebx
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc0c]
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 - 0xc08]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Configuration_File
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbe4]
mov edx, ebx
lea ecx, [ebp - 0x848]
sub esp, 0x18
call sym._apd_copyfile
mov ebx, dword [ebp - 0xbe0]
test ebx, ebx
je 0x65150f88
mov dword [esp], ebx
mov eax, dword [ebp - 0xc10]
mov dword [esp + 4], 0x5c
call eax
test eax, eax
lea edx, [eax + 2]
cmovne ebx, edx
mov edx, dword [ebp - 0xc0c]
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 - 0xc08]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Help_File
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xbe0]
lea ecx, [ebp - 0x848]
mov edx, ebx
sub esp, 0x18
call sym._apd_copyfile
mov eax, dword [ebp - 0xbdc]
test eax, eax
je 0x6514f6eb
cmp word [eax], 0
jne 0x65150fc8
mov eax, dword [ebp - 0xc08]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x65155eb2
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 - 0xbd8]
test eax, eax
je 0x65150f70
mov dword [esp], eax
mov eax, dword [ebp - 0xc0c]
call eax
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbd8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc08]
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 - 0xbd4]
sub esp, 0x18
test eax, eax
je 0x65150f58
mov dword [esp], eax
mov eax, dword [ebp - 0xc0c]
call eax
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbd4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc08]
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 - 0xbd0]
sub esp, 0x18
test eax, eax
je 0x65150f40
call sym._multi_sz_lenW.part.0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbd0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc08]
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 - 0xba8]
sub esp, 0x18
test eax, eax
je 0x65150f28
mov dword [esp], eax
mov eax, dword [ebp - 0xc0c]
call eax
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xba8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc08]
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 - 0xa50]
sub esp, 0x18
cmp dword [ebp - 0xc14], 5
mov dword [ebp - 0xc10], eax
jbe 0x6514f87d
test byte [0x651531d8], 8
jne 0x6515097a
mov eax, dword [ebp - 0xc08]
mov dword [esp], eax
mov eax, dword [ebp - 0xc1c]
call eax
mov ebx, dword [ebp - 0xbe4]
sub esp, 4
test byte [0x651531d8], 8
jne 0x65150de0
mov eax, dword [edi + 0x10]
mov dword [esp], eax
mov eax, dword [ebp - 0xc0c]
call eax
mov dword [esp], ebx
mov esi, eax
mov eax, dword [ebp - 0xc0c]
call eax
lea edx, [ebp - 0xbfc]
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 - 0xbfc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc10]
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 0x6515124b
cmp word [ebp - 0xa50], 0
mov esi, dword [edi + 0x10]
mov edx, dword [ebp - 0xc10]
je 0x6514f929
add edx, 2
cmp word [edx], 0
jne 0x6514f920
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6514f930
cmp word [ebp - 0xa50], 0
mov edx, dword [ebp - 0xc10]
je 0x6514f959
add edx, 2
cmp word [edx], 0
jne 0x6514f950
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x6515649e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6514f960
cmp word [ebp - 0xa50], 0
mov edx, dword [ebp - 0xc10]
je 0x6514f991
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6514f988
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6514f998
mov eax, dword [ebp - 0xc10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
mov edi, eax
test byte [0x651531d8], 8
jne 0x651510e0
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 0x6514fa27
test eax, eax
je 0x6514fa27
test byte [0x651531d8], 8
jne 0x65150a92
lea eax, [ebp - 0xbf8]
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 [0x651531d8], 8
jne 0x65150a65
mov dword [esp], edi
mov ebx, 1
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
test byte [0x651531d8], 8
je 0x6514f18f
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f18f
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 - 0xbf4]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbf0]
test ebx, ebx
je 0x65150960
mov eax, ebx
shr eax, 0x10
je 0x65150770
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x651508e0
cmp word [ebx], 0
je 0x65150c18
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x6514fb18
mov esi, 0x224c
lea edx, [ebp - 0x726]
mov word [ebp - 0x848], si
lea esi, [ebp - 0x846]
mov dword [ebp - 0xc0c], edx
jmp 0x6514fb89
cmp ax, 9
je 0x6514fbe8
cmp ax, 0xa
jne 0x6514fc8e
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
nop
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc0c]
ja 0x6514fd30
test ecx, ecx
jle 0x6514fd30
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x6514fbc0
jbe 0x6514fb48
cmp ax, 0x22
je 0x6514fce0
cmp ax, 0x5c
jne 0x6514fc81
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x6514fb70
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x6514fb70
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6514f460
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x6514fb70
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6514f460
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150890
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 0x6514f460
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x6514f460
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150830
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 0x6514fb70
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x6514fb70
mov byte [ecx], 0x22
test eax, eax
jle 0x65150c52
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbf4]
jmp 0x6514fa99
mov byte [esi], 0x22
test eax, eax
jle 0x65150c31
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbf0]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbec]
test ebx, ebx
je 0x65150970
mov eax, ebx
shr eax, 0x10
je 0x65150810
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x65150900
cmp word [ebx], 0
je 0x65150bf7
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x6514fde0
mov eax, 0x224c
lea edx, [ebp - 0x726]
lea esi, [ebp - 0x846]
mov word [ebp - 0x848], ax
mov dword [ebp - 0xc0c], edx
jmp 0x6514fe49
cmp ax, 9
je 0x6514ff00
cmp ax, 0xa
jne 0x6514fe93
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc0c]
ja 0x6514ff18
test ecx, ecx
jle 0x6514ff18
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x6514fe78
jbe 0x6514fe10
cmp ax, 0x22
je 0x6514fee8
cmp ax, 0x5c
jne 0x6514fe86
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x6514fe30
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x6514fe30
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150850
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 0x6514fe30
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x6514fe30
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x6514fe30
mov byte [esi], 0x22
test eax, eax
jle 0x65150c10
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, dword [ebp - 0xbec]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbe8]
test ebx, ebx
je 0x65150930
mov eax, ebx
shr eax, 0x10
je 0x651507f0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x651508b0
cmp word [ebx], 0
je 0x65150c5a
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6514ffc8
mov eax, 0x224c
mov dword [ebp - 0xc0c], ebx
lea ecx, [ebp - 0x846]
lea esi, [ebp - 0x726]
mov word [ebp - 0x848], ax
jmp 0x6515002d
cmp ax, 9
je 0x651500f0
cmp ax, 0xa
jne 0x65150083
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x65150108
cmp ecx, esi
ja 0x65150108
mov edx, eax
add dword [ebp - 0xc0c], 2
mov eax, dword [ebp - 0xc0c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x65150068
jbe 0x6514fff8
cmp ax, 0x22
je 0x651500d8
cmp ax, 0x5c
jne 0x65150076
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x65150018
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150018
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150860
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 0x65150018
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x65150018
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150018
mov byte [ecx], 0x22
test eax, eax
jle 0x65150c73
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
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:_.pDataFile___:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbe4]
test ebx, ebx
je 0x65150950
mov eax, ebx
shr eax, 0x10
je 0x651507b0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x651508c0
cmp word [ebx], 0
je 0x65150b94
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x651501b8
mov eax, 0x224c
lea edx, [ebp - 0x726]
lea esi, [ebp - 0x846]
mov word [ebp - 0x848], ax
mov dword [ebp - 0xc0c], edx
jmp 0x65150221
cmp ax, 9
je 0x651502d8
cmp ax, 0xa
jne 0x6515026b
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc0c]
ja 0x651502f0
test ecx, ecx
jle 0x651502f0
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x65150250
jbe 0x651501e8
cmp ax, 0x22
je 0x651502c0
cmp ax, 0x5c
jne 0x6515025e
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x65150208
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x65150208
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150870
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 0x65150208
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x65150208
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x65150208
mov byte [esi], 0x22
test eax, eax
jle 0x65150bad
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
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:_.pConfigFile_:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbe0]
test ebx, ebx
je 0x65150940
mov eax, ebx
shr eax, 0x10
je 0x65150790
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x651508d0
cmp word [ebx], 0
je 0x65150bd6
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x651503a0
mov ecx, 0x224c
mov dword [ebp - 0xc0c], ebx
lea esi, [ebp - 0x726]
mov word [ebp - 0x848], cx
lea ecx, [ebp - 0x846]
jmp 0x65150405
cmp ax, 9
je 0x651504c8
cmp ax, 0xa
jne 0x6515045b
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x651504e0
cmp ecx, esi
ja 0x651504e0
mov edx, eax
add dword [ebp - 0xc0c], 2
mov eax, dword [ebp - 0xc0c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x65150440
jbe 0x651503d0
cmp ax, 0x22
je 0x651504b0
cmp ax, 0x5c
jne 0x6515044e
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x651503f0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x651503f0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150880
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 0x651503f0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x651503f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x651503f0
mov byte [ecx], 0x22
test eax, eax
jle 0x65150bef
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
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:_.pHelpFile___:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x651531d8], 8
je 0x6514f135
mov ebx, dword [ebp - 0xbdc]
test ebx, ebx
je 0x65150920
mov eax, ebx
shr eax, 0x10
je 0x651507d0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x651508f0
cmp word [ebx], 0
je 0x65150bb5
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x65150590
mov esi, 0x224c
lea edx, [ebp - 0x726]
mov word [ebp - 0x848], si
lea esi, [ebp - 0x846]
mov dword [ebp - 0xc0c], edx
jmp 0x651505f9
cmp ax, 9
je 0x651506b0
cmp ax, 0xa
jne 0x65150643
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp esi, dword [ebp - 0xc0c]
ja 0x651506c8
test ecx, ecx
jle 0x651506c8
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x65150628
jbe 0x651505c0
cmp ax, 0x22
je 0x65150698
cmp ax, 0x5c
jne 0x65150636
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x651505e0
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x651505e0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65150840
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 0x651505e0
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x651505e0
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x651505e0
mov byte [esi], 0x22
test eax, eax
jle 0x65150bce
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x848]
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:_.pDependentFiles:__s_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f135
test byte [0x651531d8], 2
je 0x6514f18d
mov dword [esp + 0xc], str.Cant_create_Drivers_key_n
mov dword [esp + 8], str.myAddPrinterDriverEx
mov dword [esp + 4], 0x651531d8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f18f
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 - 0xbf0]
jmp 0x6514fd62
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 0x65150512
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 0x65150322
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 0x651506fa
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 0x6515013a
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]
jmp 0x6514ff4a
mov byte [esi], al
add esi, 1
jmp 0x6514fb70
mov byte [esi], al
add esi, 1
jmp 0x651505e0
mov byte [esi], al
add esi, 1
jmp 0x6514fe30
mov byte [ecx], al
add ecx, 1
jmp 0x65150018
mov byte [esi], al
add esi, 1
jmp 0x65150208
mov byte [ecx], al
add ecx, 1
jmp 0x651503f0
mov byte [ecx], al
add ecx, 1
jmp 0x6514f460
mov ebx, dword [ebp - 0xbf4]
mov eax, str._invalid_
jmp 0x6514fa99
mov ebx, dword [ebp - 0xbe8]
mov eax, str._invalid_
jmp 0x6515013a
mov ebx, dword [ebp - 0xbe4]
mov eax, str._invalid_
jmp 0x65150322
mov ebx, dword [ebp - 0xbe0]
mov eax, str._invalid_
jmp 0x65150512
mov ebx, dword [ebp - 0xbf0]
mov eax, str._invalid_
jmp 0x6514fd62
mov ebx, dword [ebp - 0xbdc]
mov eax, str._invalid_
jmp 0x651506fa
mov ebx, dword [ebp - 0xbec]
mov eax, str._invalid_
jmp 0x6514ff4a
mov eax, str._null_
jmp 0x6514fa99
mov eax, str._null_
jmp 0x651506fa
mov eax, str._null_
jmp 0x6515013a
mov eax, str._null_
jmp 0x65150512
mov eax, str._null_
jmp 0x65150322
mov eax, str._null_
jmp 0x6514fd62
mov eax, str._null_
jmp 0x6514ff4a
mov ebx, dword [ebp - 0xbf4]
test ebx, ebx
je 0x65151976
mov eax, ebx
shr eax, 0x10
je 0x65151915
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 0x6515145b
cmp word [ebx], 0
je 0x651519ba
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x651509c0
mov eax, 0x224c
lea ecx, [ebp - 0x92e]
mov dword [ebp - 0xc18], edi
lea esi, [ebp - 0xa4e]
mov word [ebp - 0xa50], ax
mov dword [ebp - 0xc10], ecx
jmp 0x65150a31
cmp ax, 9
je 0x6515186f
cmp ax, 0xa
jne 0x651516da
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp esi, dword [ebp - 0xc10]
ja 0x65151421
test edx, edx
jle 0x65151421
mov edx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x6515173c
jbe 0x651509f3
cmp ax, 0x22
je 0x6515172b
cmp ax, 0x5c
jne 0x651516cd
mov ecx, 0x5c5c
add esi, 2
mov word [esi - 2], cx
jmp 0x65150a18
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514fa27
mov ebx, dword [ebp - 0xbe4]
test ebx, ebx
je 0x65151967
mov eax, ebx
shr eax, 0x10
je 0x651518f7
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0xc14], str._invalid_
sub esp, 8
test eax, eax
jne 0x651514f7
cmp word [ebx], 0
je 0x6515199c
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x65150ae0
mov ecx, 0x224c
lea eax, [ebp - 0x92e]
mov dword [ebp - 0xc14], esi
mov word [ebp - 0xa50], cx
mov esi, eax
lea ecx, [ebp - 0xa4e]
mov dword [ebp - 0xc18], edi
mov dword [ebp - 0xc0c], ebx
jmp 0x65150b55
cmp ax, 9
je 0x651517de
cmp ax, 0xa
jne 0x6515175a
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x651514b9
test edx, edx
jle 0x651514b9
mov edx, eax
add dword [ebp - 0xc0c], 2
mov eax, dword [ebp - 0xc0c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x6515185e
jbe 0x65150b1b
cmp ax, 0x22
je 0x651517ab
cmp ax, 0x5c
jne 0x6515174d
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x65150b40
mov eax, 0x224c
mov byte [ebp - 0x846], 0x22
lea esi, [ebp - 0x846]
mov word [ebp - 0x848], ax
lea eax, [esi + 1]
jmp 0x6515030b
mov edi, 0x224c
mov byte [ebp - 0x846], 0x22
lea esi, [ebp - 0x846]
mov word [ebp - 0x848], di
lea eax, [esi + 1]
jmp 0x651506e3
mov ebx, 0x224c
mov byte [ebp - 0x846], 0x22
lea ecx, [ebp - 0x846]
mov word [ebp - 0x848], bx
lea eax, [ecx + 1]
jmp 0x651504fb
mov edi, 0x224c
mov byte [ebp - 0x846], 0x22
lea esi, [ebp - 0x846]
mov word [ebp - 0x848], di
lea eax, [esi + 1]
jmp 0x6514ff33
mov ebx, 0x224c
mov byte [ebp - 0x846], 0x22
lea esi, [ebp - 0x846]
mov word [ebp - 0x848], bx
lea eax, [esi + 1]
jmp 0x6514fd4b
mov eax, 0x224c
mov byte [ebp - 0x846], 0x22
lea ecx, [ebp - 0x846]
mov word [ebp - 0x848], ax
lea eax, [ecx + 1]
jmp 0x6514fd13
mov eax, 0x224c
mov byte [ebp - 0x846], 0x22
lea ecx, [ebp - 0x846]
mov word [ebp - 0x848], ax
lea eax, [ecx + 1]
jmp 0x65150123
mov edi, dword [ebp - 0xbf4]
test edi, edi
je 0x65151880
mov eax, edi
shr eax, 0x10
je 0x6515165d
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 0x65150daf
cmp word [edi], 0
je 0x65151894
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x65150cc8
mov eax, 0x224c
mov dword [ebp - 0xc10], ebx
lea ecx, [ebp - 0xa4e]
mov word [ebp - 0xa50], ax
lea eax, [ebp - 0x92e]
mov dword [ebp - 0xc14], esi
mov dword [ebp - 0xc0c], eax
jmp 0x65150d41
cmp ax, 9
je 0x65151300
cmp ax, 0xa
jne 0x65151284
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, dword [ebp - 0xc0c]
ja 0x65150d75
test edx, edx
jle 0x65150d75
mov edx, eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x651512e9
jbe 0x65150d08
cmp ax, 0x22
je 0x651512d8
cmp ax, 0x5c
jne 0x65151277
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150d30
mov ebx, dword [ebp - 0xc10]
mov esi, dword [ebp - 0xc14]
mov byte [ecx], 0x22
test eax, eax
jle 0x651518ad
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
mov byte [eax], 0
lea eax, [ebp - 0xa50]
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], 0x651531d8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f33f
test ebx, ebx
je 0x6515188a
mov eax, ebx
shr eax, 0x10
je 0x65151677
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 0x65150ef1
cmp word [ebx], 0
je 0x651518d6
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x65150e20
mov eax, 0x224c
mov dword [ebp - 0xc14], edi
mov esi, ebx
lea ecx, [ebp - 0xa4e]
mov word [ebp - 0xa50], ax
mov dword [ebp - 0xc18], ebx
jmp 0x65150e83
cmp ax, 9
je 0x651514a8
cmp ax, 0xa
jne 0x651513bf
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x65150eb7
lea edi, [ebp - 0x92e]
cmp ecx, edi
ja 0x65150eb7
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x65151492
jbe 0x65150e50
cmp ax, 0x22
je 0x65151410
cmp ax, 0x5c
jne 0x651513b2
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x65150e70
mov edi, dword [ebp - 0xc14]
mov ebx, dword [ebp - 0xc18]
mov byte [ecx], 0x22
test eax, eax
jle 0x651518ef
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 - 0xc10]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f8a4
mov dword [esp + 0x14], 0x12
mov dword [esp + 0x10], str.winprint
jmp 0x6514f835
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x65155eb2
jmp 0x6514f7e4
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x65155eb2
jmp 0x6514f79d
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x65155eb2
jmp 0x6514f74c
mov eax, dword [ebp - 0xc08]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x65155eb2
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 0x6514f6d7
call sym._multi_sz_lenW.part.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, dword [ebp - 0xbdc]
mov dword [ebp - 0xc20], eax
cmp word [ebx], 0
je 0x6515198a
mov dword [ebp - 0xc24], edi
mov dword [ebp - 0xc28], esi
mov esi, eax
lea esi, [esi]
mov dword [esp], ebx
mov eax, dword [ebp - 0xc10]
mov dword [esp + 4], 0x5c
call eax
lea edx, [eax + 2]
test eax, eax
mov eax, dword [ebp - 0xc0c]
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 - 0xc00], ecx
add ecx, ecx
mov dword [esp + 8], ecx
mov dword [ebp - 0xc18], ecx
call sym._memcpy
mov ecx, dword [ebp - 0xc18]
mov edx, edi
mov eax, ebx
add esi, ecx
lea ecx, [ebp - 0x848]
call sym._apd_copyfile
mov dword [esp], ebx
mov eax, dword [ebp - 0xc0c]
call eax
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x65151000
mov eax, esi
mov edx, esi
sub eax, dword [ebp - 0xc20]
mov edi, dword [ebp - 0xc24]
mov esi, dword [ebp - 0xc28]
add eax, 2
mov ebx, edx
xor edx, edx
mov word [ebx], dx
mov ebx, dword [ebp - 0xc20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc08]
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 0x6514f721
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0xc14], eax
mov eax, dword [ebp - 0xc10]
shr eax, 0x10
je 0x65151691
mov esi, dword [ebp - 0xc10]
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 0x65151210
cmp word [ebp - 0xa50], 0
je 0x651518b5
mov ecx, esi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x65151138
mov ebx, dword [ebp - 0xc10]
mov eax, 0x224c
lea ecx, [ebp - 0xb7a]
mov word [ebp - 0xb7c], ax
mov dword [ebp - 0xc0c], ebx
jmp 0x651511a3
cmp ax, 9
je 0x65151318
cmp ax, 0xa
jne 0x65151336
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea esi, [ebp - 0xa5a]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x651511e2
test edx, edx
jle 0x651511e2
mov edx, eax
add dword [ebp - 0xc0c], 2
mov eax, dword [ebp - 0xc0c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x651513a1
jbe 0x65151168
cmp ax, 0x22
je 0x65151390
cmp ax, 0x5c
jne 0x65151329
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x65151190
mov byte [ecx], 0x22
test eax, eax
jle 0x651518ce
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0xb7c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0xc14]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f9c9
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 0x6514fa27
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x651516af
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 0x65150d30
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150d30
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150d30
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150d30
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65151190
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x651516c3
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 0x65151190
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x65151190
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65151190
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x651516b9
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 0x65150e70
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x65150e70
mov byte [esi], 0x22
mov edi, dword [ebp - 0xc18]
test eax, eax
jle 0x651519d0
mov edx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0xa50]
mov dword [esp], eax
mov dword [ebp - 0xc10], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0xc14]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f87d
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150e70
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150e70
mov esi, dword [ebp - 0xc14]
mov edi, dword [ebp - 0xc18]
mov byte [ecx], 0x22
test eax, eax
jle 0x651519b2
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 - 0xc10]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0xc14], eax
mov ebx, dword [ebp - 0xbf4]
test ebx, ebx
je 0x65151980
mov eax, ebx
shr eax, 0x10
je 0x6515192f
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 0x65151626
cmp word [ebx], 0
je 0x651519d8
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x65151540
mov eax, 0x224c
mov dword [ebp - 0xc18], esi
lea ecx, [ebp - 0xa4e]
mov word [ebp - 0xa50], ax
lea eax, [ebp - 0x92e]
mov dword [ebp - 0xc1c], edi
mov esi, eax
mov dword [ebp - 0xc0c], ebx
jmp 0x651515ad
cmp ax, 9
je 0x651517cd
cmp ax, 0xa
jne 0x651517fc
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x651515ec
test edx, edx
jle 0x651515ec
mov edx, eax
add dword [ebp - 0xc0c], 2
mov eax, dword [ebp - 0xc0c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x651517bc
jbe 0x6515157b
cmp ax, 0x22
je 0x6515184d
cmp ax, 0x5c
jne 0x651517ef
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x651515a0
mov esi, dword [ebp - 0xc18]
mov edi, dword [ebp - 0xc1c]
mov byte [ecx], 0x22
test eax, eax
jle 0x651519ee
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 - 0xc10]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0xc14]
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], 0x651531d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6514f9f4
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 0x65150daf
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 0x65150ef1
movzx eax, word [ebp - 0xc10]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x65151210
mov byte [ecx], al
add ecx, 1
jmp 0x65150d30
mov byte [ecx], al
add ecx, 1
jmp 0x65150e70
mov byte [ecx], al
add ecx, 1
jmp 0x65151190
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6515195d
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 0x65150a18
mov edi, 0x225c
add esi, 2
mov word [esi - 2], di
jmp 0x65150a18
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x65150a18
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65151953
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 0x65150b40
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x65150b40
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x651515a0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x651515a0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150b40
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x65151949
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 0x651515a0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x651515a0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x65150b40
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x65150a18
mov edx, str._null_
jmp 0x65150daf
mov edx, str._null_
jmp 0x65150ef1
mov eax, 0x224c
mov byte [ebp - 0xa4e], 0x22
lea ecx, [ebp - 0xa4e]
mov word [ebp - 0xa50], ax
lea eax, [ecx + 1]
jmp 0x65150d9c
mov eax, 0x224c
mov byte [ebp - 0xb7a], 0x22
lea ecx, [ebp - 0xb7a]
mov word [ebp - 0xb7c], ax
lea eax, [ecx + 1]
jmp 0x651511fd
mov eax, 0x224c
mov byte [ebp - 0xa4e], 0x22
lea ecx, [ebp - 0xa4e]
mov word [ebp - 0xa50], ax
lea eax, [ecx + 1]
jmp 0x65150ede
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
mov dword [ebp - 0xc14], eax
jmp 0x651514f7
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 0x6515145b
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 0x65151626
mov byte [ecx], al
add ecx, 1
jmp 0x651515a0
mov byte [ecx], al
add ecx, 1
jmp 0x65150b40
mov byte [esi], al
add esi, 1
jmp 0x65150a18
mov dword [ebp - 0xc14], str._null_
jmp 0x651514f7
mov edx, str._null_
jmp 0x6515145b
mov edx, str._null_
jmp 0x65151626
mov eax, dword [ebp - 0xc20]
mov edx, eax
mov eax, 2
jmp 0x6515108e
mov word [ebp - 0xa50], 0x224c
lea ecx, [ebp - 0xa4e]
mov byte [ebp - 0xa4e], 0x22
lea eax, [ecx + 1]
jmp 0x651514e0
mov word [ebp - 0xa50], 0x224c
lea esi, [ebp - 0xa4e]
mov byte [ebp - 0xa4e], 0x22
lea eax, [esi + 1]
jmp 0x65151442
mov word [ebp - 0xa50], 0x224c
lea ecx, [ebp - 0xa4e]
mov byte [ebp - 0xa4e], 0x22
lea eax, [ecx + 1]
jmp 0x65151613