Function at 0x140037ca8
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, 0x200
xor ebx, ebx
mov rbp, r8
mov r14, rdx
mov edi, ecx
cmp qword [0x14010beb8], rbx
jne 0x140037cdf
or eax, 0xffffffff
jmp 0x140038e2d
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 + 0xa0], ebx
mov dword [rsp + 0xbc], ebx
mov qword [rsp + 0x98], rbx
mov r12, rbx
mov qword [rsp + 0xb0], rbx
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x78], ebx
call fcn.1400d1fa0
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 + 0xa4], ebx
mov byte [rsp + 0x258], bl
mov word [rsp + 0xb8], 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 0x140037e7c
mov rcx, qword [r14 + 8]
lea rdx, [0x1400f3928]
call fcn.1400d3154
cmp eax, ebx
jne 0x140037e84
mov rax, qword [0x14010bec0]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x258], rbx
cmp rax, rbx
je 0x140037dca
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0xb0]
call rax
lea rcx, [rsp + 0x98]
call fcn.140057154
lea rdx, [rsp + 0x98]
mov r8d, 0x3f
mov ecx, ebp
call fcn.140019c0c
mov rcx, qword [rsp + 0x258]
lea rdx, [0x1400f3920]
cmp eax, 2
jne 0x140037e09
lea r10, str.NotLoad
jmp 0x140037e25
cmp eax, 0xffffffff
jne 0x140037e17
lea r10, str.CannotControl
jmp 0x140037e25
lea r10, str.NotInstall
cmp rcx, rbx
cmova r10, rdx
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x250]
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 + 0x98]
call fcn.14004f564
xor eax, eax
jmp 0x140038e2d
cmp edi, ebp
jle 0x140038a0d
add r14, 8
lea rdx, str.__id
sub edi, ebp
mov rcx, qword [r14]
mov dword [rsp + 0x240], edi
call fcn.1400d3154
cmp eax, ebx
jne 0x140037eb7
mov rcx, qword [rsp + 0x58]
or rcx, 2
mov qword [rsp + 0x58], rcx
jmp 0x1400389b7
mov rcx, qword [r14]
lea rdx, [0x1400f3890]
call fcn.1400d3154
cmp eax, ebx
jne 0x140037ed4
mov rcx, qword [rsp + 0x58]
or rcx, rbp
jmp 0x140037ead
mov rcx, qword [r14]
lea rdx, str.__remove
call fcn.1400d3154
cmp eax, ebx
jne 0x140037ef2
mov rcx, qword [rsp + 0x58]
or rcx, 4
jmp 0x140037ead
mov rcx, qword [r14]
lea rdx, [0x1400f3870]
call fcn.1400d3154
cmp eax, ebx
jne 0x140037f10
mov r13d, 5
jmp 0x1400389b2
mov rcx, qword [r14]
lea rdx, str.__hide
call fcn.1400d3154
cmp eax, ebx
jne 0x140037f31
mov rcx, qword [rsp + 0x58]
or rcx, 0x10
jmp 0x140037ead
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r10d, 2
mov ecx, ebx
cmp eax, r10d
jne 0x140037f51
mov rax, qword [r14]
cmp word [rax], 0x2d
sete cl
cmp ecx, ebx
je 0x140037e75
mov rax, qword [r14]
movzx edx, word [rax + 2]
cmp edx, 0x6d
jg 0x140038219
je 0x1400381e1
cmp edx, 0x62
jg 0x1400380fe
je 0x140038015
mov ecx, edx
mov r8d, 0x44
sub ecx, r8d
je 0x14003819a
sub ecx, r10d
je 0x14003812c
sub ecx, 0xc
je 0x14003819a
sub ecx, ebp
je 0x140037fbf
cmp ecx, 0xe
jne 0x140037e75
cmp r13d, ebx
jne 0x140037e75
mov r13d, ebp
jmp 0x1400389b2
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 0x140037e75
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400d3a30
cmp eax, ebx
je 0x140037e75
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400d396c
mov dword [rsp + 0x8c], eax
jmp 0x1400389b0
cmp dword [rsp + 0xa4], 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 0x140037e75
add r14, 8
lea rdx, [0x1400f3850]
mov rcx, qword [r14]
call fcn.1400d3154
cmp eax, ebx
jne 0x14003806a
mov dword [rsp + 0xa4], ebp
jmp 0x1400389b0
mov rcx, qword [r14]
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x68]
lea rdx, str._I64u_c
mov word [rsp + 0x64], bx
call fcn.1400d36bc
movzx r11d, word [rsp + 0x64]
cmp r11d, 0x62
jg 0x1400382da
je 0x1400380f3
cmp r11d, ebx
je 0x1400389b0
cmp r11d, 0x47
je 0x1400380d8
cmp r11d, 0x4b
je 0x1400380d1
cmp r11d, 0x4d
je 0x1400380ca
cmp r11d, 0x54
jne 0x1400382da
mov rax, qword [rsp + 0x68]
shl rax, 0xa
jmp 0x1400380dd
mov rax, qword [rsp + 0x68]
jmp 0x1400380e1
mov rax, qword [rsp + 0x68]
jmp 0x1400380e5
mov rax, qword [rsp + 0x68]
shl rax, 0xa
shl rax, 0xa
shl rax, 0xa
mov qword [rsp + 0x68], rax
jmp 0x1400389b0
shl qword [rsp + 0x68], 9
jmp 0x1400389b0
mov ecx, edx
sub ecx, 0x64
je 0x140038194
sub ecx, ebp
je 0x140038180
sub ecx, ebp
je 0x14003812c
cmp ecx, 6
jne 0x140037e75
cmp r13d, ebx
jne 0x140037e75
lea r13d, [rcx - 3]
jmp 0x1400389b2
cmp qword [rsp + 0x98], 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 0x140037e75
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.140018fa4
mov qword [rsp + 0x98], rax
jmp 0x1400389b0
cmp r13d, ebx
jne 0x140037e75
mov r13d, 4
jmp 0x1400389b2
mov r8d, 0x44
cmp r13d, ebx
jne 0x140037e75
mov eax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
cmp dx, r8w
mov r8d, dword [rsp + 0x50]
cmove eax, ebp
mov r13d, r10d
mov dword [rsp + 0xa0], eax
cmp edx, 0x52
jne 0x1400389bc
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0xbc], ebp
jmp 0x1400389bc
cmp esi, 0xffffffff
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
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 0x140037e75
add r14, 8
mov r12, qword [r14]
jmp 0x1400389b0
cmp edx, 0x74
jg 0x14003882e
je 0x1400387a7
sub edx, 0x6e
je 0x14003879b
sub edx, ebp
je 0x140038455
sub edx, ebp
je 0x140038410
sub edx, ebp
je 0x1400383ff
cmp edx, r10d
jne 0x140037e75
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 0x140037e75
add r14, 8
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x78]
mov rcx, qword [r14]
lea rdx, str._I64i_c
mov word [rsp + 0x64], bx
call fcn.1400d36bc
movzx r11d, word [rsp + 0x64]
cmp r11d, 0x54
jg 0x14003835b
je 0x140038341
cmp r11d, ebx
je 0x1400383c9
cmp r11d, 0x25
je 0x1400382e4
cmp r11d, 0x47
je 0x140038347
cmp r11d, 0x4b
je 0x140038353
cmp r11d, 0x4d
je 0x14003834d
mov eax, 0xa
jmp 0x140038e2d
cmp qword [rsp + 0x78], 0x64
mov ecx, ebx
mov eax, ebx
setge cl
cmp qword [rsp + 0x78], rbx
setle al
or ecx, eax
jne 0x140037e75
lea rcx, [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r11, qword [rsp + 0xd8]
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 0x1400383c9
shl qword [rsp + 0x78], 0xa
shl qword [rsp + 0x78], 0xa
shl qword [rsp + 0x78], 0xa
shl qword [rsp + 0x78], 0xa
jmp 0x1400383c9
cmp r11d, 0x62
je 0x1400383c3
cmp r11d, 0x67
je 0x14003838e
cmp r11d, 0x6b
je 0x1400383b0
cmp r11d, 0x6d
je 0x14003839f
cmp r11d, 0x74
jne 0x1400382da
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 0x1400383c9
shl qword [rsp + 0x78], 9
cmp qword [rsp + 0x78], rbx
jge 0x1400389b0
lea rcx, [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r11, qword [rsp + 0xd8]
add qword [rsp + 0x78], r11
jns 0x1400389b0
mov eax, 0xb
jmp 0x140038e2d
mov rcx, qword [rsp + 0x58]
mov r8d, ebp
mov dword [rsp + 0x50], ebp
jmp 0x1400389bc
cmp r13d, ebp
je 0x14003841d
mov edx, ebp
cmp r13d, 4
jne 0x14003841f
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 0x140037e75
add r14, 8
mov rax, qword [r14]
mov qword [rsp + 0xb0], rax
jmp 0x1400389b0
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 0x140037e75
add r14, 8
lea rdx, [0x1400ef514]
mov rcx, qword [r14]
call fcn.1400d3564
movsxd rsi, r13d
jmp 0x14003877f
lea rdx, [0x1400f3828]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x1400384c1
mov eax, dword [rsp + 0x60]
test bpl, al
jne 0x140037e75
or eax, ebp
or r15d, ebp
mov dword [rsp + 0x60], eax
jmp 0x140038771
lea rdx, [0x1400f3820]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x1400384f0
mov eax, dword [rsp + 0x60]
test bpl, al
jne 0x140037e75
or eax, ebp
and r15d, 0xfffffffe
mov dword [rsp + 0x60], eax
jmp 0x140038771
lea rdx, [0x1400f3818]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x14003851f
mov eax, dword [rsp + 0x60]
test al, 2
jne 0x140037e75
or eax, 2
or r15d, 2
mov dword [rsp + 0x60], eax
jmp 0x140038771
lea rdx, [0x1400f3810]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x14003854e
mov eax, dword [rsp + 0x60]
test al, 2
jne 0x140037e75
or eax, 2
and r15d, 0xfffffffd
mov dword [rsp + 0x60], eax
jmp 0x140038771
lea rdx, str.saved
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x140038581
cmp rsi, 4
jne 0x140037e75
bts dword [rsp + 0x60], 0x10
btr r15d, 0x10
or qword [rsp + 0x58], 8
jmp 0x140038771
cmp rsi, rbp
jne 0x140037e75
lea rdx, [0x1400f37f4]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x1400385d4
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 0x140037e75
mov dword [rsp + 0x90], ebp
bts r15d, 0xd
jmp 0x140038771
lea rdx, str.comm
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x14003861e
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 0x140037e75
mov dword [rsp + 0x90], ebp
bts r15d, 0xc
jmp 0x140038771
lea rdx, [0x1400f37e0]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x140038663
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 0x140037e75
or r15d, 0x3000
jmp 0x140038771
lea rdx, [0x1400f37d8]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x1400386b3
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 0x140037e75
or r15d, 0x1100
jmp 0x140038771
lea rdx, [0x1400f37d0]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x140038700
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 0x140037e75
or r15d, 0x2100
jmp 0x140038771
lea rdx, str.shared
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x14003871a
bts r15d, 0x11
jmp 0x140038771
test r15b, 0xf0
jne 0x140037e75
lea rdx, [0x1400f37b4]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x14003873d
or r15d, 0x10
jmp 0x140038771
lea rdx, [0x1400f37ac]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x140038756
or r15d, 0x20
jmp 0x140038771
lea rdx, [0x1400f37a4]
mov rcx, rdi
call fcn.1400d3154
cmp eax, ebx
jne 0x140037e75
or r15d, 0x30
lea rdx, [0x1400ef514]
xor ecx, ecx
call fcn.1400d3564
mov rdi, rax
cmp rax, rbx
jne 0x140038493
mov edi, dword [rsp + 0x240]
mov esi, dword [rsp + 0x70]
jmp 0x1400389b0
mov dword [rsp + 0xa8], ebp
jmp 0x1400389b2
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 0x140037e75
add r14, 8
lea rdx, str.file
mov rcx, qword [r14]
call fcn.1400d3154
cmp eax, ebx
jne 0x1400387ee
bts r15d, 8
jmp 0x1400389b0
mov rcx, qword [r14]
lea rdx, [0x1400f378c]
call fcn.1400d3154
cmp eax, ebx
jne 0x14003880b
bts r15d, 9
jmp 0x1400389b0
mov rcx, qword [r14]
lea rdx, str.proxy
call fcn.1400d3154
cmp eax, ebx
jne 0x140037e75
or r15d, 0x300
jmp 0x1400389b0
sub edx, 0x75
je 0x14003895a
sub edx, ebp
je 0x1400388f8
sub edx, r10d
je 0x1400388a2
cmp edx, ebp
jne 0x140037e75
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 0x140037e75
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400d3a30
cmp eax, ebx
je 0x140037e75
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400d396c
mov dword [rsp + 0x84], eax
jmp 0x1400389b0
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 0x140037e75
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400d3a30
cmp eax, ebx
je 0x140037e75
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400d396c
mov dword [rsp + 0x88], eax
jmp 0x1400389b0
cmp byte [rsp + 0x258], 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 0x140037e75
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 0x140037e75
cmp word [rdx + 2], bx
jne 0x140037e75
mov r9b, byte [rdx]
sub r9b, 0x30
mov byte [rsp + 0x258], r9b
jmp 0x1400389b0
cmp r12, rbx
mov eax, ebx
mov ecx, ebx
setne cl
cmp r13d, ebp
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 0x140037e75
add r14, 8
mov rax, qword [r14]
movzx ecx, word [rax]
call fcn.1400d3a30
cmp eax, ebx
je 0x140037e75
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call fcn.1400d396c
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 0x140037e84
cmp r13d, 5
jne 0x140038a01
mov rax, rcx
shr rax, 2
not eax
and eax, ebp
test bpl, cl
cmovne r8d, ebp
cmp r12, rbx
je 0x140037e75
cmp word [r12], bx
je 0x140037e75
movzx ecx, word [r12]
mov edx, eax
call fcn.1400199bc
jmp 0x140037e75
mov edx, dword [rsp + 0x60]
mov r9d, dword [rsp + 0xa4]
sub r13d, ebp
movzx esi, bx
je 0x140038b5d
sub r13d, ebp
je 0x140038b18
sub r13d, ebp
je 0x140038ab4
cmp r13d, ebp
jne 0x140037e75
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 0x140037e75
cmp edx, ebx
je 0x140038a69
mov r8d, edx
mov r9d, r15d
mov ecx, edi
mov rdx, r12
call fcn.14001a27c
mov r14d, eax
jmp 0x140038a6c
mov r14d, ebx
mov r8, qword [rsp + 0x78]
cmp r8, rbx
jle 0x140038a83
mov rdx, r12
mov ecx, edi
call fcn.14001a564
mov r14d, eax
cmp r14d, ebx
jne 0x140038e2a
mov rax, qword [rsp + 0xb0]
cmp rax, rbx
je 0x140038e2a
mov r8, rax
mov rdx, r12
mov ecx, edi
call fcn.140027ec4
mov r13, qword [rsp + 0x58]
jmp 0x140038d11
mov rsi, qword [rsp + 0x250]
lea rdx, [0x1400ef734]
mov rcx, rsi
call fcn.14006168c
mov edi, dword [rsp + 0x70]
mov r11d, ebx
cmp edi, 0xffffffff
sete r11b
cmp r12, rbx
sete bl
test ebx, r11d
je 0x140038b01
movzx r8d, word [rsp + 0xb8]
mov ecx, dword [rsp + 0xa8]
mov rdx, rsi
call fcn.140019c0c
jmp 0x140038e2d
mov r9, qword [rsp + 0x58]
mov r8, rsi
mov rdx, r12
mov ecx, edi
call fcn.140019e34
jmp 0x140038e2d
mov r9d, dword [rsp + 0xbc]
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 0x140037e75
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0xa0]
mov rdx, r12
mov ecx, edi
call fcn.1400282a8
jmp 0x140038e2d
mov r14, qword [rsp + 0x98]
cmp r9d, ebx
je 0x140038b81
cmp r14, rbx
je 0x140037e75
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [0x14010be80]
lea r8, [0x1400ee4c4]
lea rdx, str.CurRamDisk
lea rcx, [0x14010bee0]
call fcn.140056790
mov al, byte [rsp + 0x258]
cmp al, bl
je 0x140038c08
mov edx, dword [rsp + 0x8c]
movzx edi, al
lea r9, [rsp + 0x100]
lea r8, [rsp + 0x68]
mov rcx, r14
shl rdi, 5
call qword [0x14010be88]
cmp eax, ebx
jne 0x140038bd8
mov eax, 0xc
jmp 0x140038e2d
cmp qword [rsp + rdi + 0xe8], rbx
mov rdx, qword [rsp + rdi + 0xe0]
mov ecx, ebx
sete cl
cmp rdx, rbx
mov eax, ebx
sete al
or ecx, eax
jne 0x140038bce
add qword [rsp + 0x68], rdx
mov rax, qword [rsp + rdi + 0xe8]
jmp 0x140038c82
cmp dword [rsp + 0xa4], ebx
je 0x140038c87
mov edx, dword [rsp + 0x8c]
lea r9, [rsp + 0x100]
lea r8, [rsp + 0x68]
mov rcx, r14
call qword [0x14010be88]
cmp eax, ebx
je 0x140038c87
lea rdx, [rsp + 0x100]
mov al, byte [rdx + 0x18]
cmp al, 5
je 0x140038c48
mov r8d, ebp
cmp al, 0xf
jne 0x140038c4b
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 0x140038c76
lea rax, [rsp + 0x200]
add rdx, 0x20
cmp rdx, rax
jb 0x140038c3a
jmp 0x140038c87
mov rax, qword [rdx]
add qword [rsp + 0x68], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x78], rax
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r12, rbx
je 0x140038cba
lea rdx, [0x1400f375c]
mov rcx, r12
call fcn.1400d3154
cmp eax, ebx
jne 0x140038cba
call qword [0x14010be60]
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.140037620
lea rcx, [0x14010ce50]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [rsp + 0x70]
cmp r12, rbx
je 0x140038d87
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x140038d2d
cmp word [r12 + 2], 0x3a
jmp 0x140038d4e
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x140038d55
lea rcx, [r12 + 2]
lea rdx, [0x1400f13f8]
call fcn.1400d3154
cmp eax, ebx
mov ecx, ebx
sete cl
jmp 0x140038d57
mov ecx, ebx
cmp ecx, ebx
je 0x140038d87
lea rdx, str.CurRamDisk
lea rcx, [0x14010bee0]
mov r8, r12
call fcn.140056790
test bpl, r13b
jne 0x140038d87
movzx ecx, word [r12]
mov r8d, dword [rsp + 0x50]
mov edx, ebp
call fcn.1400199bc
cmp si, bx
je 0x140038ddc
cmp dword [rsp + 0xa8], ebx
jne 0x140038ddc
lea rdx, [0x1400f3758]
lea rcx, [rsp + 0x98]
or r8, 0xffffffffffffffff
call fcn.14006164c
mov rbx, qword [rsp + 0x250]
lea rdx, [rsp + 0x98]
mov rcx, rbx
call fcn.1400616d8
lea rcx, [rsp + 0x98]
call fcn.14004f564
mov r11, qword [rbx]
mov word [r11 + 2], si
jmp 0x140038e2a
mov rbp, qword [rsp + 0x250]
mov edx, 0x42
mov rcx, rbp
call fcn.140057254
mov r11, qword [rbp]
mov eax, 0x2a
mov word [r11], ax
cmp si, bx
je 0x140038e0e
cmp edi, ebx
lea rdx, str._d__c:
jge 0x140038e15
lea rdx, [0x1400eec10]
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 + 0x248]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret