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

Disassembly:
mov eax, 0x2b04
call fcn.0046d4a0
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x2afc], eax
mov eax, dword [esp + 0x2b0c]
push ebx
mov ebx, dword [esp + 0x2b18]
push ebp
mov ebp, dword [esp + 0x2b18]
push esi
mov esi, dword [esp + 0x2b14]
mov dword [esp + 0x10], eax
push edi
lea eax, [esp + 0x78]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
call fcn.0042de60
xor edi, edi
push 0x1fe
lea eax, [esp + 0x2706]
push edi
push eax
mov word [esp + 0x270c], di
call fcn.0046adc0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x2906]
push edi
push ecx
mov word [esp + 0x290c], di
call fcn.0046adc0
add esp, 0xc
push esi
push str.InstallNonPnpPrinter__s_
mov dword [ebx], edi
call fcn.00426a70
mov edi, eax
call fcn.00426f90
push 0x2248
lea edx, [esp + 0x4c4]
push 0
push edx
call fcn.0046adc0
add esp, 0x14
lea eax, [esp + 0x4b8]
push eax
mov eax, esi
lea ecx, [esp + 0x7c]
call fcn.0042f490
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2904]
push edx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x2904]
push ecx
mov edx, ebp
mov ecx, esi
mov word [eax], 0
call fcn.004306d0
test eax, eax
je 0x430e8a
push 0x54
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0046adc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, 0x498194
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x12fc]
add esp, 0xc
mov dword [esp + 0x34], ecx
lea edx, [esp + 0xad0]
mov ecx, eax
mov dword [esp + 0x48], edx
push ecx
lea edx, [esp + 0x14fc]
push edx
push str.AddPrintProcessor__s___s
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x64], 1
mov dword [esp + 0x50], eax
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
lea eax, [esp + 0x12f0]
push eax
lea ecx, [esp + 0x14fc]
push ecx
xor esi, esi
push esi
push esi
call sub.WINSPOOL.DRV_AddPrintProcessorW
test eax, eax
jne 0x430d05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xbbd
jne 0x430e76
push str.AddPrintProcessor_is_already_installed
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push str.AddPrinter____pInfo_:
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov edx, dword [esp + 0x30]
add esp, 4
push edx
push str.____Portname___s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov eax, dword [esp + 0x5c]
add esp, 8
push eax
push str.____Attributes___x
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov ecx, dword [esp + 0x38]
add esp, 8
push ecx
push str.____Drivername___s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov edx, dword [esp + 0x3c]
add esp, 8
push edx
push str.____Comment___s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov eax, dword [esp + 0x60]
add esp, 8
push eax
push str.____Priority___d
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov ecx, dword [esp + 0x4c]
add esp, 8
push ecx
push str.____PrintProccessor___s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov edx, dword [esp + 0x50]
add esp, 8
push edx
push str.____DataType___s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
cmp ebp, esi
mov word [esp + 0x2700], si
je 0x430dea
push ebp
lea eax, [esp + 0x2704]
push 0x100
push eax
call fcn.00467e2b
add esp, 0xc
test esi, esi
jbe 0x430e0a
push esi
push ebp
push str._s__d
lea ecx, [esp + 0x270c]
push 0x100
push ecx
call fcn.00468098
add esp, 0x14
lea edx, [esp + 0x2700]
mov eax, edx
push eax
push str.Attempting_AddPrinter__s
mov dword [esp + 0x2c], edx
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
lea ecx, [esp + 0x20]
push ecx
push 2
push 0
call sub.WINSPOOL.DRV_AddPrinterW
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x430e8e
cmp ebx, 0x70a
jne 0x430ec5
add esi, 1
cmp esi, 0x32
jb 0x430dea
mov eax, 1
mov ecx, dword [esp + 0x2b0c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004677d8
add esp, 0x2b04
ret 0x10
push str.Failed_AddPrintProcessor____FATAL_ERROR
call fcn.00426a70
mov ecx, eax
call fcn.00427100
add esp, 4
xor eax, eax
jmp 0x430e5b
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [esp + 0x1c]
mov word [esi], 0
je 0x430eae
push eax
push 0x100
push esi
call fcn.00467e2b
add esp, 0xc
push esi
push str.AddPrinter_succeeded__s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
jmp 0x430e56
push str.AddPrinter_failed
jmp 0x430e7b