Function at 0x110d3580
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e2a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [edi + 0x134]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x414], eax
cmp esi, eax
jge 0x110d3649
xor edx, edx
cmp esi, 0xfffffffd
sete dl
mov dword [edi + 0x9d8], eax
mov dword [ebp - 0x41c], edx
cmp dword [edi + 0x940], eax
je 0x110d3632
mov ecx, ebx
call fcn.110c4060
test eax, eax
je 0x110d360b
mov dword [ebp - 0x41c], 1
cmp esi, 0xfffffffe
jg 0x110d3630
mov ecx, dword [ebp - 0x424]
push 0
mov dword [edi + 0x940], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 0
push 0x3000002e
call edx
xor eax, eax
cmp dword [ebp - 0x41c], eax
je 0x110d3657
push eax
push 0x100
mov ecx, ebx
call fcn.110c39a0
jmp 0x110d3657
cmp dword [edi + 0x93c], 1
je 0x110d3657
mov dword [ebp + 8], eax
mov esi, eax
xor ecx, ecx
lea ebx, [edi + 0x948]
mov dword [ebp - 0x420], ecx
cmp esi, ecx
je 0x110d3671
test esi, esi
jns 0x110d370a
mov esi, dword [ebx]
test esi, esi
je 0x110d3707
mov eax, dword [edi + 0x93c]
cmp eax, 1
jne 0x110d36ae
test ecx, ecx
jle 0x110d3692
cmp dword [ebp + 8], 0
jl 0x110d36a6
test ecx, ecx
jne 0x110d36a0
cmp dword [ebx + 4], 0
je 0x110d36a0
push esi
call sub.WINSPOOL.DRV_EndPagePrinter
push esi
call sub.WINSPOOL.DRV_EndDocPrinter
push esi
call sub.WINSPOOL.DRV_ClosePrinter
jmp 0x110d36f0
cmp eax, 2
jne 0x110d36e9
test ecx, ecx
jne 0x110d36c6
cmp dword [ebx + 4], ecx
je 0x110d36c6
mov dword [ebp - 0x414], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x414], 0
jne 0x110d36fa
mov eax, dword [edi + 0x938]
test eax, eax
je 0x110d36fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x110d36fa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x414], 1
mov ecx, dword [ebp - 0x420]
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov esi, dword [ebp + 8]
inc ecx
add ebx, 8
mov dword [ebp - 0x420], ecx
cmp ecx, 0x11
jl 0x110d3665
test esi, esi
js 0x110d387b
cmp dword [ebp - 0x414], 0
je 0x110d387b
cmp dword [edi + 0x93c], 2
jne 0x110d387b
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x30]
push 0
push 1
push str.AutoPrint
push str.PrintCapture
call fcn.110bbc00
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
je 0x110d380b
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
xor ebx, ebx
push ebx
push 0x200
lea eax, [ebp - 0x210]
push eax
push str.Printer
push str.PrintCapture
call edx
cmp word [ebp - 0x210], bx
je 0x110d37f1
lea eax, [ebp - 0x210]
push 0x28
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
cmp eax, ebx
je 0x110d37b7
xor ecx, ecx
mov word [eax - 2], cx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x410]
push str.__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [edi + 0x938]
add esp, 0xc
push 7
push ebx
lea ecx, [ebp - 0x410]
push ecx
push edx
push str.printto
push ebx
call esi
cmp eax, 0x20
jge 0x110d3820
mov eax, dword [edi + 0x938]
push 7
push ebx
push ebx
push eax
push str.print
push ebx
call esi
cmp eax, 0x20
jge 0x110d3820
jmp 0x110d380d
xor ebx, ebx
mov ecx, dword [edi + 0x938]
push 5
push ebx
push ebx
push ecx
push str.open
push ebx
call esi
cmp dword [edi + 0x9f0], ebx
jne 0x110d3848
push 0x10
call fcn.111709c0
add esp, 4
cmp eax, ebx
je 0x110d3840
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x110d3842
xor eax, eax
mov dword [edi + 0x9f0], eax
mov edx, dword [edi + 0x938]
push edx
lea ecx, [ebp - 0x434]
call fcn.1113ccd0
mov ecx, dword [edi + 0x9f0]
push eax
mov dword [ebp - 4], ebx
call fcn.110d22d0
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
cmp dword [ebp - 0x41c], 0
je 0x110d38b2
cmp dword [edi + 0x940], 0
je 0x110d38b2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x418]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push 0
push 0
push 0x100
mov ecx, esi
call edx
jmp 0x110d38b8
mov esi, dword [ebp - 0x418]
mov ecx, esi
call fcn.110c4060
test eax, eax
jne 0x110d38eb
cmp dword [ebp - 0x414], eax
je 0x110d38e1
mov ecx, dword [ebp - 0x424]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x3000002f
call edx
mov dword [edi + 0x9d4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret