Function at 0x40322b
Capabilities:
Inspect section memory permissions
Read file on windows

Disassembly:
push 0xbc
mov eax, 0x4302bb
call fcn.0041ae41
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
call fcn.0040f4a1
push eax
lea ecx, [ebp - 0x14]
call fcn.00408f01
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0xd4]
cmp dword [eax - 0xc], ebx
jne 0x403282
push 0x21
mov ecx, dword [ebp - 0x14]
pop esi
add ecx, 0xfffffff0
call fcn.00401128
mov eax, esi
jmp 0x403d1b
lea esi, [edi + 0xd8]
mov eax, dword [esi]
cmp eax, ebx
mov dword [ebp - 0x4c], esi
je 0x40329a
push eax
call fcn.00419fd0
pop ecx
mov dword [esi], ebx
mov eax, dword [edi + 0xd4]
push 0x434be0
push eax
push esi
call fcn.00418cee
mov ecx, dword [esi]
add esp, 0xc
cmp ecx, ebx
je 0x403d0d
cmp eax, ebx
jne 0x403d0d
push ecx
push 1
lea eax, [ebp - 0x68]
push 2
push eax
call fcn.00419c57
add esp, 0x10
cmp eax, 1
je 0x4032db
push 0x23
jmp 0x40326f
cmp word [ebp - 0x68], 0xfeff
lea ecx, [ebp - 0x34]
jne 0x403347
push str.__detected_as_Unicode.
call fcn.004087bd
lea eax, [ebp - 0x48]
push str.INFO:_Input_file_for_restore_operation:__
push eax
lea ecx, [edi + 0xd4]
mov byte [ebp - 4], 1
call fcn.00408d4e
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00401128
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401128
jmp 0x4033d1
push str.__detected_as_ANSI.
call fcn.004087bd
lea eax, [ebp - 0x48]
push str.INFO:_Input_file_for_restore_operation:__
push eax
lea ecx, [edi + 0xd4]
mov byte [ebp - 4], 3
call fcn.00408d4e
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00401128
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401128
push dword [esi]
call fcn.00419fd0
mov eax, dword [edi + 0xd4]
mov dword [esp], 0x4341d8
push eax
push esi
call fcn.00418cee
add esp, 0xc
cmp dword [esi], ebx
je 0x403d06
cmp eax, ebx
jne 0x403d06
push 0x2000
lea ecx, [ebp - 0x14]
call fcn.00408ff1
push dword [esi]
push 0x1ffe
push eax
call fcn.0041964e
add esp, 0xc
test eax, eax
je 0x4038cd
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00408daf
cmp dword [ebp - 0x2c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x403413
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x3c], ebx
je 0x403420
push dword [ebp - 0x3c]
call esi
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x24], ebx
je 0x40342d
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
je 0x40343a
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x30], ebx
je 0x403447
push dword [ebp - 0x30]
call esi
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x40], ebx
je 0x403454
push dword [ebp - 0x40]
call esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
call fcn.0040f4a1
push eax
lea ecx, [ebp - 0x10]
call fcn.00408f01
mov byte [ebp - 4], 5
call fcn.0040f4a1
push eax
lea ecx, [ebp - 0x18]
call fcn.00408f01
mov dword [ebp - 0x20], ebx
push 0x434c68
lea ebx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00408ab0
call fcn.00408b11
push 0x434c74
xor ecx, ecx
mov esi, ebx
call fcn.00408a59
mov ebx, eax
push ebx
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call fcn.00408c35
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00408f44
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.00401128
lea ecx, [ebx + 1]
push 0x434c7c
call fcn.00408a59
mov esi, eax
sub eax, ebx
dec eax
push eax
add ebx, 2
push ebx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408b70
push dword [eax]
call fcn.004190ef
pop ecx
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
mov dword [ebp - 0x44], eax
call fcn.00401128
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
dec eax
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408bee
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00408f44
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
call fcn.00401128
mov eax, dword [ebp - 0x18]
mov esi, dword [eax - 0xc]
push esi
lea ecx, [ebp - 0x18]
call fcn.00408ff1
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004198dd
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.0040901b
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], esp
mov ecx, esp
push eax
call fcn.00408f26
mov ecx, edi
call fcn.00402661
test eax, eax
je 0x4035fa
push str.__because_a_filter_keyword_matched.
lea ecx, [ebp - 0x78]
call fcn.004087bd
lea eax, [ebp - 0xc8]
push str.INFO:_Omitting_ACL_of:__
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00408d4e
add esp, 4
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x78]
push edx
push eax
push ecx
mov byte [ebp - 4], 0xa
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
jmp 0x40388c
push 0x434cdc
lea ecx, [ebp - 0x80]
call fcn.004087bd
lea eax, [ebp - 0x8c]
push 0x434ce0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00408d4e
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x80]
push edx
push eax
push ecx
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
call fcn.00401128
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.00401128
call fcn.0040f4a1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408f01
push 0x434d14
xor ecx, ecx
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00408a59
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4036f8
lea ecx, [ebx + 2]
push 0x434d1c
mov dword [ebp - 0x20], 0x20000000
mov dword [ebp - 0x50], ecx
call fcn.00408a59
cmp eax, 0xffffffff
je 0x4036d6
sub eax, ebx
dec eax
dec eax
push eax
push dword [ebp - 0x50]
lea eax, [ebp - 0xac]
push eax
mov ecx, esi
call fcn.00408b70
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.00408f44
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
call fcn.00401128
push 0x434d20
xor ecx, ecx
lea esi, [ebp - 0x1c]
call fcn.00408a59
cmp eax, 0xffffffff
mov eax, 0x80000000
jne 0x4036f2
mov eax, dword [ebp - 0x20]
or eax, 4
mov dword [ebp - 0x20], eax
push 0x434d24
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.00408a59
cmp eax, 0xffffffff
mov dword [ebp - 0x54], eax
je 0x403783
or dword [ebp - 0x20], 8
lea ebx, [eax + 2]
push 0x434d1c
mov ecx, ebx
mov dword [ebp - 0x50], 0x10000000
call fcn.00408a59
cmp eax, 0xffffffff
je 0x403762
sub eax, dword [ebp - 0x54]
mov ecx, esi
dec eax
dec eax
push eax
push ebx
lea eax, [ebp - 0xbc]
push eax
call fcn.00408b70
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.00408f44
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff0
call fcn.00401128
push 0x434d20
xor ecx, ecx
lea esi, [ebp - 0x1c]
call fcn.00408a59
cmp eax, 0xffffffff
je 0x40377d
mov dword [ebp - 0x50], 0x40000000
mov eax, dword [ebp - 0x50]
or dword [ebp - 0x20], eax
push 0x434d2c
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.00408a59
cmp eax, 0xffffffff
je 0x40379b
or dword [ebp - 0x20], 1
push 0x434d34
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.00408a59
cmp eax, 0xffffffff
je 0x4037b3
or dword [ebp - 0x20], 2
mov esi, dword [ebp - 0x18]
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x40394a
cmp dword [edi + 0x48], eax
je 0x403c9b
push 0x434d3c
lea ecx, [ebp - 0x74]
call fcn.004087bd
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xa4]
push ecx
push edi
mov ecx, eax
call fcn.00402008
mov ebx, eax
lea eax, [ebp - 0x84]
push 0x434d40
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.00408d4e
lea ecx, [ebp - 0x74]
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0x12
call fcn.00408c93
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
push eax
push ecx
mov byte [ebp - 4], 0x13
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401128
lea ecx, [esi - 0x10]
call fcn.00401128
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401128
push 0x2000
lea ecx, [ebp - 0x14]
call fcn.00408ff1
mov ecx, dword [ebp - 0x4c]
push dword [ecx]
push 0x1ffe
push eax
call fcn.0041964e
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x4033f6
mov esi, dword [ebp - 0x4c]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00408daf
cmp dword [ebp - 0x38], 0x2c
jne 0x4038e3
mov dword [edi + 0x44], ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x4038f2
push eax
call fcn.00419fd0
pop ecx
mov dword [esi], ebx
cmp dword [ebp - 0x2c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x403905
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x3c], ebx
je 0x40390f
push dword [ebp - 0x3c]
call esi
cmp dword [ebp - 0x24], ebx
je 0x403919
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x28], ebx
je 0x403923
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x30], ebx
je 0x40392d
push dword [ebp - 0x30]
call esi
cmp dword [ebp - 0x40], ebx
je 0x403937
push dword [ebp - 0x40]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401128
mov eax, dword [ebp - 0x38]
jmp 0x403d1b
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x7a
je 0x403a32
cmp dword [edi + 0x48], 0
je 0x403cd3
push 0x434d3c
lea ecx, [ebp - 0x70]
call fcn.004087bd
mov byte [ebp - 4], 0x14
call ebx
lea ecx, [ebp - 0x90]
push ecx
push edi
mov ecx, eax
call fcn.00402008
mov ebx, eax
lea eax, [ebp - 0x88]
push 0x434d40
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call fcn.00408d4e
lea ecx, [ebp - 0x70]
push ecx
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x16
call fcn.00408c93
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
push eax
push ecx
mov byte [ebp - 4], 0x17
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0xc4]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x70]
jmp 0x403876
push dword [ebp - 0x34]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x64]
push ecx
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x403b54
cmp dword [edi + 0x48], eax
je 0x403cd3
push 0x434d3c
lea ecx, [ebp - 0x7c]
call fcn.004087bd
mov byte [ebp - 4], 0x18
call ebx
lea ecx, [ebp - 0xa8]
push ecx
push edi
mov ecx, eax
call fcn.00402008
mov ebx, eax
lea eax, [ebp - 0xa0]
push 0x434d40
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x19
call fcn.00408d4e
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00408c93
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
push eax
push ecx
mov byte [ebp - 4], 0x1b
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x7c]
jmp 0x403876
push 0x44
call fcn.0040f3df
pop ecx
mov dword [ebp - 0x54], eax
test eax, eax
mov byte [ebp - 4], 0x1c
je 0x403b72
push edi
push eax
call fcn.00407caf
mov ebx, eax
jmp 0x403b74
xor ebx, ebx
push dword [ebp - 0x40]
mov byte [ebp - 4], 0xd
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
push dword [ebp - 0x24]
inc eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x44]
push eax
call fcn.00408ff1
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.00408779
mov ecx, ebx
call fcn.00408117
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov dword [edi + 0x44], eax
call fcn.00408daf
cmp dword [ebp - 0x38], 0
je 0x40387e
push str.__failed_with:
lea ecx, [ebp - 0x48]
call fcn.004087bd
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [edi + 0x44]
push edi
call fcn.00402008
mov ebx, eax
lea eax, [ebp - 0xc0]
push str.ERROR:_Writing_SD_to__
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1e
call fcn.00408d4e
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00408c93
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
push eax
push ecx
mov byte [ebp - 4], 0x20
call fcn.00408c93
add esp, 0xc
mov ecx, edi
call fcn.00401797
mov ecx, dword [ebp - 0xb8]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
call fcn.00401128
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401128
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00401128
mov eax, dword [edi + 0x44]
cmp eax, 5
je 0x403c7e
cmp eax, 2
je 0x403c7e
cmp dword [edi + 0x48], 0
je 0x403cde
mov ecx, dword [ebp - 0x1c]
and dword [edi + 0x44], 0
and dword [ebp - 0x38], 0
add ecx, 0xfffffff0
call fcn.00401128
add esi, 0xfffffff0
mov ecx, esi
jmp 0x40388c
mov dword [ebp - 0x38], 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [edi + 0x44], eax
call fcn.00401128
lea ecx, [esi - 0x10]
call fcn.00401128
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401128
mov esi, dword [ebp - 0x4c]
xor ebx, ebx
jmp 0x4038e3
mov dword [ebp - 0x38], 0x1b
call ebx
jmp 0x403ca8
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401128
lea ecx, [esi - 0x10]
call fcn.00401128
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401128
mov esi, dword [ebp - 0x4c]
xor ebx, ebx
jmp 0x4038d7
push 0x22
jmp 0x40326f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401128
push 0x22
pop eax
call fcn.0041aee0
ret