Function at 0x1401040e0
Capabilities:
Clear file content

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.1400fabb0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 8
jne 0x1401041db
cmp dword [rsp + 0x1f0], 0
je 0x140104189
xor edx, edx
mov rax, qword [rsp + 0x1e8]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x200
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x1e0]
call fcn.14010c4f0
jmp 0x1401048d5
xor edx, edx
mov rax, qword [rsp + 0x1e8]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x200
xor r9d, r9d
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x1e0]
call fcn.14010c4f0
jmp 0x1401048d5
cmp dword [rsp + 0x40], 1
jne 0x1401043f8
lea rcx, [0x14022f4c8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140104207
xor eax, eax
jmp 0x1401048d5
lea rdx, str.VixDiskLib_Create
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, [0x14022f500]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, [0x14022f518]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov r8d, gethostbyname
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.1400a9850
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400a9850
mov dword [rsp + 0x5c], 1
xor edx, edx
mov rax, qword [rsp + 0x1e8]
mov ecx, 0x200
div rcx
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x58], 1
mov eax, 4
mov word [rsp + 0x60], ax
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x150]
call fcn.1400faef0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.140002d40
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x190]
call fcn.140002df0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [0x1403c6168]
call qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x148]
call fcn.140002dd0
nop
lea rcx, [rsp + 0x150]
call fcn.140007060
cmp qword [rsp + 0x50], 0
je 0x1401043ee
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x158]
call fcn.14000f540
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.14000f5d0
mov r9, rax
mov r8, qword [rsp + 0x1e0]
lea rdx, str._ERROR__Create_image__s_failed:__s
mov ecx, 1
call fcn.1400de020
nop
lea rcx, [rsp + 0x158]
call fcn.140002dd0
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0x48]
xor eax, eax
jmp 0x1401048d5
mov eax, 1
jmp 0x1401048d5
cmp dword [rsp + 0x40], 2
jne 0x140104877
mov ecx, 0x200
call fcn.1400fa550
mov qword [rsp + 0xc0], rax
mov ecx, 0x400
call fcn.1400fa550
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xd8]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
cmp dword [rsp + 0x1f0], 0
je 0x14010444c
mov dword [rsp + 0x1a8], 0x2000000
jmp 0x140104457
mov dword [rsp + 0x1a8], 0x3000000
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x200
mov r8d, dword [rsp + 0x1a8]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x1e8]
call fcn.1400fa910
cmp dword [rsp + 0x1f0], 0
je 0x140104633
lea rcx, [rsp + 0xe8]
call fcn.1400777f0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0xe8]
call fcn.1400778f4
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0xe8]
call fcn.140077428
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x1e0]
call fcn.1400fba20
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0xffffffffffffffff
jne 0x140104554
mov rcx, qword [rsp + 0xc0]
call fcn.1400fa510
mov rcx, qword [rsp + 0xc8]
call fcn.1400fa510
mov r8, qword [rsp + 0x1e0]
lea rdx, [0x14022f5a0]
mov ecx, 1
call fcn.1400de020
mov dword [rsp + 0x160], 0
lea rcx, [rsp + 0xe8]
call fcn.14007784c
mov eax, dword [rsp + 0x160]
jmp 0x1401048d5
cmp dword [rsp + 0x120], 0
je 0x140104581
mov rcx, qword [rsp + 0x118]
call fcn.1400fa580
mov r11, rax
mov rax, qword [rsp + 0x1e8]
add rax, 0x200
cmp r11, rax
jae 0x1401045cc
mov dword [rsp + 0x124], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x124]
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 + 0x118]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x118]
call fcn.1400fced0
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call fcn.1400fa510
mov rcx, qword [rsp + 0xc8]
call fcn.1400fa510
nop
lea rcx, [rsp + 0xe8]
call fcn.14007784c
jmp 0x140104870
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
call fcn.1400afca8
mov rdx, rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1e8]
call fcn.140102480
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x1e0]
call fcn.1400fba20
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 0xffffffffffffffff
jne 0x1401046d4
mov rcx, qword [rsp + 0xc0]
call fcn.1400fa510
mov rcx, qword [rsp + 0xc8]
call fcn.1400fa510
mov r8, qword [rsp + 0x1e0]
lea rdx, [0x14022f5f0]
mov ecx, 1
call fcn.1400de020
xor eax, eax
jmp 0x1401048d5
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x138]
call fcn.1400fced0
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
call fcn.1400afca8
mov qword [rsp + 0x20], 0
mov r9d, 0x400
mov r8, qword [rsp + 0xc8]
mov rdx, rax
mov rcx, qword [rsp + 0x138]
call fcn.1400fced0
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x10]
call fcn.1400afca8
mov dword [rsp + 0x140], eax
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rax + 0x1c]
call fcn.1400afc6c
shl eax, 2
mov ecx, eax
mov edx, 0x200
call fcn.1400fa200
xor edx, edx
mov ecx, 0x200
div rcx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
imul rax, rax, 0x200
mov ecx, eax
call fcn.1400fa550
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x128]
imul r8, r8, 0x200
mov edx, 0xff
mov rcx, qword [rsp + 0x130]
call fcn.1400a9850
mov r9, qword [rsp + 0x128]
imul r9, r9, 0x200
movsxd rdx, dword [rsp + 0x140]
mov qword [rsp + 0x20], 0
mov r8, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.1400fced0
mov rcx, qword [rsp + 0x130]
call fcn.1400fa510
movsxd rdx, dword [rsp + 0x140]
mov rax, qword [rsp + 0x128]
imul rax, rax, 0x200
add rdx, rax
mov qword [rsp + 0x20], 0
mov r9d, 0x200
mov r8, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x138]
call fcn.1400fced0
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call fcn.1400fa510
mov rcx, qword [rsp + 0xc8]
call fcn.1400fa510
mov eax, 1
jmp 0x1401048d5
lea rdx, [0x14022f640]
lea rcx, [rsp + 0x168]
call fcn.140002050
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x1b8]
call fcn.140050200
mov r8, qword [rsp + 0x1e0]
mov rdx, rax
mov ecx, 1
call fcn.1400de020
nop
lea rcx, [rsp + 0x168]
call fcn.140007060
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x1d8
ret