Function at 0x423030
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45066c
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4643c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x108], vtable.HK::SetACL::SD.0
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xdc], ebx
mov word [ebp - 0xec], cx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 0xc0], cl
lea edi, [eax + 0x134]
lea esi, [ebp - 0x2c]
mov edx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x15c], edi
call fcn.00433cb0
cmp dword [eax + 0x10], ebx
sete byte [ebp - 0x125]
cmp dword [ebp - 0x18], 8
jb 0x42312d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
cmp byte [ebp - 0x125], 0
je 0x42316d
lea esi, [ebp - 0x108]
mov dword [ebp - 0x108], vtable.HK::SetACL::SD.0
call fcn.0042eb30
cmp dword [ebp - 0xd8], 8
jb 0x423163
mov eax, dword [ebp - 0xec]
push eax
call fcn.0043644d
add esp, 4
mov eax, 0x21
jmp 0x4241d8
mov eax, dword [edi]
cmp eax, ebx
je 0x42317e
push eax
call fcn.00447e82
add esp, 4
mov dword [edi], ebx
mov ecx, 1
call fcn.00433af0
test eax, eax
je 0x4231c3
lea esi, [ebp - 0x108]
mov dword [ebp - 0x108], vtable.HK::SetACL::SD.0
call fcn.0042eb30
cmp dword [ebp - 0xd8], 8
jb 0x4231b9
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.0043644d
add esp, 4
mov eax, 0x22
jmp 0x4241d8
mov edx, dword [ebp - 0x15c]
lea esi, [ebp - 0x2c]
mov edi, SysReAllocStringLen
call fcn.00433cb0
push eax
mov edx, str.Input_file_for_restore_operation_opened:_
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00408410
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
mov eax, 0x458384
call fcn.00407910
sub esp, 0x18
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x17c], esp
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0xf
mov eax, str.DoActionRestore
mov word [esi], dx
call fcn.00413470
push 2
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00419f60
add esp, 0x3c
cmp dword [ebp - 0x88], 8
jb 0x423257
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0043644d
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 8
mov esi, 7
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
jb 0x423283
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x15c]
cmp dword [ecx], ebx
jne 0x4232a9
mov byte [ebp - 0x125], 0
jmp 0x423372
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], ebx
jae 0x4232b8
lea eax, [ebp - 0x80]
xor edx, edx
mov word [eax], dx
lea ecx, [ecx]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
push ecx
call fcn.00449d01
movzx edi, ax
mov edx, 0xffff
add esp, 4
cmp di, dx
je 0x42329d
cmp edi, 0xa
je 0x42336b
mov eax, dword [ebp - 0x70]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x42406f
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x42406f
mov ecx, dword [ebp - 0x6c]
cmp ecx, esi
jae 0x42331b
push eax
push esi
lea edx, [ebp - 0x80]
push edx
call fcn.00413680
jmp 0x423332
cmp esi, ebx
jne 0x423337
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], ebx
cmp ecx, 8
jae 0x42332d
lea eax, [ebp - 0x80]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x70]
cmp esi, ebx
seta cl
test cl, cl
je 0x4232c0
mov ecx, dword [ebp - 0x80]
mov edx, 8
cmp dword [ebp - 0x6c], edx
jae 0x42334e
lea ecx, [ebp - 0x80]
mov word [ecx + eax*2], di
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], esi
cmp dword [ebp - 0x6c], edx
jae 0x423360
lea eax, [ebp - 0x80]
xor edx, edx
mov word [eax + esi*2], dx
jmp 0x4232c0
mov byte [ebp - 0x125], 1
mov eax, dword [ebp - 0x13c]
cmp eax, ebx
je 0x423389
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x13c], ebx
mov eax, dword [ebp - 0x148]
cmp eax, ebx
je 0x4233a2
push eax
call fcn.00436ac3
add esp, 4
mov dword [ebp - 0x148], ebx
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4233bb
push eax
call fcn.00436ac3
add esp, 4
mov dword [ebp - 0x150], ebx
mov eax, dword [ebp - 0x158]
cmp eax, ebx
je 0x4233d4
push eax
call fcn.00436ac3
add esp, 4
mov dword [ebp - 0x158], ebx
mov eax, dword [ebp - 0x138]
cmp eax, ebx
je 0x4233ed
push eax
call fcn.00436ac3
add esp, 4
mov dword [ebp - 0x138], ebx
mov eax, dword [ebp - 0x144]
cmp eax, ebx
je 0x423406
push eax
call fcn.00436ac3
add esp, 4
mov dword [ebp - 0x144], ebx
mov edi, 7
xor eax, eax
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
sub esp, 0x14
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], esp
call fcn.0042bc30
lea ecx, [ebp - 0x80]
call fcn.00419570
mov dword [ebp - 0x130], esp
call fcn.0042bc80
lea ecx, [ebp - 0x80]
call fcn.0041bdd0
add esp, 0x14
cmp dword [ebp - 0x70], ebx
jne 0x4234c6
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x423494
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x4234b5
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
jmp 0x42405b
push 2
push 0x459798
lea eax, [ebp - 0x80]
push eax
xor eax, eax
call fcn.004076a0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424079
push ebx
xor ecx, ecx
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x80]
call fcn.00407490
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00407630
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
jb 0x423515
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043644d
add esp, 4
push 2
push 0x4597a0
lea edx, [ebp - 0x80]
push edx
lea eax, [ebx + 2]
call fcn.004076a0
mov edi, eax
cmp edi, 0xffffffff
jne 0x4235a1
push 1
push 0x455f90
lea eax, [ebp - 0x80]
push eax
lea eax, [ebx + 2]
call fcn.004076a0
mov edi, eax
cmp edi, 0xffffffff
je 0x424079
mov ecx, edi
sub ecx, ebx
push ecx
lea ecx, [ebx + 2]
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x80]
call fcn.00407490
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x42356c
mov eax, dword [eax]
push eax
call fcn.00436cd1
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x18], esi
jb 0x42358c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
push 0xffffffffffffffff
mov ecx, edi
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x80]
call fcn.00407490
mov byte [ebp - 4], 8
jmp 0x4235f5
mov ecx, edi
sub ecx, ebx
dec ecx
push ecx
lea ecx, [ebx + 2]
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x80]
call fcn.00407490
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x4235c1
mov eax, dword [eax]
push eax
call fcn.00436cd1
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x18], esi
jb 0x4235e1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
push 0xffffffffffffffff
lea ecx, [edi + 2]
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x80]
call fcn.00407490
mov byte [ebp - 4], 9
mov edi, eax
lea esi, [ebp - 0x48]
call fcn.00407630
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
jb 0x423615
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043644d
add esp, 4
call fcn.00435727
mov dword [ebp - 0x178], eax
call fcn.004354e6
push 0
lea ecx, [ebp - 0x184]
mov esi, eax
call fcn.00435810
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x423640
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x184]
call fcn.00435838
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov eax, ecx
cmp edx, 8
jae 0x423661
lea eax, [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x38]
lea ecx, [ecx + edx*2]
cmp eax, ecx
je 0x423685
lea edx, [ebp - 0x178]
push edx
push eax
push ecx
lea ecx, [ebp - 0x17c]
push ecx
call fcn.0042d7a0
add esp, 0x10
jmp 0x42368b
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x178]
test edi, edi
je 0x4236d8
push 0
lea ecx, [ebp - 0x180]
call fcn.00435810
mov eax, dword [edi + 4]
test eax, eax
je 0x4236b6
cmp eax, 0xffffffff
jae 0x4236b6
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x180]
not esi
call fcn.00435838
and esi, edi
je 0x4236d8
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp dword [ebp - 0x38], 0
jne 0x4237ac
lea ecx, [ebp - 0x2c]
push str.Omitting_SD_of:__
push ecx
lea ebx, [ebp - 0x64]
mov edi, SysReAllocStringLen
call fcn.00407830
sub esp, 0x14
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x130], esp
push eax
mov eax, str.__because_neither_owner__group__DACL_nor_SACL_were_backed_up.
call fcn.00407910
sub esp, 0x18
mov esi, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x12c], esp
xor ebx, ebx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0xf
mov eax, str.DoActionRestore
mov word [esi], dx
call fcn.00413470
push 2
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00419f60
mov esi, 8
add esp, 0x3c
cmp dword [ebp - 0x18], esi
jb 0x423764
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043644d
add esp, 4
cmp dword [ebp - 0x34], esi
jb 0x423775
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], esi
jb 0x42379b
mov eax, dword [ebp - 0x64]
push eax
call fcn.0043644d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
jmp 0x42405b
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x140], esp
push edx
lea eax, [ebp - 0x64]
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004138c0
mov ebx, dword [ebp - 0x14c]
call fcn.0041f8d0
mov edi, SysReAllocStringLen
lea ebx, [ebp - 0x64]
test al, al
je 0x4238b8
lea ecx, [ebp - 0x2c]
push str.Omitting_SD_of:__
push ecx
call fcn.00407830
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x140], esp
push eax
mov eax, str.__because_a_filter_keyword_matched.
call fcn.00407910
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov esi, esp
mov dword [ebp - 0x130], esp
xor ebx, ebx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0xf
mov eax, str.DoActionRestore
mov word [esi], dx
call fcn.00413470
push 2
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00419f60
mov esi, 8
add esp, 0x3c
cmp dword [ebp - 0x18], esi
jb 0x42386c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043644d
add esp, 4
cmp dword [ebp - 0x34], esi
jb 0x42387d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], esi
jb 0x42379b
mov eax, dword [ebp - 0x64]
push eax
call fcn.0043644d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
jmp 0x42405b
lea edx, [ebp - 0x2c]
push str.Restoring_SD_of:__
push edx
call fcn.00407830
sub esp, 0x14
mov ebx, 0xf
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x140], esp
push eax
mov eax, 0x4583fc
call fcn.00407910
sub esp, 0x18
mov esi, esp
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x154], esp
mov word [esi], ax
push ebx
mov eax, str.DoActionRestore
call fcn.00413470
push 2
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00419f60
add esp, 0x3c
cmp dword [ebp - 0x18], 8
jb 0x423932
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], dx
push 2
push 0x4598b8
lea eax, [ebp - 0x48]
push eax
xor eax, eax
mov byte [ebp - 4], 0x11
call fcn.004076a0
mov edi, eax
cmp edi, 0xffffffff
je 0x423a18
push 1
push 0x457928
lea ecx, [ebp - 0x48]
push ecx
lea eax, [edi + 2]
mov ebx, 0x20000000
call fcn.004076a0
lea ecx, [edi + 2]
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x48]
cmp eax, 0xffffffff
je 0x4239c2
sub eax, edi
sub eax, 2
push eax
call fcn.00407490
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x12
call fcn.00407630
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 8
jb 0x4239f0
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x4239e8
push 0xffffffffffffffff
call fcn.00407490
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x13
call fcn.00407630
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 8
jb 0x4239f0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043644d
add esp, 4
push 1
push 0x4598c0
lea ecx, [ebp - 0x9c]
push ecx
xor eax, eax
call fcn.004076a0
cmp eax, 0xffffffff
je 0x423a0f
mov ebx, SysReAllocStringLen
or ebx, 4
mov dword [ebp - 0x12c], ebx
push 2
push 0x4598c4
lea edx, [ebp - 0x48]
push edx
xor eax, eax
call fcn.004076a0
mov edi, eax
cmp edi, 0xffffffff
je 0x423ae1
or dword [ebp - 0x12c], 8
push 1
push 0x457928
lea eax, [ebp - 0x48]
push eax
lea eax, [edi + 2]
mov ebx, 0x10000000
call fcn.004076a0
lea ecx, [edi + 2]
lea esi, [ebp - 0x2c]
lea edx, [ebp - 0x48]
cmp eax, 0xffffffff
je 0x423a8e
sub eax, edi
sub eax, 2
push eax
call fcn.00407490
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x14
call fcn.00407630
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 8
jb 0x423abc
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x423ab4
push 0xffffffffffffffff
call fcn.00407490
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x15
call fcn.00407630
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 8
jb 0x423abc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
push 1
push 0x4598c0
lea eax, [ebp - 0x9c]
push eax
xor eax, eax
call fcn.004076a0
cmp eax, 0xffffffff
je 0x423adb
mov ebx, 0x40000000
or dword [ebp - 0x12c], ebx
push 2
push 0x4598cc
lea ecx, [ebp - 0x48]
push ecx
xor eax, eax
call fcn.004076a0
cmp eax, 0xffffffff
je 0x423aff
or dword [ebp - 0x12c], 1
push 2
push 0x4598d4
lea edx, [ebp - 0x48]
push edx
xor eax, eax
call fcn.004076a0
cmp eax, 0xffffffff
je 0x423b1d
or dword [ebp - 0x12c], 2
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x423b29
lea eax, [ebp - 0x48]
push 0
lea ecx, [ebp - 0x13c]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x423c91
mov esi, dword [ebp - 0x14c]
cmp byte [esi + 0x44], al
je 0x4240a6
mov esi, SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x124]
call fcn.00419240
mov edi, eax
lea edx, [ebp - 0x2c]
push str.Restoring_SD_of__
push edx
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 0x16
call fcn.00407830
push eax
mov eax, 0x4598dc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x17
call fcn.00407910
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 0x18
mov eax, edi
mov ebx, esp
mov dword [ebp - 0x154], esp
call fcn.004190d0
sub esp, 0x1c
mov byte [ebp - 4], 0x19
mov eax, str.DoActionRestore
mov ecx, esp
mov dword [ebp - 0x140], esp
call fcn.00413560
push 4
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00419f60
mov ebx, 8
add esp, 0x3c
cmp dword [ebp - 0xa4], ebx
jb 0x423bf3
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0043644d
add esp, 4
xor esi, esi
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x18], ebx
jb 0x423c20
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x110], ebx
jb 0x423c43
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.0043644d
add esp, 4
cmp dword [ebp - 0x88], ebx
jb 0x423c5a
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x34], ebx
jb 0x423c80
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
jmp 0x42404f
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x16c]
push eax
mov eax, dword [ebp - 0x138]
push ecx
lea edx, [ebp - 0x164]
push edx
mov edx, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x174]
push ecx
mov ecx, dword [ebp - 0x150]
push edx
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 0x148]
push ecx
mov ecx, dword [ebp - 0x13c]
lea edx, [ebp - 0x160]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x7a
je 0x423da9
mov edi, dword [ebp - 0x14c]
cmp byte [edi + 0x44], 0
je 0x4240d6
mov edi, SysReAllocStringLen
call esi
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.00419240
mov esi, eax
lea edx, [ebp - 0x2c]
push str.Restoring_SD_of__
push edx
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 0x1a
call fcn.00407830
push eax
mov eax, 0x4598dc
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1b
call fcn.00407910
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 0x1c
mov eax, esi
mov ebx, esp
mov dword [ebp - 0x154], esp
call fcn.004190d0
sub esp, 0x1c
mov byte [ebp - 4], 0x1d
mov eax, str.DoActionRestore
mov ecx, esp
mov dword [ebp - 0x140], esp
call fcn.00413560
mov byte [ebp - 4], 0x1c
push 4
mov ecx, edi
call fcn.00419f60
add esp, 0x3c
lea esi, [ebp - 0x124]
call fcn.0041c1b0
lea esi, [ebp - 0x2c]
call fcn.0041c1b0
lea esi, [ebp - 0xb8]
call fcn.0041c1b0
jmp 0x42403c
mov eax, dword [ebp - 0x160]
push eax
call fcn.0043747f
mov ecx, dword [ebp - 0x168]
add esp, 4
push ecx
mov dword [ebp - 0x148], eax
call fcn.0043747f
mov edx, dword [ebp - 0x174]
add esp, 4
mov edi, eax
push edx
mov dword [ebp - 0x150], edi
call fcn.0043747f
mov ebx, eax
mov eax, dword [ebp - 0x164]
add esp, 4
push eax
mov dword [ebp - 0x158], ebx
call fcn.0043747f
mov ecx, dword [ebp - 0x16c]
add esp, 4
push ecx
mov dword [ebp - 0x138], eax
call fcn.0043747f
mov ecx, dword [ebp - 0x138]
add esp, 4
lea edx, [ebp - 0x16c]
push edx
push eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x164]
push eax
push ecx
lea edx, [ebp - 0x174]
push edx
mov edx, dword [ebp - 0x148]
push ebx
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 0x13c]
push edi
lea ecx, [ebp - 0x160]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x423ee8
mov edi, dword [ebp - 0x14c]
cmp byte [edi + 0x44], al
je 0x4240d6
mov edi, SysReAllocStringLen
call esi
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.00419240
mov esi, eax
lea ecx, [ebp - 0x2c]
push str.Restoring_SD_of__
push ecx
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 0x1e
call fcn.00407830
push eax
mov eax, 0x4598dc
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1f
call fcn.00407910
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 0x20
mov eax, esi
mov ebx, esp
mov dword [ebp - 0x154], esp
call fcn.004190d0
sub esp, 0x1c
mov byte [ebp - 4], 0x21
mov eax, str.DoActionRestore
mov ecx, esp
mov dword [ebp - 0x140], esp
call fcn.00413560
mov byte [ebp - 4], 0x20
jmp 0x423d7a
mov esi, dword [ebp - 0x130]
mov byte [ebp - 0x170], 0
cmp esi, 1
jne 0x423f0a
lea edx, [ebp - 0x64]
call fcn.00432ab0
mov byte [ebp - 0x170], al
jmp 0x423f16
cmp esi, 4
jne 0x423f16
mov byte [ebp - 0x170], 1
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x12c]
push edx
push 0
push eax
push edi
push ecx
push esi
sub esp, 0x1c
lea ecx, [ebp - 0x64]
mov esi, esp
mov dword [ebp - 0x154], esp
call fcn.004139c0
lea edx, [ebp - 0x108]
push edx
mov edx, dword [ebp - 0x138]
mov ecx, ebx
call fcn.0042f110
mov edx, dword [ebp - 0xf0]
mov edi, dword [ebp - 0x14c]
mov dword [ebp - 0x134], eax
mov dword [edi + 0x40], edx
test eax, eax
je 0x42403c
lea ecx, [ebp - 0xb8]
mov esi, SysReAllocStringLen
call fcn.00419240
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x2c]
push str.Writing_SD_to__
push eax
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00407830
push eax
mov eax, str.__failed_with:
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x23
call fcn.00407910
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x130]
mov ebx, esp
mov dword [ebp - 0x154], esp
call fcn.004190d0
sub esp, 0x1c
mov byte [ebp - 4], 0x25
mov eax, str.DoActionRestore
mov ecx, esp
mov dword [ebp - 0x140], esp
call fcn.00413560
push 4
mov ecx, esi
mov byte [ebp - 4], 0x24
call fcn.00419f60
add esp, 0x3c
lea esi, [ebp - 0x124]
call fcn.0041c1b0
lea esi, [ebp - 0x2c]
call fcn.0041c1b0
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call fcn.0041c1b0
mov eax, dword [edi + 0x40]
cmp eax, 5
je 0x424031
cmp eax, 2
je 0x424031
cmp byte [edi + 0x44], 0
je 0x4240e7
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [ebp - 0x134], eax
lea esi, [ebp - 0x9c]
call fcn.0041c1b0
lea esi, [ebp - 0x48]
call fcn.0041c1b0
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.0041c1b0
cmp byte [ebp - 0x125], 0
je 0x424116
xor ebx, ebx
jmp 0x423293
push str.string_too_long
call fcn.00435871
lea esi, [ebp - 0x48]
call fcn.0041c1b0
lea esi, [ebp - 0x64]
call fcn.0041c1b0
lea esi, [ebp - 0x80]
call fcn.0041c1b0
lea ecx, [ebp - 0x108]
call fcn.0042eaf0
mov eax, 0x23
jmp 0x4241d8
mov dword [ebp - 0x134], 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x40], eax
lea esi, [ebp - 0x9c]
call fcn.0041c1b0
lea esi, [ebp - 0x48]
call fcn.0041c1b0
lea esi, [ebp - 0x64]
call fcn.0041c1b0
jmp 0x424116
mov dword [ebp - 0x134], 0x1b
call esi
mov dword [edi + 0x40], eax
jmp 0x4240b9
lea esi, [ebp - 0x9c]
call fcn.0041c1b0
lea esi, [ebp - 0x48]
call fcn.0041c1b0
lea esi, [ebp - 0x64]
call fcn.0041c1b0
cmp dword [ebp - 0x134], 0x2c
jne 0x424116
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [ebp - 0x134], eax
mov edi, dword [ebp - 0x15c]
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
je 0x42412f
push eax
call fcn.00447e82
add esp, 4
mov dword [edi], esi
mov eax, dword [ebp - 0x13c]
cmp eax, esi
je 0x424146
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x13c], esi
mov eax, dword [ebp - 0x148]
cmp eax, esi
je 0x424159
push eax
call fcn.00436ac3
add esp, 4
mov eax, dword [ebp - 0x150]
cmp eax, esi
je 0x42416c
push eax
call fcn.00436ac3
add esp, 4
mov eax, dword [ebp - 0x158]
cmp eax, esi
je 0x42417f
push eax
call fcn.00436ac3
add esp, 4
mov eax, dword [ebp - 0x138]
cmp eax, esi
je 0x424192
push eax
call fcn.00436ac3
add esp, 4
mov eax, dword [ebp - 0x144]
cmp eax, esi
je 0x4241a5
push eax
call fcn.00436ac3
add esp, 4
cmp dword [ebp - 0x6c], 8
jb 0x4241b7
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
call fcn.0042eaf0
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436268
mov esp, ebp
pop ebp
ret 4