Function at 0x64613f6e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x646170a0]
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 - 0x8c], esi
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x88], edx
mov eax, dword [0x64617004]
push 2
pop edx
cmp eax, 0x64617004
je 0x64614003
test byte [eax + 0x1c], dl
je 0x64614003
cmp byte [eax + 0x19], 5
jb 0x64614003
push dword [eax + 0x14]
mov edx, 0x64603d08
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.64604453
mov eax, dword [0x64617004]
mov ecx, dword [ebp - 0xa0]
push 2
pop edx
test edi, edi
je 0x6461489a
cmp dword [edi], 0x2c
jne 0x6461489a
test ecx, ecx
je 0x6461489a
test ebx, ebx
je 0x6461489a
xor ecx, ecx
cmp dword [edi + 0x28], ecx
jne 0x64614065
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x64614039
xor esi, esi
cmp word [ecx], si
jne 0x64614063
cmp eax, 0x64617004
je 0x646148be
test byte [eax + 0x1c], dl
je 0x646148be
cmp byte [eax + 0x19], dl
jb 0x646148be
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
jmp 0x646148b3
xor ecx, ecx
cmp dword [edi + 0x20], ecx
je 0x64614094
cmp eax, 0x64617004
je 0x646148be
test byte [eax + 0x1c], dl
je 0x646148be
cmp byte [eax + 0x19], dl
jb 0x646148be
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x646148b3
push ecx
push ecx
call 0x64622c94
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x646140e2
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646140cd
test byte [eax + 0x1c], 2
je 0x646140cd
cmp byte [eax + 0x19], 2
jb 0x646140cd
push dword [eax + 0x14]
mov edx, 0x64603d08
push dword [eax + 0x10]
push 0xe
pop ecx
call fcn.64604453
push 0x709
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x80]
mov edi, esi
jmp 0x64614329
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
test eax, eax
jne 0x6461413c
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646140d8
test byte [eax + 0x1c], 2
je 0x646140d8
cmp byte [eax + 0x19], 2
jb 0x646140d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0x78]
mov edx, 0x64603d08
push eax
mov eax, dword [0x64617004]
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.64604495
mov esi, dword [ebp - 0x80]
mov edi, esi
jmp 0x6461432c
lea eax, [ebp - 0x94]
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 0x646141a2
mov ecx, dword [ebp - 0x94]
call fcn.6460cd43
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
jne 0x646141a2
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6461419b
test byte [eax + 0x1c], 2
je 0x6461419b
cmp byte [eax + 0x19], 2
jb 0x6461419b
push dword [eax + 0x14]
mov edx, 0x64603d08
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.64604453
push 8
jmp 0x646140d2
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
push esi
push 2
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_GetPrinterW]
test eax, eax
jne 0x6461420a
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646140d8
test byte [eax + 0x1c], 2
je 0x646140d8
cmp byte [eax + 0x19], 2
jb 0x646140d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
mov edx, 0x64603d08
pop ecx
call fcn.64604471
jmp 0x646140d8
cmp dword [esi], 0
je 0x64614283
mov esi, dword [esi]
push 0x646025e0
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
cmp esi, eax
jne 0x6461422e
mov eax, dword [ebp - 0x8c]
add esi, 4
mov dword [eax], esi
push esi
push 0x10
lea ecx, [ebx + 8]
pop edx
call fcn.646042d0
mov esi, eax
test esi, esi
jns 0x64614289
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6461426c
test byte [eax + 0x1c], 2
je 0x6461426c
cmp byte [eax + 0x19], 2
jb 0x6461426c
push esi
push dword [eax + 0x14]
mov edx, 0x64603d08
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.64604471
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x6461427d
movzx esi, si
push esi
jmp 0x646140d2
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 0x646142dd
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646140d8
test byte [eax + 0x1c], 2
je 0x646140d8
cmp byte [eax + 0x19], 2
jb 0x646140d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
jmp 0x646141fa
mov ecx, eax
call fcn.6460cd43
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
jne 0x64614422
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x6461431e
test byte [ecx + 0x1c], 2
je 0x6461431e
cmp byte [ecx + 0x19], 2
jb 0x6461431e
push dword [ecx + 0x14]
mov edx, 0x64603d08
push dword [ecx + 0x10]
push 0x15
pop ecx
call fcn.64604453
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 0x64614341
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x64614352
mov ecx, eax
call fcn.6460cda9
cmp dword [ebp - 0x90], 0
je 0x646143a3
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_EndDoc]
test eax, eax
jg 0x646143a3
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646143a3
test byte [eax + 0x1c], 2
je 0x646143a3
cmp byte [eax + 0x19], 2
jb 0x646143a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64603d08
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
pop ecx
call fcn.64604471
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x646143ef
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x646143ef
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646143ef
test byte [eax + 0x1c], 2
je 0x646143ef
cmp byte [eax + 0x19], 2
jb 0x646143ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64603d08
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.64604471
test esi, esi
je 0x646143fa
mov ecx, esi
call fcn.6460cda9
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x6461440b
mov ecx, eax
call fcn.6460cda9
test edi, edi
je 0x64614416
mov ecx, edi
call fcn.6460cda9
mov ecx, ebx
call fcn.6460cda9
jmp 0x646148c6
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 0x64614483
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64614326
test byte [eax + 0x1c], 2
je 0x64614326
cmp byte [eax + 0x19], 2
jb 0x64614326
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
mov edx, 0x64603d08
pop ecx
call fcn.64604471
jmp 0x64614326
movzx eax, word [esi + 0x46]
mov ecx, 0x3c4
cmp ax, cx
jae 0x646144bf
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x646144b8
test byte [ecx + 0x1c], 2
je 0x646144b8
cmp byte [ecx + 0x19], 2
jb 0x646144b8
push ecx
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.64613ed1
push 0xd
jmp 0x64614320
movzx ecx, word [esi + 0x44]
add ecx, esi
cmp dword [ecx], 0x78616644
je 0x646144d0
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 0x64603b50
mov dword [ecx + 4], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ecx, eax
mov dword [ebp - 0x9c], ecx
test ecx, ecx
jne 0x6461453c
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x64614326
test byte [ecx + 0x1c], 2
je 0x64614326
cmp byte [ecx + 0x19], 2
jb 0x64614326
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
jmp 0x64614473
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 - 0x90], ecx
test ecx, ecx
jg 0x646145bf
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x64614326
test byte [ecx + 0x1c], 2
je 0x64614326
cmp byte [ecx + 0x19], 2
jb 0x64614326
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x19
jmp 0x64614473
xor edx, edx
cmp dword [edi + 0x28], edx
jne 0x64614844
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 0xffffffff
jne 0x646145ec
push 1
push edx
push edx
push ecx
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_SetJobW]
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.64613f08
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x6461463e
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x64614326
test byte [ecx + 0x1c], 2
je 0x64614326
cmp byte [ecx + 0x19], 2
jb 0x64614326
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1a
jmp 0x64614473
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x6461464b
mov dword [ebp - 0x88], ecx
xor eax, eax
test ecx, ecx
setne al
push eax
push 0x64601374
lea eax, [ebp - 0x1c]
push 0xa
push eax
call fcn.64604373
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x646146bc
mov ecx, esi
movzx eax, si
and ecx, 0x1fff0000
cmp ecx, 0x70000
je 0x64614681
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x646146b4
test byte [eax + 0x1c], 2
je 0x646146b4
cmp byte [eax + 0x19], 2
jb 0x646146b4
push esi
push dword [eax + 0x14]
mov edx, 0x64603d08
push dword [eax + 0x10]
push 0x1b
pop ecx
call fcn.64604471
mov esi, dword [ebp - 0x80]
jmp 0x64614326
mov eax, dword [edi + 0x1c]
mov ecx, 0x64603b88
mov dword [ebp - 0x68], eax
mov edx, 0x64603b64
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], 0x64603b8c
mov dword [ebp - 0x64], 0x64603bac
mov dword [ebp - 0x5c], 0x64603bdc
mov dword [ebp - 0x54], 0x64603c0c
mov dword [ebp - 0x4c], 0x64603c34
mov dword [ebp - 0x44], 0x64603c64
mov dword [ebp - 0x3c], 0x64603c8c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], 0x64603cb8
mov dword [ebp - 0x24], 0x64603ce0
call fcn.6460cee9
mov esi, dword [ebp - 0x88]
lea ecx, [esi + 2]
call fcn.6460cd43
mov dword [ebp - 0x98], eax
test eax, eax
jne 0x646147c2
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x646146b4
test byte [ecx + 0x1c], 2
je 0x646146b4
cmp byte [ecx + 0x19], 2
jb 0x646146b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.64613ea2
jmp 0x646146b4
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.6460cee9
mov edi, dword [ebp - 0x7c]
xor ecx, ecx
mov eax, dword [ebp - 0x98]
push ecx
push edi
push 2
push dword [ebp - 0x90]
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 0x6461483f
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64614837
test byte [eax + 0x1c], 2
je 0x64614837
cmp byte [eax + 0x19], 2
jb 0x64614837
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64603d08
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
pop ecx
call fcn.64604471
mov esi, dword [ebp - 0x80]
jmp 0x64614329
mov esi, dword [ebp - 0x80]
jmp 0x64614846
mov edi, edx
push dword [ebp - 0x84]
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov ecx, dword [ebp - 0x8c]
call fcn.6460cda9
mov ecx, esi
call fcn.6460cda9
mov ecx, dword [ebp - 0x98]
call fcn.6460cda9
mov ecx, edi
call fcn.6460cda9
mov ecx, dword [ebp - 0x78]
call fcn.6460cda9
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 4], eax
xor eax, eax
inc eax
jmp 0x646148c8
cmp eax, 0x64617004
je 0x646148be
test byte [eax + 0x1c], dl
je 0x646148be
cmp byte [eax + 0x19], dl
jb 0x646148be
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
mov edx, 0x64603d08
pop ecx
call fcn.64604453
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.64615dc0
leave
ret 0xc