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

Disassembly:
push 0xffffffffffffffff
push 0x100a20e4
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0x128], ebx
mov ecx, dword [0x100ad8f4]
push ecx
mov esi, 0x100cced0
call fcn.100663e0
add esp, 4
test al, al
je 0x10021aaf
push 0x1c
push str.PrinterObjMgr::setSelected:
lea ecx, [esp + 0xc0]
call fcn.10002b10
mov edx, dword [0x100ad8f4]
push 1
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.100023e0
push 0x100cced0
mov byte [esp + 0x150], 1
call fcn.10002800
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x154], bl
call fcn.1008d030
push 0x10
mov esi, 0x100cced0
mov byte [esp + 0x12c], 2
call fcn.100663e0
add esp, 4
test al, al
je 0x10021bad
push 0x100aee14
lea ecx, [esp + 0x4c]
call fcn.1008d3d0
lea ecx, [esp + 0x1c]
push ecx
push str.PrinterObjMgr::setSelected:
mov ecx, eax
mov byte [esp + 0x130], 3
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x128], 4
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
mov esi, 0x10
push esi
push 0x100cced0
mov ecx, eax
call edx
cmp dword [esp + 0x34], esi
jb 0x10021b86
mov eax, dword [esp + 0x20]
push eax
call fcn.10080518
add esp, 4
mov byte [esp + 0x128], 2
cmp dword [esp + 0x60], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x10021bad
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10080518
add esp, 4
push 0x100ceb64
lea ecx, [esp + 0x3c]
call fcn.10089b60
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov byte [esp + 0x128], 0xe
push 7
push str.printer
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10002b10
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x20]
push eax
push esi
mov byte [esp + 0x134], 0xf
call fcn.1008ffa0
add esp, 0xc
test al, al
sete byte [esp + 0x17]
mov byte [esp + 0x128], 0xe
cmp dword [esp + 0x34], 0x10
jb 0x10021c57
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10080518
add esp, 4
cmp byte [esp + 0x17], bl
je 0x10021c6a
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x70]
call fcn.100023e0
push 5
push str.model
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10002b10
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x20]
push eax
push esi
mov byte [esp + 0x134], 0x10
call fcn.1008ffa0
add esp, 0xc
mov byte [esp + 0x128], 0xe
cmp dword [esp + 0x34], 0x10
jb 0x10021cc0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10080518
add esp, 4
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov edi, eax
mov edx, dword [ebp + 4]
mov esi, ebp
cmp esi, ebx
mov dword [esp + 0x40], edx
je 0x10021cd8
cmp esi, ebp
je 0x10021cdd
call fcn.10076ae4
cmp edi, dword [esp + 0x40]
je 0x10021dd3
cmp esi, ebx
jne 0x10021cf0
call fcn.10076ae4
cmp edi, dword [esi + 4]
jne 0x10021cfa
call fcn.10076ae4
lea ebp, [edi + 8]
lea esi, [esp + 0x48]
mov eax, ebp
call fcn.10066a60
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x134], 0x11
call fcn.100023e0
mov byte [esp + 0x128], 0xe
cmp dword [esp + 0x60], 0x10
jb 0x10021d3c
mov eax, dword [esp + 0x4c]
push eax
call fcn.10080518
add esp, 4
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x68]
call fcn.1006dbd0
add esp, 4
test eax, eax
jne 0x10021da9
mov esi, dword [esp + 0x18]
cmp edi, dword [esi + 4]
jne 0x10021d62
call fcn.10076ae4
mov byte [ebp], 1
cmp dword [esp + 0x94], ebx
je 0x10021dba
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xa8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.100023e0
cmp edi, dword [esi + 4]
jne 0x10021da0
call fcn.10076ae4
mov ecx, ebp
call fcn.1001ed00
jmp 0x10021dba
mov eax, dword [esp + 0x18]
cmp edi, dword [eax + 4]
jne 0x10021db7
call fcn.10076ae4
mov byte [ebp], bl
mov eax, dword [esp + 0x18]
cmp edi, dword [eax + 4]
jne 0x10021dc8
call fcn.10076ae4
mov edi, dword [edi]
mov ebp, dword [esp + 0x18]
jmp 0x10021cc7
mov edi, 0x10
push edi
mov esi, 0x100cced0
call fcn.100663e0
add esp, 4
test al, al
je 0x10021e72
push str._
lea ecx, [esp + 0x4c]
call fcn.1008d3d0
lea ecx, [esp + 0x1c]
push ecx
push str.PrinterObjMgr::setSelected:
mov ecx, eax
mov byte [esp + 0x130], 0x14
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x128], 0x15
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
push edi
push esi
mov ecx, eax
call edx
cmp dword [esp + 0x34], edi
jb 0x10021e4c
mov eax, dword [esp + 0x20]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x60], edi
mov esi, 0xf
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x10021e77
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10080518
add esp, 4
jmp 0x10021e77
mov esi, 0xf
cmp dword [esp + 0xb4], edi
jb 0x10021e90
mov edx, dword [esp + 0xa0]
push edx
call fcn.10080518
add esp, 4
cmp dword [esp + 0x7c], edi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x10021eb8
mov eax, dword [esp + 0x68]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x98], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x10021edd
mov ecx, dword [esp + 0x84]
push ecx
call fcn.10080518
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov byte [esp + 0x128], 2
call fcn.10089b80
lea ecx, [esp + 0xd4]
mov byte [esp + 0x128], bl
call fcn.1008bb30
cmp dword [esp + 0xd0], edi
jb 0x10021f2f
mov edx, dword [esp + 0xbc]
push edx
call fcn.10080518
add esp, 4
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10079ea5
add esp, 0x118
ret 8