Function at 0x180035eb0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x180290500]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea ebx, [rdx + 0xa8c]
mov qword [rsp + 0x58], r8
mov dword [rsp + 0x40], ebx
mov r13, r9
mov edi, edx
mov rbp, rcx
cmp edx, ebx
jae case.0x180035f5c.104
mov r15d, dword [rsp + 0x40]
lea r9, [0x180070460]
mov esi, dword [rsp + 0x40]
lea r8, [0x1800706b0]
mov r12d, dword [rsp + 0x40]
movabs r10, 0xab54a98eac6e3e33
mov r14, qword [rsp + 0x58]
lea rdx, [0x180000000]
cmp edi, 0x182
ja 0x1800360ae
je case.0x180035f5c.104
lea eax, [rdi - 0x62]
cmp eax, 0xe1
ja case.0x180035f5c.105
movzx eax, byte [rdx + rax + 0x36260]
mov ecx, dword [rdx + rax*4 + 0x36240]
add rcx, rdx
jmp rcx
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x48]
mov r9d, 0x27
mov qword [rsp + 0x20], 0
xor edx, edx
mov qword [rsp + 0x60], r10
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x48], 0x40
call fcn.18001b920
jmp 0x1800361a6
mov rcx, qword [r13 + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [r13 + 0x10]
mov r15d, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [str.NfcFssrvrOpen:_Failed_to_get_geometry_for_disk__s:_DISK_LIB_ERROR_0x_x__s]
mov rsi, 0xffffffffffffffff
mov r12d, eax
mov rax, qword [r13 + 0x18]
mov qword [rsp + 0x68], rax
nop word [rax + rax]
inc rsi
cmp byte [rcx + rsi], 0
jne 0x180035fd0
jmp 0x1800361a6
cmp dword [rbp], 4
je case.0x180035f5c.105
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r13]
lea rdx, str.This_may_only_be_called_in_the_same_process_as_VDA_impl.
mov rcx, rax
call fcn.18006f8b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x132
mov rcx, rbp
call fcn.180021460
mov byte [rsp + 0x30], al
jmp 0x1800361a6
mov eax, dword [r13]
cmp eax, 1
je 0x1800361e2
cmp eax, 0x10
jne 0x180036051
mov qword [rbp + 0x98], r9
mov byte [rsp + 0x30], 1
jmp case.0x180035f5c.105
cmp eax, dword [rbp + 0xb8]
je 0x1800361cd
mov eax, 0x8e
cmp eax, 0x8e
je 0x180036076
cmp eax, 0x736
je case.0x180035f5c.104
jmp 0x180036098
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rcx + 0x10]
mov ecx, dword [rdx + 8]
test cl, 1
jne 0x18003608c
or ecx, 1
mov dword [rdx + 8], ecx
mov qword [rbp + 0x98], r8
mov byte [rsp + 0x30], 0
add eax, 0x6a8
cmp eax, 0xd50
jbe 0x180036062
mov byte [rsp + 0x30], 1
jmp case.0x180035f5c.105
cmp edi, 0x3e6
ja 0x180036144
je case.0x180035f5c.105
cmp edi, 0x1ca
je 0x18003610c
cmp edi, 0x27e
je 0x1800360f2
cmp edi, 0x332
jne case.0x180035f5c.105
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
jmp 0x1800361a6
mov rcx, qword [rsp + 0x68]
lea rdx, [0x180283f04]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
jmp 0x1800361a6
mov r9, qword [str.NfcFssrvrOpen:_Failed_to_get_geometry_for_disk__s:_DISK_LIB_ERROR_0x_x__s]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
mov r8d, 0x1d
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov dword [rsp + 0x48], esi
call fcn.180069300
jmp 0x1800361a6
cmp edi, 0x49a
je 0x18003615a
cmp edi, 0x54e
je case.0x180035f5c.104
jmp case.0x180035f5c.105
test r12d, r12d
jle 0x180036187
mov ebx, r12d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv r15d
movsxd rax, edx
mov rdx, r14
movsx ecx, byte [rsp + rax + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
sub rbx, 1
jne 0x180036162
mov ebx, dword [rsp + 0x40]
mov rdx, r14
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov dword [rsp + 0x30], 0
lea r8, [0x1800706b0]
movabs r10, 0xab54a98eac6e3e33
lea r9, [0x180070460]
add edi, 0xb4
cmp edi, ebx
jae case.0x180035f5c.104
jmp 0x180035f23
lea rax, [0x1800704b0]
mov byte [rsp + 0x30], 0
mov qword [rbp + 0x98], rax
jmp case.0x180035f5c.104
mov byte [rsp + 0x30], 1
jmp case.0x180035f5c.104
mov rax, qword [rsp + 0x58]
lea r9, [rsp + 0x38]
mov r8, rbp
mov edx, 0xa7
mov rcx, r13
movzx eax, byte [rax]
mov byte [rsp + 0x38], al
call fcn.18004eb30
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.180073f00
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret