Function at 0x100624db
Capabilities:
Move file

Disassembly:
push 0xc0
mov eax, 0x1016a2dd
call fcn.101673d5
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push 6
mov dword [ebp - 0xbc], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push 6
pop ecx
push 7
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0xa8], esi
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0xa4], ecx
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0xb8], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x101973c0]
mov edi, 0x101973c0
cmp eax, edi
je 0x10062571
test byte [eax + 0x44], 4
je 0x10062571
push dword [eax + 0x3c]
mov edx, 0x1001b298
push dword [eax + 0x38]
push 0x46
pop ecx
call fcn.10149ac2
mov eax, 0x1001b750
cmp dword [ebx + 0xc], esi
jne 0x10062580
mov eax, 0x1001b75c
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push 0x1001b768
push 0xd
push eax
call fcn.10149ac2
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x100625ba
mov ecx, dword [0x101973c0]
cmp ecx, edi
je 0x1006296e
test byte [ecx + 0x44], 1
jne 0x1006295a
jmp 0x1006296e
xor esi, esi
mov dword [ebp - 0x6c], 7
xor eax, eax
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x80], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100625d2
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.10149ac2
push 0xffffffffffffffff
push esi
lea edi, [ebx + 0x14]
mov byte [ebp - 4], 2
push edi
push ecx
lea ecx, [ebp - 0x80]
call fcn.10149ac2
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], cx
lea ecx, [ebp - 0x64]
push eax
mov dword [ebp - 0x54], esi
call fcn.10149ac2
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xb8]
call fcn.10149ac2
xor ebx, ebx
lea ecx, [ebp - 0x64]
push esi
inc ebx
push ebx
call fcn.10149ac2
push esi
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.10149ac2
cmp dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xb8]
jae 0x1006265d
lea eax, [ebp - 0xb8]
push ebx
push eax
push dword [ebp - 0xbc]
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x100626e6
mov eax, dword [0x101973c0]
cmp eax, 0x101973c0
je 0x1006269f
test byte [eax + 0x44], bl
je 0x1006269f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b298
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x48
pop ecx
call fcn.10149ac2
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100626b6
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x100626e4
mov eax, dword [0x101973c0]
cmp eax, 0x101973c0
je 0x1006296e
test byte [eax + 0x44], bl
je 0x1006296e
push esi
push dword [eax + 0x3c]
mov edx, 0x1001b298
push dword [eax + 0x38]
push 0x49
jmp 0x10062968
xor esi, esi
mov ebx, dword [ebp - 0xc0]
lea eax, [ebp - 0xc8]
push eax
push 0x1a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xc4]
push eax
push 0x1001b774
push ebx
call dword [sym.imp.WINSPOOL.DRV_GetPrinterDataW]
test eax, eax
jne 0x100627a8
cmp dword [ebp - 0xc4], 1
jne 0x100627a8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10062735
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10149ac2
push 0xffffffffffffffff
push esi
push edi
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.10149ac2
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], cx
lea ecx, [ebp - 0x80]
push eax
mov dword [ebp - 0x70], esi
call fcn.10149ac2
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x9c]
call fcn.10149ac2
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.10149ac2
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.10149ac2
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100627ae
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x1001b774
push ebx
call dword [sym.imp.WINSPOOL.DRV_SetPrinterDataW]
mov esi, eax
test esi, esi
je 0x10062861
mov eax, dword [0x101973c0]
mov edi, 0x101973c0
cmp eax, edi
je 0x1006281a
test byte [eax + 0x44], 1
je 0x1006281a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b298
push esi
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x4a
pop ecx
call fcn.10149ac2
mov eax, dword [0x101973c0]
test esi, esi
jle 0x10062829
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x10062866
cmp eax, edi
je 0x10062849
test byte [eax + 0x44], 1
je 0x10062849
push esi
push dword [eax + 0x3c]
mov edx, 0x1001b298
push dword [eax + 0x38]
push 0x4b
pop ecx
call fcn.10149ac2
push esi
lea ecx, [ebp - 0xc0]
call fcn.10149ac2
push 0x10196090
mov eax, ecx
jmp 0x10062981
mov edi, 0x101973c0
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0x1001b7a8
push ebx
call dword [sym.imp.WINSPOOL.DRV_SetPrinterDataW]
mov esi, eax
test esi, esi
je 0x100628d6
mov eax, dword [0x101973c0]
cmp eax, edi
je 0x100628a8
test byte [eax + 0x44], 1
je 0x100628a8
push esi
push dword [eax + 0x3c]
mov edx, 0x1001b298
push dword [eax + 0x38]
push 0x4c
pop ecx
call fcn.10149ac2
mov eax, dword [0x101973c0]
test esi, esi
jle 0x100628b7
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x100628d6
cmp eax, edi
je 0x10062849
test byte [eax + 0x44], 1
je 0x10062849
push esi
push dword [eax + 0x3c]
mov edx, 0x1001b298
push dword [eax + 0x38]
push 0x4d
jmp 0x10062843
cmp dword [ebp - 0x8c], 0
je 0x10062934
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x9c]
jae 0x100628f4
lea eax, [ebp - 0x9c]
push 4
xor esi, esi
push esi
push eax
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x10062936
mov eax, dword [0x101973c0]
cmp eax, edi
je 0x10062936
test byte [eax + 0x44], 1
je 0x10062936
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, dword [0x101973c0]
mov edx, 0x1001b298
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x4e
pop ecx
call fcn.10149ac2
jmp 0x10062936
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x9c]
call fcn.10149ac2
push esi
push 1
lea ecx, [ebp - 0xb8]
call fcn.10149ac2
call fcn.10167384
ret 0xc
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001b298
push dword [ecx + 0x38]
push 0x47
pop ecx
call fcn.10149ac2
push esi
lea ecx, [ebp - 0xbc]
call fcn.10149ac2
push 0x10196090
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3