Function at 0x140035850
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
xor ebx, ebx
mov rbp, r8
mov r14, rdx
mov edi, ecx
cmp qword [0x1401340a8], rbx
jne 0x140035887
or eax, 0xffffffff
jmp 0x1400369e9
xor edx, edx
lea rcx, [rsp + 0x7c]
or esi, 0xffffffff
lea r8d, [rdx + 0x14]
mov r13d, ebx
mov r15d, ebx
mov dword [rsp + 0x90], ebx
mov dword [rsp + 0xa8], ebx
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0xc4], ebx
mov qword [rsp + 0xb8], rbx
mov r12, rbx
mov qword [rsp + 0xb0], rbx
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x78], ebx
call fcn.1400fa680
xor eax, eax
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], eax
mov rax, qword [rbp]
mov ebp, 1
movzx eax, word [rax]
lea r10d, [rbp + 1]
mov r8d, 0xfa0
mov r9d, ebx
mov dword [rsp + 0x94], ebx
mov byte [rsp + 0x268], bl
mov word [rsp + 0xc0], ax
mov edx, ebx
mov dword [rsp + 0x60], ebx
mov rcx, rbx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], r8d
cmp edi, r10d
jne 0x140035a24
mov rcx, qword [r14 + 8]
lea rdx, [0x1401199b0]
call fcn.1400fb834
cmp eax, ebx
jne 0x140035a2c
mov rax, qword [0x1401340b0]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x268], rbx
cmp rax, rbx
je 0x140035972
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0xb0]
call rax
lea rcx, [rsp + 0xb8]
call fcn.1400618c8
lea rdx, [rsp + 0xb8]
mov r8d, 0x3f
mov ecx, ebp
call fcn.14001c4d4
mov rcx, qword [rsp + 0x268]
lea rdx, [0x1401199a8]
cmp eax, 2
jne 0x1400359b1
lea r10, str.NotLoad
jmp 0x1400359cd
cmp eax, 0xffffffff
jne 0x1400359bf
lea r10, str.CannotControl
jmp 0x1400359cd
lea r10, str.NotInstall
cmp rcx, rbx
cmova r10, rdx
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x260]
movzx edx, cl
shr rcx, 8
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], edx
movsx ecx, cx
movzx r9d, al
shr rax, 8
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbx]
lea rdx, str._X._02X___X._X__s
movsx r8d, ax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xb8]
call fcn.1400592f8
xor eax, eax
jmp 0x1400369e9
cmp edi, ebp
jle 0x1400365c4
add r14, 8
lea rdx, str.__id
sub edi, ebp
mov rcx, qword [r14]
mov dword [rsp + 0x250], edi
call fcn.1400fb834
cmp eax, ebx
jne 0x140035a5f
mov rcx, qword [rsp + 0x58]
or rcx, 2
mov qword [rsp + 0x58], rcx
jmp 0x14003656e
mov rcx, qword [r14]
lea rdx, [0x140119918]
call fcn.1400fb834
cmp eax, ebx
jne 0x140035a7c
mov rcx, qword [rsp + 0x58]
or rcx, rbp
jmp 0x140035a55
mov rcx, qword [r14]
lea rdx, str.__remove
call fcn.1400fb834
cmp eax, ebx
jne 0x140035a9a
mov rcx, qword [rsp + 0x58]
or rcx, 4
jmp 0x140035a55
mov rcx, qword [r14]
lea rdx, [0x1401198f8]
call fcn.1400fb834
cmp eax, ebx
jne 0x140035ab8
mov r13d, 5
jmp 0x140036569
mov rcx, qword [r14]
lea rdx, str.__hide
call fcn.1400fb834
cmp eax, ebx
jne 0x140035ad9
mov rcx, qword [rsp + 0x58]
or rcx, 0x10
jmp 0x140035a55
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r10d, 2
mov ecx, ebx
cmp eax, r10d
jne 0x140035af9
mov rax, qword [r14]
cmp word [rax], 0x2d
sete cl
cmp ecx, ebx
je 0x140035a1d
mov rax, qword [r14]
movzx edx, word [rax + 2]
cmp edx, 0x6d
jg 0x140035dcb
je 0x140035d88
cmp edx, 0x62
jg 0x140035ca5
je 0x140035bbd
mov ecx, edx
mov r8d, 0x44
sub ecx, r8d
je 0x140035d41
sub ecx, r10d
je 0x140035cd3
sub ecx, 0xc
je 0x140035d41
sub ecx, ebp
je 0x140035b67
cmp ecx, 0xe
jne 0x140035a1d
cmp r13d, ebx
jne 0x140035a1d
mov r13d, ebp
jmp 0x140036569
cmp dword [rsp + 0x8c], ebx
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400fc02c
cmp eax, ebx
je 0x140035a1d
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400fbf68
mov dword [rsp + 0x8c], eax
jmp 0x140036567
cmp dword [rsp + 0x94], ebx
mov eax, ebx
mov ecx, ebx
setne cl
cmp qword [rsp + 0x68], rbx
setne al
or ecx, eax
cmp r13d, ebp
mov eax, ebx
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
lea rdx, [0x1401198d8]
mov rcx, qword [r14]
call fcn.1400fb834
cmp eax, ebx
jne 0x140035c12
mov dword [rsp + 0x94], ebp
jmp 0x140036567
mov rax, qword [r14]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rax
call fcn.140065eb4
mov r11, qword [rsp + 0xa0]
movzx eax, word [r11]
cmp eax, 0x62
jg 0x140035e8b
je 0x140035c9a
cmp eax, ebx
je 0x140036567
cmp eax, 0x47
je 0x140035c7f
cmp eax, 0x4b
je 0x140035c78
cmp eax, 0x4d
je 0x140035c71
cmp eax, 0x54
jne 0x140035e8b
mov rax, qword [rsp + 0x68]
shl rax, 0xa
jmp 0x140035c84
mov rax, qword [rsp + 0x68]
jmp 0x140035c88
mov rax, qword [rsp + 0x68]
jmp 0x140035c8c
mov rax, qword [rsp + 0x68]
shl rax, 0xa
shl rax, 0xa
shl rax, 0xa
mov qword [rsp + 0x68], rax
jmp 0x140036567
shl qword [rsp + 0x68], 9
jmp 0x140036567
mov ecx, edx
sub ecx, 0x64
je 0x140035d3b
sub ecx, ebp
je 0x140035d27
sub ecx, ebp
je 0x140035cd3
cmp ecx, 6
jne 0x140035a1d
cmp r13d, ebx
jne 0x140035a1d
lea r13d, [rcx - 3]
jmp 0x140036569
cmp qword [rsp + 0xb8], rbx
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
mov eax, dword [rsp + 0x90]
cmp edx, 0x46
cmove eax, ebp
add r14, 8
mov rcx, qword [r14]
mov dword [rsp + 0x90], eax
call fcn.14001b86c
mov qword [rsp + 0xb8], rax
jmp 0x140036567
cmp r13d, ebx
jne 0x140035a1d
mov r13d, 4
jmp 0x140036569
mov r8d, 0x44
cmp r13d, ebx
jne 0x140035a1d
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
cmp dx, r8w
mov r8d, dword [rsp + 0x50]
cmove eax, ebp
mov r13d, r10d
mov dword [rsp + 0x98], eax
cmp edx, 0x52
jne 0x140036573
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0xc4], ebp
jmp 0x140036573
cmp esi, 0xffffffff
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, 4
setne al
and ecx, eax
cmp r13d, ebp
mov eax, ebx
setne al
and ecx, eax
cmp r12, rbx
mov eax, ebx
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
mov r12, qword [r14]
jmp 0x140036567
cmp edx, 0x74
jg 0x1400363da
je 0x140036353
sub edx, 0x6e
je 0x140036347
sub edx, ebp
je 0x140036001
sub edx, ebp
je 0x140035fbc
sub edx, ebp
je 0x140035fab
cmp edx, r10d
jne 0x140035a1d
cmp r13d, 4
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
and ecx, eax
cmp qword [rsp + 0x78], rbx
mov eax, ebx
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xa0]
mov rax, qword [r14]
mov qword [rsp + 0xa0], rax
call fcn.140065eb4
mov r11, qword [rsp + 0xa0]
movzx eax, word [r11]
cmp eax, 0x54
jg 0x140035f0c
je 0x140035ef2
cmp eax, ebx
je 0x140035f75
cmp eax, 0x25
je 0x140035e95
cmp eax, 0x47
je 0x140035ef8
cmp eax, 0x4b
je 0x140035f04
cmp eax, 0x4d
je 0x140035efe
mov eax, 0xa
jmp 0x1400369e9
cmp qword [rsp + 0x78], 0x64
mov ecx, ebx
mov eax, ebx
setge cl
cmp qword [rsp + 0x78], rbx
setle al
or ecx, eax
jne 0x140035a1d
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r11, qword [rsp + 0xe0]
movabs rax, 0x47ae147ae147ae15
imul r11, qword [rsp + 0x78]
mul r11
sub r11, rdx
shr r11, 1
add r11, rdx
shr r11, 6
mov qword [rsp + 0x78], r11
jmp 0x140035f75
shl qword [rsp + 0x78], 0xa
shl qword [rsp + 0x78], 0xa
shl qword [rsp + 0x78], 0xa
shl qword [rsp + 0x78], 0xa
jmp 0x140035f75
cmp eax, 0x62
je 0x140035f6f
cmp eax, 0x67
je 0x140035f3a
cmp eax, 0x6b
je 0x140035f5c
cmp eax, 0x6d
je 0x140035f4b
cmp eax, 0x74
jne 0x140035e8b
mov rax, qword [rsp + 0x78]
imul rax, rax, 0x3e8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
imul rax, rax, 0x3e8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
imul rax, rax, 0x3e8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
imul rax, rax, 0x3e8
mov qword [rsp + 0x78], rax
jmp 0x140035f75
shl qword [rsp + 0x78], 9
cmp qword [rsp + 0x78], rbx
jge 0x140036567
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r11, qword [rsp + 0xe0]
add qword [rsp + 0x78], r11
jns 0x140036567
mov eax, 0xb
jmp 0x1400369e9
mov rcx, qword [rsp + 0x58]
mov r8d, ebp
mov dword [rsp + 0x50], ebp
jmp 0x140036573
cmp r13d, ebp
je 0x140035fc9
mov edx, ebp
cmp r13d, 4
jne 0x140035fcb
mov edx, ebx
mov rax, qword [rsp + 0xb0]
mov ecx, ebx
cmp rax, rbx
mov eax, ebx
setne cl
cmp edi, r10d
setl al
or ecx, eax
or ecx, edx
jne 0x140035a1d
add r14, 8
mov rax, qword [r14]
mov qword [rsp + 0xb0], rax
jmp 0x140036567
cmp r13d, 4
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
and ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
lea rdx, [0x140115a24]
mov rcx, qword [r14]
call fcn.1400fbc44
movsxd rsi, r13d
jmp 0x14003632b
lea rdx, [0x1401198d0]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x14003606d
mov eax, dword [rsp + 0x60]
test bpl, al
jne 0x140035a1d
or eax, ebp
or r15d, ebp
mov dword [rsp + 0x60], eax
jmp 0x14003631d
lea rdx, [0x1401198c8]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x14003609c
mov eax, dword [rsp + 0x60]
test bpl, al
jne 0x140035a1d
or eax, ebp
and r15d, 0xfffffffe
mov dword [rsp + 0x60], eax
jmp 0x14003631d
lea rdx, [0x1401198c0]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x1400360cb
mov eax, dword [rsp + 0x60]
test al, 2
jne 0x140035a1d
or eax, 2
or r15d, 2
mov dword [rsp + 0x60], eax
jmp 0x14003631d
lea rdx, [0x1401198b8]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x1400360fa
mov eax, dword [rsp + 0x60]
test al, 2
jne 0x140035a1d
or eax, 2
and r15d, 0xfffffffd
mov dword [rsp + 0x60], eax
jmp 0x14003631d
lea rdx, str.saved
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x14003612d
cmp rsi, 4
jne 0x140035a1d
bts dword [rsp + 0x60], 0x10
btr r15d, 0x10
or qword [rsp + 0x58], 8
jmp 0x14003631d
cmp rsi, rbp
jne 0x140035a1d
lea rdx, [0x14011989c]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x140036180
test r15d, 0xf000
mov edx, ebx
mov ecx, ebx
setne dl
mov eax, r15d
and eax, 0xf00
cmp eax, 0x300
setne cl
or edx, ecx
jne 0x140035a1d
mov dword [rsp + 0x90], ebp
bts r15d, 0xd
jmp 0x14003631d
lea rdx, str.comm
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x1400361ca
test r15d, 0xf000
mov edx, ebx
mov ecx, ebx
setne dl
mov eax, r15d
and eax, 0xf00
cmp eax, 0x300
setne cl
or edx, ecx
jne 0x140035a1d
mov dword [rsp + 0x90], ebp
bts r15d, 0xc
jmp 0x14003631d
lea rdx, [0x140119888]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x14003620f
test r15d, 0xf000
mov edx, ebx
mov ecx, ebx
setne dl
mov eax, r15d
and eax, 0xf00
cmp eax, 0x300
setne cl
or edx, ecx
jne 0x140035a1d
or r15d, 0x3000
jmp 0x14003631d
lea rdx, [0x140119880]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x14003625f
mov eax, ebx
mov edx, ebx
mov ecx, r15d
and ecx, 0xf00
cmp ecx, 0x100
setne dl
cmp ecx, ebx
setne al
and edx, eax
test r15d, 0xf000
mov eax, ebx
setne al
or edx, eax
jne 0x140035a1d
or r15d, 0x1100
jmp 0x14003631d
lea rdx, [0x140119878]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x1400362ac
mov eax, ebx
mov edx, ebx
mov ecx, r15d
and ecx, 0xf00
cmp ecx, 0x100
setne dl
cmp ecx, ebx
setne al
and edx, eax
test r15d, 0xf000
mov eax, ebx
setne al
or edx, eax
jne 0x140035a1d
or r15d, 0x2100
jmp 0x14003631d
lea rdx, str.shared
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x1400362c6
bts r15d, 0x11
jmp 0x14003631d
test r15b, 0xf0
jne 0x140035a1d
lea rdx, [0x14011985c]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x1400362e9
or r15d, 0x10
jmp 0x14003631d
lea rdx, [0x140119854]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x140036302
or r15d, 0x20
jmp 0x14003631d
lea rdx, [0x14011984c]
mov rcx, rdi
call fcn.1400fb834
cmp eax, ebx
jne 0x140035a1d
or r15d, 0x30
lea rdx, [0x140115a24]
xor ecx, ecx
call fcn.1400fbc44
mov rdi, rax
cmp rax, rbx
jne 0x14003603f
mov edi, dword [rsp + 0x250]
mov esi, dword [rsp + 0x70]
jmp 0x140036567
mov dword [rsp + 0xa8], ebp
jmp 0x140036569
test r15d, 0xf00
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
lea rdx, [0x140119840]
mov rcx, qword [r14]
call fcn.1400fb834
cmp eax, ebx
jne 0x14003639a
bts r15d, 8
jmp 0x140036567
mov rcx, qword [r14]
lea rdx, [0x140119834]
call fcn.1400fb834
cmp eax, ebx
jne 0x1400363b7
bts r15d, 9
jmp 0x140036567
mov rcx, qword [r14]
lea rdx, str.proxy
call fcn.1400fb834
cmp eax, ebx
jne 0x140035a1d
or r15d, 0x300
jmp 0x140036567
sub edx, 0x75
je 0x140036506
sub edx, ebp
je 0x1400364a4
sub edx, r10d
je 0x14003644e
cmp edx, ebp
jne 0x140035a1d
cmp dword [rsp + 0x84], ebx
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400fc02c
cmp eax, ebx
je 0x140035a1d
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400fbf68
mov dword [rsp + 0x84], eax
jmp 0x140036567
cmp dword [rsp + 0x88], ebx
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400fc02c
cmp eax, ebx
je 0x140035a1d
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400fbf68
mov dword [rsp + 0x88], eax
jmp 0x140036567
cmp byte [rsp + 0x268], bl
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
mov ecx, ebx
mov eax, ebx
mov rdx, qword [r14]
cmp word [rdx], 0x38
seta cl
cmp word [rdx], 0x31
setb al
or ecx, eax
jne 0x140035a1d
cmp word [rdx + 2], bx
jne 0x140035a1d
mov r9b, byte [rdx]
sub r9b, 0x30
mov byte [rsp + 0x268], r9b
jmp 0x140036567
cmp r12, rbx
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, 4
setne al
and ecx, eax
cmp r13d, ebp
mov eax, ebx
setne al
and ecx, eax
cmp esi, 0xffffffff
mov eax, ebx
setne al
or ecx, eax
cmp edi, r10d
mov eax, ebx
setl al
or ecx, eax
jne 0x140035a1d
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400fc02c
cmp eax, ebx
je 0x140035a1d
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400fbf68
mov esi, eax
mov dword [rsp + 0x70], eax
sub edi, ebp
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
cmp edi, ebp
jg 0x140035a2c
cmp r13d, 5
jne 0x1400365b8
mov rax, rcx
shr rax, 2
not eax
and eax, ebp
test bpl, cl
cmovne r8d, ebp
cmp r12, rbx
je 0x140035a1d
cmp word [r12], bx
je 0x140035a1d
movzx ecx, word [r12]
mov edx, eax
call fcn.14001c284
jmp 0x140035a1d
mov edx, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x94]
sub r13d, ebp
movzx esi, bx
je 0x140036719
sub r13d, ebp
je 0x1400366d4
sub r13d, ebp
je 0x140036670
cmp r13d, ebp
jne 0x140035a1d
mov edi, dword [rsp + 0x70]
mov ecx, ebx
mov eax, ebx
cmp edi, 0xffffffff
sete cl
cmp r12, rbx
sete al
test eax, ecx
jne 0x140035a1d
cmp edx, ebx
jne 0x140036610
cmp r12, rbx
je 0x140036625
mov r8d, edx
mov r9d, r15d
mov ecx, edi
mov rdx, r12
call fcn.14001cb78
mov r14d, eax
jmp 0x140036628
mov r14d, ebx
mov r8, qword [rsp + 0x78]
cmp r8, rbx
jle 0x14003663f
mov rdx, r12
mov ecx, edi
call fcn.14001ce70
mov r14d, eax
cmp r14d, ebx
jne 0x1400369e6
mov rax, qword [rsp + 0xb0]
cmp rax, rbx
je 0x1400369e6
mov r8, rax
mov rdx, r12
mov ecx, edi
call fcn.140027954
mov r13, qword [rsp + 0x58]
jmp 0x1400368cd
mov rsi, qword [rsp + 0x260]
lea rdx, [0x140115c50]
mov rcx, rsi
call fcn.14006d888
mov edi, dword [rsp + 0x70]
mov r11d, ebx
cmp edi, 0xffffffff
sete r11b
cmp r12, rbx
sete bl
test ebx, r11d
je 0x1400366bd
movzx r8d, word [rsp + 0xc0]
mov ecx, dword [rsp + 0xa8]
mov rdx, rsi
call fcn.14001c4d4
jmp 0x1400369e9
mov r9, qword [rsp + 0x58]
mov r8, rsi
mov rdx, r12
mov ecx, edi
call fcn.14001c6fc
jmp 0x1400369e9
mov r9d, dword [rsp + 0xc4]
mov edi, dword [rsp + 0x70]
cmp r12, rbx
mov eax, ebx
sete al
or eax, r9d
cmp edi, 0xffffffff
sete bl
test ebx, eax
jne 0x140035a1d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x98]
mov rdx, r12
mov ecx, edi
call fcn.140027d38
jmp 0x1400369e9
mov r14, qword [rsp + 0xb8]
cmp r9d, ebx
je 0x14003673d
cmp r14, rbx
je 0x140035a1d
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [0x140134070]
lea r8, [0x1401145d8]
lea rdx, str.CurRamDisk
lea rcx, [0x1401340d0]
call fcn.140060cec
mov al, byte [rsp + 0x268]
cmp al, bl
je 0x1400367c4
mov edx, dword [rsp + 0x8c]
movzx edi, al
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x68]
mov rcx, r14
shl rdi, 5
call qword [0x140134078]
cmp eax, ebx
jne 0x140036794
mov eax, 0xc
jmp 0x1400369e9
mov rdx, qword [rsp + rdi + 0xf0]
mov ecx, ebx
mov eax, ebx
cmp rdx, rbx
sete cl
cmp qword [rsp + rdi + 0xf8], rbx
sete al
or ecx, eax
jne 0x14003678a
add qword [rsp + 0x68], rdx
mov rax, qword [rsp + rdi + 0xf8]
jmp 0x14003683e
cmp dword [rsp + 0x94], ebx
je 0x140036843
mov edx, dword [rsp + 0x8c]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x68]
mov rcx, r14
call qword [0x140134078]
cmp eax, ebx
je 0x140036843
lea rdx, [rsp + 0x110]
mov al, byte [rdx + 0x18]
cmp al, 5
je 0x140036804
mov r8d, ebp
cmp al, 0xf
jne 0x140036807
mov r8d, ebx
cmp qword [rdx + 8], rbx
mov ecx, ebx
mov eax, ebx
setne cl
cmp qword [rdx], rbx
setne al
and ecx, eax
test r8d, ecx
jne 0x140036832
lea rax, [rsp + 0x210]
add rdx, 0x20
cmp rdx, rax
jb 0x1400367f6
jmp 0x140036843
mov rax, qword [rdx]
add qword [rsp + 0x68], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x78], rax
lea rcx, [0x140135110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r12, rbx
je 0x140036876
lea rdx, [0x140119804]
mov rcx, r12
call fcn.1400fb834
cmp eax, ebx
jne 0x140036876
call qword [0x140134050]
mov si, ax
mov word [r12], ax
mov rax, qword [rsp + 0xb0]
mov r13, qword [rsp + 0x58]
lea r8, [rsp + 0x68]
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x90]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r9d, r15d
mov qword [rsp + 0x20], r14
call fcn.1400351f0
lea rcx, [0x140135110]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [rsp + 0x70]
cmp r12, rbx
je 0x140036943
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x1400368e9
cmp word [r12 + 2], 0x3a
jmp 0x14003690a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x140036911
lea rcx, [r12 + 2]
lea rdx, [0x140117950]
call fcn.1400fb834
cmp eax, ebx
mov ecx, ebx
sete cl
jmp 0x140036913
mov ecx, ebx
cmp ecx, ebx
je 0x140036943
lea rdx, str.CurRamDisk
lea rcx, [0x1401340d0]
mov r8, r12
call fcn.140060cec
test bpl, r13b
jne 0x140036943
movzx ecx, word [r12]
mov r8d, dword [rsp + 0x50]
mov edx, ebp
call fcn.14001c284
cmp si, bx
je 0x140036998
cmp dword [rsp + 0xa8], ebx
jne 0x140036998
lea rdx, [0x140119800]
lea rcx, [rsp + 0xa0]
or r8, 0xffffffffffffffff
call fcn.14006d848
mov rbx, qword [rsp + 0x260]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call fcn.14006d8d4
lea rcx, [rsp + 0xa0]
call fcn.1400592f8
mov r11, qword [rbx]
mov word [r11 + 2], si
jmp 0x1400369e6
mov rbp, qword [rsp + 0x260]
mov edx, 0x42
mov rcx, rbp
call fcn.1400619c8
mov r11, qword [rbp]
mov eax, 0x2a
mov word [r11], ax
cmp si, bx
je 0x1400369ca
cmp edi, ebx
lea rdx, str._d__c:
jge 0x1400369d1
lea rdx, [0x140115008]
mov rcx, qword [rbp]
movzx r9d, si
mov r8d, edi
add rcx, 2
call qword [sym.imp.USER32.dll_wsprintfW]
mov eax, r14d
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret