Function at 0x7dd943ab
Capabilities:
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x5e8]
push eax
push dword [ebp - 0x480]
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov esi, eax
jmp 0x7dd94886
push 0x720
push 0x7dd94cb8
call fcn.7dd725e8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x540], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x498], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x4b4], edx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c8], eax
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x4e4], esi
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 0x4f4], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0x604], ecx
or dword [ebp - 0x474], 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x53c], ebx
mov dword [ebp - 0x520], ebx
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x534], ebx
mov dword [ebp - 0x550], ebx
mov dword [ebp - 0x52c], ebx
mov eax, dword [eax]
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x504], ebx
mov dword [ebp - 0x510], ebx
mov dword [ebp - 0x514], ebx
mov dword [ebp - 0x5c4], ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x58c], ebx
mov dword [ebp - 0x4f8], ebx
mov dword [ebp - 0x69c], ebx
xor eax, eax
lea edi, [ebp - 0x698]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x5c0], ebx
mov dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x240]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x538], ebx
mov dword [ebp - 0x6a8], ebx
lea edi, [ebp - 0x6a4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x4d4], edx
cmp edx, ebx
je 0x7dd944f4
cmp dword [edx + 4], ebx
jg 0x7dd944f4
jl 0x7dd991f3
cmp dword [edx], 0x400
jb 0x7dd991f3
mov dword [esi], 0x10000
mov eax, dword fs:[0x18]
mov ecx, eax
mov eax, 0xc00
add ecx, eax
cmp dword [ebp - 0x540], ecx
je 0x7dda0428
push 4
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
jl 0x7dd991fe
mov ecx, dword [ebp - 0x568]
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x498], ebx
jne 0x7dd99209
cmp eax, ebx
jl 0x7dda0451
mov esi, dword [ebp - 0x4c4]
mov eax, dword [esi]
mov edi, eax
shr edi, 1
and edi, 1
mov dword [ebp - 0x4a0], edi
jne 0x7dda045e
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x498], ebx
jne 0x7dda11ba
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x500], ebx
mov dword [ebp - 0x508], ebx
mov dword [ebp - 0x4e8], ebx
cmp edi, ebx
jne 0x7dda047d
cmp dword [ebp - 0x474], 0xffffffff
jne 0x7dda1156
cmp edi, ebx
jne 0x7dda04eb
mov eax, dword [0x7de40030]
mov dword [ebp - 0x47c], ebx
mov edi, dword [ebp - 0x49c]
and edi, 0x10
jne 0x7dda04f8
or eax, 0x44
mov dword [ebp - 0x47c], eax
test dword [esi], 0x1000
jne 0x7dda0507
mov eax, dword [esi]
test eax, 0x140
jne 0x7dda0513
cmp edi, ebx
jne 0x7dda0522
mov ecx, eax
and cl, 1
movzx esi, cl
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 5
mov dword [ebp - 0x4b8], esi
mov dword [ebp - 0x484], 0x40110080
cmp edi, ebx
jne 0x7dda0531
test al, 0x10
jne 0x7dda054a
test al, 0x40
jne 0x7dda0559
test al, 0x20
jne 0x7dda0568
or dword [ebp - 0x4b0], 0xffffffff
cmp dword [ebp + 0x34], ebx
jne 0x7dda0581
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x60c], esi
mov edi, dword [ebp - 0x4bc]
push edi
lea eax, [ebp - 0x688]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
cmp eax, ebx
jl 0x7dda05b8
movzx eax, word [ebp - 0x688]
shr eax, 1
xor ecx, ecx
cmp word [edi + eax*2 - 2], 0x5c
sete cl
mov dword [ebp - 0x618], ecx
push ebx
push ebx
lea eax, [ebp - 0x678]
push eax
push edi
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
cmp eax, ebx
jl 0x7dda05c3
mov eax, dword [ebp - 0x674]
mov dword [ebp - 0x5c4], eax
mov dword [ebp - 0x5e8], 0x18
mov dword [ebp - 0x5e4], ebx
mov dword [ebp - 0x5dc], 0x40
lea eax, [ebp - 0x678]
mov dword [ebp - 0x5e0], eax
mov dword [ebp - 0x5d8], ebx
mov dword [ebp - 0x5d4], ebx
mov byte [ebp - 0x668], 1
mov dword [ebp - 0x66c], 2
mov byte [ebp - 0x667], 1
mov dword [ebp - 0x670], 0xc
lea eax, [ebp - 0x670]
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x518], ebx
push 7
push 4
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x558]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
jl 0x7dd94758
mov eax, dword [ebp - 0x62c]
cmp eax, ebx
jne 0x7dda05e3
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x4c0], ebx
mov eax, dword [ebp - 0x528]
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x518]
mov dword [ebp - 0x508], eax
mov edi, 0x40000000
push edi
lea eax, [ebp - 0x688]
push eax
call fcn.7dd740d7
mov dword [ebp - 0x4f0], eax
cmp eax, ebx
jne 0x7dda06ba
and dword [ebp - 0x49c], 0xffffefff
test byte [ebp - 0x49c], 0x10
jne 0x7dd947c6
mov eax, 0x4000
test dword [ebp - 0x49c], eax
jne 0x7dda0705
test dword [ebp - 0x480], 0x80000000
jne 0x7dda078c
test byte [ebp - 0x480], 1
jne 0x7dda078c
cmp dword [ebp - 0x474], ebx
je 0x7dd947f8
cmp dword [ebp - 0x474], 0xffffffff
jne 0x7dd94917
mov edi, dword [ebp - 0x4b0]
push dword [ebp - 0x508]
and edi, dword [ebp - 0x49c]
push dword [ebp - 0x500]
and edi, 0x7fb7
push dword [ebp - 0x47c]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4c0]
push edi
push dword [ebp - 0x4d4]
cmp dword [ebp - 0x4f8], ebx
jne 0x7dd9437e
mov eax, dword [ebp - 0x480]
or eax, 1
mov dword [ebp - 0x5a4], eax
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x5e8]
push ecx
push eax
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov esi, eax
cmp esi, ebx
jl 0x7dd95c32
mov dword [ebp - 0x4f8], 1
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x480], eax
cmp esi, ebx
jl 0x7dd95c5c
mov eax, dword [ebp - 0x49c]
and eax, 0x10
mov dword [ebp - 0x4d8], eax
jne 0x7dda0999
cmp eax, ebx
jne 0x7dda0a7a
cmp dword [ebp - 0x4a0], ebx
jne 0x7dd94917
test byte [ebp - 0x47c], 8
jne 0x7dd94917
push 4
pop esi
push esi
push 8
lea eax, [ebp - 0x680]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
mov edi, eax
cmp edi, ebx
jl 0x7dda0ab7
test byte [ebp - 0x67c], 0x10
jne 0x7dda0b10
mov dword [ebp - 0x53c], 1
test byte [ebp - 0x47c], 0x20
je 0x7dd95260
test byte [ebp - 0x568], 1
jne 0x7dda0bd5
cmp dword [ebp - 0x58c], ebx
jne 0x7dda0c73
cmp dword [ebp + 0x34], ebx
jne 0x7dda0cd3
mov edi, dword [ebp - 0x604]
mov dword [edi], ebx
mov dword [ebp - 0x4e8], ebx
push 5
mov esi, 0x218
push esi
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
cmp eax, ebx
jl 0x7dd94968
mov eax, dword [ebp - 0x470]
mov dword [edi], eax
cmp dword [ebp - 0x4f0], ebx
jne 0x7dd9499e
push 4
push 0x28
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
jl 0x7dd9499e
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x4e8], eax
push 5
push esi
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
mov esi, eax
cmp esi, ebx
jl 0x7dda0c09
test byte [ebp - 0x470], 8
je 0x7dd949de
mov eax, dword [ebp - 0x4c4]
mov eax, dword [eax]
test al, 0x70
jne 0x7dda0d58
mov eax, dword [ebp - 0x4c4]
mov eax, dword [eax]
test al, 0x10
jne 0x7dda0df6
lea ecx, [ebp - 0x4a8]
push ecx
push eax
push dword [edi]
lea eax, [ebp - 0x4e8]
push eax
push dword [ebp - 0x4b0]
push dword [ebp - 0x49c]
push dword [ebp - 0x47c]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4c0]
push dword [ebp - 0x480]
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x4bc]
push dword [ebp - 0x488]
call fcn.7dd9573d
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd94f33
test byte [ebp - 0x49c], 0x10
jne 0x7dda0eef
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda155b
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
jne 0x7dda1595
mov dword [ebp - 0x4f0], 1
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x474]
push dword [ebp - 0x488]
call fcn.7dd951d9
mov dword [ebp - 0x5bc], eax
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda1646
mov edi, dword [ebp - 0x4b4]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebp - 0x5cc], eax
mov edx, ecx
or edx, eax
je 0x7dd99232
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
jne 0x7dda165a
mov eax, ecx
mov dword [ebp - 0x594], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x590], eax
mov esi, dword [ebp - 0x4a8]
push 0x14
push 8
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ecx, 0xc000007f
cmp eax, ecx
je 0x7dda16a9
mov dword [ebp - 0x490], ebx
mov dword [ebp - 0x48c], ebx
cmp esi, ebx
je 0x7dd94b74
cmp dword [esi + 0x1c], ebx
jne 0x7dd993e3
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dda1796
cmp dword [esi + 0x14], ebx
je 0x7dd94b5a
mov eax, dword [esi + 0x14]
cmp dword [eax], ebx
jne 0x7dda1796
cmp dword [ebp - 0x4ac], 2
je 0x7dda17b2
cmp dword [ebp - 0x4ac], 3
je 0x7dda16ee
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x7dd94f29
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda1701
mov dword [ebp - 0x5a0], ebx
push dword [ebp - 0x488]
call fcn.7dd95145
mov dword [ebp - 0x4e0], eax
push dword [ebp - 0x474]
call fcn.7dd95145
mov dword [ebp - 0x4d8], eax
cmp dword [ebp - 0x4e0], ebx
jne 0x7dda1750
cmp dword [ebp - 0x4d8], ebx
jne 0x7dda1765
lea eax, [ebp - 0x4dc]
push eax
mov esi, dword [ebp - 0x4e4]
push esi
call fcn.7dd95629
cmp dword [esi], ebx
jne 0x7dd94c01
lea eax, [ebp - 0x494]
push eax
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0x5a0]
call fcn.7dd95182
mov eax, dword [ebp - 0x494]
mov dword [esi], eax
cmp dword [ebp - 0x4dc], ebx
jne 0x7dd94c4f
cmp dword [ebp - 0x5a0], ebx
jne 0x7dda1787
mov ecx, dword [esi]
mov edx, dword [edi]
mov edi, dword [edi + 4]
mov eax, ecx
imul eax, eax, 7
cmp edi, ebx
jg 0x7dda17bc
jl 0x7dd94c33
cmp edx, eax
ja 0x7dda17bc
mov eax, ecx
add eax, edx
mov edx, ebx
adc edx, edi
sub eax, 1
sbb edx, ebx
push ebx
push ecx
push edx
push eax
call sub.ntdll.dll__alldiv
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
jne 0x7dd94c77
cmp dword [ebp - 0x4e0], ebx
jne 0x7dd94c77
cmp dword [ebp - 0x4d8], ebx
jne 0x7dd94c77
mov dword [ebp - 0x4dc], 1
mov ecx, dword [esi]
mov eax, dword [ebp - 0x4f0]
lea ecx, [ecx + eax - 1]
dec eax
not eax
and ecx, eax
mov dword [esi], ecx
mov dword [ebp - 0x4a4], ebx
cmp dword [ebp - 0x4a4], 3
jae 0x7dd94d04
mov eax, dword [ebp - 0x4a4]
lea eax, [ebp + eax*8 - 0x600]
mov dword [eax + 4], eax
mov dword [eax], eax
inc dword [ebp - 0x4a4]
jmp 0x7dd94c90
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x628], eax
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0x4dc]
imul ecx, ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x628]
or ecx, 8
push ecx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x534], eax
cmp eax, ebx
je 0x7dda17cb
mov dword [ebp - 0x4a4], ebx
mov eax, dword [ebp - 0x4dc]
cmp dword [ebp - 0x4a4], eax
jb 0x7dd952a8
mov ecx, dword [esi]
imul ecx, eax
mov dword [ebp - 0x5b0], ecx
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x630], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x5b0]
push dword [ebp - 0x630]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x520], eax
cmp eax, ebx
je 0x7dda17cb
cmp dword [ebp - 0x5bc], ebx
jne 0x7dda182d
mov edi, dword [ebp - 0x4a8]
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda1ecb
mov eax, dword [esi]
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x55c], ebx
mov dword [ebp - 0x478], 1
lea eax, [ebp - 0x550]
push eax
push 3
lea eax, [ebp - 0x600]
push eax
call fcn.7dd953a0
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd95312
mov esi, dword [ebp - 0x550]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ebx
je 0x7dd9557d
dec eax
je 0x7dd9542f
dec eax
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [eax + 4], ecx
jne 0x7dda1cce
push 1
lea eax, [ebp - 0x494]
push eax
lea eax, [esi + 0x1c]
push eax
push ebx
call fcn.7dd8ccbe
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd95613
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x494]
cmp ecx, eax
ja 0x7dda1ce4
add dword [ebp - 0x490], ecx
adc dword [ebp - 0x48c], ebx
cmp edi, ebx
je 0x7dd94eb3
cmp dword [edi + 0x1c], ebx
jne 0x7dd9944b
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dd9923d
cmp dword [edi + 0x14], ebx
je 0x7dd94e99
mov eax, dword [edi + 0x14]
cmp dword [eax], ebx
jne 0x7dd9923d
cmp dword [ebp - 0x4ac], 2
je 0x7dda1d69
cmp dword [ebp - 0x4ac], 3
je 0x7dda1d70
mov eax, dword [ebp - 0x4ec]
mov ecx, eax
imul ecx, dword [ebp - 0x4dc]
add dword [esi + 0x10], ecx
adc dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 8], ebx
mov eax, dword [ebp - 0x5fc]
lea ecx, [ebp - 0x600]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebp - 0x5fc], esi
cmp dword [ebp - 0x478], ebx
jne 0x7dd94ddf
cmp dword [ebp - 0x478], ebx
je 0x7dda1e5c
cmp dword [ebp - 0x52c], 0x458
je 0x7dd94f33
cmp dword [ebp - 0x478], ebx
je 0x7dda1eba
push ebx
call sym.KERNEL32.dll_BaseSetLastNTError
cmp dword [ebp - 0x478], ebx
je 0x7dda1eba
mov dword [ebp - 0x504], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd94f52
mov eax, dword [ebp - 0x504]
call fcn.7dd72630
ret 0x38
test byte [ebp - 0x568], 1
jne 0x7dda0c1b
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebp - 0x474], 0xffffffff
xor eax, eax
cmp dword [ebp - 0x4d8], ebx
sete al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x4b8], eax
push 0x20
pop eax
or dword [ebp - 0x47c], eax
mov dword [0x7de40030], eax
jmp 0x7dd947e3
mov edi, dword [ebp - 0x4a4]
imul edi, edi, 0x30
add edi, dword [ebp - 0x534]
mov dword [ebp - 0x550], edi
push ebx
push ebx
push 1
push ebx
call sub.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventA
mov dword [edi + 0x2c], eax
cmp eax, ebx
je 0x7dda17cb
mov eax, dword [ebp - 0x4a4]
mov dword [edi + 0xc], eax
mov ecx, dword [esi]
imul ecx, eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ebx
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x5fc]
lea ecx, [ebp - 0x600]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ebp - 0x5fc], edi
inc dword [ebp - 0x4a4]
jmp 0x7dd94d4c
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x103
jne 0x7dd94ef3
mov dword [ebp - 0x478], 1
jmp 0x7dd94ef3
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [eax + 4], ecx
lea eax, [esi + 0x1c]
push 1
lea ecx, [ebp - 0x494]
push ecx
push eax
push ebx
call fcn.7dd8ccbe
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dda1d85
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
mov eax, dword [ebp - 0x494]
jne 0x7dda1dad
mov ecx, eax
mov dword [ebp - 0x4d8], ecx
cmp ecx, eax
ja 0x7dda1dc1
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x53c], ebx
mov dword [ebp - 0x544], 0x10000
je 0x7dda1df1
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x59c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x598], eax
mov dword [ebp - 0x530], ebx
sub ecx, dword [ebp - 0x530]
cmp dword [ebp - 0x544], ecx
jbe 0x7dd954c4
mov dword [ebp - 0x544], ecx
mov eax, dword [ebp - 0x59c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x598]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x1c]
push eax
push ebx
push dword [ebp - 0x544]
mov eax, dword [esi + 0xc]
imul eax, dword [ebp - 0x4ec]
add eax, dword [ebp - 0x530]
add eax, dword [ebp - 0x520]
push eax
push dword [ebp - 0x474]
call sub.API_MS_Win_Core_File_L1_1_0.dll_WriteFile
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dda1dfc
mov eax, dword [ebp - 0x544]
add dword [ebp - 0x530], eax
add dword [ebp - 0x59c], eax
adc dword [ebp - 0x598], ebx
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x4d8]
jb 0x7dd9924e
cmp dword [ebp - 0x478], ebx
je 0x7dda1e5c
cmp dword [ebp - 0x53c], ebx
je 0x7dd95558
mov eax, dword [ebp - 0x530]
mov dword [esi + 0x20], eax
mov dword [esi + 8], 2
mov eax, dword [ebp - 0x5ec]
lea ecx, [ebp - 0x5f0]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebp - 0x5ec], esi
jmp 0x7dd94ee7
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp dword [ebp - 0x55c], ebx
jne 0x7dd95609
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x4b4]
cmp ecx, dword [eax + 4]
jg 0x7dd95609
jl 0x7dd955a3
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax]
jae 0x7dd95609
mov eax, dword [esi + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x1c]
push eax
push ebx
push dword [ebp - 0x4ec]
mov eax, dword [esi + 0xc]
imul eax, dword [ebp - 0x4ec]
add eax, dword [ebp - 0x520]
push eax
push dword [ebp - 0x488]
call sub.API_MS_Win_Core_File_L1_1_0.dll_ReadFile
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dda1e2e
mov dword [esi + 8], 1
mov eax, dword [ebp - 0x5f4]
lea ecx, [ebp - 0x5f8]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebp - 0x5f4], esi
jmp 0x7dd94ee7
mov dword [ebp - 0x55c], 1
mov dword [esi + 8], 3
mov dword [esi + 4], esi
mov dword [esi], esi
jmp 0x7dd94ee7
push dword [ebp - 0x508]
push dword [ebp - 0x500]
push dword [ebp - 0x47c]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4c0]
push edi
push dword [ebp - 0x4d4]
jmp 0x7dd9437e
push esi
call sym.KERNEL32.dll_BaseSetLastNTError
mov eax, dword [ebp - 0x4c4]
mov eax, dword [eax]
mov ecx, eax
xor edi, edi
inc edi
and ecx, edi
je 0x7dd99221
cmp esi, 0xc0000035
jne 0x7dd99221
push 0x50
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
or dword [ebp - 0x474], 0xffffffff
jmp 0x7dd94f33
mov dword [ebp - 0x4d4], ebx
jmp 0x7dd944f4
mov dword [ebp - 0x49c], ebx
jmp 0x7dd94547
mov dword [ebp - 0x568], ebx
jmp 0x7dd9455b
cmp eax, ebx
jne 0x7dd945a5
jmp 0x7dd94f33
cmp esi, 0xc00000ba
je 0x7dda079b
jmp 0x7dda07ae
mov esi, dword [ebp - 0x4a8]
jmp 0x7dd94b1e
cmp dword [ebp - 0x498], ebx
je 0x7dda1d58
jmp 0x7dd94e99
mov ecx, dword [ebp - 0x4d8]
jmp 0x7dd954b0
inc dword [esi + 0x10]
call sub.ntdll.dll_RtlGetCurrentTransaction
mov dword [ebp - 0x61c], eax
push ebx
call sub.ntdll.dll_RtlSetCurrentTransaction
mov dword [ebp - 4], 1
push dword [esi + 0x18]
push dword [ebp - 0x474]
push dword [ebp - 0x488]
push 1
push dword [esi + 0x10]
push ebx
push ebx
push dword [edi + 4]
push dword [edi]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call dword [esi + 0x1c]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], ebx
call fcn.7dd9943f
jmp 0x7dd94b3d
mov eax, dword [ebp - 0x494]
add dword [edi + 8], eax
adc dword [edi + 0xc], ebx
call sub.ntdll.dll_RtlGetCurrentTransaction
mov dword [ebp - 0x54c], eax
push ebx
call sub.ntdll.dll_RtlSetCurrentTransaction
mov dword [ebp - 4], 3
push dword [edi + 0x18]
push dword [ebp - 0x474]
push dword [ebp - 0x488]
push ebx
push dword [edi + 0x10]
push dword [ebp - 0x48c]
push dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
push dword [eax + 4]
push dword [eax]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call dword [edi + 0x1c]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], ebx
call fcn.7dd994bf
jmp 0x7dd94e7c
mov esi, dword fs:[0x18]
add esi, eax
mov ecx, 0x82
lea edi, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x540], eax
jmp 0x7dd94515
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd94f45
test byte [ebp - 0x49c], 0x10
je 0x7dd94576
xor edi, edi
mov dword [ebp - 0x4a0], edi
and eax, 0xfffffffd
mov dword [esi], eax
jmp 0x7dd94576
push dword [ebp + 0x34]
push dword [ebp - 0x568]
push dword [ebp - 0x548]
push dword [ebp - 0x4b4]
push dword [ebp - 0x4f4]
push dword [esi]
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x4bc]
push dword [ebp - 0x488]
call fcn.7ddeeb09
mov dword [ebp - 0x478], eax
cmp eax, 2
jne 0x7dd99214
push dword [ebp - 0x488]
call fcn.7dd95145
test eax, eax
je 0x7dda04dc
mov eax, dword [ebp - 0x4e4]
mov dword [eax], 0xf000
mov dword [ebp - 0x504], 2
jmp 0x7dd94f33
push 0x20
pop eax
mov dword [0x7de40030], eax
jmp 0x7dd945bf
mov dword [ebp - 0x47c], 0x4021
jmp 0x7dd945e9
or dword [ebp - 0x47c], 8
jmp 0x7dd945e9
or dword [ebp - 0x47c], 0x4000
jmp 0x7dd945f6
mov esi, eax
not esi
and esi, 1
or esi, 2
jmp 0x7dd94610
mov dword [ebp - 0x484], 0x110080
mov dword [ebp - 0x484], 0x110193
jmp 0x7dd94628
or dword [ebp - 0x484], 0x80040000
jmp 0x7dd94630
or dword [ebp - 0x484], 0x80000
jmp 0x7dd94638
mov ecx, 0x1000000
test dword [ebp + 0x10], ecx
je 0x7dd94640
or dword [ebp - 0x484], ecx
jmp 0x7dd94640
or dword [ebp - 0x47c], 0x200000
mov ecx, dword [ebp - 0x484]
and ecx, 0xfffeffff
or ecx, 0x80000000
mov dword [ebp - 0x484], ecx
not eax
and eax, 1
or eax, 2
mov esi, eax
mov dword [ebp - 0x4b8], esi
jmp 0x7dd94650
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd94f33
cmp eax, 0xc0000017
je 0x7dda05d8
cmp eax, 0xc000009a
je 0x7dda05d8
push 3
jmp 0x7dd95c85
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd95c8b
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x518]
add eax, eax
mov dword [ebp - 0x518], eax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x614], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x518]
push dword [ebp - 0x614]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x528], eax
cmp eax, ebx
jne 0x7dda0634
push 0xc0000017
jmp 0x7dda05b9
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x518]
push eax
lea eax, [ebp - 0x558]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ntdll.dll_NtQueryEaFile]
mov dword [ebp - 0x4c8], eax
cmp eax, ebx
jge 0x7dda0683
mov eax, dword fs:[0x18]
push dword [ebp - 0x528]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x554], ebx
cmp dword [ebp - 0x4c8], 0x80000005
je 0x7dda05e9
cmp dword [ebp - 0x4c8], 0xc0000023
je 0x7dda05e9
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x518], eax
mov esi, dword [ebp - 0x4b8]
jmp 0x7dd94758
mov dword [ebp - 0x484], edi
mov dword [ebp - 0x480], edi
push 3
pop ecx
mov dword [ebp - 0x4c0], ecx
cmp dword [ebp - 0x528], ebx
je 0x7dda06e1
mov dword [ebp - 0x58c], 1
push ecx
push ebx
push edi
push dword [eax + 4]
call sym.KERNEL32.dll_OpenConsoleW
mov dword [ebp - 0x474], eax
cmp eax, 0xffffffff
jne 0x7dd947a2
push 0xc0000022
jmp 0x7dda05b9
test dword [ebp - 0x4b0], eax
je 0x7dd947c6
cmp esi, 2
je 0x7dda071f
cmp esi, 5
jne 0x7dd947c6
lea eax, [ebp - 0x5a4]
push eax
push esi
call fcn.7ddee161
cmp eax, ebx
jge 0x7dda073b
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd947c6
and dword [ebp - 0x4b0], 0xfffffffe
push ebx
mov eax, dword [ebp - 0x4b0]
and eax, dword [ebp - 0x49c]
and eax, 0x7fb7
push eax
push dword [ebp - 0x5a4]
push dword [ebp - 0x4bc]
push dword [ebp - 0x540]
call dword [0x7de40ca0]
cmp eax, ebx
je 0x7dda077d
push eax
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd947c6
mov dword [ebp - 0x4b8], 1
jmp 0x7dd947c6
mov dword [ebp - 0x4f8], 1
jmp 0x7dd947e3
cmp dword [ebp - 0x618], ebx
jne 0x7dda05d1
push 5
jmp 0x7dd95c85
test al, al
jns 0x7dda080d
cmp esi, 0xc0000103
jne 0x7dda080d
cmp ecx, ebx
jne 0x7dda080d
push ebx
push ebx
push 0x1020
push edi
push ebx
push 0x80
push ebx
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x5e8]
push eax
push 0x110000
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, ebx
jl 0x7dda05d8
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebp - 0x474], 0xffffffff
jmp 0x7dd947e3
call fcn.7dd711c7
cmp eax, 0x20
je 0x7dda0821
call fcn.7dd711c7
cmp eax, 5
jne 0x7dda0856
mov ecx, dword [ebp - 0x4c0]
push 3
pop eax
and ecx, eax
cmp cl, al
je 0x7dda083b
mov dword [ebp - 0x4c0], eax
jmp 0x7dd947e3
test dword [ebp - 0x480], 0x10000
je 0x7dda0856
and dword [ebp - 0x480], 0xfffeffff
jmp 0x7dd947e3
cmp dword [ebp - 0x500], ebx
je 0x7dda0893
call fcn.7dd711c7
cmp eax, 0x11a
jne 0x7dda0893
mov dword [ebp - 0x58c], edi
mov dword [ebp - 0x500], ebx
mov dword [ebp - 0x508], ebx
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x4c0], ebx
jmp 0x7dd947e3
call fcn.7dd711c7
cmp eax, 5
jne 0x7dda08e8
test dword [ebp - 0x480], 0xc0000
je 0x7dda08e8
mov eax, 0x40000
test dword [ebp - 0x480], eax
je 0x7dda08c2
and dword [ebp - 0x480], 0xfffbffff
jmp 0x7dda0888
test dword [ebp - 0x480], 0x80000
je 0x7dda0888
and dword [ebp - 0x480], 0xfff7ffff
mov ecx, dword [ebp - 0x484]
and ecx, eax
or dword [ebp - 0x480], ecx
jmp 0x7dda0888
mov eax, 0x4000
test dword [ebp - 0x49c], eax
je 0x7dda0918
test dword [ebp - 0x4b0], eax
je 0x7dda0918
and dword [ebp - 0x4b0], 0xffffbfff
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x47c], eax
jmp 0x7dda087c
call fcn.7dd711c7
cmp eax, 0x57
je 0x7dda092e
call fcn.7dd711c7
cmp eax, 0xb7
jne 0x7dda0953
test byte [ebp - 0x49c], 0x10
je 0x7dd95c8b
cmp dword [ebp - 0x4b8], 3
jne 0x7dda0953
mov dword [ebp - 0x4b8], edi
or dword [ebp - 0x4b0], 0xffffffff
jmp 0x7dda0907
test byte [ebp - 0x49c], 0x10
je 0x7dd95c8b
test byte [ebp - 0x480], 2
je 0x7dd95c8b
mov eax, dword [ebp - 0x484]
and eax, 0xfffffffd
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x60c]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x47c], eax
jmp 0x7dda0888
cmp dword [ebp - 0x4b8], 1
jne 0x7dd948a3
test byte [ebp - 0x480], 2
je 0x7dd948a3
test byte [ebp - 0x47c], 1
je 0x7dd948a3
and dword [ebp - 0x47c], 0xfffffffe
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
push dword [ebp - 0x508]
push dword [ebp - 0x500]
push dword [ebp - 0x47c]
push 1
push dword [ebp - 0x4c0]
push edi
push dword [ebp - 0x4d4]
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x5e8]
push eax
push dword [ebp - 0x480]
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, ebx
jge 0x7dd948ab
or dword [ebp - 0x47c], 1
push dword [ebp - 0x508]
push dword [ebp - 0x500]
push dword [ebp - 0x47c]
push 1
push dword [ebp - 0x4c0]
push edi
push dword [ebp - 0x4d4]
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x5e8]
push eax
push dword [ebp - 0x480]
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, ebx
jge 0x7dd948ab
or dword [ebp - 0x474], 0xffffffff
jmp 0x7dda05b8
cmp dword [ebp - 0x4b8], 3
jne 0x7dd948ab
cmp dword [ebp - 0x4f0], ebx
jne 0x7dd948ab
push 4
push 0x28
lea eax, [ebp - 0x730]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov edi, eax
cmp edi, ebx
jge 0x7dda0ac9
push ebx
push dword [ebp - 0x474]
call fcn.7ddee4e1
push edi
jmp 0x7dda05b9
test byte [ebp - 0x710], 0x10
jne 0x7dd948ab
push dword [ebp - 0x710]
push dword [ebp - 0x474]
call fcn.7ddee4e1
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebp - 0x474], 0xffffffff
mov dword [ebp - 0x4b8], 2
and dword [ebp - 0x480], 0xfffffffd
jmp 0x7dd947e3
test dword [ebp - 0x67c], 0x1000
jne 0x7dd948f3
mov dword [ebp - 0x53c], ebx
test byte [ebp - 0x47c], 0x20
je 0x7dda0bc5
test byte [ebp - 0x568], 1
je 0x7dda0b8b
test byte [ebp - 0x4b0], 1
je 0x7dda0b8b
and dword [ebp - 0x568], 0xfffffffe
or dword [ebp - 0x568], 0x80
push esi
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, eax
cmp edi, ebx
jl 0x7dda0ab7
or dword [ebp - 0x568], 1
and dword [ebp - 0x4b0], 0xfffffffe
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebp - 0x474], 0xffffffff
xor eax, eax
cmp dword [ebp - 0x4d8], ebx
sete al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x4b8], eax
and dword [ebp - 0x47c], 0xffffffdf
mov dword [0x7de40030], ebx
jmp 0x7dd947e3
push dword [ebp - 0x474]
call fcn.7ddedfd7
jmp 0x7dd9490a
test byte [ebp - 0x4b0], 1
jne 0x7dd94917
push esi
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov esi, eax
cmp esi, ebx
jge 0x7dd94917
push ebx
push dword [ebp - 0x474]
call fcn.7ddee4e1
push esi
jmp 0x7dda05b9
test byte [ebp - 0x4b0], 1
je 0x7dd9526d
and dword [ebp - 0x568], 0xfffffffe
or dword [ebp - 0x568], 0x80
push esi
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, eax
cmp edi, ebx
jl 0x7dda0ab7
or dword [ebp - 0x568], 1
and dword [ebp - 0x4b0], 0xfffffffe
jmp 0x7dd9526d
mov eax, dword [ebp - 0x4c4]
test byte [eax], 0x10
je 0x7dd94923
lea eax, [ebp - 0x514]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x488]
push 0xa
push ebx
push dword [ebp - 0x4a8]
push 0x11a
push 1
call fcn.7dd9062d
test eax, eax
jne 0x7dd94923
cmp dword [ebp - 0x514], ebx
je 0x7dda0cc2
push ebx
push dword [ebp - 0x474]
call fcn.7ddee4e1
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x7dd95c8b
cmp dword [ebp - 0x474], 0xffffffff
je 0x7dd9492c
push ebx
push ebx
push ebx
push ebx
call fcn.7dd7181b
mov esi, eax
cmp esi, ebx
je 0x7dd94f33
push esi
push dword [ebp - 0x474]
push dword [ebp - 0x488]
call fcn.7ddee559
mov edi, eax
push esi
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
cmp edi, ebx
jne 0x7dd9492c
mov eax, dword [ebp - 0x4c4]
test byte [eax], 1
je 0x7dda0d45
mov byte [ebp - 0x509], 1
push 0xd
push 1
lea eax, [ebp - 0x509]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [ebp - 0x474]
mov dword [eax], ecx
jmp 0x7dd94f33
mov dword [ebp - 0x524], ebx
test al, 0x10
je 0x7dda0d73
test eax, 0x400
jne 0x7dda0d73
mov dword [ebp - 0x524], 4
test al, 0x20
je 0x7dda0d7e
or dword [ebp - 0x524], 8
test al, 0x40
je 0x7dda0d89
or dword [ebp - 0x524], 3
cmp dword [ebp - 0x524], ebx
je 0x7dd949de
push ebx
lea eax, [ebp - 0x514]
push eax
push dword [edi]
push dword [ebp - 0x4a8]
push dword [ebp - 0x524]
push dword [ebp - 0x480]
push dword [ebp - 0x474]
push dword [ebp - 0x4bc]
push dword [ebp + 0x10]
push dword [ebp - 0x488]
push dword [ebp - 0x540]
call fcn.7dd9106e
test eax, eax
jne 0x7dd949de
cmp dword [ebp - 0x514], ebx
je 0x7dd94f33
push ebx
push dword [ebp - 0x474]
call fcn.7ddee4e1
jmp 0x7dd94f33
xor esi, esi
mov dword [ebp - 0x560], ebx
test dword [ebp - 0x4e8], 0x800
je 0x7dda0e0b
inc esi
push ebx
push ebx
push ebx
push ebx
call sub.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventA
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x560], ebx
cmp dword [ebp - 0x560], 2
jge 0x7dda0edf
lea eax, [ebp - 0x4a8]
push eax
mov eax, dword [ebp - 0x4c4]
cmp esi, ebx
je 0x7dda0e69
xor esi, esi
push dword [ebp - 0x4e0]
push dword [eax]
push dword [edi]
push dword [ebp - 0x4e8]
push dword [ebp - 0x49c]
push dword [ebp - 0x474]
push dword [ebp - 0x488]
call fcn.7ddeedc5
jmp 0x7dda0eba
xor esi, esi
inc esi
push dword [eax]
push dword [edi]
lea eax, [ebp - 0x4e8]
push eax
push dword [ebp - 0x4b0]
push dword [ebp - 0x49c]
push dword [ebp - 0x47c]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4c0]
push dword [ebp - 0x480]
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x4bc]
push dword [ebp - 0x488]
call fcn.7dd9573d
mov dword [ebp - 0x478], eax
cmp eax, ebx
jne 0x7dda0ed4
push dword [ebp - 0x4e0]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd94f33
inc dword [ebp - 0x560]
jmp 0x7dda0e20
push dword [ebp - 0x4e0]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd94a50
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x200
je 0x7dda10c3
mov edi, 0x1000
mov dword [ebp - 0x610], edi
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x5a8], eax
mov eax, dword fs:[0x18]
push edi
push dword [ebp - 0x5a8]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x4bc], eax
cmp eax, ebx
je 0x7dda062d
push 0x16
push edi
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x4c8], eax
cmp eax, ebx
jge 0x7dda0f87
mov eax, dword fs:[0x18]
push dword [ebp - 0x4bc]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
add edi, edi
mov dword [ebp - 0x610], edi
jmp 0x7dda0fa4
cmp dword [ebp - 0x4cc], ebx
jne 0x7dda0faa
mov eax, dword fs:[0x18]
push dword [ebp - 0x4bc]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
mov dword [ebp - 0x4bc], ebx
cmp dword [ebp - 0x4c8], 0x80000005
je 0x7dda0f12
cmp dword [ebp - 0x4c8], 0xc0000023
je 0x7dda0f12
cmp dword [ebp - 0x4bc], ebx
je 0x7dda10c3
mov edi, dword [ebp - 0x4bc]
mov dword [ebp - 0x608], edi
mov ax, word [edi + 4]
mov word [ebp - 0x638], ax
mov word [ebp - 0x636], ax
lea eax, [edi + 0x18]
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x6c0], 0x18
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 0x6b4], 0x40
lea eax, [ebp - 0x638]
mov dword [ebp - 0x6b8], eax
mov dword [ebp - 0x6b0], ebx
mov dword [ebp - 0x6ac], ebx
push ebx
push ebx
push 0x1020
push 1
push 7
push ebx
push ebx
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x6c0]
push eax
push 0x110000
lea eax, [ebp - 0x5ac]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [ebp - 0x4c8], eax
cmp eax, ebx
jge 0x7dda1098
mov eax, dword fs:[0x18]
push dword [ebp - 0x4bc]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
push ebx
push dword [ebp - 0x474]
call fcn.7ddee4e1
push dword [ebp - 0x4c8]
jmp 0x7dda05b9
push dword [ebp - 0x5ac]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [edi]
cmp eax, ebx
jne 0x7dda11a8
mov eax, dword fs:[0x18]
push dword [ebp - 0x4bc]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
mov edx, dword [ebp - 0x4e8]
cmp dword [ebp - 0x49c], edx
je 0x7dda1156
or edx, dword [ebp - 0x49c]
mov dword [ebp - 0x4e8], edx
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x6e8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x6c8], edx
push 4
push 0x28
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov esi, eax
cmp esi, ebx
jl 0x7dda0c09
mov dword [ebp - 0x4e8], ebx
push 4
push 0x28
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov esi, eax
cmp esi, ebx
jl 0x7dda0c09
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x4e8], eax
test byte [ebp - 0x49c], 0x10
je 0x7dd94a5d
mov dword [ebp - 0x514], ebx
lea eax, [ebp - 0x514]
push eax
push dword [ebp - 0x474]
push dword [ebp - 0x488]
xor esi, esi
inc esi
push esi
push ebx
push dword [ebp - 0x4a8]
push 0xc0000240
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
push esi
call fcn.7dd9062d
test eax, eax
jne 0x7dda11af
mov dword [ebp - 0x504], ebx
jmp 0x7dda0dd9
add edi, eax
jmp 0x7dda0fdc
mov dword [ebp - 0x504], esi
jmp 0x7dd94f33
push dword [ebp - 0x4bc]
lea eax, [ebp - 0x5d0]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
cmp eax, ebx
jl 0x7dda05b8
mov dword [ebp - 0x650], 0x18
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x644], ebx
lea eax, [ebp - 0x5d0]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov esi, dword [esi]
and esi, 1
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
push 5
pop ecx
add eax, ecx
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp - 0x4f4]
cmp edi, ebx
je 0x7dda1244
mov edx, dword [eax + 0x28]
or edx, dword [eax + 0x2c]
mov dword [ebp - 0x4fc], 1
jne 0x7dda1244
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 0x51c], 0x24
mov dword [ebp - 0x484], 0x40100000
cmp dword [ebp + 0x34], ebx
je 0x7dda128b
mov dword [ebp - 0x51c], 0x200024
mov dword [ebp - 0x484], 0xc0100000
cmp esi, ebx
je 0x7dda1281
cmp edi, ebx
je 0x7dda1281
mov ecx, dword [eax + 0x28]
or ecx, dword [eax + 0x2c]
jne 0x7dda128b
mov dword [ebp - 0x4fc], 3
test dword [ebp - 0x484], 0x80000000
jne 0x7dda12a0
test byte [ebp - 0x484], 1
je 0x7dda12aa
mov dword [ebp - 0x4f8], 1
push ebx
lea eax, [ebp - 0x4d0]
mov esi, dword [sym.imp.ntdll.dll_NtCreateFile]
push ebx
push dword [ebp - 0x51c]
push dword [ebp - 0x4fc]
push 7
push ebx
push dword [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x474]
cmp dword [ebp - 0x4f8], ebx
jne 0x7dda1337
mov edi, dword [ebp - 0x484]
or edi, 1
push edi
push eax
call esi
mov dword [ebp - 0x4c8], eax
cmp eax, ebx
jl 0x7dda130c
mov dword [ebp - 0x4f8], 1
mov dword [ebp - 0x484], edi
jmp 0x7dda1346
push ebx
push ebx
push dword [ebp - 0x51c]
push dword [ebp - 0x4fc]
push 7
push ebx
push dword [ebp - 0x4b4]
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x474]
push dword [ebp - 0x484]
push eax
call esi
mov dword [ebp - 0x4c8], eax
cmp dword [ebp - 0x4c8], ebx
jge 0x7dda1510
push dword [ebp - 0x4c8]
call sym.KERNEL32.dll_BaseSetLastNTError
cmp dword [ebp - 0x4c8], 0xc0000033
jne 0x7dda13c5
mov eax, dword [ebp - 0x5cc]
movzx eax, word [eax + 2]
cmp ax, 0x1f
ja 0x7dda13c5
xor edi, edi
inc edi
cmp ax, di
jb 0x7dda13c5
push 5
push 0x10
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
cmp eax, ebx
jge 0x7dda13ae
cmp eax, 0x80000005
jne 0x7dda05b8
test dword [ebp - 0x258], 0x10000
jne 0x7dda13c5
mov dword [ebp - 0x504], edi
jmp 0x7dd94f33
cmp dword [ebp - 0x4c8], 0xc0000022
jne 0x7dda108d
push 4
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
jl 0x7dda05b8
mov eax, dword [ebp - 0x568]
test al, 1
je 0x7dd94f33
mov dword [ebp - 0x5a8], eax
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x588]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x568], 0x80
push 4
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push ebx
push ebx
push dword [ebp - 0x51c]
push dword [ebp - 0x4fc]
push 7
push ebx
push dword [ebp - 0x4b4]
cmp dword [ebp - 0x4f8], ebx
jne 0x7dda14bf
mov eax, dword [ebp - 0x484]
or eax, 1
mov dword [ebp - 0x5ac], eax
lea ecx, [ebp - 0x4d0]
push ecx
lea ecx, [ebp - 0x650]
push ecx
push eax
lea eax, [ebp - 0x474]
push eax
call esi
mov edi, eax
cmp edi, ebx
jl 0x7dda14a8
mov dword [ebp - 0x4f8], 1
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x484], eax
jmp 0x7dda14de
push ebx
push ebx
push dword [ebp - 0x51c]
push dword [ebp - 0x4fc]
push 7
push ebx
push dword [ebp - 0x4b4]
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x650]
push eax
push dword [ebp - 0x484]
lea eax, [ebp - 0x474]
push eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x5a8]
mov dword [ebp - 0x568], eax
push 4
push 0x28
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
cmp edi, ebx
jl 0x7dda0ac3
mov dword [ebp - 0x53c], 1
cmp dword [ebp + 0x34], ebx
je 0x7dd94a5d
mov eax, dword [ebp - 0x4c4]
test byte [eax], 1
je 0x7dda1548
cmp dword [ebp - 0x4a0], ebx
je 0x7dda1548
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0x28]
or ecx, dword [eax + 0x2c]
jne 0x7dd94a5d
push ebx
push ebx
push ebx
push dword [ebp - 0x474]
call fcn.7dd7168a
jmp 0x7dd94a5d
push dword [ebp - 0x488]
call fcn.7dd95145
test eax, eax
jne 0x7dd94a69
push dword [ebp - 0x474]
call fcn.7dd95145
test eax, eax
jne 0x7dd94a69
mov eax, dword [ebp - 0x4c4]
and dword [eax], 0xfffffffd
mov dword [ebp - 0x4a0], ebx
jmp 0x7dd94a69
push 3
push 0x18
lea eax, [ebp - 0x700]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x488]
mov edi, dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
call edi
mov esi, eax
cmp esi, ebx
jge 0x7dda15de
cmp dword [ebp - 0x498], ebx
jne 0x7dda0c15
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda0c15
push dword [ebp - 0x568]
jmp 0x7dda0c0a
mov esi, dword [ebp - 0x6ec]
mov dword [ebp - 0x4f0], esi
push 3
push 0x18
lea eax, [ebp - 0x700]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call edi
mov edi, eax
cmp edi, ebx
jge 0x7dda162d
cmp dword [ebp - 0x498], ebx
jne 0x7dda0ac3
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda0ac3
push dword [ebp - 0x568]
jmp 0x7dda0ab8
mov eax, dword [ebp - 0x6ec]
cmp eax, esi
jbe 0x7dd94a85
mov dword [ebp - 0x4f0], eax
jmp 0x7dd94a85
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0x28]
or ecx, dword [eax + 0x2c]
je 0x7dd94aaf
jmp 0x7dda16d0
cmp dword [ebp - 0x5bc], ebx
jne 0x7dd94adc
xor eax, eax
mov edx, dword [ebp - 0x4f0]
add edx, 0xffffffff
mov esi, eax
adc esi, 0xffffffff
not edx
not esi
mov edi, dword [ebp - 0x4f0]
add edi, ecx
adc eax, dword [ebp - 0x5cc]
add edi, 0xffffffff
adc eax, 0xffffffff
and edx, edi
and esi, eax
mov dword [ebp - 0x594], edx
mov dword [ebp - 0x590], esi
mov edi, dword [ebp - 0x4b4]
jmp 0x7dd94aed
push ecx
call sym.KERNEL32.dll_BaseSetLastNTError
push dword [ebp - 0x568]
push dword [ebp - 0x474]
call fcn.7ddee4e1
push dword [ebp - 0x474]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd95c8b
mov edi, dword [ebp - 0x4b4]
jmp 0x7dd99232
mov dword [ebp - 0x4a8], ebx
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dd94b74
mov esi, dword [ebp - 0x4f4]
lea eax, [esi + 0x2c]
push ebx
push eax
push dword [esi + 0x28]
push dword [ebp - 0x488]
call fcn.7dd7168a
push ebx
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x28]
push dword [ebp - 0x474]
call fcn.7dd7168a
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x490], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x4a0], ebx
je 0x7dd94b8b
jmp 0x7dda17f9
push dword [ebp - 0x488]
call fcn.7ddee077
test eax, eax
je 0x7dd94bbf
jmp 0x7dda1778
push dword [ebp - 0x474]
call fcn.7ddee077
test eax, eax
je 0x7dd94bcb
mov dword [ebp - 0x5a0], 1
jmp 0x7dd94bcb
mov dword [ebp - 0x4dc], 0x10
jmp 0x7dd94c4f
mov eax, dword [ebp - 0x498]
cmp eax, ebx
jne 0x7dda17a6
mov eax, dword [ebp - 0x474]
push dword [ebp - 0x568]
push eax
call fcn.7ddee4e1
push 0xc0000240
jmp 0x7dda05b9
mov dword [ebp - 0x4dc], 8
jmp 0x7dd94c4f
cmp dword [ebp - 0x498], ebx
jne 0x7dda062d
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda062d
push dword [ebp - 0x568]
push dword [ebp - 0x474]
call fcn.7ddee4e1
jmp 0x7dda062d
push dword [ebp - 0x488]
call fcn.7dd95145
test eax, eax
je 0x7dda1814
mov eax, dword [ebp - 0x4e4]
mov dword [eax], 0xf000
mov eax, dword [ebp - 0x4e4]
mov eax, dword [eax]
mov dword [ebp - 0x5b0], eax
mov esi, dword [ebp - 0x4e4]
jmp 0x7dd94d69
push ebx
push ebx
push 1
push ebx
call sub.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventA
mov dword [ebp - 0x68c], eax
cmp eax, ebx
je 0x7dda17cb
cmp dword [ebp - 0x538], ebx
jne 0x7dda188e
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x658], eax
mov eax, dword fs:[0x18]
mov esi, 0x1b8
push esi
push dword [ebp - 0x658]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x538], eax
cmp eax, ebx
je 0x7dda062d
push esi
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 6
pop ecx
lea esi, [ebp - 0x248]
mov edi, dword [ebp - 0x538]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4ec], 0x1000000
mov edi, dword [ebp - 0x4a8]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [edx]
sub ecx, dword [ebp - 0x490]
mov eax, dword [edx + 4]
sbb eax, dword [ebp - 0x48c]
cmp eax, ebx
jl 0x7dda18dc
jg 0x7dda18d4
cmp ecx, dword [ebp - 0x4ec]
jbe 0x7dda18dc
mov edx, dword [ebp - 0x4ec]
jmp 0x7dda18e4
mov edx, dword [edx]
sub edx, dword [ebp - 0x490]
mov dword [ebp - 0x494], edx
cmp edx, ebx
je 0x7dda1a3c
mov eax, dword [ebp - 0x538]
mov dword [eax + 0x18], ebx
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x5b4], edx
cmp edx, ebx
jbe 0x7dda196e
mov ecx, 0x100000
cmp edx, ecx
jb 0x7dda1916
mov edx, ecx
mov ecx, dword [eax + 0x18]
inc ecx
inc ecx
imul ecx, ecx, 0x18
mov dword [ecx + eax], edx
mov ecx, dword [eax + 0x18]
mov edx, ecx
shl edx, 0x14
xor esi, esi
add edx, dword [ebp - 0x490]
adc esi, dword [ebp - 0x48c]
imul ecx, ecx, 0x18
mov dword [ecx + eax + 0x20], edx
mov dword [ecx + eax + 0x24], esi
mov ecx, dword [eax + 0x18]
imul ecx, ecx, 0x18
add ecx, eax
mov edx, dword [ecx + 0x20]
mov dword [ecx + 0x28], edx
mov edx, dword [ecx + 0x24]
mov dword [ecx + 0x2c], edx
mov ecx, dword [eax + 0x18]
lea esi, [ecx + 2]
imul esi, esi, 0x18
mov edx, dword [ebp - 0x5b4]
sub edx, dword [esi + eax]
inc ecx
mov dword [eax + 0x18], ecx
jmp 0x7dda1901
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x5b8]
push eax
push 0xc
lea eax, [ebp - 0x6a8]
push eax
mov eax, dword [ebp - 0x538]
mov ecx, dword [eax + 0x18]
imul ecx, ecx, 0x18
add ecx, 0x20
push ecx
push eax
mov eax, dword [ebp - 0x4f8]
neg eax
sbb eax, eax
and eax, 0xffffbffc
add eax, 0x14841c
push eax
push dword [ebp - 0x474]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov dword [ebp - 0x478], eax
cmp eax, ebx
jne 0x7dda19ed
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dda19ed
push 1
lea eax, [ebp - 0x5b8]
push eax
lea eax, [ebp - 0x69c]
push eax
push dword [ebp - 0x474]
call fcn.7dd8ccbe
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], ebx
jne 0x7dda1a98
call fcn.7dd711c7
cmp eax, 0x57
jne 0x7dda1a34
cmp dword [ebp - 0x5c0], ebx
jne 0x7dda1a34
mov eax, dword [ebp - 0x6a4]
lea ecx, [eax - 0x10000]
cmp ecx, 0xf0000
ja 0x7dda1a34
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x5c0], 1
jmp 0x7dda18af
cmp dword [ebp - 0x478], ebx
jne 0x7dda1a98
cmp dword [ebp - 0x478], ebx
jne 0x7dd94f29
cmp dword [ebp - 0x510], ebx
je 0x7dda1a83
cmp dword [ebp - 0x498], ebx
jne 0x7dd94f33
call fcn.7dd711c7
cmp eax, 0x458
je 0x7dd94f33
cmp dword [ebp - 0x4a0], ebx
jne 0x7dd94f33
push dword [ebp - 0x568]
jmp 0x7dda0de6
mov dword [ebp - 0x478], 1
mov esi, dword [ebp - 0x4e4]
jmp 0x7dd94db5
mov eax, dword [ebp - 0x494]
add dword [ebp - 0x490], eax
adc dword [ebp - 0x48c], ebx
inc dword [ebp - 0x510]
cmp dword [ebp - 0x4a0], ebx
je 0x7dda1bd5
test byte [ebp - 0x510], 3
jne 0x7dda1ad3
mov eax, dword [ebp - 0x490]
or eax, dword [ebp - 0x48c]
jne 0x7dda1af6
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x490]
cmp ecx, dword [eax]
jne 0x7dda1bd5
mov ecx, dword [ebp - 0x48c]
cmp ecx, dword [eax + 4]
jne 0x7dda1bd5
mov eax, dword [ebp - 0x498]
cmp eax, ebx
jne 0x7dda1b06
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda05b8
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x624], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x620], eax
push ebx
push ebx
push ebx
push dword [ebp - 0x4d4]
call fcn.7dd7168a
mov esi, dword [ebp - 0x4f4]
mov eax, dword [ebp - 0x490]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x48c]
mov dword [esi + 0x2c], eax
push 0x1a
push esi
call fcn.7ddedf99
mov dword [esi + 0x34], eax
push ebx
lea eax, [ebp - 0x664]
push eax
push 0x38
push esi
push dword [ebp - 0x4d4]
call sub.API_MS_Win_Core_File_L1_1_0.dll_WriteFile
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd94f33
cmp dword [ebp - 0x664], 0x38
jne 0x7dd94f33
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda05b8
push ebx
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x4d4]
call fcn.7dd7168a
cmp edi, ebx
je 0x7dda18af
cmp dword [edi + 0x1c], ebx
je 0x7dda1c6b
mov eax, dword [ebp - 0x494]
add dword [edi + 8], eax
adc dword [edi + 0xc], ebx
call sub.ntdll.dll_RtlGetCurrentTransaction
mov dword [ebp - 0x54c], eax
push ebx
call sub.ntdll.dll_RtlSetCurrentTransaction
mov dword [ebp - 4], 2
push dword [edi + 0x18]
push dword [ebp - 0x474]
push dword [ebp - 0x488]
push ebx
push dword [edi + 0x10]
push dword [ebp - 0x48c]
push dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
push dword [eax + 4]
push dword [eax]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call dword [edi + 0x1c]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], ebx
call fcn.7dda1c5f
jmp 0x7dda1c71
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dda1c86
cmp dword [edi + 0x14], ebx
je 0x7dda1c9f
mov eax, dword [edi + 0x14]
cmp dword [eax], ebx
je 0x7dda1c9f
cmp dword [ebp - 0x498], ebx
jne 0x7dda1c9f
push dword [ebp - 0x568]
push dword [ebp - 0x474]
jmp 0x7dda17ad
cmp dword [ebp - 0x4ac], 2
je 0x7dda17b2
cmp dword [ebp - 0x4ac], 3
jne 0x7dda18af
xor edi, edi
mov dword [ebp - 0x4a8], edi
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dda18af
mov dword [ebp - 0x478], ebx
push 0x54f
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd95613
mov dword [ebp - 0x494], eax
add dword [ebp - 0x490], eax
adc dword [ebp - 0x48c], ebx
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x594], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x590], eax
push 0x14
push 8
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
cmp eax, ebx
jge 0x7dd94e69
push eax
mov dword [ebp - 0x478], ebx
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd95613
push dword [ebp - 0x568]
push dword [ebp - 0x474]
call fcn.7ddee4e1
push 0xc0000240
jmp 0x7dda1d35
xor edi, edi
mov dword [ebp - 0x4a8], edi
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dd94eb3
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x26
jne 0x7dd95613
xor eax, eax
inc eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x55c], eax
jmp 0x7dd95613
mov edx, dword [ebp - 0x4f0]
lea ecx, [edx + eax - 1]
dec edx
not edx
and ecx, edx
jmp 0x7dd95471
sub ecx, eax
push ecx
push ebx
mov ecx, dword [esi + 0xc]
imul ecx, dword [ebp - 0x4ec]
add ecx, eax
add ecx, dword [ebp - 0x520]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x494]
mov ecx, dword [ebp - 0x4d8]
jmp 0x7dd9547f
mov dword [ebp - 0x544], ecx
jmp 0x7dd95498
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x3e5
je 0x7dda1e1f
mov dword [esi + 8], 3
mov dword [esi + 4], esi
mov dword [esi], esi
jmp 0x7dd9553b
mov dword [ebp - 0x478], 1
jmp 0x7dd95511
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x26
je 0x7dda1d99
cmp eax, 0x3e5
jne 0x7dd95613
mov dword [ebp - 0x478], 1
jmp 0x7dd955e4
mov dword [ebp - 0x4a4], ebx
push 3
pop esi
mov eax, dword [ebp - 0x4a4]
cmp eax, dword [ebp - 0x4dc]
jae 0x7dd94eff
mov edi, eax
imul edi, edi, 0x30
add edi, dword [ebp - 0x534]
mov dword [ebp - 0x550], edi
cmp dword [edi + 8], esi
je 0x7dda1eb2
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
push 1
lea eax, [ebp - 0x494]
push eax
lea eax, [edi + 0x1c]
push eax
push ebx
call fcn.7dd8ccbe
mov dword [edi + 8], esi
mov dword [edi + 4], edi
mov dword [edi], edi
inc dword [ebp - 0x4a4]
jmp 0x7dda1e65
cmp dword [ebp - 0x498], ebx
jne 0x7dd94f29
jmp 0x7dda1a6c
mov eax, dword [esi]
mov dword [ebp - 0x4ec], eax
push ebx
lea ecx, [ebp - 0x494]
push ecx
push eax
push dword [ebp - 0x520]
push dword [ebp - 0x488]
call sub.API_MS_Win_Core_File_L1_1_0.dll_ReadFile
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd94f1d
cmp dword [ebp - 0x494], ebx
je 0x7dd94f1d
push ebx
lea eax, [ebp - 0x494]
push eax
push dword [ebp - 0x494]
push dword [ebp - 0x520]
push dword [ebp - 0x474]
call sub.API_MS_Win_Core_File_L1_1_0.dll_WriteFile
test eax, eax
je 0x7dda1a50
mov eax, dword [ebp - 0x494]
add dword [ebp - 0x490], eax
adc dword [ebp - 0x48c], ebx
inc dword [ebp - 0x510]
cmp dword [ebp - 0x4a0], ebx
je 0x7dda205c
test byte [ebp - 0x510], 3
jne 0x7dda1f69
mov eax, dword [ebp - 0x490]
or eax, dword [ebp - 0x48c]
jne 0x7dda1f8c
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x490]
cmp ecx, dword [eax]
jne 0x7dda205c
mov ecx, dword [ebp - 0x48c]
cmp ecx, dword [eax + 4]
jne 0x7dda205c
cmp dword [ebp - 0x498], ebx
mov esi, dword [ebp - 0x498]
jne 0x7dda1fa0
mov esi, dword [ebp - 0x474]
lea eax, [ebp - 0x4d0]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda05b8
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x65c], eax
push ebx
push ebx
push ebx
push esi
call fcn.7dd7168a
mov ecx, dword [ebp - 0x490]
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x48c]
mov dword [eax + 0x2c], ecx
push 0x1a
push eax
call fcn.7ddedf99
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0x34], eax
push ebx
lea eax, [ebp - 0x654]
push eax
push 0x38
push ecx
push esi
call sub.API_MS_Win_Core_File_L1_1_0.dll_WriteFile
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd94f33
cmp dword [ebp - 0x654], 0x38
jne 0x7dd94f33
lea eax, [ebp - 0x4d0]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda05b8
push ebx
lea eax, [ebp - 0x65c]
push eax
push dword [ebp - 0x660]
push esi
call fcn.7dd7168a
mov esi, dword [ebp - 0x4e4]
cmp edi, ebx
je 0x7dda1ecb
cmp dword [edi + 0x1c], ebx
je 0x7dda20f8
mov eax, dword [ebp - 0x494]
add dword [edi + 8], eax
adc dword [edi + 0xc], ebx
call sub.ntdll.dll_RtlGetCurrentTransaction
mov dword [ebp - 0x54c], eax
push ebx
call sub.ntdll.dll_RtlSetCurrentTransaction
mov dword [ebp - 4], 4
push dword [edi + 0x18]
push dword [ebp - 0x474]
push dword [ebp - 0x488]
push ebx
push dword [edi + 0x10]
push dword [ebp - 0x48c]
push dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
push dword [eax + 4]
push dword [eax]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call dword [edi + 0x1c]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 4], ebx
call fcn.7dda20ec
jmp 0x7dda20fe
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dda2113
cmp dword [edi + 0x14], ebx
je 0x7dda211f
mov eax, dword [edi + 0x14]
cmp dword [eax], ebx
je 0x7dda211f
cmp dword [ebp - 0x498], ebx
je 0x7dda1c8e
cmp dword [ebp - 0x4ac], 2
je 0x7dda17b2
cmp dword [ebp - 0x4ac], 3
jne 0x7dda1ecb
xor edi, edi
mov dword [ebp - 0x4a8], edi
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dda1ecb