Function at 0x646148c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x646180b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, edx
mov dword [ebp - 0xa0], ecx
xor edx, edx
mov esi, edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x88], edx
mov eax, dword [0x6461800c]
push 2
pop edx
cmp eax, 0x6461800c
je 0x6461495c
test byte [eax + 0x1c], dl
je 0x6461495c
cmp byte [eax + 0x19], 5
jb 0x6461495c
push dword [eax + 0x14]
mov edx, 0x64604ac8
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.6460534c
mov eax, dword [0x6461800c]
mov ecx, dword [ebp - 0xa0]
push 2
pop edx
test edi, edi
je 0x646151ec
cmp dword [edi], 0x2c
jne 0x646151ec
test ecx, ecx
je 0x646151ec
test ebx, ebx
je 0x646151ec
xor ecx, ecx
cmp dword [edi + 0x28], ecx
jne 0x646149be
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x64614992
xor esi, esi
cmp word [ecx], si
jne 0x646149bc
cmp eax, 0x6461800c
je 0x64615210
test byte [eax + 0x1c], dl
je 0x64615210
cmp byte [eax + 0x19], dl
jb 0x64615210
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
jmp 0x64615205
xor ecx, ecx
cmp dword [edi + 0x20], ecx
je 0x646149ed
cmp eax, 0x6461800c
je 0x64615210
test byte [eax + 0x1c], dl
je 0x64615210
cmp byte [eax + 0x19], dl
jb 0x64615210
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x64615205
push ecx
push ecx
call fcn.6460d71b
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x64614a3b
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614a26
test byte [eax + 0x1c], 2
je 0x64614a26
cmp byte [eax + 0x19], 2
jb 0x64614a26
push dword [eax + 0x14]
mov edx, 0x64604ac8
push dword [eax + 0x10]
push 0xe
pop ecx
call fcn.6460534c
push 0x709
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x80]
mov edi, esi
jmp 0x64614c7d
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
test eax, eax
jne 0x64614a95
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614a31
test byte [eax + 0x1c], 2
je 0x64614a31
cmp byte [eax + 0x19], 2
jb 0x64614a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0x78]
mov edx, 0x64604ac8
push eax
mov eax, dword [0x6461800c]
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.6460539a
mov esi, dword [ebp - 0x80]
mov edi, esi
jmp 0x64614c80
lea eax, [ebp - 0x90]
push eax
xor eax, eax
push eax
push eax
push 2
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_GetPrinterW]
test eax, eax
jne 0x64614afb
mov ecx, dword [ebp - 0x90]
call fcn.6460d35d
mov esi, eax
mov dword [ebp - 0x94], esi
test esi, esi
jne 0x64614afb
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614af4
test byte [eax + 0x1c], 2
je 0x64614af4
cmp byte [eax + 0x19], 2
jb 0x64614af4
push dword [eax + 0x14]
mov edx, 0x64604ac8
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.6460534c
push 8
jmp 0x64614a2b
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
push esi
push 2
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_GetPrinterW]
test eax, eax
jne 0x64614b63
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614a31
test byte [eax + 0x1c], 2
je 0x64614a31
cmp byte [eax + 0x19], 2
jb 0x64614a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
mov edx, 0x64604ac8
pop ecx
call fcn.64605370
jmp 0x64614a31
cmp dword [esi], 0
je 0x64614bd7
push 0x646033a8
push dword [esi]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp ecx, eax
jne 0x64614b82
add ecx, 4
mov dword [esi], ecx
push ecx
push 0x10
lea ecx, [ebx + 8]
pop edx
call fcn.646051c2
mov esi, eax
test esi, esi
jns 0x64614bdd
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614bc0
test byte [eax + 0x1c], 2
je 0x64614bc0
cmp byte [eax + 0x19], 2
jb 0x64614bc0
push esi
push dword [eax + 0x14]
mov edx, 0x64604ac8
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.64605370
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x64614bd1
movzx esi, si
push esi
jmp 0x64614a2b
xor eax, eax
mov word [ebx + 8], ax
xor eax, eax
push eax
push eax
push eax
push eax
push dword [ebp - 0x84]
push eax
call dword [sym.imp.WINSPOOL.DRV_DocumentPropertiesW]
test eax, eax
jg 0x64614c31
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614a31
test byte [eax + 0x1c], 2
je 0x64614a31
cmp byte [eax + 0x19], 2
jb 0x64614a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
jmp 0x64614b53
mov ecx, eax
call fcn.6460d35d
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
jne 0x64614d74
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64614c72
test byte [ecx + 0x1c], 2
je 0x64614c72
cmp byte [ecx + 0x19], 2
jb 0x64614c72
push dword [ecx + 0x14]
mov edx, 0x64604ac8
push dword [ecx + 0x10]
push 0x15
pop ecx
call fcn.6460534c
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
cmp dword [ebp - 0x84], 0
je 0x64614c95
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x64614ca4
call fcn.6460d3c9
cmp dword [ebp - 0x8c], 0
je 0x64614cf5
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_EndDoc]
test eax, eax
jg 0x64614cf5
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614cf5
test byte [eax + 0x1c], 2
je 0x64614cf5
cmp byte [eax + 0x19], 2
jb 0x64614cf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64604ac8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
pop ecx
call fcn.64605370
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x64614d41
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x64614d41
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614d41
test byte [eax + 0x1c], 2
je 0x64614d41
cmp byte [eax + 0x19], 2
jb 0x64614d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64604ac8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.64605370
test esi, esi
je 0x64614d4c
mov ecx, esi
call fcn.6460d3c9
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x64614d5d
mov ecx, eax
call fcn.6460d3c9
test edi, edi
je 0x64614d68
mov ecx, edi
call fcn.6460d3c9
mov ecx, ebx
call fcn.6460d3c9
jmp 0x64615218
push 2
xor eax, eax
push eax
push esi
push eax
push dword [ebp - 0x84]
push eax
call dword [sym.imp.WINSPOOL.DRV_DocumentPropertiesW]
cmp eax, 1
je 0x64614dd5
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64614c7a
test byte [eax + 0x1c], 2
je 0x64614c7a
cmp byte [eax + 0x19], 2
jb 0x64614c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
mov edx, 0x64604ac8
pop ecx
call fcn.64605370
jmp 0x64614c7a
movzx eax, word [esi + 0x46]
mov ecx, 0x3c4
cmp ax, cx
jae 0x64614e11
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64614e0a
test byte [ecx + 0x1c], 2
je 0x64614e0a
cmp byte [ecx + 0x19], 2
jb 0x64614e0a
push ecx
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.6461481e
push 0xd
jmp 0x64614c74
movzx ecx, word [esi + 0x44]
add ecx, esi
cmp dword [ecx], 0x78616644
je 0x64614e22
add ecx, 4
mov eax, dword [ecx + 4]
xor edx, edx
push esi
push edx
push dword [ebp - 0x78]
and eax, 0xfffffff7
mov dword [ecx + 8], edx
or eax, 4
push 0x64604910
mov dword [ecx + 4], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ecx, eax
mov dword [ebp - 0x9c], ecx
test ecx, ecx
jne 0x64614e8e
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64614c7a
test byte [ecx + 0x1c], 2
je 0x64614c7a
cmp byte [ecx + 0x19], 2
jb 0x64614c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
jmp 0x64614dc5
mov eax, dword [edi + 4]
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xac], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xb4]
push eax
push ecx
mov dword [ebp - 0xb4], 0x14
call dword [sym.imp.GDI32.dll_StartDocW]
mov ecx, eax
mov dword [ebp - 0x8c], ecx
test ecx, ecx
jg 0x64614f11
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64614c7a
test byte [ecx + 0x1c], 2
je 0x64614c7a
cmp byte [ecx + 0x19], 2
jb 0x64614c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x19
jmp 0x64614dc5
xor edx, edx
cmp dword [edi + 0x28], edx
jne 0x64615196
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 0xffffffff
jne 0x64614f3e
push 1
push edx
push edx
push ecx
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_SetJobW]
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.6461485b
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x64614f90
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64614c7a
test byte [ecx + 0x1c], 2
je 0x64614c7a
cmp byte [ecx + 0x19], 2
jb 0x64614c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1a
jmp 0x64614dc5
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x64614f9d
mov dword [ebp - 0x88], ecx
xor eax, eax
test ecx, ecx
setne al
push eax
push 0x6460214c
lea eax, [ebp - 0x1c]
push 0xa
push eax
call fcn.64605260
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x6461500e
mov ecx, esi
movzx eax, si
and ecx, 0x1fff0000
cmp ecx, 0x70000
je 0x64614fd3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64615006
test byte [eax + 0x1c], 2
je 0x64615006
cmp byte [eax + 0x19], 2
jb 0x64615006
push esi
push dword [eax + 0x14]
mov edx, 0x64604ac8
push dword [eax + 0x10]
push 0x1b
pop ecx
call fcn.64605370
mov esi, dword [ebp - 0x80]
jmp 0x64614c7a
mov eax, dword [edi + 0x1c]
mov ecx, 0x64604948
mov dword [ebp - 0x68], eax
mov edx, 0x64604924
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
xor ecx, ecx
push eax
mov dword [ebp - 0x88], ecx
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], 0x6460494c
mov dword [ebp - 0x64], 0x6460496c
mov dword [ebp - 0x5c], 0x6460499c
mov dword [ebp - 0x54], 0x646049cc
mov dword [ebp - 0x4c], 0x646049f4
mov dword [ebp - 0x44], 0x64604a24
mov dword [ebp - 0x3c], 0x64604a4c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], 0x64604a78
mov dword [ebp - 0x24], 0x64604aa0
call fcn.6460d51b
mov esi, dword [ebp - 0x88]
lea ecx, [esi + 2]
call fcn.6460d35d
mov dword [ebp - 0x98], eax
test eax, eax
jne 0x64615114
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x6461800c]
cmp ecx, 0x6461800c
je 0x64615006
test byte [ecx + 0x1c], 2
je 0x64615006
cmp byte [ecx + 0x19], 2
jb 0x64615006
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.646147e9
jmp 0x64615006
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.6460d51b
mov edi, dword [ebp - 0x7c]
xor ecx, ecx
mov eax, dword [ebp - 0x98]
push ecx
push edi
push 2
push dword [ebp - 0x8c]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x20], eax
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_SetJobW]
test eax, eax
jne 0x64615191
mov eax, dword [0x6461800c]
cmp eax, 0x6461800c
je 0x64615189
test byte [eax + 0x1c], 2
je 0x64615189
cmp byte [eax + 0x19], 2
jb 0x64615189
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x6461800c]
mov edx, 0x64604ac8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
pop ecx
call fcn.64605370
mov esi, dword [ebp - 0x80]
jmp 0x64614c7d
mov esi, dword [ebp - 0x80]
jmp 0x64615198
mov edi, edx
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov ecx, dword [ebp - 0x94]
call fcn.6460d3c9
mov ecx, esi
call fcn.6460d3c9
mov ecx, dword [ebp - 0x98]
call fcn.6460d3c9
mov ecx, edi
call fcn.6460d3c9
mov ecx, dword [ebp - 0x78]
call fcn.6460d3c9
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 4], eax
xor eax, eax
inc eax
jmp 0x6461521a
cmp eax, 0x6461800c
je 0x64615210
test byte [eax + 0x1c], dl
je 0x64615210
cmp byte [eax + 0x19], dl
jb 0x64615210
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
mov edx, 0x64604ac8
pop ecx
call fcn.6460534c
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64616f60
leave
ret 0xc