Function at 0x140105400
Capabilities:
Clear file content

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x208
mov qword [rsp + 0x188], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
mov rcx, qword [rsp + 0x218]
call fcn.1400f9010
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 8
jne 0x1401054ab
mov rcx, qword [rsp + 0x210]
call fcn.1401053a0
xor edx, edx
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov rdx, rax
mov eax, dword [rsp + 0x220]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x200
mov r9, qword [rsp + 0x210]
mov r8d, 2
mov rcx, qword [rsp + 0x218]
call fcn.140108b20
jmp 0x140105ddd
cmp dword [rsp + 0x40], 1
jne 0x140105591
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x210]
call fcn.1400ffa60
test eax, eax
jne 0x1401054d6
xor eax, eax
jmp 0x140105ddd
lea rcx, [0x140218660]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1401054f7
xor eax, eax
jmp 0x140105ddd
lea rdx, str.VixDiskLib_CreateChild
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x148]
call fcn.1400d8960
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.140023510
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40c]
call qword [rsp + 0x48]
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140103280
mov eax, 1
jmp 0x140105ddd
cmp dword [rsp + 0x40], 2
jne 0x140105dc2
mov rcx, qword [rsp + 0x210]
call fcn.1401053a0
mov qword [rsp + 0x68], rax
mov ecx, 0x200
call fcn.1400f89b0
mov qword [rsp + 0x60], rax
mov ecx, 0x400
call fcn.1400f89b0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x218]
call fcn.1400fa340
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0xffffffffffffffff
jne 0x140105642
mov rcx, qword [rsp + 0x60]
call fcn.1400f8970
mov rcx, qword [rsp + 0x88]
call fcn.1400f8970
mov r8, qword [rsp + 0x218]
lea rdx, [0x1402186a0]
mov ecx, 1
call fcn.1400dc610
xor eax, eax
jmp 0x140105ddd
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [rsp + 0x220], 0
je 0x14010569a
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900c4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x200
mov r8d, 0x4000000
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call fcn.1400f8d70
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
call fcn.1400ae448
mov rdx, rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x210]
mov r8, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x68]
call fcn.1400feba0
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400f9c90
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
call fcn.1400ae448
mov qword [rsp + 0x20], 0
mov r9d, 0x400
mov r8, qword [rsp + 0x88]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400f9c90
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x10]
call fcn.1400ae448
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + 0x1c]
call fcn.1400ae40c
shl eax, 2
mov ecx, eax
mov edx, 0x200
call fcn.1400f8660
xor edx, edx
mov ecx, 0x200
div rcx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0xb4], 0
jmp 0x1401057b6
mov eax, dword [rsp + 0xb4]
add eax, 1
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0xb4], 8
jge 0x140105cf2
movsxd rcx, dword [rsp + 0xb4]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x88]
cmp qword [rax + rcx + 0x250], 0
jne 0x1401057e8
jmp 0x140105cf2
movsxd rcx, dword [rsp + 0xb4]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x88]
cmp dword [rax + rcx + 0x240], 0x756b3257
jne 0x14010596d
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0xf0]
call fcn.1400020d0
nop
lea rcx, [rsp + 0xc0]
call fcn.140076008
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0xc0]
call fcn.14007610c
test eax, eax
je 0x1401058aa
lea rcx, [rsp + 0xc0]
call fcn.140075d14
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xc0]
call fcn.140076560
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0xf0]
call fcn.140002d80
nop
lea rcx, [rsp + 0x150]
call fcn.140001490
lea rcx, [rsp + 0xc0]
call fcn.140075c40
mov ecx, 0x200
call fcn.1400f89b0
mov qword [rsp + 0xb8], rax
mov r8d, 0x200
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.1400a8080
lea rcx, [rsp + 0xf0]
call fcn.140023510
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movsxd rax, dword [rsp + 0xb4]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + rax + 0x250]
call fcn.1400ae448
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0xb8]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400f9c90
mov rcx, qword [rsp + 0xb8]
call fcn.1400f8970
nop
lea rcx, [rsp + 0xc0]
call fcn.140076064
nop
lea rcx, [rsp + 0xf0]
call fcn.140001490
movsxd rcx, dword [rsp + 0xb4]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x88]
cmp dword [rax + rcx + 0x240], 0x75723257
jne 0x140105ced
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x130]
call fcn.1400020d0
nop
lea rcx, [rsp + 0x100]
call fcn.140076008
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x100]
call fcn.14007610c
test eax, eax
je 0x140105a2f
lea rcx, [rsp + 0x100]
call fcn.140075d14
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x100]
call fcn.140076560
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x130]
call fcn.140002d80
nop
lea rcx, [rsp + 0x158]
call fcn.140001490
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x140]
call fcn.1400020d0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x100]
call fcn.14007610c
test eax, eax
je 0x140105abe
lea rcx, [rsp + 0x100]
call fcn.140075d14
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x100]
call fcn.140076560
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x140]
call fcn.140002d80
nop
lea rcx, [rsp + 0x160]
call fcn.140001490
lea rcx, [rsp + 0x100]
call fcn.140075c40
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x140]
call fcn.1400068a0
mov r8d, eax
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x140]
call fcn.140006b20
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x130]
call fcn.1400068a0
mov r8d, eax
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x130]
call fcn.140006b20
mov qword [rsp + 0x1e0], rax
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1e0]
call fcn.14001d8f0
mov byte [rsp + 0x168], al
lea rcx, [rsp + 0x178]
call fcn.140001490
nop
lea rcx, [rsp + 0x170]
call fcn.140001490
movzx r11d, byte [rsp + 0x168]
test r11d, r11d
je 0x140105bb0
lea rcx, [rsp + 0x140]
call fcn.140001490
nop
lea rcx, [rsp + 0x100]
call fcn.140076064
nop
lea rcx, [rsp + 0x130]
call fcn.140001490
jmp 0x1401057a5
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x130]
call fcn.1400068a0
mov r8d, eax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x130]
call fcn.140006a00
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov r8, qword [rsp + 0x1f0]
lea rdx, [0x140217224]
lea rcx, [rsp + 0x138]
call fcn.140006c90
nop
lea rcx, [rsp + 0x180]
call fcn.140001490
mov ecx, 0x200
call fcn.1400f89b0
mov qword [rsp + 0xf8], rax
mov r8d, 0x200
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call fcn.1400a8080
lea rcx, [rsp + 0x138]
call fcn.140023510
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movsxd rax, dword [rsp + 0xb4]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + rax + 0x250]
call fcn.1400ae448
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0xf8]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400f9c90
mov rcx, qword [rsp + 0xf8]
call fcn.1400f8970
nop
lea rcx, [rsp + 0x138]
call fcn.140001490
nop
lea rcx, [rsp + 0x140]
call fcn.140001490
nop
lea rcx, [rsp + 0x100]
call fcn.140076064
nop
lea rcx, [rsp + 0x130]
call fcn.140001490
jmp 0x1401057a5
mov rax, qword [rsp + 0x70]
imul rax, rax, 0x200
mov ecx, eax
call fcn.1400f89b0
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
imul r8, r8, 0x200
mov edx, 0xff
mov rcx, qword [rsp + 0x78]
call fcn.1400a8080
mov r9, qword [rsp + 0x70]
imul r9, r9, 0x200
movsxd rdx, dword [rsp + 0x90]
mov qword [rsp + 0x20], 0
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.1400f9c90
mov rcx, qword [rsp + 0x78]
call fcn.1400f8970
movsxd rdx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x70]
imul rax, rax, 0x200
add rdx, rax
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.1400f9c90
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call fcn.1400f8970
mov rcx, qword [rsp + 0x88]
call fcn.1400f8970
mov eax, 1
jmp 0x140105ddd
mov r8, qword [rsp + 0x218]
lea rdx, str._ERROR__Create_image__s_failed
mov ecx, 1
call fcn.1400dc610
xor eax, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x208
ret