Function at 0x40b920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f354d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ecx, 0xa
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x40bbe9
nop
mov eax, ecx
lea edx, [esi + 8]
dec ecx
mov dword [ebp - 0x54], ecx
test eax, eax
jle 0x40bbe9
cmp dword [edx + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov eax, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x48], edx
jb 0x40b996
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x4c], edx
cmp edx, 0x7fffffff
ja 0x40bc09
cmp edx, 0x10
jae 0x40b9c4
mov ecx, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
jmp 0x40ba49
mov eax, edx
mov dword [ebp - 0x14], 0xf
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x40b9e5
mov dword [ebp - 0x50], connect
mov ecx, connect
jmp 0x40b9fe
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x50], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x40ba11
push ecx
call fcn.004020c0
mov edx, dword [ebp - 0x4c]
mov ecx, eax
mov eax, dword [ebp - 0x50]
add esp, 4
jmp 0x40ba2a
test ecx, ecx
je 0x40ba28
push ecx
call fcn.0049c406
mov edx, dword [ebp - 0x4c]
mov ecx, eax
mov eax, dword [ebp - 0x50]
add esp, 4
jmp 0x40ba2a
xor ecx, ecx
mov dword [ebp - 0x14], eax
lea eax, [edx + 1]
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
push ecx
mov dword [ebp - 0x18], edx
call fcn.004b8680
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x18]
cmp ecx, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
setae byte [ebp - 0x41]
mov dword [ebp - 0x48], eax
test edx, edx
je 0x40ba8e
or eax, 0xffffffff
lea ecx, [edx - 1]
cmp ecx, eax
cmovb eax, ecx
mov ecx, dword [ebp - 0x48]
add eax, ecx
cmp byte [eax], 0x2e
je 0x40ba8a
nop word [eax + eax]
cmp eax, ecx
je 0x40ba8e
dec eax
cmp byte [eax], 0x2e
jne 0x40ba80
sub eax, ecx
jmp 0x40ba91
or eax, 0xffffffff
cmp edx, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
cmovb eax, edx
xorps xmm0, xmm0
cmp byte [ebp - 0x41], 0
push eax
cmovne ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.004020f0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40baf4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40baea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc04
push ecx
push edx
call fcn.004b3acc
add esp, 8
movups xmm1, xmmword [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x28]
movq xmm0, qword [ebp - 0x30]
movd eax, xmm1
movups xmmword [ebp - 0x28], xmm1
cmovae ecx, eax
movq qword [ebp - 0x18], xmm0
push ecx
push str.IMAGINGCONFIGURATION
call fcn.004129d0
mov edx, eax
add esp, 8
test edx, edx
je 0x40bb77
cmp byte [edx], 0
je 0x40bb77
sub esp, 0x18
mov ecx, edx
mov eax, esp
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bb51
sub ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
call fcn.004020f0
push dword [0x668a6c]
call fcn.00429660
add esp, 0x1c
test al, al
je 0x40bbbc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x40bbae
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bba4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc04
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov esi, dword [esi]
cmp esi, edi
je 0x40bbe9
mov ecx, dword [ebp - 0x54]
jmp 0x40b960
push str.Cancelling_print_due_to_issue_with_Imaging_Configuration.
push 0x4fdbd0
push str.WARNING
call fcn.0041b3d0
add esp, 8
push eax
call fcn.0041bdf0
add esp, 8
call fcn.00405920
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004c342f
call fcn.00402bf0
int3