Function at 0x55ffa0
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov esi, esp
mov dword [esi + 0x140], ebp
mov dword [esi + 0x144], esp
mov dword [esi + 0x150], 0xffffffff
mov dword [esi + 0x14c], 0x564ca0
mov edi, dword [ebp + 8]
lea eax, [esi + 0x148]
mov dword [esi + 0x74], ecx
mov edx, dword fs:[0]
mov dword [esi + 0x148], edx
mov dword fs:[0], eax
call fcn.0055bb90
test edi, edi
mov dword [esi + 0x54], 7
mov dword [esi + 0x50], 0
mov word [esi + 0x40], 0
mov dword [esi + 0x6c], 7
mov dword [esi + 0x68], 0
mov word [esi + 0x58], 0
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], 0
mov word [esi + 0x20], 0
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], 0
je 0x5605ec
mov eax, dword [edi + 0x10]
test eax, eax
je 0x5605ec
cmp dword [edi + 0x14], 0xf
jbe 0x560060
mov edi, dword [edi]
mov dword [esi + 0x150], 8
lea ecx, [esi + 0x80]
push eax
push edi
push ecx
call fcn.004a3420
add esp, 0xc
mov ecx, dword [esi + 0x54]
cmp ecx, 8
jb 0x5600b6
mov eax, dword [esi + 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5600ac
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560726
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [esi + 0x50], xmm0
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x40], xmm2
cmp dword [esi + 0x50], 0
je 0x5605ec
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x560182
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x560182
cmp dword [eax + 0x14], 0xf
jbe 0x560105
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004a3420
add esp, 0xc
mov ecx, dword [esi + 0x6c]
cmp ecx, 8
jb 0x560151
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x560147
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560735
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [esi + 0x68], xmm0
movsd qword [esi + 0x60], xmm1
movsd qword [esi + 0x58], xmm2
cmp dword [esi + 0x68], 0
je 0x5605ec
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x56021d
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x56021d
cmp dword [eax + 0x14], 0xf
jbe 0x5601a0
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004a3420
add esp, 0xc
mov ecx, dword [esi + 0x34]
cmp ecx, 8
jb 0x5601ec
mov eax, dword [esi + 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5601e2
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560744
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm2
cmp dword [esi + 0x30], 0
je 0x5605ec
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5602b8
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5602b8
cmp dword [eax + 0x14], 0xf
jbe 0x56023b
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004a3420
add esp, 0xc
mov ecx, dword [esi + 0x1c]
cmp ecx, 8
jb 0x560287
mov eax, dword [esi + 8]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x56027d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560753
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm2
cmp dword [esi + 0x18], 0
je 0x5605ec
mov ecx, 1
jmp 0x5602c4
mov ecx, dword [esi + 0x3c]
inc ecx
mov eax, dword [esi + 0x74]
mov dword [esi + 0x3c], ecx
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
sub eax, edx
mov dword [esi], edx
sar eax, 4
imul eax, eax, 0xb6db6db7
cmp ecx, eax
jae 0x5604b8
cmp dword [esi + 0x50], 0
je 0x5602c0
imul ecx, dword [esi + 0x3c], 0x70
mov eax, dword [esi]
cmp dword [eax + ecx + 0x10], 0
mov dword [esi + 4], ecx
je 0x56033f
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp dword [esi + 0x54], 7
lea eax, [eax + ecx]
lea ecx, [esi + 0x40]
jbe 0x56030f
mov ecx, dword [esi + 0x40]
mov edx, dword [esi]
mov edi, dword [esi + 4]
cmp dword [edx + edi + 0x14], 8
jb 0x560327
mov eax, dword [eax]
mov dword [esi + 0x150], 8
mov dword [esi + 0x150], 8
push ecx
push eax
call fcn.005d3f0e
add esp, 8
test eax, eax
je 0x560398
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp dword [eax + ecx + 0x28], 0
je 0x5602c0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp dword [esi + 0x54], 7
lea eax, [eax + ecx + 0x18]
lea ecx, [esi + 0x40]
jbe 0x560364
mov ecx, dword [esi + 0x40]
mov edx, dword [esi]
mov edi, dword [esi + 4]
cmp dword [edx + edi + 0x2c], 8
jb 0x56037c
mov eax, dword [eax]
mov dword [esi + 0x150], 8
mov dword [esi + 0x150], 8
push ecx
push eax
call fcn.005d3f0e
add esp, 8
test eax, eax
jne 0x5602c0
cmp dword [esi + 0x68], 0
je 0x5603f9
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + ecx + 0x60]
cmp edx, dword [eax + ecx + 0x64]
je 0x5602c0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 0x64]
mov dword [esi + 0x78], eax
nop dword [eax]
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x5603ca
mov eax, dword [edx]
cmp dword [esi + 0x6c], 7
lea ecx, [esi + 0x58]
mov dword [esi + 0x7c], edx
jbe 0x5603d9
mov ecx, dword [esi + 0x58]
push eax
push ecx
call fcn.005d3f0e
add esp, 8
mov edx, dword [esi + 0x7c]
test eax, eax
je 0x5603f9
mov eax, dword [esi + 0x78]
add edx, 0x18
cmp edx, dword [eax]
jne 0x5603c0
jmp 0x5602c0
cmp dword [esi + 0x30], 0
je 0x56044d
cmp dword [esi + 0x34], 7
lea eax, [esi + 0x20]
jbe 0x56040b
mov eax, dword [esi + 0x20]
push str.winspool
push eax
call fcn.005d3f0e
add esp, 8
test eax, eax
je 0x56044d
cmp dword [esi + 0x34], 7
lea eax, [esi + 0x20]
jbe 0x560429
mov eax, dword [esi + 0x20]
mov edx, dword [esi]
mov edi, dword [esi + 4]
cmp dword [edx + edi + 0x44], 8
lea ecx, [edx + edi + 0x30]
jb 0x56043b
mov ecx, dword [ecx]
push eax
push ecx
call fcn.005d3f0e
add esp, 8
test eax, eax
jne 0x5602c0
cmp dword [esi + 0x18], 0
je 0x5604a1
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
jbe 0x56045f
mov eax, dword [esi + 8]
push 0x687456
push eax
call fcn.005d3f0e
add esp, 8
test eax, eax
je 0x5604a1
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
jbe 0x56047d
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov edi, dword [esi + 4]
cmp dword [edx + edi + 0x5c], 8
lea ecx, [edx + edi + 0x48]
jb 0x56048f
mov ecx, dword [ecx]
push eax
push ecx
call fcn.005d3f0e
add esp, 8
test eax, eax
jne 0x5602c0
mov eax, dword [ebp + 0x18]
mov bl, 1
test eax, eax
je 0x5605ee
mov ecx, dword [esi + 0x3c]
mov dword [eax], ecx
jmp 0x5605ee
mov dword [esi + 0x150], 8
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x5605df
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x560522
lea ecx, [esi + 0x80]
push 0
push 0x373
push str.sandbox_print_dispatcher.cpp
call fcn.0041f9f0
lea eax, [esi + 0x90]
mov dword [esi + 0x150], 9
push str.Bad_Printer_Info:_Device:
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x54], 7
jbe 0x560531
mov ecx, dword [esi + 0x40]
jmp 0x560534
push 0
call fcn.00410ec0
add esp, 4
jmp 0x5605df
lea ecx, [esi + 0x40]
push ecx
push eax
call fcn.00424400
add esp, 8
push str.__Port:
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x6c], 7
jbe 0x560557
mov ecx, dword [esi + 0x58]
jmp 0x56055a
lea ecx, [esi + 0x58]
cmp dword [esi + 0x68], 0
mov edx, str._empty_
cmovne edx, ecx
push edx
push eax
call fcn.00424400
add esp, 8
push str.__Driver:
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x34], 7
jbe 0x560589
mov ecx, dword [esi + 0x20]
jmp 0x56058c
lea ecx, [esi + 0x20]
cmp dword [esi + 0x30], 0
mov edx, str._empty_
cmovne edx, ecx
push edx
push eax
call fcn.00424400
add esp, 8
push str.__DataType:
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x1c], 7
jbe 0x5605bb
mov ecx, dword [esi + 8]
jmp 0x5605be
lea ecx, [esi + 8]
cmp dword [esi + 0x18], 0
mov edx, str._empty_
cmovne edx, ecx
push edx
push eax
call fcn.00424400
add esp, 8
lea ecx, [esi + 0x80]
call fcn.00424810
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5605ec
mov dword [eax], 0
xor ebx, ebx
mov ecx, dword [esi + 0x1c]
cmp ecx, 8
jb 0x560629
mov eax, dword [esi + 8]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x56061f
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5606ea
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x34]
cmp ecx, 8
jb 0x560664
mov eax, dword [esi + 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x56065a
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5606f9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp ecx, 8
jb 0x56069b
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x560691
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560708
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x54]
cmp ecx, 8
jb 0x5606d2
mov eax, dword [esi + 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5606c8
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560717
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [esi + 0x148]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [esi + 0x150], 4
call fcn.006207e0
mov dword [esi + 0x150], 5
call fcn.006207e0
mov dword [esi + 0x150], 6
call fcn.006207e0
mov dword [esi + 0x150], 7
call fcn.006207e0
mov dword [esi + 0x150], 0
call fcn.006207e0
mov dword [esi + 0x150], 1
call fcn.006207e0
mov dword [esi + 0x150], 2
call fcn.006207e0
mov dword [esi + 0x150], 3
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
mov ecx, dword [esi + 0x1c]
cmp ecx, 8
jb 0x5608bb
mov eax, dword [esi + 8]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5608b1
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560969
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x34]
cmp ecx, 8
jb 0x5608f6
mov eax, dword [esi + 0x20]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5608ec
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560969
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp ecx, 8
jb 0x56092d
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x560923
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560969
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x54]
cmp ecx, 8
jb 0x560964
mov eax, dword [esi + 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x56095a
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x560969
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.006207e0
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
lea ecx, [esi + 0x80]
call fcn.00424810
add esp, 0xc
pop ebp
ret