Function at 0x10004690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100550f5
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
push 0xb
xor ebx, ebx
mov ebp, 0xf
push str.printMgrCfg
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.1000a010
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x11c], ebx
call fcn.10002820
add esp, 4
mov esi, 0x10
mov byte [esp + 0x118], 2
cmp dword [esp + 0xd0], esi
jb 0x1000473e
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.10038093
add esp, 4
cmp byte [esp + 0xdc], 7
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jne 0x10004a13
push 0xd
push str.concernedExts
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.1000a010
sub esp, 0x1c
mov byte [esp + 0x134], 3
mov ecx, esp
mov dword [esp + 0x38], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x10058aef
mov byte [ecx + 4], bl
call fcn.1000a010
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x44]
lea edi, [esp + 0xf4]
call fcn.100019d0
add esp, 0x20
mov byte [esp + 0x118], 5
cmp dword [esp + 0x3c], esi
jb 0x100047d8
mov eax, dword [esp + 0x28]
push eax
call fcn.10038093
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x104], ebx
je 0x1000483c
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.10001420
add esp, 8
push 0xffffffffffffffff
push ebx
mov ecx, 0x1006912c
mov byte [esp + 0x120], 6
call fcn.100091f0
mov byte [esp + 0x118], 5
cmp dword [esp + 0x94], 8
jb 0x1000483c
mov eax, dword [esp + 0x80]
push eax
call fcn.10038093
add esp, 4
push 0x15
push str.modelPrinterNameMatch
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.1000a010
push ebx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x124], 7
call fcn.10001860
add esp, 0xc
mov byte [esp + 0x118], 5
mov dword [0x1006b1bc], eax
cmp dword [esp + 0x78], esi
jb 0x10004899
mov eax, dword [esp + 0x64]
push eax
call fcn.10038093
add esp, 4
cmp dword [0x1006b1bc], ebx
je 0x100048ae
push str.modelPrinterNameMatch_enabled
call fcn.100210fd
add esp, 4
push str.fontScale
lea ecx, [esp + 0xd8]
push ecx
mov ecx, 0x10058eb5
call fcn.10026715
mov edi, eax
cmp byte [edi + 8], 7
jne 0x100049f2
mov eax, dword [0x1006b1c4]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100048f0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x64]
call fcn.1000a400
mov eax, esi
push eax
lea esi, [esp + 0x80]
mov byte [esp + 0x11c], 8
call fcn.1000cdc0
add esp, 4
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x120], 9
call fcn.100014a0
push 0x64
push eax
push edi
mov byte [esp + 0x12c], 0xa
call fcn.10001860
add esp, 0x14
cmp dword [esp + 0x58], 0x10
mov dword [0x1006910c], eax
jb 0x10004963
mov edx, dword [esp + 0x44]
push edx
call fcn.10038093
add esp, 4
mov edi, 8
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x94], edi
jb 0x1000498d
mov eax, dword [esp + 0x80]
push eax
call fcn.10038093
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
cmp dword [esp + 0x78], edi
jb 0x100049bd
mov edx, dword [esp + 0x64]
push edx
call fcn.10038093
add esp, 4
mov ecx, dword [0x1006910c]
mov edx, dword [0x1006b1c4]
push ecx
push edx
xor eax, eax
push str.font_scale:__s__d
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], ax
call fcn.100210fd
add esp, 0xc
mov esi, 0x10
mov byte [esp + 0x118], 2
cmp dword [esp + 0x108], esi
jb 0x10004a13
mov eax, dword [esp + 0xf4]
push eax
call fcn.10038093
add esp, 4
push 0xa
push str.printerMgr
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.1000a010
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x11c], 0xb
call fcn.10001bf0
add esp, 4
mov byte [esp + 0x118], 0xd
cmp dword [esp + 0x78], esi
jb 0x10004a69
mov edx, dword [esp + 0x64]
push edx
call fcn.10038093
add esp, 4
cmp byte [esp + 0xa4], 7
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jne 0x10005181
push 0xa
push str.BanPrinter
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.1000a010
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x120], 0xe
lea ecx, [esp + 0xa4]
mov byte [esp + 0x23], bl
call fcn.10002100
add esp, 8
test al, al
je 0x10004ad3
cmp byte [esp + 0x1b], bl
mov byte [esp + 0x1b], 1
jne 0x10004ad7
mov byte [esp + 0x1b], bl
mov byte [esp + 0x118], 0xd
cmp dword [esp + 0x3c], esi
jb 0x10004af2
mov edx, dword [esp + 0x28]
push edx
call fcn.10038093
add esp, 4
mov edi, fcn.10001420
cmp byte [esp + 0x1b], bl
je 0x10004e12
push 0x13
push str.BanPrinterProcesses
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.1000a010
mov byte [esp + 0x118], 0xf
push 0x15
push str.BanPrinterProcessMode
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.1000a010
sub esp, 0x1c
mov byte [esp + 0x134], 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x10058aef
mov byte [ecx + 4], bl
call fcn.1000a010
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xbc]
lea esi, [esp + 0x9c]
call fcn.10002440
mov esi, eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
mov byte [esp + 0x13c], 0x11
push edx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x44], ebx
call fcn.10002230
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [esp + 0x44]
push esi
push eax
call fcn.100044b0
mov esi, 0x10
add esp, 0x30
mov byte [esp + 0x1b], al
cmp dword [esp + 0x94], esi
jb 0x10004bd9
mov eax, dword [esp + 0x80]
push eax
call fcn.10038093
add esp, 4
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x3c], esi
jb 0x10004c01
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10038093
add esp, 4
mov byte [esp + 0x118], 0xd
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x58], esi
jb 0x10004c28
mov edx, dword [esp + 0x44]
push edx
call fcn.10038093
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x10004e0d
push str.AllowPrintRequest
lea ecx, [esp + 0xf4]
mov byte [0x1006ba78], 1
call fcn.10007d40
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 0x12
call fcn.100021f0
mov esi, 0x10
add esp, 4
mov byte [esp + 0x118], 0xd
mov byte [0x1006ba79], al
cmp dword [esp + 0x108], esi
jb 0x10004c94
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.10038093
add esp, 4
push str.VirtualPrinterAllowed
lea ecx, [esp + 0xf4]
call fcn.10007d40
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 0x13
call fcn.100021f0
add esp, 4
mov byte [esp + 0x118], 0xd
mov byte [0x1006ba7a], al
cmp dword [esp + 0x108], esi
jb 0x10004cea
mov eax, dword [esp + 0xf4]
push eax
call fcn.10038093
add esp, 4
push str.PrinterAllowed
lea ecx, [esp + 0xf4]
call fcn.10007d40
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 0x14
call fcn.100021f0
add esp, 4
mov byte [esp + 0x118], 0xd
mov byte [esp + 0x1b], al
cmp dword [esp + 0x108], esi
jb 0x10004d3f
mov edx, dword [esp + 0xf4]
push edx
call fcn.10038093
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x10004e0d
push str.AllowedPrinters
lea ecx, [esp + 0xf4]
call fcn.10007d40
sub esp, 0x18
mov dword [esp + 0x34], esp
mov eax, esp
je 0x10004d74
mov dword [eax], vtable.std::tr1::_Impl_base1_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [eax], 0x1005949c
mov dword [eax + 4], edi
mov dword [eax + 0x10], eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xb8]
lea ebx, [esp + 0x5c]
mov byte [esp + 0x134], 0x16
call fcn.10002780
add esp, 4
mov byte [esp + 0x130], 0x17
lea ecx, [esp + 0x94]
push ecx
mov bl, 0x18
mov ecx, eax
mov byte [esp + 0x134], bl
call fcn.1000cf20
add esp, 0x1c
mov esi, 0x1006ba7c
mov byte [esp + 0x118], 0x19
call fcn.100051e0
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x11c], bl
call fcn.10001520
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x11c], 0x15
call fcn.10001580
lea ecx, [esp + 0xf0]
mov byte [esp + 0x118], 0xd
call fcn.10007db0
xor ebx, ebx
mov ebp, 0xf
mov esi, 0x10
push 0xe
push str.PrintWatermark
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.1000a010
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x44]
mov byte [esp + 0x11c], 0x1a
push edx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x23], bl
call fcn.10002100
add esp, 8
test al, al
je 0x10004e62
cmp byte [esp + 0x1b], bl
mov byte [esp + 0x1b], 1
jne 0x10004e66
mov byte [esp + 0x1b], bl
mov byte [esp + 0x118], 0xd
cmp dword [esp + 0x58], esi
jb 0x10004e81
mov eax, dword [esp + 0x44]
push eax
call fcn.10038093
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x10005181
push 0x17
push str.PrintWatermarkProcesses
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.1000a010
mov byte [esp + 0x118], 0x1b
push 0x19
push str.PrintWatermarkProcessMode
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.1000a010
sub esp, 0x1c
mov byte [esp + 0x134], 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x10058aef
mov byte [ecx + 4], bl
call fcn.1000a010
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xbc]
lea esi, [esp + 0x9c]
call fcn.10002440
mov esi, eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x48]
mov byte [esp + 0x13c], 0x1d
push eax
lea ecx, [esp + 0xc4]
mov dword [esp + 0x44], ebx
call fcn.10002230
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [esp + 0x44]
push esi
push eax
call fcn.100044b0
mov esi, 0x10
add esp, 0x30
mov byte [esp + 0x1b], al
cmp dword [esp + 0x94], esi
jb 0x10004f63
mov ecx, dword [esp + 0x80]
push ecx
call fcn.10038093
add esp, 4
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x3c], esi
jb 0x10004f8b
mov edx, dword [esp + 0x28]
push edx
call fcn.10038093
add esp, 4
mov byte [esp + 0x118], 0xd
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x58], esi
jb 0x10004fb2
mov eax, dword [esp + 0x44]
push eax
call fcn.10038093
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x10005181
push str.PrintWatermarkEffectiveRange
lea ecx, [esp + 0xf4]
mov byte [0x1006ba00], 1
call fcn.10007d40
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 0x1e
call fcn.100021f0
add esp, 4
mov byte [esp + 0x118], 0xd
mov byte [0x1006ba01], al
cmp dword [esp + 0x108], esi
jb 0x10005019
mov edx, dword [esp + 0xf4]
push edx
call fcn.10038093
add esp, 4
push str.PrintWatermarkPrinters
lea ecx, [esp + 0xf4]
call fcn.10007d40
sub esp, 0x18
mov dword [esp + 0x34], esp
mov eax, esp
je 0x10005044
mov dword [eax], vtable.std::tr1::_Impl_base1_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [eax], 0x1005949c
mov dword [eax + 4], edi
mov dword [eax + 0x10], eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xb8]
lea ebx, [esp + 0x5c]
mov byte [esp + 0x134], 0x20
call fcn.10002780
add esp, 4
mov byte [esp + 0x130], 0x21
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
mov byte [esp + 0x134], 0x22
call fcn.1000cf20
add esp, 0x1c
mov ebx, eax
mov byte [esp + 0x118], 0x23
cmp ebx, 0x1006ba04
je 0x100050c8
mov eax, dword [0x1006ba1c]
mov ecx, dword [0x1006ba04]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, 0x1006ba04
call fcn.10009690
mov eax, 0x1006ba04
call fcn.10009770
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x11c], 0x22
call fcn.10001520
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x11c], 0x1f
call fcn.10001580
mov byte [esp + 0x118], 0xd
cmp dword [esp + 0x108], 0x10
jb 0x1000510e
mov edx, dword [esp + 0xf4]
push edx
call fcn.10038093
add esp, 4
push str.PrintWatermarkModels
lea ecx, [esp + 0x44]
call fcn.10007d40
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x124], 0x24
call fcn.10002610
add esp, 0xc
push 0x1006ba24
mov ebx, eax
mov byte [esp + 0x11c], 0x25
call fcn.10008090
lea esi, [esp + 0x24]
call fcn.10008040
cmp dword [esp + 0x58], 0x10
jb 0x1000516f
mov eax, dword [esp + 0x44]
push eax
call fcn.10038093
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
lea esi, [esp + 0x9c]
mov byte [esp + 0x118], 2
call fcn.10025a4f
lea esi, [esp + 0xd4]
mov dword [esp + 0x118], 0xffffffff
call fcn.10025a4f
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.10037693
add esp, 0x108
ret