Function at 0x416390
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454a78
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x84]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4163d1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x4163ee
mov eax, dword [edx]
jmp 0x4163f0
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x4163fc
xor ecx, ecx
jmp 0x41640a
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416401
sub ecx, ebx
push ecx
push edi
mov ecx, edx
call fcn.00403ad0
lea eax, [ebp - 0x40]
push eax
call fcn.0040b840
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x416427
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x416449
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004041b0
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x4164c8
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], eax
mov byte [edx], al
cmp byte [edi], al
jne 0x41646c
xor ecx, ecx
jmp 0x41647a
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416471
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.00403ad0
lea eax, [ebp - 0x40]
push eax
call fcn.0040b840
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x416497
mov eax, dword [eax]
push eax
push str.Failure_to_load_UniLib_componant_n_n_s_n_n__Please_check_your_installation.
push 0x30
push str.Error
call fcn.0040b5d0
mov eax, dword [ebp - 0x2c]
add esp, 0x10
cmp eax, 8
jb 0x4164c1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004041b0
xor al, al
jmp 0x4167eb
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.createContext
push eax
mov dword [ebp - 4], ecx
call edi
push str.deleteContext
push dword [esi + 0x84]
mov dword [esi + 0xa8], eax
call edi
push str.prepareToPrint
push dword [esi + 0x84]
mov dword [esi + 0xac], eax
call edi
push str.deleteBuffer
push dword [esi + 0x84]
mov dword [esi + 0xb0], eax
call edi
push str.getLibVersion
push dword [esi + 0x84]
mov dword [esi + 0xa4], eax
call edi
push str.getMediaInformation
push dword [esi + 0x84]
mov dword [esi + 0xa0], eax
call edi
push str.getMediaInformationCounter
push dword [esi + 0x84]
mov dword [esi + 0xc8], eax
call edi
push 0x45a1d8
push dword [esi + 0x84]
mov dword [esi + 0xb8], eax
call edi
push 0x45a1e8
push dword [esi + 0x84]
mov dword [esi + 0xcc], eax
call edi
push 0x45a200
push dword [esi + 0x84]
mov dword [esi + 0xc0], eax
call edi
push 0x45a214
push dword [esi + 0x84]
mov dword [esi + 0xc4], eax
call edi
push str.startPrinterStatusTracking
push dword [esi + 0x84]
mov dword [esi + 0xbc], eax
call edi
push str.startJobStatusTracking
push dword [esi + 0x84]
mov dword [esi + 0xd0], eax
call edi
push str.stopPrinterStatusTracking
push dword [esi + 0x84]
mov dword [esi + 0xd4], eax
call edi
push str.stopJobStatusTracking
push dword [esi + 0x84]
mov dword [esi + 0xe4], eax
call edi
push str.setMediumProperties
push dword [esi + 0x84]
mov dword [esi + 0xe8], eax
call edi
push str.cancelPrintJob
push dword [esi + 0x84]
mov dword [esi + 0xe0], eax
call edi
push str.triggerCalibration
push dword [esi + 0x84]
mov dword [esi + 0xb4], eax
call edi
push str.getPrinterUsageInfo
push dword [esi + 0x84]
mov dword [esi + 0xd8], eax
call edi
push str.getPrinterStatusDuringSleep
push dword [esi + 0x84]
mov dword [esi + 0xdc], eax
call edi
push str.wakePrinter
push dword [esi + 0x84]
mov dword [esi + 0xec], eax
call edi
push str.getIccProfile
push dword [esi + 0x84]
mov dword [esi + 0xf0], eax
call edi
cmp dword [esi + 0xa8], 0
mov dword [esi + 0xf4], eax
je 0x416721
cmp dword [esi + 0xac], 0
je 0x416721
cmp dword [esi + 0xa4], 0
je 0x416721
cmp dword [esi + 0xb0], 0
je 0x416721
cmp dword [esi + 0xa0], 0
je 0x416721
cmp dword [esi + 0xc8], 0
je 0x416721
cmp dword [esi + 0xb8], 0
je 0x416721
cmp dword [esi + 0xc0], 0
je 0x416721
cmp dword [esi + 0xc4], 0
je 0x416721
cmp dword [esi + 0xbc], 0
je 0x416721
cmp dword [esi + 0xd0], 0
je 0x416721
cmp dword [esi + 0xe4], 0
je 0x416721
cmp dword [esi + 0xe8], 0
je 0x416721
cmp dword [esi + 0xe0], 0
je 0x416721
cmp dword [esi + 0xb4], 0
je 0x416721
cmp dword [esi + 0xcc], 0
je 0x416721
mov bl, 1
jmp 0x4167d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov esi, eax
mov ecx, esp
push esi
push ecx
call fcn.00408c00
add esp, 8
lea eax, [ebp - 0x70]
push eax
call fcn.0040b840
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x416750
mov eax, dword [eax]
push eax
push esi
lea eax, [ebp - 0x58]
push str.Error__d:__s_n
push eax
call fcn.00408db0
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00409620
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x416789
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4167b2
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004041b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Failure_to_load_UniLib_procedures_n_n_s_n_n__Please_check_your_installation.
push 0x30
push str.Error
call fcn.0040b5d0
add esp, 0x10
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4167e9
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004041b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a28a
mov esp, ebp
pop ebp
ret 4