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

Disassembly:
push 0xffffffffffffffff
push 0x4c7830
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jne 0x45bcda
cmp dword [ebp + 0x14], ebx
je 0x45be67
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push 2
push ebx
push 6
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call sub.WINSPOOL.DRV_EnumPrintersA
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45be67
push eax
lea ecx, [esp + 0x24]
call fcn.0045ad70
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
push 2
push ebx
push 6
mov dword [esp + 0x88], ebx
call sub.WINSPOOL.DRV_EnumPrintersA
test eax, eax
je 0x45be60
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], ebx
jbe 0x45be60
add edi, 8
lea esp, [esp]
mov ecx, dword [edi - 4]
mov eax, ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x45bd68
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00401bd1
mov ecx, dword [edi]
mov eax, ecx
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x45bd98
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401bd1
mov eax, dword [esp + 0x2c]
mov esi, 0x10
cmp dword [esp + 0x40], esi
jae 0x45bdbf
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
push ecx
push ebx
push eax
mov ecx, ebp
call fcn.00444390
cmp eax, 0xffffffff
jne 0x45be8d
cmp dword [ebp + 0x18], esi
mov ecx, dword [ebp + 0x14]
lea esi, [ebp + 4]
jb 0x45bde5
mov eax, dword [esi]
jmp 0x45bde7
mov eax, esi
push ecx
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00444390
cmp eax, 0xffffffff
jne 0x45be88
cmp dword [esp + 0x58], ebx
je 0x45be14
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.00444700
cmp eax, 0xffffffff
jne 0x45be88
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 0x14]
jb 0x45be1f
mov esi, dword [esi]
push eax
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.00444390
cmp eax, 0xffffffff
jne 0x45be88
lea ecx, [esp + 0x44]
call fcn.00401984
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call fcn.00401984
mov eax, dword [esp + 0x1c]
inc eax
add edi, 0x54
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x18]
jb 0x45bd50
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0048e25d
add esp, 0x5c
ret
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x45bea0
mov eax, dword [esp + 0x48]
push eax
call fcn.0048e006
add esp, 4
mov edi, 0xf
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x40], esi
jb 0x45bec4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0048e006
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
jmp 0x45be69