Function at 0x1400084d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10950
call fcn.140022100
sub rsp, rax
mov qword [rsp + 0x350], 0xfffffffffffffffe
mov qword [rsp + 0x10990], rbx
mov qword [rsp + 0x10998], rsi
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rsp + 0x10940], rax
mov r13, rdx
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x1c0], rdx
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x48]
call fcn.140007f74
nop
lea r8, str.updateShellFile.xml
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400070ac
nop
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 2]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rsp + 0x58], rax
cmp rax, rsi
jne 0x140008627
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xc0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400085c2
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xc8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400085f2
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [r13]
sub rcx, 0x18
mov qword [rsp + 0xd0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008620
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140009272
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [rsp + 0x178], ebx
test eax, eax
jne 0x1400086d8
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008673
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xe0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400086a3
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [r13]
sub rcx, 0x18
mov qword [rsp + 0xe8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400086d1
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140009272
lea eax, [rbx + 1]
mov r12d, eax
mov ecx, eax
call fcn.1400166b8
mov r15, rax
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x14000878e
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xf0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008729
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xf8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008759
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [r13]
sub rcx, 0x18
mov qword [rsp + 0x100], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008787
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140009272
mov r8, r12
xor edx, edx
mov rcx, r15
call fcn.140010f90
mov byte [rbx + r15], dil
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xb8]
mov r8d, ebx
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x8b0], xmm0
mov qword [rsp + 0x8d0], rdi
mov dword [rsp + 0x8d8], edi
mov qword [rsp + 0x8e0], rdi
mov qword [rsp + 0x8f0], rdi
mov qword [rsp + 0x10928], rdi
mov qword [rsp + 0x10930], rdi
lea rax, [rsp + 0x928]
mov qword [rsp + 0x910], rax
lea rax, [rsp + 0x928]
neg rax
and eax, 7
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + rax + 0x928]
mov qword [rsp + 0x918], rax
lea rax, [rsp + 0x10928]
mov qword [rsp + 0x920], rax
mov rdx, r15
lea rcx, [rsp + 0x8b0]
call fcn.14000d248
mov rbx, qword [rsp + 0x8e0]
mov qword [rsp + 0x1d8], rbx
test rbx, rbx
je 0x14000913d
lea r12, str.item
mov qword [rsp + 0x1e0], r12
mov rcx, r12
mov qword [rsp + 0x108], rcx
cmp byte [rcx], dil
je 0x140008891
inc rcx
mov qword [rsp + 0x108], rcx
jmp 0x14000887f
sub rcx, r12
mov qword [rsp + 0x1e8], rcx
mov rbx, qword [rbx + 0x30]
mov qword [rsp + 0x128], rbx
test rbx, rbx
je 0x14000891c
cmp qword [rbx], rdi
je 0x1400088b8
mov rax, qword [rbx + 0x10]
jmp 0x1400088bb
mov rax, rdi
mov qword [rsp + 0x110], rax
lea rdx, [0x140036f61]
cmovne rdx, qword [rbx]
mov r8, r12
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x118], rdx
cmp rax, rcx
jne 0x140008916
lea r9, [rdx + rax]
mov qword [rsp + 0x1f0], r9
cmp rdx, r9
jae 0x14000891f
mov al, byte [r8]
cmp byte [rdx], al
jne 0x140008916
inc rdx
mov qword [rsp + 0x118], rdx
inc r8
mov qword [rsp + 0x120], r8
jmp 0x1400088f2
mov rbx, qword [rbx + 0x58]
jmp 0x1400088a0
mov rbx, rdi
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x14000913d
lea rcx, str.type
call fcn.140013660
mov qword [rsp + 0x1f8], rax
mov r8, rax
lea rdx, str.type
mov rcx, rbx
call fcn.14000c978
mov qword [rsp + 0x200], rax
test rax, rax
je 0x14000908c
lea rcx, [0x140036f61]
cmp qword [rax + 8], rdi
cmovne rcx, qword [rax + 8]
lea rdx, str.file
call fcn.140016e10
test eax, eax
jne 0x14000908c
call fcn.140005e30
mov rcx, rax
mov qword [rsp + 0x208], rax
test rax, rax
je 0x14000929f
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x210], rax
add rax, 0x18
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x130]
call fcn.14000835c
nop
mov r8, qword [rax]
lea rdx, [0x14002c91c]
lea rcx, [rsp + 0xa0]
call fcn.14000d16c
nop
mov rcx, qword [rsp + 0x130]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x138], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008a13
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
call fcn.140005e30
mov rcx, rax
mov qword [rsp + 0x218], rax
test rax, rax
je 0x1400092aa
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x220], rax
add rax, 0x18
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x140]
call fcn.140007f74
nop
mov r8, qword [rax]
lea rdx, [0x14002c91c]
lea rcx, [rsp + 0x98]
call fcn.14000d16c
nop
mov rcx, qword [rsp + 0x140]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x148], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008a9e
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x228], rax
call fcn.140005e30
mov rcx, rax
mov qword [rsp + 0x230], rax
test rax, rax
je 0x1400092b5
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x238], rax
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x240], rax
call fcn.140005e30
mov rcx, rax
mov qword [rsp + 0x248], rax
test rax, rax
je 0x1400092c0
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x250], rax
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x258], rax
call fcn.140005e30
mov rcx, rax
mov qword [rsp + 0x260], rax
test rax, rax
je 0x1400092cb
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x268], rax
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, str.normal
lea rcx, [rsp + 0x78]
call fcn.1400052f0
nop
lea rdx, str.false
lea rcx, [rsp + 0x80]
call fcn.1400052f0
nop
mov rbx, qword [rsp + 0x40]
lea r15, [0x140036f61]
mov r14, r15
cmp qword [rbx + 8], rdi
cmovne r14, qword [rbx + 8]
mov qword [rsp + 0x270], r14
mov rdx, r14
lea rcx, [rsp + 0x360]
call fcn.1400054c4
mov qword [rsp + 0x278], rax
mov r8, qword [rax]
mov qword [rsp + 0x280], r8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xa8]
call fcn.1400070ac
nop
lea rax, [rsp + 0x368]
mov rcx, qword [rsp + 0x360]
cmp rcx, rax
je 0x140008bec
call fcn.1400139ac
lea rcx, [0x14002c924]
call fcn.140013660
mov qword [rsp + 0x288], rax
mov r8, rax
lea rdx, [0x14002c924]
mov rcx, rbx
call fcn.14000c978
mov qword [rsp + 0x290], rax
test rax, rax
je 0x140008ccc
mov rdx, r15
cmp qword [rax + 8], rdi
cmovne rdx, qword [rax + 8]
mov qword [rsp + 0x298], rdx
lea rcx, [rsp + 0x470]
call fcn.1400054c4
mov qword [rsp + 0x2a0], rax
mov rbx, qword [rax]
mov qword [rsp + 0x2a8], rbx
test rbx, rbx
jne 0x140008c60
mov eax, edi
jmp 0x140008c68
mov rcx, rbx
call fcn.140013a94
mov dword [rsp + 0x90], eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140005790
nop
lea rax, [rsp + 0x478]
mov rcx, qword [rsp + 0x470]
cmp rcx, rax
je 0x140008c9a
call fcn.1400139ac
mov r8, qword [rsp + 0xa0]
lea rdx, [0x14002c928]
lea rcx, [rsp + 0x70]
call fcn.14000cc40
mov r8, qword [rsp + 0x98]
lea rdx, str._VERSIONPATH_
lea rcx, [rsp + 0x70]
call fcn.14000cc40
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.140007328
lea rax, [rsp + 0x150]
mov qword [rsp + 0x2b0], rax
mov rdx, r14
lea rcx, [rsp + 0x580]
call fcn.1400054c4
mov rbx, rax
mov qword [rsp + 0x2b8], rax
mov rdx, r13
lea rcx, [rsp + 0x150]
call fcn.140005408
nop
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.140008228
nop
mov r8, qword [rbx]
mov qword [rsp + 0x2c0], r8
mov rdx, rax
lea rcx, [rsp + 0x158]
call fcn.1400070ac
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140007328
nop
mov rcx, qword [rsp + 0x158]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x160], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008d88
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x168]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x170], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140008dbb
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rax, [rsp + 0x588]
mov rcx, qword [rsp + 0x580]
cmp rcx, rax
je 0x140008dd5
call fcn.1400139ac
lea rcx, str.requestAccess
call fcn.140013660
mov qword [rsp + 0x2c8], rax
mov r8, rax
lea rdx, str.requestAccess
mov rcx, qword [rsp + 0x40]
call fcn.14000c978
mov qword [rsp + 0x2d0], rax
test rax, rax
je 0x140008e95
mov rbx, r15
cmp qword [rax + 8], rdi
cmovne rbx, qword [rax + 8]
mov qword [rsp + 0x2d8], rbx
mov rcx, rbx
call fcn.140013660
test rax, rax
je 0x140008e95
mov rdx, rbx
lea rcx, [rsp + 0x690]
call fcn.1400054c4
mov qword [rsp + 0x2e0], rax
mov rbx, qword [rax]
mov qword [rsp + 0x2e8], rbx
test rbx, rbx
jne 0x140008e5b
mov eax, edi
jmp 0x140008e63
mov rcx, rbx
call fcn.140013a94
mov dword [rsp + 0x88], eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140005790
nop
lea rax, [rsp + 0x698]
mov rcx, qword [rsp + 0x690]
cmp rcx, rax
je 0x140008e95
call fcn.1400139ac
lea rcx, str.md5check
call fcn.140013660
mov qword [rsp + 0x2f0], rax
mov r8, rax
lea rdx, str.md5check
mov rcx, qword [rsp + 0x40]
call fcn.14000c978
mov qword [rsp + 0x2f8], rax
test rax, rax
je 0x140008f58
mov rbx, r15
cmp qword [rax + 8], rdi
cmovne rbx, qword [rax + 8]
mov qword [rsp + 0x300], rbx
mov rcx, rbx
call fcn.140013660
test rax, rax
je 0x140008f58
mov rdx, rbx
lea rcx, [rsp + 0x7a0]
call fcn.1400054c4
mov qword [rsp + 0x308], rax
mov rbx, qword [rax]
mov qword [rsp + 0x310], rbx
test rbx, rbx
jne 0x140008f1b
mov eax, edi
jmp 0x140008f23
mov rcx, rbx
call fcn.140013a94
mov dword [rsp + 0x8c], eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140005790
nop
lea rax, [rsp + 0x7a8]
mov rcx, qword [rsp + 0x7a0]
cmp rcx, rax
je 0x140008f58
call fcn.1400139ac
mov r14, qword [rsp + 0x1a0]
mov rbx, qword [r14 + 8]
cmp qword [r14 + 0x10], rbx
je 0x140008fc6
mov qword [rsp + 0x318], rbx
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005408
nop
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x68]
call fcn.140005408
nop
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x70]
call fcn.140005408
nop
lea rcx, [rbx + 0x18]
lea rdx, [rsp + 0x78]
call fcn.140005408
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.140005408
nop
add qword [r14 + 8], 0x28
jmp 0x140008fd7
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, r14
call fcn.14000d360
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x180], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000900a
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x60]
call fcn.140009364
nop
mov rcx, qword [rsp + 0x98]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x188], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140009048
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xa0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x190], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000907a
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x58]
mov rcx, r12
mov qword [rsp + 0x198], rcx
cmp byte [rcx], dil
je 0x1400090a9
inc rcx
mov qword [rsp + 0x198], rcx
jmp 0x140009097
sub rcx, r12
mov qword [rsp + 0x320], rcx
mov rbx, qword [rbx + 0x58]
mov qword [rsp + 0x1b8], rbx
test rbx, rbx
je 0x140009130
cmp qword [rbx], rdi
je 0x1400090d0
mov rax, qword [rbx + 0x10]
jmp 0x1400090d3
mov rax, rdi
mov qword [rsp + 0x1c8], rax
lea rdx, [0x140036f61]
cmovne rdx, qword [rbx]
mov r8, r12
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x1a8], rdx
cmp rax, rcx
jne 0x14000912e
lea r9, [rdx + rax]
mov qword [rsp + 0x328], r9
cmp rdx, r9
jae 0x140009133
mov al, byte [r8]
cmp byte [rdx], al
jne 0x14000912e
inc rdx
mov qword [rsp + 0x1a8], rdx
inc r8
mov qword [rsp + 0x1b0], r8
jmp 0x14000910a
jmp 0x1400090b4
mov rbx, rdi
mov qword [rsp + 0x40], rbx
jmp 0x140008924
mov rcx, r15
call fcn.1400139ac
nop
lea r15, [rsp + 0x910]
mov qword [rsp + 0x330], r15
mov rcx, qword [rsp + 0x910]
lea rax, [rsp + 0x928]
cmp rcx, rax
je 0x1400091ab
mov rax, rcx
neg rax
and eax, 7
mov qword [rsp + 0x338], rax
mov rbx, qword [rcx + rax]
mov qword [rsp + 0x340], rbx
mov rax, qword [rsp + 0x10930]
test rax, rax
je 0x140009199
call rax
jmp 0x14000919e
call fcn.14000f3f4
mov rcx, rbx
mov qword [rsp + 0x910], rbx
jmp 0x14000915e
lea rax, [rsp + 0x928]
mov qword [r15], rax
mov rax, qword [rsp + 0x910]
neg rax
and eax, 7
mov qword [rsp + 0x348], rax
add rax, qword [rsp + 0x910]
mov qword [rsp + 0x918], rax
lea rax, [rsp + 0x10928]
mov qword [rsp + 0x920], rax
jmp 0x1400091ff
cmp r14, rsi
je 0x14000920e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000922e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000924e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14000926d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, 1
mov rcx, qword [rsp + 0x10940]
xor rcx, rsp
call fcn.14000f3d0
lea r11, [rsp + 0x10950]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.140005bc4
nop
mov ecx, 0x80004005
call fcn.140005bc4
nop
mov ecx, 0x80004005
call fcn.140005bc4
nop
mov ecx, 0x80004005
call fcn.140005bc4
nop
mov ecx, 0x80004005
call fcn.140005bc4
int3