Function at 0x140031518
Capabilities:
Get disk information
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x298
xor ebx, ebx
mov r14, rcx
lea rcx, [r11 + 0x10]
mov eax, ebx
mov qword [rsp + 0x140], rax
call fcn.1400170fc
mov rax, qword [0x14013cf70]
mov qword [rsp + 0x158], rax
mov al, bl
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x150], rax
call fcn.1400632a0
lea r8d, [rbx + 3]
lea rdx, [rsp + 0x2e8]
lea rcx, [0x14012160c]
mov rsi, rbx
mov byte [rsp + 0x41], bl
call fcn.140065d7c
lea ecx, [rsi + 0x2d]
mov bpl, al
mov rax, qword [rsp + 0x2e8]
mov r15b, bl
mov byte [rsp + 0x2f8], bl
mov byte [rsp + 0x2f0], bl
mov edi, ebx
mov dword [rsp + 0x44], ebx
mov r13d, ebx
mov dword [rsp + 0x48], ebx
lea ebx, [rsi + 0x2a]
cmp cx, word [rax]
jne 0x1400315e1
mov ebx, ecx
lea rdx, [rsp + 0x2e8]
lea rcx, str.sysinit
mov r8d, 8
call fcn.140065d7c
mov r12d, 1
test al, al
je 0x140031626
mov rax, qword [rsp + 0x2e8]
lea ebx, [r12 + 0x29]
lea ecx, [rbx + 3]
cmp cx, word [rax]
jne 0x140031752
mov bx, cx
jmp 0x140031752
mov rax, qword [rsp + 0x2e8]
cmp bx, word [rax]
jne 0x14003194b
add rax, 2
lea rdx, [rsp + 0x2e8]
lea rcx, [0x1401204cc]
mov r8d, 3
mov qword [rsp + 0x2e8], rax
call fcn.140065d7c
test al, al
je 0x14003166a
or r13d, 8
jmp 0x140031779
lea rdx, [rsp + 0x2e8]
lea rcx, [0x14011d2e8]
xor r8d, r8d
call fcn.140065d7c
test al, al
je 0x14003168e
or r13d, 4
jmp 0x140031779
lea rdx, [rsp + 0x2e8]
lea rcx, [0x1401215fc]
mov r8d, r12d
call fcn.140065d7c
test al, al
jne 0x1400319c1
lea rdx, [rsp + 0x2e8]
lea rcx, [0x1401215f4]
mov r8d, 4
call fcn.140065d7c
test al, al
jne 0x1400319c1
lea rdx, [rsp + 0x2e8]
lea rcx, str.2sysinit
mov r8d, 8
call fcn.140065d7c
test al, al
je 0x140031734
xor edx, edx
mov rcx, r14
mov byte [0x14013d058], r12b
call fcn.14001b3ec
mov rcx, r14
call fcn.14005db2c
mov rcx, rax
mov rdi, rax
call fcn.14005db3c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
mov rcx, r14
call fcn.14001963c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [rsp + 0x44]
jmp 0x14003175e
lea rdx, [rsp + 0x2e8]
lea rcx, [0x1401215e0]
mov r8d, 7
call fcn.140065d7c
test al, al
je 0x140031783
lea rsi, [0x1401215d0]
mov byte [rsp + 0x41], r12b
lea r8, [0x1401215c8]
lea rdx, str.__UDM.sysinit
mov rcx, r14
call fcn.140062600
bts r13d, 8
mov dword [rsp + 0x48], r13d
jmp 0x140031626
mov rax, qword [rsp + 0x2e8]
cmp bx, word [rax]
jne 0x1400319bb
add rax, 2
lea rdx, [rsp + 0x2e8]
lea rcx, [0x14011db2c]
mov r8d, 3
mov qword [rsp + 0x2e8], rax
call fcn.140065d7c
test al, al
je 0x1400317ce
or r15b, r12b
mov byte [rsp + 0x2f8], r15b
jmp 0x140031626
lea rdx, [rsp + 0x2e8]
lea rcx, [0x1401215a0]
mov r8d, r12d
call fcn.140065d7c
test al, al
je 0x1400317f6
or byte [rsp + 0x2f0], r12b
jmp 0x140031626
lea rdx, [rsp + 0x2e8]
lea rcx, str.local
mov r8d, 5
call fcn.140065d7c
test al, al
je 0x140031820
or r13d, 0x10
or edi, 0x10
jmp 0x1400319cc
lea rdx, [rsp + 0x2e8]
lea rcx, str.EnviMode
mov r8d, 8
call fcn.140065d7c
test al, al
je 0x14003184d
mov ecx, 0x20
or r13d, ecx
or edi, ecx
jmp 0x1400319cc
lea rdx, [rsp + 0x2e8]
lea rcx, [0x140121594]
mov r8d, 3
call fcn.140065d7c
test al, al
je 0x140031874
or r13d, 0x40
jmp 0x140031779
mov rdx, qword [rsp + 0x2e8]
lea rcx, str.logs:
mov r8d, 5
call fcn.14005c4dc
xor ecx, ecx
cmp al, cl
mov rax, qword [rsp + 0x2e8]
je 0x14003193f
add rax, 0xa
mov qword [rsp + 0x168], rcx
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x180]
mov r8d, r12d
mov qword [rsp + 0x2e8], rax
mov qword [rsp + 0x180], rax
call fcn.140024cb8
mov r8, qword [rsp + 0x168]
mov qword [rsp + 0x2e8], rax
xor eax, eax
cmp r8, rax
jle 0x14003192d
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x108]
call fcn.14006ff38
mov rdx, qword [rsp + 0x108]
lea r8, [rsp + 0x80]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], r12b
call fcn.140079e84
lea rcx, [rsp + 0x108]
call fcn.14005aef8
lea rcx, [rsp + 0x2e8]
call fcn.1400170fc
jmp 0x140031626
sub rax, 4
mov qword [rsp + 0x2e8], rax
mov ebx, 0x2a
mov rcx, rax
mov qword [rsp + 0x148], rax
cmp bx, word [rax]
jne 0x14003196c
add rax, 2
mov qword [rsp + 0x2e8], rax
mov edx, 0x22
lea r11d, [rdx + 1]
cmp word [rax], dx
jne 0x1400319da
cmp word [rax + 2], 0x2e
jne 0x1400319da
cmp word [rax + 4], dx
jne 0x1400319da
lea rdx, [rax + 6]
cmp word [rdx], r11w
jne 0x1400319da
mov rax, qword [0x14013ca68]
mov r15, rdx
mov qword [rsp + 0x2e8], rdx
sub r15, rcx
mov qword [rsp + 0x158], rax
sar r15, 1
mov qword [rsp + 0x150], r15
jmp 0x1400319e5
sub rax, 2
jmp 0x140031943
or r13d, 0x204
bts edi, 9
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x44], edi
jmp 0x140031626
mov rdx, rcx
mov qword [rsp + 0x2e8], rcx
xor r15d, r15d
cmp rsi, r15
je 0x140031a09
cmp bpl, r15b
jne 0x140031a09
cmp byte [0x14013d058], r15b
jne 0x140031a09
mov byte [0x14013d058], 3
mov qword [0x14013d060], rsi
mov ebp, 0x22
lea rcx, str.map:
mov dword [rsp + 0x58], r15d
cmp bp, word [rdx]
lea r8d, [rbp - 0x1d]
sete byte [rsp + 0x4c]
call fcn.14005c4dc
mov rdi, qword [rsp + 0x2e8]
cmp al, r15b
jne 0x140031a4e
cmp bx, word [rdi]
jne 0x140031a4e
add rdi, 2
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x2e8], rdi
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x2e8]
mov r8d, 0x21
mov word [rsp + 0x68], r15w
mov qword [rsp + 0x130], r15
call fcn.140024cb8
mov rbx, rax
mov rax, qword [rsp + 0x2e8]
mov rcx, rax
cmp bp, word [rax]
jne 0x140031a8e
lea rcx, [rax + 2]
mov edx, 0x5c
cmp dx, word [rcx]
jne 0x140031aa3
mov byte [rsp + 0x40], r12b
cmp dx, word [rcx + 2]
jne 0x140031aa8
mov byte [rsp + 0x40], r15b
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x140031ac3
add rax, 2
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0x60]
call fcn.1400632a0
mov r8, rbx
lea rcx, [rsp + 0x88]
sub r8, rdi
mov rdx, rdi
sar r8, 1
call fcn.14006ff38
mov rdx, qword [rsp + 0x88]
mov edi, 0x2c
mov rax, rdx
cmp bp, word [rdx]
jne 0x140031b1b
mov ecx, ebp
cmp bp, cx
je 0x140031b0f
add rax, 2
mov cx, word [rax]
cmp cx, r15w
jne 0x140031afd
cmp word [rax], r15w
je 0x140031b36
add rax, 2
jmp 0x140031b36
cmp word [rdx], r15w
je 0x140031b36
mov cx, word [rdx]
cmp di, cx
je 0x140031b36
add rax, 2
mov cx, word [rax]
cmp cx, r15w
jne 0x140031b24
cmp di, word [rax]
jne 0x140031b58
mov word [rax], r15w
movzx esi, word [rax + 2]
mov rdx, qword [rsp + 0x88]
mov eax, 0xffdf
and si, ax
mov word [rsp + 0x68], si
lea r8, [rsp + 0x60]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], r12b
call fcn.14007bba4
mov rdx, qword [rsp + 0x60]
movzx eax, word [rdx]
mov edi, 9
cmp bp, ax
je 0x140031c20
mov rcx, rdx
cmp ax, r15w
je 0x140031bb0
lea r9d, [rdi + 0x17]
cmp di, ax
ja 0x140031b9b
cmp ax, 0xd
jbe 0x140031bb0
cmp r9w, ax
je 0x140031bb0
add rcx, 2
mov ax, word [rcx]
cmp ax, r15w
je 0x140031c20
jmp 0x140031b90
cmp word [rcx], r15w
je 0x140031c20
lea rcx, [rsp + 0x88]
call fcn.14006ffb0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x60]
movsxd rdi, eax
lea eax, [rdi + 3]
movsxd rdx, eax
call fcn.1400633a0
mov rax, qword [rsp + 0x60]
lea r8, [rdi + rdi]
mov word [rax + rdi*2 + 4], r15w
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x88]
add rcx, 2
call fcn.14001d7d8
mov rax, qword [rsp + 0x60]
mov word [rax + rdi*2 + 2], bp
mov rax, qword [rsp + 0x60]
mov word [rax], bp
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x2e8], rdx
lea rcx, [rsp + 0x2e8]
lea rdx, [rsp + 0x130]
mov r8d, 0x20
call fcn.140024cb8
lea r8, [rsp + 0x88]
xor r9d, r9d
mov rdx, rbx
mov rcx, r14
mov byte [rsp + 0x20], r12b
call fcn.14007bba4
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.1400633dc
mov r15, qword [rsp + 0x60]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x128], r15
mov qword [rsp + 0x2e8], r15
call fcn.14005aef8
mov rsi, qword [rsp + 0x2e8]
lea rcx, str.map:
mov r8d, 5
mov rdx, rsi
call fcn.14005c4dc
xor ebx, ebx
cmp al, bl
je 0x140031cca
mov rdi, rsi
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0x2e8], rsi
jmp 0x140031cd5
mov rsi, qword [rsp + 0x2e8]
mov rdi, rbx
mov rbp, qword [rsp + 0x130]
lea rax, [rsi + rbp*2]
mov qword [rsp + 0x190], rax
movzx ecx, word [rax]
mov word [rax], bx
mov qword [rsp + 0x170], rbx
mov word [rsp + 0xa0], cx
cmp rdi, rbx
je 0x140031dea
mov rax, qword [rsp + 0x2e8]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x2e8]
mov word [rax + rbp*2], bx
lea rax, [rdi + 0xa]
mov dword [rsp + 0x118], ebx
mov qword [rsp + 0x2e8], rax
call fcn.140074498
movsxd rdx, dword [rsp + 0x118]
cmp edx, ebx
jle 0x140032af2
mov rdi, rdx
xor r9d, r9d
xor r8d, r8d
lea ebp, [r9 + 6]
mov rcx, rdi
mov qword [rsp + 0x20], 8
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
cmp rax, rbx
je 0x140032af9
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [rsp + 0xa8]
cmp rax, rbx
mov qword [rsp + 0x160], rax
jle 0x140032af9
add rax, 8
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x138], rax
cmp rax, rbx
je 0x140032af9
mov r15, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x78]
call fcn.1400632a0
mov edi, 0x2a
mov rcx, rsi
cmp word [rsi], di
jne 0x140031e05
lea rcx, [rsi + 2]
mov edx, edi
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rbx, rax
xor eax, eax
cmp rbx, rax
je 0x140031ee1
cmp di, word [rbx + 2]
cmove rbx, rax
cmp rbx, rax
je 0x140031ee1
mov rbp, rbx
lea ecx, [rax + 0x22]
sub rbp, rsi
sar rbp, 1
cmp word [rsi + rbp*2 - 2], cx
jne 0x140031e42
sub rbp, r12
add rbx, 2
mov rdi, rbx
cmp word [rbx], ax
je 0x14003228d
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, word [rbx]
ja 0x140031e66
cmp word [rbx], 0xd
jbe 0x140031e7a
cmp r8w, word [rbx]
je 0x140031e7a
cmp cx, word [rbx]
je 0x140031e7a
add rbx, 2
cmp word [rbx], ax
jne 0x140031e5b
cmp rbx, rdi
je 0x14003228d
cmp byte [rsp + 0x4c], al
je 0x140031e97
cmp cx, word [rbx]
jne 0x140031e97
mov r14b, r12b
mov word [rbx], r8w
jmp 0x140031e9a
mov r14b, al
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.140070048
xor eax, eax
sub rdi, 2
cmp r14b, al
je 0x140031ebc
lea ecx, [rax + 0x22]
mov word [rdi], cx
add rdi, 2
mov r14, qword [rsp + 0x2e0]
cmp rdi, rbx
jae 0x140031ee1
sub rbx, rdi
mov eax, 0x20
sub rbx, r12
movzx eax, ax
shr rbx, 1
lea rcx, [r12 + rbx]
rep stosw word [rdi], ax
mov rax, qword [rsp + 0x190]
mov cx, word [rsp + 0xa0]
mov rbx, qword [rsp + 0x150]
mov word [rax], cx
xor eax, eax
movsx rdi, bl
cmp bl, al
lea r8, [rdi + rbp + 1]
lea rcx, [rsp + 0x98]
cmovne rsi, qword [rsp + 0x148]
lea rdx, [rsi - 2]
call fcn.14006ff38
mov rax, qword [rsp + 0x98]
xor ecx, ecx
movsxd rdx, ebp
add rdx, rdi
mov word [rax + rdx*2 + 2], cx
movsx eax, bl
add eax, r12d
movsxd rcx, eax
mov rax, qword [rsp + 0x98]
lea rsi, [rax + rcx*2]
lea rcx, [rsp + 0xe0]
mov rdx, rsi
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x2e8], rsi
mov rbx, rsi
mov qword [rsp + 0x108], rsi
call fcn.14006ff14
xor r9d, r9d
mov qword [rsp + 0x90], rsi
lea rdi, [0x14011c618]
lea edx, [r9 + 0x22]
mov dword [rsp + 0x70], r9d
cmp dx, word [rsi]
jne 0x14003200b
lea rax, [rsi + 2]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x90], rax
call fcn.1400e8c3c
mov rcx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x58]
cmp dx, word [rcx]
jne 0x140031fcf
or eax, 0x10
jmp 0x140031fd5
cmp word [rcx], r9w
je 0x140031fed
mov word [rcx], r9w
mov rcx, qword [rsp + 0x90]
add rcx, 2
mov qword [rsp + 0x90], rcx
mov esi, 0x23
lea r8d, [rsi + 0x59]
lea r10d, [rsi + 0x17]
cmp eax, r9d
je 0x1400320b8
mov rbx, rcx
jmp 0x1400320b8
mov eax, dword [rsp + 0x58]
cmp eax, r9d
je 0x1400320ab
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
cmp rax, rcx
cmove rax, rsi
lea esi, [rcx + 0x23]
xor edx, edx
mov r8d, esi
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
xor r9d, r9d
mov r11, rax
cmp rax, r9
je 0x1400320c4
mov rcx, rax
cmp si, word [rax]
jne 0x14003205d
add rcx, 2
cmp si, word [rcx]
je 0x140032054
movzx eax, word [rcx]
mov edx, 9
mov rbx, rdi
sub ax, 0x30
cmp ax, dx
cmovbe rbx, r11
movzx eax, word [rcx]
sub ax, 0x30
cmp ax, dx
ja 0x140032085
add rcx, 2
jmp 0x140032073
mov r8d, 0x7c
lea r10d, [r8 - 0x42]
cmp word [rcx], r9w
je 0x1400320b8
cmp word [rcx], r8w
je 0x1400320b8
cmp word [rcx], r10w
mov rax, rdi
cmove rax, rbx
mov rbx, rax
jmp 0x1400320b8
mov esi, 0x23
lea r8d, [rsi + 0x59]
lea r10d, [rsi + 0x17]
cmp rbx, r9
je 0x1400320ce
cmp si, word [rbx]
je 0x1400320d1
jmp 0x1400320ce
mov r8d, 0x7c
lea r10d, [r8 - 0x42]
mov rbx, rdi
cmp word [rbx], r9w
je 0x140032145
lea rax, [rbx + 2]
cmp si, word [rax]
jne 0x140032145
mov ecx, dword [rsp + 0x70]
mov rbx, rax
add rax, 2
add ecx, r12d
cmp si, word [rax]
je 0x1400320e4
cmp ecx, r9d
jle 0x140032145
movzx eax, word [r15]
cmp ax, r9w
je 0x140032130
mov ecx, 9
lea edx, [rcx + 0x17]
cmp cx, ax
ja 0x140032115
cmp ax, 0xd
jbe 0x140032128
cmp dx, ax
je 0x140032128
add r15, 2
mov ax, word [r15]
cmp ax, r9w
jne 0x14003210a
mov qword [rsp + 0x128], r15
lea rcx, [rsp + 0x128]
call fcn.1400170fc
mov r15, qword [rsp + 0x128]
cmp byte [rsp + 0x2f8], r9b
je 0x14003240f
mov rcx, qword [rsp + 0x2e8]
call fcn.14001d640
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x2e8], rax
call fcn.140062fc4
mov rdx, qword [rsp + 0x2e8]
xor esi, esi
mov r8, rdx
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
movzx eax, word [rdx]
cmp ax, si
je 0x1400321bf
lea ecx, [rsi + 9]
lea r9d, [rsi + 0x20]
cmp cx, ax
ja 0x1400321ac
cmp ax, 0xd
jbe 0x1400321bf
cmp r9w, ax
je 0x1400321bf
add r8, 2
mov ax, word [r8]
cmp ax, si
jne 0x1400321a1
sub r8, rdx
lea rcx, [rsp + 0x120]
sar r8, 1
call fcn.14006ff38
mov rcx, qword [rsp + 0x120]
cmp word [rcx], 0x26
je 0x14003221c
cmp byte [r14 + 0xd], sil
jne 0x14003221c
lea rdx, [rsp + 0xc8]
call fcn.14006f4b8
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
add rcx, rcx
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xd0], rcx
jmp 0x1400322f9
lea rbp, [0x14013e190]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0x120]
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.1400189c4
mov rbx, rax
cmp rax, rsi
jne 0x14003229c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rsp + 0x120]
call fcn.14005aef8
lea rcx, [rsp + 0xc8]
call fcn.14005aef8
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
lea rcx, [rsp + 0x78]
call fcn.14005aef8
jmp 0x140032af9
movsxd rax, dword [rax + 0x18]
lea rcx, [rsp + 0xc8]
mov rdi, rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xd0], rax
add eax, 0x10
movsxd rdx, eax
call fcn.1400630a4
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + 0xc8]
mov r8, rdi
call fcn.14001d7d8
mov rcx, qword [rsp + 0xc8]
xor edx, edx
lea r8d, [rdx + 0x10]
add rcx, rdi
call fcn.140101f00
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, byte [0x14013a248]
mov edx, r12d
mov ecx, eax
cmp al, sil
cmovl ecx, r12d
mov byte [0x14013a248], cl
lea rcx, [rsp + 0xc8]
call fcn.1400e7290
call fcn.14001b55c
mov rcx, qword [rsp + 0xc8]
xor r8d, r8d
xor edx, edx
movzx ebx, ax
call fcn.14001b5f8
lea rcx, [rsp + 0xc8]
xor r8d, r8d
mov rdx, r14
call fcn.140030e90
mov rcx, qword [rsp + 0xc8]
xor edx, edx
call fcn.14001b544
mov rcx, qword [rsp + 0xc8]
mov edx, ebx
add eax, 2
movsxd r8, eax
call fcn.14001b5f8
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0xc8]
mov ecx, ebx
mov dword [rsp + 0x20], esi
call fcn.140024f90
mov rdi, qword [rsp + 0xc8]
lea rdx, str.mem
lea rcx, [rsp + 0x188]
or r8, 0xffffffffffffffff
mov qword [rsp + 0xc8], rsi
call fcn.14006ff54
shl ebx, 0x10
mov qword [rsp + 0x30], rsi
mov r9, qword [rax]
or ebx, r13d
mov r8, r15
or ebx, 0x40
mov rdx, rdi
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebx
call fcn.1400b66bc
lea rcx, [rsp + 0x188]
mov rdi, rax
call fcn.14005aef8
lea rcx, [rsp + 0x120]
call fcn.14005aef8
lea rcx, [rsp + 0xc8]
call fcn.14005aef8
jmp 0x140032de4
mov rsi, qword [rsp + 0x160]
cmp rsi, r9
jle 0x140032601
lea rcx, [rsp + 0xb0]
call fcn.140062fc4
xor eax, eax
lea rdx, [rsi + 0x24]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
call fcn.1400630a4
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov r8, rsi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb8], rsi
call fcn.14001d7d8
mov rcx, qword [rsp + 0xb0]
xor edx, edx
lea r8d, [rdx + 0x14]
add rcx, rsi
call fcn.140101f00
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0xb0]
mov edx, r12d
call fcn.1400e7290
call fcn.14001b55c
xor r8d, r8d
movzx ecx, al
movzx esi, ax
mov ebp, eax
shl si, 8
or si, cx
mov rcx, qword [rsp + 0xb0]
movzx ebx, si
mov edx, ebx
call fcn.14001b5f8
lea rcx, [rsp + 0xb0]
mov r8d, ebx
mov rdx, r14
call fcn.140030e90
mov rdi, qword [rsp + 0xb0]
movzx edx, si
mov rcx, rdi
call fcn.14001b544
xor dx, 0xd
movsxd r8, eax
movzx eax, si
mov word [rdi + r8*2], dx
mov rcx, qword [rsp + 0xb0]
xor ax, 0xa
add r8d, r12d
movzx edi, bp
movsxd rdx, r8d
add r8d, r12d
mov word [rcx + rdx*2], ax
mov rcx, qword [rsp + 0xb0]
movsxd rdx, r8d
mov word [rcx + rdx*2 + 8], si
mov rax, qword [rsp + 0xb0]
mov word [rax + rdx*2 + 6], si
mov rax, qword [rsp + 0xb0]
mov word [rax + rdx*2 + 4], si
mov rax, qword [rsp + 0xb0]
mov word [rax + rdx*2 + 2], si
mov rax, qword [rsp + 0xb0]
mov word [rax + rdx*2], si
mov rcx, qword [rsp + 0xb0]
lea eax, [r8 + 4]
mov edx, edi
movsxd r8, eax
xor edx, ebx
call fcn.14001b5f8
movzx edx, byte [0x14013a248]
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x80]
xor ebx, ebx
mov eax, edx
cmp dl, bl
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0xb0]
cmovl eax, r12d
mov byte [0x14013a248], al
mov ecx, edi
call fcn.140024f90
mov rdx, qword [rsp + 0xb0]
mov r9, qword [rsp + 0x148]
shl edi, 0x10
mov qword [rsp + 0x30], rbx
mov r8, r15
or edi, r13d
mov rcx, r14
mov qword [rsp + 0x28], rbx
or edi, 0x40
mov qword [rsp + 0xb0], rbx
mov dword [rsp + 0x20], edi
call fcn.1400b66bc
lea rcx, [rsp + 0xb0]
mov edi, eax
jmp 0x140032405
cmp byte [rsp + 0x40], r9b
je 0x1400327aa
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x2e8]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + rdi + 0x92a]
movsxd rdx, ecx
lea rcx, [rsp + 0x110]
call fcn.140063314
mov rbx, qword [rsp + 0x110]
mov ecx, 0x324
lea rdi, [rbx + 0xbca]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
movzx eax, word [r15]
xor ecx, ecx
lea r14, [rdi + 0x64a]
lea edx, [rcx + 0x22]
mov word [r14], ax
cmp word [r15], dx
mov r9, qword [rsp + 0x2e8]
mov eax, ecx
sete al
cdqe
lea r15, [r15 + rax*2 + 2]
lea rax, [r14 + rax*2]
mov qword [rsp + 0x2f8], rax
cmp word [r9], dx
jne 0x1400326a3
add r9, 2
mov qword [rsp + 0x2e8], r9
mov eax, 0x5c
cmp word [r9], ax
jne 0x1400326ba
add r9, 2
mov qword [rsp + 0x2e8], r9
mov esi, 0x5dc
mov eax, ecx
sub esi, ebp
cmp word [rdi], cx
je 0x140032788
mov rbp, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2f8]
mov cx, word [rsp + 0x68]
cmp word [rdi], cx
jb 0x14003275c
cmp eax, esi
jge 0x14003275c
lea rdx, [0x140121578]
mov r8, rdi
mov rcx, rbx
call fcn.1400170d8
mov rcx, rbx
call fcn.1401012dc
xor ecx, ecx
cmp eax, ecx
je 0x14003275c
lea rdx, [0x140121578]
mov r9, r15
mov r8, rdi
mov rcx, r12
call fcn.1400170d8
mov rax, qword [rsp + 0x80]
mov r9d, r13d
or r9d, dword [rsp + 0x44]
mov qword [rsp + 0x28], rax
xor eax, eax
mov r8, r14
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14003112c
mov qword [rsp + 0x140], rax
xor eax, eax
cmp byte [rsp + 0x2f0], al
je 0x140032782
mov rcx, rdi
call fcn.140102490
lea ecx, [rax + 1]
movsxd rdx, ecx
xor ecx, ecx
lea rdi, [rdi + rdx*2]
cmp word [rdi], cx
je 0x140032782
mov r9, qword [rsp + 0x2e8]
jmp 0x1400326dc
mov r12d, 1
lea rcx, [rsp + 0x110]
call fcn.14005aef8
mov r14, qword [rsp + 0x2e0]
mov rdi, qword [rsp + 0x140]
jmp 0x140032de4
cmp word [rbx], r9w
je 0x140032da0
mov r11d, 0x23
mov qword [rsp + 0x2f8], rbx
lea rbp, str.SCRIPT
mov r14, rbx
cmp r11w, word [rbx]
jne 0x1400327e8
lea rcx, [rbx + 2]
lea edx, [r11 - 0x1a]
movzx eax, word [rcx]
sub ax, 0x30
cmp ax, dx
cmova rbx, rcx
movzx eax, word [rbx]
mov rsi, r9
mov qword [rsp + 0x50], r9
mov r13, rbx
jmp 0x14003280d
cmp r10w, ax
je 0x140032865
cmp r8w, ax
je 0x140032815
add r13, 2
mov ax, word [r13]
cmp ax, r9w
jne 0x1400327f8
jmp 0x14003286d
lea rax, [r13 + 2]
cmp word [rax], r9w
je 0x14003286d
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0xa8], rax
call fcn.1400c14f0
mov rdx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x50]
xor r9d, r9d
lea r8d, [r9 + 0x7c]
cmp word [rdx], r9w
je 0x140032873
cmp r8w, word [rdx]
cmovne rsi, r13
mov qword [rsp + 0x50], rsi
jmp 0x140032873
mov rsi, r13
mov qword [rsp + 0x50], r13
mov r8d, 0x7c
mov word [rsp + 0x2f0], r9w
mov ecx, 0x27
cmp rsi, r9
je 0x1400328c0
movzx r13d, word [rsi]
mov word [rsi], r9w
mov r14, qword [rsp + 0x50]
add r14, 2
lea eax, [rcx - 5]
mov word [rsp + 0x2f0], r13w
mov qword [rsp + 0x50], r14
cmp word [r14], r8w
cmovne rbp, r14
cmp ax, word [rbp]
je 0x1400328bc
cmp cx, word [rbp]
jne 0x1400328c0
add rbp, 2
mov edx, r8d
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrChrW]
xor r13d, r13d
mov qword [rsp + 0x50], rax
cmp rax, r13
je 0x1400328f4
mov cx, word [rax]
mov word [rax], r13w
mov rdi, qword [rsp + 0x50]
add rdi, 2
mov rsi, rax
mov word [rsp + 0x2f0], cx
mov qword [rsp + 0x50], rdi
mov rax, rbp
cmp word [rbp], r13w
je 0x14003292a
mov ecx, 0x22
lea edx, [rcx + 5]
cmp cx, word [rax]
je 0x140032921
cmp dx, word [rax]
je 0x140032921
add rax, 2
cmp word [rax], r13w
jne 0x14003290b
jmp 0x14003292a
mov word [rax], r13w
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0xa4], r13d
mov dword [rsp + 0x6c], 0x7fffffff
cmp word [rdi], r13w
je 0x14003295d
lea rdx, [rsp + 0xa4]
lea rcx, [rsp + 0x50]
mov r8d, 0x7c
call fcn.14001ddfc
mov rdi, qword [rsp + 0x50]
mov eax, 0x2c
cmp ax, word [rdi]
jne 0x140032976
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x50]
call fcn.1400c14f0
cmp dword [rsp + 0x6c], r13d
jle 0x140032ace
cmp dword [rsp + 0xa4], r13d
jl 0x140032ace
mov rdi, qword [rsp + 0x2f8]
mov rax, qword [rsp + 0x108]
mov r14, qword [rsp + 0x158]
xor ecx, ecx
mov qword [rsp + 0x110], r13
movzx r13d, word [rdi]
mov word [rdi], cx
cmp word [rax], cx
je 0x1400329e2
lea r8d, [rcx + 2]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r14, rax
mov qword [rsp + 0x110], rax
xor eax, eax
cmp r14, rax
je 0x140032273
mov word [rdi], r13w
call fcn.14001b55c
movzx ecx, al
movzx r13d, ax
mov dword [rsp + 0x2f8], eax
shl r13w, 8
or r13w, cx
lea rcx, [rsp + 0xf0]
movzx edi, r13w
shl edi, 0x10
mov dword [rsp + 0x70], edi
call fcn.140062fc4
xor eax, eax
lea rcx, [rsp + 0x178]
mov rdx, rbx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rax
call fcn.14006ff14
mov rdx, qword [rsp + 0x178]
lea r11, [rsp + 0x70]
lea r9, [rsp + 0xf0]
mov r8, rbp
mov rcx, r14
mov qword [rsp + 0x20], r11
call fcn.14001ea88
lea rcx, [rsp + 0x178]
call fcn.14005aef8
mov ebp, dword [rsp + 0x70]
xor ebx, ebx
or ebp, edi
cmp rsi, rbx
je 0x140032a86
mov ax, word [rsp + 0x2f0]
mov word [rsi], ax
mov rax, qword [rsp + 0x110]
cmp rax, rbx
je 0x140032a9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0xf8]
movsxd rdx, dword [rsp + 0xa4]
sub eax, edx
cmovs eax, ebx
cmp ecx, eax
cmovg ecx, eax
cmp ecx, ebx
mov dword [rsp + 0x6c], ecx
jg 0x140032b25
lea rcx, [rsp + 0xf0]
call fcn.14005aef8
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
lea rcx, [rsp + 0x78]
call fcn.14005aef8
mov r12, 0xffffffff80070057
lea rcx, [rsp + 0x170]
call fcn.14005aef8
lea rcx, [rsp + 0x60]
call fcn.14005aef8
lea rcx, [rsp + 0x80]
call fcn.14005aef8
mov rax, r12
jmp 0x140032e72
mov rdi, qword [rsp + 0xf0]
cmp edx, ebx
je 0x140032b43
movsxd r8, ecx
add rdx, rdi
mov rcx, rdi
call fcn.14001d790
mov ecx, dword [rsp + 0x6c]
movsxd rax, ecx
movzx edx, r13b
mov r8d, 0xc
lea rcx, [rdi + rax]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xf8], rax
call fcn.140101f00
mov edx, ebp
lea rcx, [rsp + 0xf0]
or edx, r12d
call fcn.1400e7290
mov r14, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x1a0]
mov rdx, r14
call fcn.140017d28
lea rcx, [rsp + 0x1a0]
mov rdx, r14
call fcn.140018708
movzx edi, r13w
lea rcx, [rsp + 0x1a0]
mov edx, edi
mov qword [rsp + 0x1e0], rbx
mov word [rsp + 0x1e8], r13w
call fcn.140061124
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0xf0]
mov r8d, ebp
call fcn.140030e90
mov r8, qword [rsp + 0xf8]
movzx esi, word [rsp + 0x2f8]
mov rcx, qword [rsp + 0xf0]
shr r8, 1
mov edx, esi
add r8, 2
xor edx, edi
or ebp, eax
call fcn.14001b5f8
mov r8, qword [rsp + 0x78]
movzx eax, bp
xor ebp, ebp
mov ebx, esi
shl ebx, 0x10
or ebx, eax
movzx eax, byte [0x14013a248]
cmp al, bpl
mov ecx, eax
mov rax, qword [rsp + 0xf0]
cmovl ecx, r12d
mov rdi, rax
mov byte [0x14013a248], cl
cmp word [r8], bp
je 0x140032c5e
lea rdx, [rsp + 0xf0]
mov r9, r15
mov ecx, esi
call fcn.140030fe0
mov rdi, rax
mov rax, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x80]
cmp word [r8], bp
je 0x140032c8d
mov r9d, dword [rsp + 0x44]
sub rdi, rax
lea rdx, [rsp + 0xf0]
sar rdi, 1
mov ecx, esi
mov dword [rsp + 0x20], edi
call fcn.140024f90
mov rdi, rax
lea rcx, [rsp + 0x1a0]
xor edx, edx
call fcn.14004eb6c
lea rcx, [rsp + 0x210]
call fcn.14005aef8
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xe8], rbp
cmp al, bpl
je 0x140032d3d
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0xe8]
movsxd rdx, eax
add rdx, 0x109
call fcn.1400633a0
mov rax, qword [rsp + 0xe8]
mov ecx, 0x2a
mov word [rax], cx
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x158]
add rdx, 2
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x2e8]
add rcx, 2
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x2e8], rdx
mov rdx, qword [rsp + 0xf0]
mov qword [rsp + 0xf0], rbp
cmp rdx, rbp
je 0x140032d7e
or ebx, dword [rsp + 0x48]
mov r9, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rbp
or ebx, 0x40
mov r8, r15
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
call fcn.1400b66bc
mov edi, eax
jmp 0x140032d86
mov rdi, qword [rsp + 0x140]
lea rcx, [rsp + 0xe8]
call fcn.14005aef8
lea rcx, [rsp + 0xf0]
jmp 0x140032405
mov rcx, qword [rsp + 0x2e8]
call fcn.14001d640
mov rcx, qword [rsp + 0x80]
or r13d, dword [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x78]
mov r9d, r13d
mov qword [rsp + 0x20], rcx
mov r8, r15
mov rdx, rax
mov rcx, r14
mov qword [rsp + 0x2e8], rax
call fcn.14003112c
mov edi, eax
mov al, byte [0x14013d058]
cmp al, 3
jne 0x140032dfc
mov rcx, r14
call fcn.14002521c
mov al, byte [0x14013d058]
mov cl, byte [rsp + 0x41]
cmp cl, r12b
jne 0x140032e1d
or al, r12b
lea rdx, str.sysinit_end
mov rcx, r14
mov byte [0x14013d058], al
call fcn.1400251f0
xor edx, edx
mov rcx, r14
call fcn.14009bd28
lea rcx, [rsp + 0xe0]
call fcn.14005aef8
lea rcx, [rsp + 0x98]
call fcn.14005aef8
lea rcx, [rsp + 0x78]
call fcn.14005aef8
lea rcx, [rsp + 0x170]
call fcn.14005aef8
lea rcx, [rsp + 0x60]
call fcn.14005aef8
lea rcx, [rsp + 0x80]
call fcn.14005aef8
movsxd rax, edi
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret