Function at 0x4044e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov byte [ebp - 0x6c], dl
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x30], 0xad9f
cmp dword [ebp - 0x30], 0xe0ba
jb 0x404517
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00403e40
add esp, 0x10
movzx ecx, byte [ebp - 0x6c]
cmp ecx, 0xbf
jg 0x40453f
mov dword [ebp - 0x48], 0x5509
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x58], edx
mov al, byte [ebp - 0x6c]
mov byte [ebp - 0x15], al
mov ecx, 0x32c
mov word [ebp - 0x34], cx
mov dl, byte [section..data]
mov byte [ebp - 0x49], dl
lea eax, [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov cl, byte [ebp - 0x49]
mov byte [ebp - 0x70], cl
cmp byte [ebp - 0x70], 0xe4
je 0x404569
cmp byte [ebp - 0x70], 0x17
je 0x404886
jmp 0x404925
mov dx, word [ebp - 0x34]
mov word [ebp - 0x44], dx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 8], edx
lea eax, [ebp - 0x49]
mov dword [ebp - 0x20], eax
movzx ecx, word [ebp - 0x34]
imul ecx, ecx, 0xce7
movzx edx, word [ebp - 0x44]
cmp ecx, edx
jne 0x404611
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x6c], dl
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xcf
je 0x4045ba
jmp 0x4045c5
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x54]
mov dword [edx], ecx
call fcn.00405130
mov eax, dword [ebp - 0x20]
movsx edx, byte [eax]
movsx ecx, byte [ebp - 0x49]
shl edx, cl
movsx eax, byte [section..data]
cmp edx, eax
jle 0x4045ee
movzx ecx, byte [ebp - 0x6c]
and ecx, 0x9c
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
shr edx, cl
mov eax, dword [ebp - 0x54]
mov dword [eax], edx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x6c], al
jmp 0x404845
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
and edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x28]
jb 0x404845
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
movsx eax, byte [ebp - 0x49]
sub edx, eax
movsx ecx, byte [section..data]
cmp edx, ecx
jge 0x404668
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
and eax, dword [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x58], ecx
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x6c], dl
movzx eax, byte [ebp - 0x6c]
sub eax, 0x3f
mov byte [ebp - 0x15], al
jmp 0x4046bd
movzx ecx, word [ebp - 0x44]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0x160
je 0x40467a
jmp 0x4046bd
push 0x61
mov edx, dword [ebp - 0x2c]
push edx
call sub.WINSPOOL.DRV_ScheduleJob
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov dl, byte [ebp - 0x15]
mov ecx, dword [ebp - 0x68]
call fcn.004044e0
mov edx, dword [ebp - 0x20]
movsx eax, byte [edx]
movsx ecx, byte [section..data]
shl eax, cl
mov byte [ebp - 0x49], al
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0xad9f
je 0x4046de
jmp 0x404710
mov ax, word [ebp - 0x34]
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
sar edx, cl
mov dword [ebp - 8], edx
jmp 0x404759
mov eax, 0x5b8
mov word [ebp - 0x68], ax
movzx ecx, word [ebp - 0x44]
movzx edx, word [ebp - 0x50]
or ecx, edx
mov word [ebp - 0x34], cx
movzx eax, byte [ebp - 0x15]
movzx ecx, byte [ebp - 0x6c]
xor eax, ecx
mov edx, dword [ebp - 4]
mov byte [edx], al
mov eax, 0x8b
mov word [ebp - 0x68], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
and edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
add ecx, dword [edx]
mov eax, dword [ebp - 0x54]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [ebp - 0x80], dl
cmp byte [ebp - 0x80], 0x10
je 0x40476b
jmp 0x4047c5
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx]
push eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
call fcn.004051f0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 0x15]
add edx, eax
movzx ecx, byte [ebp - 0x6c]
cmp edx, ecx
jl 0x4047a6
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
call fcn.00405130
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
xor eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
movzx edx, byte [ebp - 0x6c]
movzx ecx, byte [ebp - 0x15]
shl edx, cl
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
sub edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
movzx eax, byte [ebp - 0x15]
movzx ecx, byte [ebp - 0x6c]
sub eax, ecx
mov edx, dword [ebp - 4]
movzx ecx, byte [edx]
cmp eax, ecx
jg 0x404823
mov edx, 0x2e8
mov word [ebp - 0x68], dx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x34]
push edx
push 0x9a
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.WINSPOOL.DRV_WritePrinter
mov dword [ebp - 0xc], eax
movsx edx, byte [ebp - 0x49]
movsx eax, byte [section..data]
add edx, eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], dl
call fcn.00405130
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x6c]
and eax, ecx
mov byte [ebp - 0x15], al
movzx edx, word [ebp - 0x50]
movzx eax, word [ebp - 0x44]
sub edx, eax
mov word [ebp - 0x34], dx
lea ecx, [ebp - 0x1c]
push ecx
push 0x51
push 0xbb
mov edx, dword [ebp - 0x64]
push edx
call sub.WINSPOOL.DRV_FindFirstPrinterChangeNotification
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
movzx edx, word [ebp - 0x44]
sub edx, 0x49b
mov word [ebp - 0x34], dx
movzx eax, byte [ebp - 0x6c]
add eax, 0xd3
mov byte [ebp - 0x15], al
jmp 0x404925
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push ecx
movzx edx, byte [ebp - 0x49]
push edx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call fcn.004051f0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
or edx, 0x5851
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
shr eax, 1
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x6c], dl
mov eax, 0x40d
mov word [ebp - 0x68], ax
mov cl, byte [ebp - 0x6c]
mov byte [ebp - 0x84], cl
cmp byte [ebp - 0x84], 0xa2
je 0x4048df
jmp 0x4048ff
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push ecx
movzx edx, byte [ebp - 0x49]
push edx
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
call fcn.004051f0
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x6c], al
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
xor edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x54]
mov dword [eax], edx
mov ecx, dword [ebp - 0x58]
sub ecx, 0x695e
mov dword [ebp - 0x48], ecx
movzx edx, byte [ebp - 0x6c]
add edx, 0x89
mov byte [ebp - 0x15], dl
mov eax, 0x23f
mov word [ebp - 0x68], ax
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0x6c], cl
movzx edx, word [ebp - 0x34]
add edx, 0xcd4
mov word [ebp - 0x34], dx
push 0x5d
lea eax, [ebp - 0x30]
push eax
push 0x52
push 0xef
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.WINSPOOL.DRV_SetJobA
mov dword [ebp - 0x1c], eax
movsx edx, word [ebp - 0x68]
mov dword [ebp - 0x88], edx
cmp dword [ebp - 0x88], 0x486
je 0x404975
jmp 0x40497e
mov eax, dword [ebp - 0x58]
shl eax, 0xa
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x54]
mov dword [eax], edx
call fcn.00405130
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
and edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x54]
mov dword [eax], edx
mov ecx, 0x23f
mov word [ebp - 0x68], cx
movsx eax, byte [section..data]
mov esp, ebp
pop ebp
ret