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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x278
mov r14, rcx
lea rcx, [rax + 0x10]
xor ebx, ebx
mov dword [rsp + 0xcc], ebx
call fcn.140011910
mov rax, qword [0x1400f1ca0]
mov qword [rsp + 0x138], rax
mov al, bl
lea rcx, [rsp + 0xd8]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x130], rax
call fcn.14004be6c
lea r8d, [rbx + 3]
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400db2e4]
mov rsi, rbx
mov byte [rsp + 0x40], bl
call fcn.14004e558
lea ecx, [rsi + 0x2d]
mov bpl, al
mov rax, qword [rsp + 0x2c8]
mov r15b, bl
mov byte [rsp + 0x2d8], bl
mov byte [rsp + 0x2d0], 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 0x14003965a
mov ebx, ecx
lea rdx, [rsp + 0x2c8]
lea rcx, str.sysinit
mov r8d, 8
call fcn.14004e558
mov r12d, 1
test al, al
je 0x14003969f
mov rax, qword [rsp + 0x2c8]
lea ebx, [r12 + 0x29]
lea ecx, [rbx + 3]
cmp cx, word [rax]
jne 0x1400397c6
mov bx, cx
jmp 0x1400397c6
mov rax, qword [rsp + 0x2c8]
cmp bx, word [rax]
jne 0x1400399be
add rax, 2
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400d96c4]
mov r8d, 3
mov qword [rsp + 0x2c8], rax
call fcn.14004e558
test al, al
je 0x1400396e3
or r13d, 8
jmp 0x1400397ed
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400d6cc0]
xor r8d, r8d
call fcn.14004e558
test al, al
je 0x140039707
or r13d, 4
jmp 0x1400397ed
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400db2d4]
mov r8d, r12d
call fcn.14004e558
test al, al
jne 0x140039a32
lea rdx, [rsp + 0x2c8]
lea rcx, str.this
mov r8d, 4
call fcn.14004e558
test al, al
jne 0x140039a32
lea rdx, [rsp + 0x2c8]
lea rcx, str.2sysinit
mov r8d, 8
call fcn.14004e558
test al, al
je 0x1400397a8
mov rcx, r14
mov byte [0x1400f1da1], r12b
call fcn.140015440
mov rcx, r14
call fcn.140047468
mov rcx, rax
mov rdi, rax
call fcn.140047478
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 5]
call fcn.140013908
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [rsp + 0x44]
jmp 0x1400397d2
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400db2b8]
mov r8d, 7
call fcn.14004e558
test al, al
je 0x1400397f7
lea rsi, [0x1400db2a8]
mov byte [rsp + 0x40], r12b
lea r8, [0x1400da228]
lea rdx, str.__UDM.sysinit
mov rcx, r14
call fcn.14004b578
bts r13d, 8
mov dword [rsp + 0x48], r13d
jmp 0x14003969f
mov rax, qword [rsp + 0x2c8]
cmp bx, word [rax]
jne 0x140039a2c
add rax, 2
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400d72cc]
mov r8d, 3
mov qword [rsp + 0x2c8], rax
call fcn.14004e558
test al, al
je 0x140039842
or r15b, r12b
mov byte [rsp + 0x2d8], r15b
jmp 0x14003969f
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400da098]
mov r8d, r12d
call fcn.14004e558
test al, al
je 0x14003986a
or byte [rsp + 0x2d0], r12b
jmp 0x14003969f
lea rdx, [rsp + 0x2c8]
lea rcx, str.local
mov r8d, 5
call fcn.14004e558
test al, al
je 0x140039894
or r13d, 0x10
or edi, 0x10
jmp 0x140039a3d
lea rdx, [rsp + 0x2c8]
lea rcx, str.EnviMode
mov r8d, 8
call fcn.14004e558
test al, al
je 0x1400398c1
mov ecx, 0x20
or r13d, ecx
or edi, ecx
jmp 0x140039a3d
lea rdx, [rsp + 0x2c8]
lea rcx, [0x1400da0e0]
mov r8d, 3
call fcn.14004e558
test al, al
je 0x1400398e8
or r13d, 0x40
jmp 0x1400397ed
mov rdx, qword [rsp + 0x2c8]
lea rcx, str.logs:
mov r8d, 5
call fcn.140045fc8
xor ecx, ecx
cmp al, cl
mov rax, qword [rsp + 0x2c8]
je 0x1400399b2
add rax, 0xa
mov dword [rsp + 0x8c], ecx
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x148]
mov r8d, r12d
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x148], rax
call fcn.140020840
mov r8d, dword [rsp + 0x8c]
mov qword [rsp + 0x2c8], rax
xor eax, eax
cmp r8d, eax
jle 0x1400399a0
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x108]
call fcn.140058944
mov rdx, qword [rsp + 0x108]
lea r8, [rsp + 0xd8]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], r12b
call fcn.140054c4c
lea rcx, [rsp + 0x108]
call fcn.140044f24
lea rcx, [rsp + 0x2c8]
call fcn.140011910
jmp 0x14003969f
sub rax, 4
mov qword [rsp + 0x2c8], rax
mov ebx, 0x2a
mov rcx, rax
mov qword [rsp + 0x140], rax
cmp bx, word [rax]
jne 0x1400399df
add rax, 2
mov qword [rsp + 0x2c8], rax
mov edi, 0x23
lea edx, [rdi - 1]
cmp word [rax], dx
jne 0x140039a4b
cmp word [rax + 2], 0x2e
jne 0x140039a4b
cmp word [rax + 4], dx
jne 0x140039a4b
lea rdx, [rax + 6]
cmp word [rdx], di
jne 0x140039a4b
mov rax, qword [0x1400f1ca0]
mov r15, rdx
mov qword [rsp + 0x2c8], rdx
sub r15, rcx
mov qword [rsp + 0x138], rax
sar r15, 1
mov qword [rsp + 0x130], r15
jmp 0x140039a56
sub rax, 2
jmp 0x1400399b6
or r13d, 0x204
bts edi, 9
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x44], edi
jmp 0x14003969f
mov rdx, rcx
mov qword [rsp + 0x2c8], rcx
xor r15d, r15d
cmp rsi, r15
je 0x140039a7a
cmp bpl, r15b
jne 0x140039a7a
cmp byte [0x1400f1da1], r15b
jne 0x140039a7a
mov byte [0x1400f1da1], 3
mov qword [0x1400f1da8], rsi
mov ebp, 0x22
lea rcx, str.map:
mov dword [rsp + 0x60], r15d
cmp bp, word [rdx]
lea r8d, [rbp - 0x1d]
sete byte [rsp + 0x4c]
call fcn.140045fc8
mov rdi, qword [rsp + 0x2c8]
cmp al, r15b
jne 0x140039abf
cmp bx, word [rdi]
jne 0x140039abf
add rdi, 2
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x2c8], rdi
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x2c8]
mov r8d, 0x21
mov word [rsp + 0x70], r15w
mov dword [rsp + 0x88], r15d
call fcn.140020840
mov rbx, rax
mov rax, qword [rsp + 0x2c8]
mov rcx, rax
cmp bp, word [rax]
jne 0x140039aff
lea rcx, [rax + 2]
mov edx, 0x5c
cmp dx, word [rcx]
jne 0x140039b14
mov byte [rsp + 0x41], r12b
cmp dx, word [rcx + 2]
jne 0x140039b19
mov byte [rsp + 0x41], r15b
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x140039b34
add rax, 2
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x2c8], rax
lea rcx, [rsp + 0x68]
call fcn.14004be6c
mov r8, rbx
lea rcx, [rsp + 0xb8]
sub r8, rdi
mov rdx, rdi
sar r8, 1
call fcn.140058944
mov rdx, qword [rsp + 0xb8]
mov edi, 0x2c
mov rax, rdx
cmp bp, word [rdx]
jne 0x140039b8c
mov ecx, ebp
cmp bp, cx
je 0x140039b80
add rax, 2
mov cx, word [rax]
cmp cx, r15w
jne 0x140039b6e
cmp word [rax], r15w
je 0x140039ba7
add rax, 2
jmp 0x140039ba7
cmp word [rdx], r15w
je 0x140039ba7
mov cx, word [rdx]
cmp di, cx
je 0x140039ba7
add rax, 2
mov cx, word [rax]
cmp cx, r15w
jne 0x140039b95
cmp di, word [rax]
jne 0x140039bc9
mov word [rax], r15w
movzx esi, word [rax + 2]
mov rdx, qword [rsp + 0xb8]
mov eax, 0xffdf
and si, ax
mov word [rsp + 0x70], si
lea r8, [rsp + 0x68]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], r12b
call fcn.140056690
mov rdx, qword [rsp + 0x68]
movzx eax, word [rdx]
mov edi, 9
cmp bp, ax
je 0x140039c8e
mov rcx, rdx
cmp ax, r15w
je 0x140039c21
lea r8d, [rdi + 0x17]
cmp di, ax
ja 0x140039c0c
cmp ax, 0xd
jbe 0x140039c21
cmp r8w, ax
je 0x140039c21
add rcx, 2
mov ax, word [rcx]
cmp ax, r15w
je 0x140039c8e
jmp 0x140039c01
cmp word [rcx], r15w
je 0x140039c8e
lea rcx, [rsp + 0xb8]
call fcn.1400589a0
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x68]
movsxd rdi, eax
lea edx, [rdi + 3]
call fcn.14004bf70
mov rax, qword [rsp + 0x68]
lea r8, [rdi + rdi]
mov word [rax + rdi*2 + 4], r15w
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb8]
add rcx, 2
call fcn.1400177f8
mov rax, qword [rsp + 0x68]
mov word [rax + rdi*2 + 2], bp
mov rax, qword [rsp + 0x68]
mov word [rax], bp
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x2c8], rdx
lea rcx, [rsp + 0x2c8]
lea rdx, [rsp + 0x88]
mov r8d, 0x20
call fcn.140020840
lea r8, [rsp + 0xb8]
xor r9d, r9d
mov rdx, rbx
mov rcx, r14
mov byte [rsp + 0x20], r12b
call fcn.140056690
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x68]
call fcn.14004bfa8
mov r15, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x2c8], r15
call fcn.140044f24
mov rsi, qword [rsp + 0x2c8]
lea rcx, str.map:
mov r8d, 5
mov rdx, rsi
call fcn.140045fc8
xor ebx, ebx
cmp al, bl
je 0x140039d38
mov rdi, rsi
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x2c8], rsi
jmp 0x140039d43
mov rsi, qword [rsp + 0x2c8]
mov rdi, rbx
movsxd rbp, dword [rsp + 0x88]
mov qword [rsp + 0x158], rbp
movzx eax, word [rsi + rbp*2]
mov word [rsi + rbp*2], bx
mov qword [rsp + 0x160], rbx
mov word [rsp + 0xc8], ax
cmp rdi, rbx
je 0x140039e44
mov rax, qword [rsp + 0x2c8]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x2c8]
mov word [rax + rbp*2], bx
lea rax, [rdi + 0xa]
mov dword [rsp + 0xf8], ebx
mov qword [rsp + 0x2c8], rax
call fcn.14004fc04
movsxd rdx, dword [rsp + 0xf8]
cmp edx, ebx
jle 0x14003ab08
mov rdi, rdx
xor r9d, r9d
xor r8d, r8d
lea ebp, [r9 + 6]
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
cmp rax, rbx
je 0x14003ae38
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
movsxd rcx, dword [rsp + 0x50]
cmp ecx, ebx
mov dword [rsp + 0x50], ecx
jle 0x14003ae38
lea rax, [rcx + 4]
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 + 0x128], rax
cmp rax, rbx
je 0x14003ae38
mov r15, qword [rsp + 0x120]
mov ebp, dword [rsp + 0x88]
add rax, 4
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x90]
call fcn.14004be6c
mov edi, 0x2a
mov rcx, rsi
cmp word [rsi], di
jne 0x140039e62
lea rcx, [rsi + 2]
mov edx, edi
call qword [sym.imp.SHLWAPI.dll_StrChrW]
xor ecx, ecx
mov rbx, rax
cmp rax, rcx
je 0x140039f44
cmp di, word [rax + 2]
cmove rbx, rcx
cmp rbx, rcx
je 0x140039f44
mov rbp, rbx
lea edx, [rcx + 0x22]
sub rbp, rsi
sar rbp, 1
movsxd rax, ebp
cmp word [rsi + rax*2 - 2], dx
jne 0x140039ea2
sub ebp, r12d
add rbx, 2
mov rdi, rbx
cmp word [rbx], cx
je 0x14003a2f5
mov eax, 9
lea r8d, [rax + 0x17]
cmp ax, word [rbx]
ja 0x140039ec6
cmp word [rbx], 0xd
jbe 0x140039eda
cmp r8w, word [rbx]
je 0x140039eda
cmp dx, word [rbx]
je 0x140039eda
add rbx, 2
cmp word [rbx], cx
jne 0x140039ebb
cmp rbx, rdi
je 0x14003a2f5
cmp byte [rsp + 0x4c], cl
je 0x140039ef7
cmp dx, word [rbx]
jne 0x140039ef7
mov r14b, r12b
mov word [rbx], r8w
jmp 0x140039efa
mov r14b, cl
lea rcx, [rsp + 0x90]
mov rdx, rdi
call fcn.140058a38
xor eax, eax
sub rdi, 2
cmp r14b, al
je 0x140039f1f
lea ecx, [rax + 0x22]
mov word [rdi], cx
add rdi, 2
mov r14, qword [rsp + 0x2c0]
cmp rdi, rbx
jae 0x140039f44
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 + 0x158]
mov cx, word [rsp + 0xc8]
mov rbx, qword [rsp + 0x130]
mov word [rsi + rax*2], cx
xor eax, eax
movsx edi, bl
cmp bl, al
lea r8d, [rdi + rbp + 1]
lea rcx, [rsp + 0xc0]
cmovne rsi, qword [rsp + 0x140]
lea rdx, [rsi - 2]
call fcn.140058944
xor ecx, ecx
movsx rax, bl
movsxd rdx, ebp
add rdx, rax
mov rax, qword [rsp + 0xc0]
mov word [rax + rdx*2 + 2], cx
lea eax, [rdi + 1]
movsxd rcx, eax
mov rax, qword [rsp + 0xc0]
lea rsi, [rax + rcx*2]
lea rcx, [rsp + 0xe8]
mov rdx, rsi
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0x2c8], rsi
mov rbx, rsi
mov qword [rsp + 0x108], rsi
call fcn.140058920
xor r9d, r9d
mov qword [rsp + 0xe0], rsi
lea rdi, [0x1400d63f4]
lea edx, [r9 + 0x22]
mov dword [rsp + 0x8c], r9d
cmp dx, word [rsi]
jne 0x14003a073
lea rax, [rsi + 2]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xe0], rax
call fcn.1400588ac
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rsp + 0x60]
cmp dx, word [rcx]
jne 0x14003a036
or eax, 0x10
jmp 0x14003a03c
cmp word [rcx], r9w
je 0x14003a054
mov word [rcx], r9w
mov rcx, qword [rsp + 0xe0]
add rcx, 2
mov qword [rsp + 0xe0], rcx
mov r8d, 0x7c
lea r11d, [r8 - 0x42]
lea r10d, [r8 - 0x59]
cmp eax, r9d
je 0x14003a129
mov rbx, rcx
jmp 0x14003a129
mov eax, dword [rsp + 0x60]
cmp eax, r9d
je 0x14003a11b
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
cmp rax, rcx
lea r8d, [rcx + 0x23]
cmove rax, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
xor r9d, r9d
mov r11, rax
cmp rax, r9
je 0x14003a136
lea r10d, [r9 + 0x23]
mov rcx, rax
cmp r10w, word [rax]
jne 0x14003a0cd
add rcx, 2
cmp r10w, word [rcx]
je 0x14003a0c3
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 0x14003a0f5
add rcx, 2
jmp 0x14003a0e3
mov r8d, 0x7c
lea r11d, [r8 - 0x42]
cmp word [rcx], r9w
je 0x14003a129
cmp word [rcx], r8w
je 0x14003a129
cmp word [rcx], r11w
mov rax, rdi
cmove rax, rbx
mov rbx, rax
jmp 0x14003a129
mov r8d, 0x7c
lea r11d, [r8 - 0x42]
lea r10d, [r8 - 0x59]
cmp rbx, r9
je 0x14003a140
cmp r10w, word [rbx]
je 0x14003a149
jmp 0x14003a140
mov r8d, 0x7c
lea r11d, [r8 - 0x42]
mov rbx, rdi
mov r10d, 0x23
cmp word [rbx], r9w
je 0x14003a1c2
lea rax, [rbx + 2]
cmp r10w, word [rax]
jne 0x14003a1c2
mov ecx, dword [rsp + 0x8c]
mov rbx, rax
add rax, 2
add ecx, r12d
cmp r10w, word [rax]
je 0x14003a160
cmp ecx, r9d
jle 0x14003a1c2
movzx eax, word [r15]
cmp ax, r9w
je 0x14003a1ad
mov ecx, 9
lea edx, [rcx + 0x17]
cmp cx, ax
ja 0x14003a192
cmp ax, 0xd
jbe 0x14003a1a5
cmp dx, ax
je 0x14003a1a5
add r15, 2
mov ax, word [r15]
cmp ax, r9w
jne 0x14003a187
mov qword [rsp + 0x120], r15
lea rcx, [rsp + 0x120]
call fcn.140011910
mov r15, qword [rsp + 0x120]
cmp byte [rsp + 0x2d8], r9b
je 0x14003a453
mov rcx, qword [rsp + 0x2c8]
call fcn.1400176b4
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x2c8], rax
call fcn.14004bc1c
mov rdx, qword [rsp + 0x2c8]
xor esi, esi
mov rax, rdx
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x84], esi
movzx ecx, word [rdx]
cmp cx, si
je 0x14003a238
lea r10d, [rsi + 9]
lea r8d, [rsi + 0x20]
cmp r10w, cx
ja 0x14003a226
cmp cx, 0xd
jbe 0x14003a238
cmp r8w, cx
je 0x14003a238
add rax, 2
mov cx, word [rax]
cmp cx, si
jne 0x14003a21a
sub rax, rdx
lea rcx, [rsp + 0x118]
sar rax, 1
mov r8d, eax
call fcn.140058944
mov rcx, qword [rsp + 0x118]
cmp word [rcx], 0x26
je 0x14003a28c
cmp byte [r14 + 0xd], sil
jne 0x14003a28c
lea rdx, [rsp + 0x78]
call fcn.140057760
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x80], eax
jmp 0x14003a35b
lea rbp, [0x1400f2c58]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0x118]
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r14
call fcn.140012bb4
mov rbx, rax
cmp rax, rsi
jne 0x14003a307
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rsp + 0x118]
call fcn.140044f24
lea rcx, [rsp + 0x78]
call fcn.140044f24
lea rcx, [rsp + 0xe8]
call fcn.140044f24
lea rcx, [rsp + 0xc0]
call fcn.140044f24
lea rcx, [rsp + 0x90]
call fcn.140044f24
jmp 0x14003ae38
mov edi, dword [rax + 0x18]
lea rcx, [rsp + 0x78]
and edi, 0x3fffffff
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x80], edi
lea edx, [rdi + 0x10]
call fcn.14004bd00
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + 0x78]
movsxd rdi, edi
mov r8, rdi
call fcn.1400177f8
mov rcx, qword [rsp + 0x78]
xor edx, edx
lea r8d, [rdx + 0x10]
add rcx, rdi
call fcn.1400b93b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, byte [0x1400ef210]
mov edx, r12d
mov ecx, eax
cmp al, sil
cmovl ecx, r12d
mov byte [0x1400ef210], cl
lea rcx, [rsp + 0x78]
call fcn.1400aa188
call fcn.140015564
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
xor edx, edx
movzx ebx, ax
call fcn.140015600
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov rdx, r14
call fcn.140039060
mov rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.14001554c
mov rcx, qword [rsp + 0x78]
mov edx, ebx
lea r8d, [rax + 2]
call fcn.140015600
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x78]
mov ecx, ebx
mov dword [rsp + 0x20], esi
call fcn.140020a3c
mov rdi, qword [rsp + 0x78]
lea rdx, str.mem
lea rcx, [rsp + 0x170]
or r8d, 0xffffffff
mov qword [rsp + 0x78], rsi
call fcn.140058960
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.1400a3898
lea rcx, [rsp + 0x170]
mov edi, eax
call fcn.140044f24
lea rcx, [rsp + 0x118]
call fcn.140044f24
lea rcx, [rsp + 0x78]
call fcn.140044f24
jmp 0x14003adcb
movsxd rsi, dword [rsp + 0x50]
cmp esi, r9d
jle 0x14003a61e
lea rcx, [rsp + 0xa8]
call fcn.14004bc1c
xor eax, eax
lea edx, [rsi + 0x14]
lea rcx, [rsp + 0xa8]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], eax
call fcn.14004bd00
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xa8]
mov r8, rsi
mov dword [rsp + 0xb4], esi
mov dword [rsp + 0xb0], esi
call fcn.1400177f8
mov rcx, qword [rsp + 0xa8]
xor edx, edx
lea r8d, [rdx + 0x14]
add rcx, rsi
call fcn.1400b93b0
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0xa8]
mov edx, r12d
call fcn.1400aa188
call fcn.140015564
movzx ecx, byte [rsp + 0x2c8]
movzx esi, word [rsp + 0x2c8]
xor r8d, r8d
mov ebp, eax
shl si, 8
or si, cx
mov rcx, qword [rsp + 0xa8]
movzx ebx, si
mov edx, ebx
call fcn.140015600
lea rcx, [rsp + 0xa8]
mov r8d, ebx
mov rdx, r14
call fcn.140039060
mov rdi, qword [rsp + 0xa8]
movzx edx, si
mov rcx, rdi
call fcn.14001554c
xor dx, 0xd
movsxd r8, eax
movzx eax, si
mov word [rdi + r8*2], dx
mov rcx, qword [rsp + 0xa8]
add r8d, r12d
movsxd rdx, r8d
xor ax, 0xa
add r8d, r12d
mov word [rcx + rdx*2], ax
mov rcx, qword [rsp + 0xa8]
movsxd rdx, r8d
mov word [rcx + rdx*2 + 2], si
mov rax, qword [rsp + 0xa8]
movzx edi, bp
mov word [rax + rdx*2 + 4], si
mov rcx, qword [rsp + 0xa8]
mov edx, edi
xor edx, ebx
add r8d, 2
call fcn.140015600
movzx edx, byte [0x1400ef210]
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0xd8]
mov eax, edx
xor ebx, ebx
cmp dl, bl
lea rdx, [rsp + 0xa8]
mov ecx, edi
cmovl eax, r12d
mov dword [rsp + 0x20], ebx
mov byte [0x1400ef210], al
call fcn.140020a3c
mov rdx, qword [rsp + 0xa8]
shl edi, 0x10
mov qword [rsp + 0xa8], rbx
or edi, r13d
or edi, 0x40
mov r9, qword [rsp + 0x140]
mov qword [rsp + 0x30], rbx
mov r8, r15
mov rcx, r14
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edi
call fcn.1400a3898
lea rcx, [rsp + 0xa8]
mov edi, eax
jmp 0x14003a449
cmp byte [rsp + 0x41], r9b
je 0x14003a7c2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x2c8]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x110]
lea edx, [rax + rdi + 0x92a]
call fcn.14004bedc
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 + 0x2c8]
mov eax, ecx
sete al
cdqe
lea r15, [r15 + rax*2 + 2]
lea rax, [r14 + rax*2]
mov qword [rsp + 0x2d8], rax
cmp word [r9], dx
jne 0x14003a6bd
add r9, 2
mov qword [rsp + 0x2c8], r9
mov eax, 0x5c
cmp word [r9], ax
jne 0x14003a6d4
add r9, 2
mov qword [rsp + 0x2c8], r9
mov esi, 0x5dc
mov eax, ecx
sub esi, ebp
cmp word [rdi], cx
je 0x14003a7a1
mov rbp, qword [rsp + 0x2d8]
mov r12, qword [rsp + 0x2c0]
mov cx, word [rsp + 0x70]
cmp word [rdi], cx
jb 0x14003a775
cmp eax, esi
jge 0x14003a775
lea rdx, str._s_s
mov r8, rdi
mov rcx, rbx
call fcn.1400118ec
mov rcx, rbx
call fcn.1400b8b5c
xor ecx, ecx
cmp eax, ecx
je 0x14003a775
lea rdx, str._s_s
mov r9, r15
mov r8, rdi
mov rcx, rbp
call fcn.1400118ec
mov rax, qword [rsp + 0xd8]
mov r9d, r13d
or r9d, dword [rsp + 0x44]
mov qword [rsp + 0x28], rax
xor eax, eax
mov r8, r14
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400391b0
mov dword [rsp + 0xcc], eax
xor eax, eax
cmp byte [rsp + 0x2d0], al
je 0x14003a79b
mov rcx, rdi
call fcn.1400b9a24
lea ecx, [rax + 1]
movsxd rdx, ecx
xor ecx, ecx
lea rdi, [rdi + rdx*2]
cmp word [rdi], cx
je 0x14003a79b
mov r9, qword [rsp + 0x2c8]
jmp 0x14003a6f6
mov r12d, 1
lea rcx, [rsp + 0x110]
call fcn.140044f24
mov r14, qword [rsp + 0x2c0]
mov edi, dword [rsp + 0xcc]
jmp 0x14003adcb
cmp word [rbx], r9w
je 0x14003ad84
mov qword [rsp + 0x2d8], rbx
lea rbp, [0x1400db260]
mov r14, rbx
cmp r10w, word [rbx]
jne 0x14003a7fd
lea rcx, [rbx + 2]
mov r10d, 9
movzx eax, word [rcx]
sub ax, 0x30
cmp ax, r10w
cmova rbx, rcx
movzx eax, word [rbx]
mov rsi, r9
mov qword [rsp + 0x58], r9
mov r13, rbx
jmp 0x14003a822
cmp r11w, ax
je 0x14003a87a
cmp r8w, ax
je 0x14003a82a
add r13, 2
mov ax, word [r13]
cmp ax, r9w
jne 0x14003a80d
jmp 0x14003a882
lea rax, [r13 + 2]
cmp word [rax], r9w
je 0x14003a882
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x100], rax
call fcn.14004fc04
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x58]
xor r9d, r9d
lea r8d, [r9 + 0x7c]
cmp word [rdx], r9w
je 0x14003a888
cmp r8w, word [rdx]
cmovne rsi, r13
mov qword [rsp + 0x58], rsi
jmp 0x14003a888
mov rsi, r13
mov qword [rsp + 0x58], r13
mov r8d, 0x7c
mov word [rsp + 0x2d0], r9w
mov ecx, 0x27
cmp rsi, r9
je 0x14003a8d5
movzx r13d, word [rsi]
mov word [rsi], r9w
mov r14, qword [rsp + 0x58]
add r14, 2
lea eax, [rcx - 5]
mov word [rsp + 0x2d0], r13w
mov qword [rsp + 0x58], r14
cmp word [r14], r8w
cmovne rbp, r14
cmp ax, word [rbp]
je 0x14003a8d1
cmp cx, word [rbp]
jne 0x14003a8d5
add rbp, 2
mov edx, r8d
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrChrW]
xor r13d, r13d
mov qword [rsp + 0x58], rax
cmp rax, r13
je 0x14003a909
mov cx, word [rax]
mov word [rax], r13w
mov rdi, qword [rsp + 0x58]
add rdi, 2
mov rsi, rax
mov word [rsp + 0x2d0], cx
mov qword [rsp + 0x58], rdi
mov rax, rbp
cmp word [rbp], r13w
je 0x14003a93f
mov ecx, 0x22
lea edx, [rcx + 5]
cmp cx, word [rax]
je 0x14003a936
cmp dx, word [rax]
je 0x14003a936
add rax, 2
cmp word [rax], r13w
jne 0x14003a920
jmp 0x14003a93f
mov word [rax], r13w
mov rdi, qword [rsp + 0x58]
mov dword [rsp + 0xd0], r13d
mov dword [rsp + 0x64], 0x7fffffff
cmp word [rdi], r13w
je 0x14003a972
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x58]
mov r8d, 0x7c
call fcn.14004f968
mov rdi, qword [rsp + 0x58]
mov eax, 0x2c
cmp ax, word [rdi]
jne 0x14003a98b
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x58]
call fcn.14004fc04
cmp dword [rsp + 0x64], r13d
jle 0x14003aae1
cmp dword [rsp + 0xd0], r13d
jl 0x14003aae1
mov rdi, qword [rsp + 0x2d8]
mov rax, qword [rsp + 0x108]
mov r14, qword [rsp + 0x138]
xor ecx, ecx
mov qword [rsp + 0x110], r13
movzx r13d, word [rdi]
mov word [rdi], cx
cmp word [rax], cx
je 0x14003a9f7
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 0x14003a2db
mov word [rdi], r13w
call fcn.140015564
movzx ecx, al
movzx r13d, ax
mov dword [rsp + 0x2d8], eax
shl r13w, 8
or r13w, cx
lea rcx, [rsp + 0x98]
movzx edi, r13w
shl edi, 0x10
mov dword [rsp + 0x50], edi
call fcn.14004bc1c
xor eax, eax
lea rcx, [rsp + 0x150]
mov rdx, rbx
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0xa4], eax
call fcn.140058920
mov rdx, qword [rsp + 0x150]
lea r11, [rsp + 0x50]
lea r9, [rsp + 0x98]
mov r8, rbp
mov rcx, r14
mov qword [rsp + 0x20], r11
call fcn.140017f3c
lea rcx, [rsp + 0x150]
call fcn.140044f24
mov ebp, dword [rsp + 0x50]
xor ebx, ebx
or ebp, edi
cmp rsi, rbx
je 0x14003aa99
mov ax, word [rsp + 0x2d0]
mov word [rsi], ax
mov rax, qword [rsp + 0x110]
cmp rax, rbx
je 0x14003aaaf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [rsp + 0x64]
mov eax, dword [rsp + 0xa0]
movsxd rdx, dword [rsp + 0xd0]
sub eax, edx
cmovs eax, ebx
cmp ecx, eax
cmovg ecx, eax
cmp ecx, ebx
mov dword [rsp + 0x64], ecx
jg 0x14003ab13
lea rcx, [rsp + 0x98]
call fcn.140044f24
lea rcx, [rsp + 0xe8]
call fcn.140044f24
lea rcx, [rsp + 0xc0]
call fcn.140044f24
lea rcx, [rsp + 0x90]
call fcn.140044f24
mov r12d, 0x80070057
jmp 0x14003ae38
mov rdi, qword [rsp + 0x98]
cmp edx, ebx
je 0x14003ab31
movsxd r8, ecx
add rdx, rdi
mov rcx, rdi
call fcn.1400177b0
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0xa0], ecx
movsxd rcx, ecx
movzx edx, r13b
mov r8d, 0xc
add rcx, rdi
call fcn.1400b93b0
mov edx, ebp
lea rcx, [rsp + 0x98]
or edx, r12d
call fcn.1400aa188
mov r14, qword [rsp + 0x2c0]
lea rcx, [rsp + 0x180]
mov rdx, r14
call fcn.140012330
lea rcx, [rsp + 0x180]
mov rdx, r14
call fcn.140012aa0
movzx edi, r13w
lea rcx, [rsp + 0x180]
mov edx, edi
mov qword [rsp + 0x1c0], rbx
mov word [rsp + 0x1c8], r13w
call fcn.14004a49c
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x98]
mov r8d, ebp
call fcn.140039060
movsxd r8, dword [rsp + 0xa0]
movzx esi, word [rsp + 0x2d8]
mov rcx, qword [rsp + 0x98]
shr r8, 1
mov edx, esi
xor edx, edi
add r8d, 2
or ebp, eax
call fcn.140015600
mov r8, qword [rsp + 0x90]
movzx eax, bp
xor ebp, ebp
mov ebx, esi
shl ebx, 0x10
or ebx, eax
movzx eax, byte [0x1400ef210]
cmp al, bpl
mov ecx, eax
mov rax, qword [rsp + 0x98]
cmovl ecx, r12d
mov rdi, rax
mov byte [0x1400ef210], cl
cmp word [r8], bp
je 0x14003ac4c
lea rdx, [rsp + 0x98]
mov r9, r15
mov ecx, esi
call fcn.14002efc0
mov rdi, rax
mov rax, qword [rsp + 0x98]
mov r8, qword [rsp + 0xd8]
cmp word [r8], bp
je 0x14003ac7b
mov r9d, dword [rsp + 0x44]
sub rdi, rax
lea rdx, [rsp + 0x98]
sar rdi, 1
mov ecx, esi
mov dword [rsp + 0x20], edi
call fcn.140020a3c
mov rdi, rax
lea rcx, [rsp + 0x180]
xor edx, edx
call fcn.140038fd4
lea rcx, [rsp + 0x1f0]
call fcn.140044f24
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xf0], rbp
cmp al, bpl
je 0x14003ad27
mov rcx, qword [rsp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0xf0]
lea edx, [rax + 0x109]
call fcn.14004bf70
mov rax, qword [rsp + 0xf0]
mov ecx, 0x2a
mov word [rax], cx
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x138]
add rdx, 2
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x2c8]
add rcx, 2
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rsp + 0xf0]
mov qword [rsp + 0x2c8], rdx
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x98], rbp
cmp rdx, rbp
je 0x14003ad68
or ebx, dword [rsp + 0x48]
mov r9, qword [rsp + 0xe8]
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.1400a3898
mov edi, eax
jmp 0x14003ad6a
mov edi, ebp
lea rcx, [rsp + 0xf0]
call fcn.140044f24
lea rcx, [rsp + 0x98]
jmp 0x14003a449
mov rcx, qword [rsp + 0x2c8]
call fcn.1400176b4
mov rcx, qword [rsp + 0xd8]
or r13d, dword [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x90]
mov r9d, r13d
mov qword [rsp + 0x20], rcx
mov r8, r15
mov rdx, rax
mov rcx, r14
mov qword [rsp + 0x2c8], rax
call fcn.1400391b0
mov edi, eax
mov al, byte [0x1400f1da1]
cmp al, 3
jne 0x14003ade3
mov rcx, r14
call fcn.1400157ac
mov al, byte [0x1400f1da1]
mov cl, byte [rsp + 0x40]
cmp cl, r12b
jne 0x14003ae04
or al, r12b
lea rdx, str.sysinit_end
mov rcx, r14
mov byte [0x1400f1da1], al
call fcn.140015790
xor edx, edx
mov rcx, r14
call fcn.1400620e4
lea rcx, [rsp + 0xe8]
call fcn.140044f24
lea rcx, [rsp + 0xc0]
call fcn.140044f24
lea rcx, [rsp + 0x90]
call fcn.140044f24
mov r12d, edi
lea rcx, [rsp + 0x160]
call fcn.140044f24
lea rcx, [rsp + 0x68]
call fcn.140044f24
lea rcx, [rsp + 0xd8]
call fcn.140044f24
mov eax, r12d
add rsp, 0x278
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret