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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003a853
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1294
call fcn.100333f0
mov eax, dword [0x1004f450]
xor eax, esp
mov dword [esp + 0x1290], eax
push ebx
push esi
push edi
mov eax, dword [0x1004f450]
xor eax, esp
push eax
lea eax, [esp + 0x12a8]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebp + 0xc]
push str.DoDeletePrinterDriverToPrintUI_Start
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
call fcn.10026930
mov eax, dword [esp + 0x1c]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp eax, ebx
je 0x1002445b
push 0x1003e860
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10024460
mov edi, 0x57
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x12b0], ebx
mov eax, 7
xor edx, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov byte [esp + 0x12b0], 2
cmp dword [ebp + 0x14], ebx
je 0x1002451d
cmp dword [ebp + 8], 3
je 0x100244bd
mov dword [esp + 0x14], str.Windows_NT_x86
jmp 0x100244f4
push esi
push str.ProcessorType___d
call fcn.10026930
mov eax, esi
add esp, 8
sub eax, 2
mov dword [esp + 0x14], str.Windows_NT_x86
jne 0x100244e2
mov dword [esp + 0x14], str.Windows_x64
mov ecx, dword [esp + 0x14]
push ecx
push str.Environment___s
call fcn.10026930
add esp, 8
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
xor edx, edx
xor ecx, ecx
call fcn.10004540
add esp, 0x18
cmp edi, ebx
jne 0x10024701
mov edx, dword [ebp + 8]
push esi
push edx
lea esi, [esp + 0x9c]
call fcn.10023700
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x10024701
mov ecx, dword [esp + 0x18]
mov eax, esi
push eax
push ecx
push str._dd__m__s___s__q
push 0x800
lea edx, [esp + 0x2ac]
push 0x800
push edx
call fcn.100297b0
add esp, 0x18
cmp eax, ebx
jge 0x10024578
mov edi, 8
jmp 0x10024701
cmp dword [ebp + 0x18], ebx
je 0x1002463e
push str.Spooler
push str.DeletePrinterDriver2k_____Service__s_.Start
call fcn.10026930
add esp, 8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
push str.Spooler
lea esi, [esp + 0x44]
mov byte [esp + 0x12b4], 3
call fcn.100275e0
cmp eax, ebx
jne 0x100245de
mov eax, esi
push eax
call fcn.10026c90
cmp eax, ebx
je 0x100245f1
push eax
push str.Spooler
push str.Service__s_.Start_Error__d_
jmp 0x100245e9
push eax
push str.Spooler
push str.Service__s_.Open_Error__d_
call fcn.10026930
add esp, 0xc
push str.DeletePrinterDriver2k_____Service.ReStart_End
call fcn.10026930
mov byte [esp + 0x12b4], 2
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 4
cmp eax, ebx
je 0x10024617
push eax
call esi
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x10024622
push eax
call esi
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x1002463e
mov edi, dword [esp + 0x50]
mov eax, esi
call fcn.10003140
push esi
call fcn.10029653
add esp, 4
lea ecx, [esp + 0x29c]
call fcn.10023460
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
mov byte [esp + 0x12b4], 4
call fcn.10024930
mov edi, eax
cmp edi, ebx
jne 0x100246e8
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x100246e8
cmp esi, ebx
je 0x100246e8
mov edx, dword [ebp + 8]
cmp dword [esi], edx
jne 0x100246cf
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100246cf
mov ecx, dword [esp + 0x18]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100246c6
cmp dx, bx
je 0x100246c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100246c6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100246a0
xor eax, eax
jmp 0x100246cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x100246e3
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x18
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x24]
jb 0x10024684
jmp 0x100246e8
mov edi, 0x703
mov byte [esp + 0x12b0], 2
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x10024701
push eax
call fcn.100298ea
add esp, 4
push edi
push str.DoDeletePrinterDriverToPrintUI_End_0x_08x_
call fcn.10026930
add esp, 8
cmp edi, ebx
jne 0x10024807
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x10024775
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x10024775
test byte [0x10052244], 1
jne 0x10024758
or dword [0x10052244], 1
mov byte [esp + 0x12b0], 5
call fcn.1001dc40
push 0x1003ba20
call fcn.1002a940
add esp, 4
mov byte [esp + 0x12b0], 2
mov eax, dword [0x10052240]
mov ecx, dword [eax*4 + 0x100427c0]
push esi
push edi
call ecx
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x10024807
cmp dword [esp + 0x6c], ebx
jne 0x1002477f
xor esi, esi
jmp 0x1002478e
cmp dword [esp + 0x70], 8
mov esi, dword [esp + 0x5c]
jae 0x1002478e
lea esi, [esp + 0x5c]
test byte [0x10052244], 1
jne 0x100247c0
or dword [0x10052244], 1
mov byte [esp + 0x12b0], 6
call fcn.1001dc40
push 0x1003ba20
call fcn.1002a940
add esp, 4
mov byte [esp + 0x12b0], 2
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x10052240]
push edx
mov edx, dword [ecx*4 + 0x100427f0]
push esi
mov esi, dword [ebp + 8]
push eax
push esi
push ebx
call edx
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x10024807
cmp dword [ebp + 0x14], 1
jne 0x10024807
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
push ebx
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.100050b0
add esp, 0x10
mov edi, eax
push edi
push str.DoDeletePrinterDriverToPrintUI_End_0x_08x_
call fcn.10026930
add esp, 8
cmp dword [esp + 0x70], 8
jb 0x10024829
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.10029653
add esp, 4
xor edx, edx
cmp dword [esp + 0x8c], 8
mov esi, 7
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
jb 0x10024854
mov eax, dword [esp + 0x78]
push eax
call fcn.10029653
add esp, 4
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
cmp eax, ebx
je 0x100248b6
mov esi, eax
cmp eax, dword [esp + 0x30]
je 0x100248ad
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x10024895
mov edx, dword [esi]
push edx
call fcn.10029653
mov eax, dword [esp + 0x30]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
add esi, 0x1c
cmp esi, dword [esp + 0x30]
jne 0x10024880
push eax
call fcn.10029653
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x12a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1290]
xor ecx, esp
call fcn.10028eba
mov esp, ebp
pop ebp
ret