Function at 0x7dd9438b
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 0x7dd94866
push 0x720
push 0x7dd94c98
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 0x7dd944d4
cmp dword [edx + 4], ebx
jg 0x7dd944d4
jl 0x7dd991d3
cmp dword [edx], 0x400
jb 0x7dd991d3
mov dword [esi], 0x10000
mov eax, dword fs:[0x18]
mov ecx, eax
mov eax, 0xc00
add ecx, eax
cmp dword [ebp - 0x540], ecx
je 0x7dda03f8
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 0x7dd991de
mov ecx, dword [ebp - 0x568]
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x498], ebx
jne 0x7dd991e9
cmp eax, ebx
jl 0x7dda0421
mov esi, dword [ebp - 0x4c4]
mov eax, dword [esi]
mov edi, eax
shr edi, 1
and edi, 1
mov dword [ebp - 0x4a0], edi
jne 0x7dda042e
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x498], ebx
jne 0x7dda118a
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x500], ebx
mov dword [ebp - 0x508], ebx
mov dword [ebp - 0x4e8], ebx
cmp edi, ebx
jne 0x7dda044d
cmp dword [ebp - 0x474], 0xffffffff
jne 0x7dda1126
cmp edi, ebx
jne 0x7dda04bb
mov eax, dword [0x7de40030]
mov dword [ebp - 0x47c], ebx
mov edi, dword [ebp - 0x49c]
and edi, 0x10
jne 0x7dda04c8
or eax, 0x44
mov dword [ebp - 0x47c], eax
test dword [esi], 0x1000
jne 0x7dda04d7
mov eax, dword [esi]
test eax, 0x140
jne 0x7dda04e3
cmp edi, ebx
jne 0x7dda04f2
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 0x7dda0501
test al, 0x10
jne 0x7dda051a
test al, 0x40
jne 0x7dda0529
test al, 0x20
jne 0x7dda0538
or dword [ebp - 0x4b0], 0xffffffff
cmp dword [ebp + 0x34], ebx
jne 0x7dda0551
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 0x7dda0588
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 0x7dda0593
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 0x7dd94738
mov eax, dword [ebp - 0x62c]
cmp eax, ebx
jne 0x7dda05b3
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.7dd740e7
mov dword [ebp - 0x4f0], eax
cmp eax, ebx
jne 0x7dda068a
and dword [ebp - 0x49c], 0xffffefff
test byte [ebp - 0x49c], 0x10
jne 0x7dd947a6
mov eax, 0x4000
test dword [ebp - 0x49c], eax
jne 0x7dda06d5
test dword [ebp - 0x480], 0x80000000
jne 0x7dda075c
test byte [ebp - 0x480], 1
jne 0x7dda075c
cmp dword [ebp - 0x474], ebx
je 0x7dd947d8
cmp dword [ebp - 0x474], 0xffffffff
jne 0x7dd948f7
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 0x7dd9435e
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 0x7dd95c12
mov dword [ebp - 0x4f8], 1
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x480], eax
cmp esi, ebx
jl 0x7dd95c3c
mov eax, dword [ebp - 0x49c]
and eax, 0x10
mov dword [ebp - 0x4d8], eax
jne 0x7dda0969
cmp eax, ebx
jne 0x7dda0a4a
cmp dword [ebp - 0x4a0], ebx
jne 0x7dd948f7
test byte [ebp - 0x47c], 8
jne 0x7dd948f7
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 0x7dda0a87
test byte [ebp - 0x67c], 0x10
jne 0x7dda0ae0
mov dword [ebp - 0x53c], 1
test byte [ebp - 0x47c], 0x20
je 0x7dd95240
test byte [ebp - 0x568], 1
jne 0x7dda0ba5
cmp dword [ebp - 0x58c], ebx
jne 0x7dda0c43
cmp dword [ebp + 0x34], ebx
jne 0x7dda0ca3
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 0x7dd94948
mov eax, dword [ebp - 0x470]
mov dword [edi], eax
cmp dword [ebp - 0x4f0], ebx
jne 0x7dd9497e
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 0x7dd9497e
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 0x7dda0bd9
test byte [ebp - 0x470], 8
je 0x7dd949be
mov eax, dword [ebp - 0x4c4]
mov eax, dword [eax]
test al, 0x70
jne 0x7dda0d28
mov eax, dword [ebp - 0x4c4]
mov eax, dword [eax]
test al, 0x10
jne 0x7dda0dc6
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.7dd9571d
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd94f13
test byte [ebp - 0x49c], 0x10
jne 0x7dda0ebf
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda152b
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
jne 0x7dda1565
mov dword [ebp - 0x4f0], 1
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x474]
push dword [ebp - 0x488]
call fcn.7dd951b9
mov dword [ebp - 0x5bc], eax
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda1616
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 0x7dd99212
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
jne 0x7dda162a
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 0x7dda1679
mov dword [ebp - 0x490], ebx
mov dword [ebp - 0x48c], ebx
cmp esi, ebx
je 0x7dd94b54
cmp dword [esi + 0x1c], ebx
jne 0x7dd993c3
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dda1766
cmp dword [esi + 0x14], ebx
je 0x7dd94b3a
mov eax, dword [esi + 0x14]
cmp dword [eax], ebx
jne 0x7dda1766
cmp dword [ebp - 0x4ac], 2
je 0x7dda1782
cmp dword [ebp - 0x4ac], 3
je 0x7dda16be
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x7dd94f09
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda16d1
mov dword [ebp - 0x5a0], ebx
push dword [ebp - 0x488]
call fcn.7dd95125
mov dword [ebp - 0x4e0], eax
push dword [ebp - 0x474]
call fcn.7dd95125
mov dword [ebp - 0x4d8], eax
cmp dword [ebp - 0x4e0], ebx
jne 0x7dda1720
cmp dword [ebp - 0x4d8], ebx
jne 0x7dda1735
lea eax, [ebp - 0x4dc]
push eax
mov esi, dword [ebp - 0x4e4]
push esi
call fcn.7dd95609
cmp dword [esi], ebx
jne 0x7dd94be1
lea eax, [ebp - 0x494]
push eax
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0x5a0]
call fcn.7dd95162
mov eax, dword [ebp - 0x494]
mov dword [esi], eax
cmp dword [ebp - 0x4dc], ebx
jne 0x7dd94c2f
cmp dword [ebp - 0x5a0], ebx
jne 0x7dda1757
mov ecx, dword [esi]
mov edx, dword [edi]
mov edi, dword [edi + 4]
mov eax, ecx
imul eax, eax, 7
cmp edi, ebx
jg 0x7dda178c
jl 0x7dd94c13
cmp edx, eax
ja 0x7dda178c
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 0x7dd94c57
cmp dword [ebp - 0x4e0], ebx
jne 0x7dd94c57
cmp dword [ebp - 0x4d8], ebx
jne 0x7dd94c57
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 0x7dd94ce4
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 0x7dd94c70
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 0x7dda179b
mov dword [ebp - 0x4a4], ebx
mov eax, dword [ebp - 0x4dc]
cmp dword [ebp - 0x4a4], eax
jb 0x7dd95288
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 0x7dda179b
cmp dword [ebp - 0x5bc], ebx
jne 0x7dda17fd
mov edi, dword [ebp - 0x4a8]
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda1e9b
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.7dd95380
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd952f2
mov esi, dword [ebp - 0x550]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ebx
je 0x7dd9555d
dec eax
je 0x7dd9540f
dec eax
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [eax + 4], ecx
jne 0x7dda1c9e
push 1
lea eax, [ebp - 0x494]
push eax
lea eax, [esi + 0x1c]
push eax
push ebx
call fcn.7dd8cc96
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dd955f3
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x494]
cmp ecx, eax
ja 0x7dda1cb4
add dword [ebp - 0x490], ecx
adc dword [ebp - 0x48c], ebx
cmp edi, ebx
je 0x7dd94e93
cmp dword [edi + 0x1c], ebx
jne 0x7dd9942b
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dd9921d
cmp dword [edi + 0x14], ebx
je 0x7dd94e79
mov eax, dword [edi + 0x14]
cmp dword [eax], ebx
jne 0x7dd9921d
cmp dword [ebp - 0x4ac], 2
je 0x7dda1d39
cmp dword [ebp - 0x4ac], 3
je 0x7dda1d40
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 0x7dd94dbf
cmp dword [ebp - 0x478], ebx
je 0x7dda1e2c
cmp dword [ebp - 0x52c], 0x458
je 0x7dd94f13
cmp dword [ebp - 0x478], ebx
je 0x7dda1e8a
push ebx
call sym.KERNEL32.dll_BaseSetLastNTError
cmp dword [ebp - 0x478], ebx
je 0x7dda1e8a
mov dword [ebp - 0x504], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd94f32
mov eax, dword [ebp - 0x504]
call fcn.7dd72630
ret 0x38
test byte [ebp - 0x568], 1
jne 0x7dda0beb
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 0x7dd947c3
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 0x7dda179b
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 0x7dd94d2c
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x103
jne 0x7dd94ed3
mov dword [ebp - 0x478], 1
jmp 0x7dd94ed3
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.7dd8cc96
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x7dda1d55
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x1000
mov eax, dword [ebp - 0x494]
jne 0x7dda1d7d
mov ecx, eax
mov dword [ebp - 0x4d8], ecx
cmp ecx, eax
ja 0x7dda1d91
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x53c], ebx
mov dword [ebp - 0x544], 0x10000
je 0x7dda1dc1
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 0x7dd954a4
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 0x7dda1dcc
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 0x7dd9922e
cmp dword [ebp - 0x478], ebx
je 0x7dda1e2c
cmp dword [ebp - 0x53c], ebx
je 0x7dd95538
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 0x7dd94ec7
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp dword [ebp - 0x55c], ebx
jne 0x7dd955e9
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x4b4]
cmp ecx, dword [eax + 4]
jg 0x7dd955e9
jl 0x7dd95583
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax]
jae 0x7dd955e9
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 0x7dda1dfe
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 0x7dd94ec7
mov dword [ebp - 0x55c], 1
mov dword [esi + 8], 3
mov dword [esi + 4], esi
mov dword [esi], esi
jmp 0x7dd94ec7
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 0x7dd9435e
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 0x7dd99201
cmp esi, 0xc0000035
jne 0x7dd99201
push 0x50
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
or dword [ebp - 0x474], 0xffffffff
jmp 0x7dd94f13
mov dword [ebp - 0x4d4], ebx
jmp 0x7dd944d4
mov dword [ebp - 0x49c], ebx
jmp 0x7dd94527
mov dword [ebp - 0x568], ebx
jmp 0x7dd9453b
cmp eax, ebx
jne 0x7dd94585
jmp 0x7dd94f13
cmp esi, 0xc00000ba
je 0x7dda076b
jmp 0x7dda077e
mov esi, dword [ebp - 0x4a8]
jmp 0x7dd94afe
cmp dword [ebp - 0x498], ebx
je 0x7dda1d28
jmp 0x7dd94e79
mov ecx, dword [ebp - 0x4d8]
jmp 0x7dd95490
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.7dd9941f
jmp 0x7dd94b1d
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.7dd9949f
jmp 0x7dd94e5c
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 0x7dd944f5
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd94f25
test byte [ebp - 0x49c], 0x10
je 0x7dd94556
xor edi, edi
mov dword [ebp - 0x4a0], edi
and eax, 0xfffffffd
mov dword [esi], eax
jmp 0x7dd94556
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.7ddeec91
mov dword [ebp - 0x478], eax
cmp eax, 2
jne 0x7dd991f4
push dword [ebp - 0x488]
call fcn.7dd95125
test eax, eax
je 0x7dda04ac
mov eax, dword [ebp - 0x4e4]
mov dword [eax], 0xf000
mov dword [ebp - 0x504], 2
jmp 0x7dd94f13
push 0x20
pop eax
mov dword [0x7de40030], eax
jmp 0x7dd9459f
mov dword [ebp - 0x47c], 0x4021
jmp 0x7dd945c9
or dword [ebp - 0x47c], 8
jmp 0x7dd945c9
or dword [ebp - 0x47c], 0x4000
jmp 0x7dd945d6
mov esi, eax
not esi
and esi, 1
or esi, 2
jmp 0x7dd945f0
mov dword [ebp - 0x484], 0x110080
mov dword [ebp - 0x484], 0x110193
jmp 0x7dd94608
or dword [ebp - 0x484], 0x80040000
jmp 0x7dd94610
or dword [ebp - 0x484], 0x80000
jmp 0x7dd94618
mov ecx, 0x1000000
test dword [ebp + 0x10], ecx
je 0x7dd94620
or dword [ebp - 0x484], ecx
jmp 0x7dd94620
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 0x7dd94630
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd94f13
cmp eax, 0xc0000017
je 0x7dda05a8
cmp eax, 0xc000009a
je 0x7dda05a8
push 3
jmp 0x7dd95c65
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd95c6b
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 0x7dda0604
push 0xc0000017
jmp 0x7dda0589
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 0x7dda0653
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 0x7dda05b9
cmp dword [ebp - 0x4c8], 0xc0000023
je 0x7dda05b9
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x518], eax
mov esi, dword [ebp - 0x4b8]
jmp 0x7dd94738
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 0x7dda06b1
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 0x7dd94782
push 0xc0000022
jmp 0x7dda0589
test dword [ebp - 0x4b0], eax
je 0x7dd947a6
cmp esi, 2
je 0x7dda06ef
cmp esi, 5
jne 0x7dd947a6
lea eax, [ebp - 0x5a4]
push eax
push esi
call fcn.7ddee2e9
cmp eax, ebx
jge 0x7dda070b
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd947a6
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 0x7dda074d
push eax
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd947a6
mov dword [ebp - 0x4b8], 1
jmp 0x7dd947a6
mov dword [ebp - 0x4f8], 1
jmp 0x7dd947c3
cmp dword [ebp - 0x618], ebx
jne 0x7dda05a1
push 5
jmp 0x7dd95c65
test al, al
jns 0x7dda07dd
cmp esi, 0xc0000103
jne 0x7dda07dd
cmp ecx, ebx
jne 0x7dda07dd
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 pe_overlay
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, ebx
jl 0x7dda05a8
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebp - 0x474], 0xffffffff
jmp 0x7dd947c3
call fcn.7dd711c7
cmp eax, 0x20
je 0x7dda07f1
call fcn.7dd711c7
cmp eax, 5
jne 0x7dda0826
mov ecx, dword [ebp - 0x4c0]
push 3
pop eax
and ecx, eax
cmp cl, al
je 0x7dda080b
mov dword [ebp - 0x4c0], eax
jmp 0x7dd947c3
test dword [ebp - 0x480], 0x10000
je 0x7dda0826
and dword [ebp - 0x480], 0xfffeffff
jmp 0x7dd947c3
cmp dword [ebp - 0x500], ebx
je 0x7dda0863
call fcn.7dd711c7
cmp eax, 0x11a
jne 0x7dda0863
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 0x7dd947c3
call fcn.7dd711c7
cmp eax, 5
jne 0x7dda08b8
test dword [ebp - 0x480], 0xc0000
je 0x7dda08b8
mov eax, 0x40000
test dword [ebp - 0x480], eax
je 0x7dda0892
and dword [ebp - 0x480], 0xfffbffff
jmp 0x7dda0858
test dword [ebp - 0x480], 0x80000
je 0x7dda0858
and dword [ebp - 0x480], 0xfff7ffff
mov ecx, dword [ebp - 0x484]
and ecx, eax
or dword [ebp - 0x480], ecx
jmp 0x7dda0858
mov eax, 0x4000
test dword [ebp - 0x49c], eax
je 0x7dda08e8
test dword [ebp - 0x4b0], eax
je 0x7dda08e8
and dword [ebp - 0x4b0], 0xffffbfff
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x47c], eax
jmp 0x7dda084c
call fcn.7dd711c7
cmp eax, 0x57
je 0x7dda08fe
call fcn.7dd711c7
cmp eax, 0xb7
jne 0x7dda0923
test byte [ebp - 0x49c], 0x10
je 0x7dd95c6b
cmp dword [ebp - 0x4b8], 3
jne 0x7dda0923
mov dword [ebp - 0x4b8], edi
or dword [ebp - 0x4b0], 0xffffffff
jmp 0x7dda08d7
test byte [ebp - 0x49c], 0x10
je 0x7dd95c6b
test byte [ebp - 0x480], 2
je 0x7dd95c6b
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 0x7dda0858
cmp dword [ebp - 0x4b8], 1
jne 0x7dd94883
test byte [ebp - 0x480], 2
je 0x7dd94883
test byte [ebp - 0x47c], 1
je 0x7dd94883
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 0x7dd9488b
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 0x7dd9488b
or dword [ebp - 0x474], 0xffffffff
jmp 0x7dda0588
cmp dword [ebp - 0x4b8], 3
jne 0x7dd9488b
cmp dword [ebp - 0x4f0], ebx
jne 0x7dd9488b
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 0x7dda0a99
push ebx
push dword [ebp - 0x474]
call fcn.7ddee669
push edi
jmp 0x7dda0589
test byte [ebp - 0x710], 0x10
jne 0x7dd9488b
push dword [ebp - 0x710]
push dword [ebp - 0x474]
call fcn.7ddee669
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 0x7dd947c3
test dword [ebp - 0x67c], 0x1000
jne 0x7dd948d3
mov dword [ebp - 0x53c], ebx
test byte [ebp - 0x47c], 0x20
je 0x7dda0b95
test byte [ebp - 0x568], 1
je 0x7dda0b5b
test byte [ebp - 0x4b0], 1
je 0x7dda0b5b
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 0x7dda0a87
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 0x7dd947c3
push dword [ebp - 0x474]
call fcn.7ddee15f
jmp 0x7dd948ea
test byte [ebp - 0x4b0], 1
jne 0x7dd948f7
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 0x7dd948f7
push ebx
push dword [ebp - 0x474]
call fcn.7ddee669
push esi
jmp 0x7dda0589
test byte [ebp - 0x4b0], 1
je 0x7dd9524d
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 0x7dda0a87
or dword [ebp - 0x568], 1
and dword [ebp - 0x4b0], 0xfffffffe
jmp 0x7dd9524d
mov eax, dword [ebp - 0x4c4]
test byte [eax], 0x10
je 0x7dd94903
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.7dd90605
test eax, eax
jne 0x7dd94903
cmp dword [ebp - 0x514], ebx
je 0x7dda0c92
push ebx
push dword [ebp - 0x474]
call fcn.7ddee669
push dword [ebp - 0x474]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x7dd95c6b
cmp dword [ebp - 0x474], 0xffffffff
je 0x7dd9490c
push ebx
push ebx
push ebx
push ebx
call fcn.7dd7181b
mov esi, eax
cmp esi, ebx
je 0x7dd94f13
push esi
push dword [ebp - 0x474]
push dword [ebp - 0x488]
call fcn.7ddee6e1
mov edi, eax
push esi
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
cmp edi, ebx
jne 0x7dd9490c
mov eax, dword [ebp - 0x4c4]
test byte [eax], 1
je 0x7dda0d15
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 0x7dd94f13
mov dword [ebp - 0x524], ebx
test al, 0x10
je 0x7dda0d43
test eax, 0x400
jne 0x7dda0d43
mov dword [ebp - 0x524], 4
test al, 0x20
je 0x7dda0d4e
or dword [ebp - 0x524], 8
test al, 0x40
je 0x7dda0d59
or dword [ebp - 0x524], 3
cmp dword [ebp - 0x524], ebx
je 0x7dd949be
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.7dd91046
test eax, eax
jne 0x7dd949be
cmp dword [ebp - 0x514], ebx
je 0x7dd94f13
push ebx
push dword [ebp - 0x474]
call fcn.7ddee669
jmp 0x7dd94f13
xor esi, esi
mov dword [ebp - 0x560], ebx
test dword [ebp - 0x4e8], 0x800
je 0x7dda0ddb
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 0x7dda0eaf
lea eax, [ebp - 0x4a8]
push eax
mov eax, dword [ebp - 0x4c4]
cmp esi, ebx
je 0x7dda0e39
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.7ddeef4d
jmp 0x7dda0e8a
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.7dd9571d
mov dword [ebp - 0x478], eax
cmp eax, ebx
jne 0x7dda0ea4
push dword [ebp - 0x4e0]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd94f13
inc dword [ebp - 0x560]
jmp 0x7dda0df0
push dword [ebp - 0x4e0]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd94a30
mov eax, dword [ebp - 0x4c4]
test dword [eax], 0x200
je 0x7dda1093
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 0x7dda05fd
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 0x7dda0f57
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 0x7dda0f74
cmp dword [ebp - 0x4cc], ebx
jne 0x7dda0f7a
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 0x7dda0ee2
cmp dword [ebp - 0x4c8], 0xc0000023
je 0x7dda0ee2
cmp dword [ebp - 0x4bc], ebx
je 0x7dda1093
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 pe_overlay
lea eax, [ebp - 0x5ac]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [ebp - 0x4c8], eax
cmp eax, ebx
jge 0x7dda1068
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.7ddee669
push dword [ebp - 0x4c8]
jmp 0x7dda0589
push dword [ebp - 0x5ac]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [edi]
cmp eax, ebx
jne 0x7dda1178
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 0x7dda1126
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 0x7dda0bd9
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 0x7dda0bd9
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x4e8], eax
test byte [ebp - 0x49c], 0x10
je 0x7dd94a3d
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.7dd90605
test eax, eax
jne 0x7dda117f
mov dword [ebp - 0x504], ebx
jmp 0x7dda0da9
add edi, eax
jmp 0x7dda0fac
mov dword [ebp - 0x504], esi
jmp 0x7dd94f13
push dword [ebp - 0x4bc]
lea eax, [ebp - 0x5d0]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
cmp eax, ebx
jl 0x7dda0588
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 0x7dda1214
mov edx, dword [eax + 0x28]
or edx, dword [eax + 0x2c]
mov dword [ebp - 0x4fc], 1
jne 0x7dda1214
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 0x51c], 0x24
mov dword [ebp - 0x484], 0x40100000
cmp dword [ebp + 0x34], ebx
je 0x7dda125b
mov dword [ebp - 0x51c], 0x200024
mov dword [ebp - 0x484], 0xc0100000
cmp esi, ebx
je 0x7dda1251
cmp edi, ebx
je 0x7dda1251
mov ecx, dword [eax + 0x28]
or ecx, dword [eax + 0x2c]
jne 0x7dda125b
mov dword [ebp - 0x4fc], 3
test dword [ebp - 0x484], 0x80000000
jne 0x7dda1270
test byte [ebp - 0x484], 1
je 0x7dda127a
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 0x7dda1307
mov edi, dword [ebp - 0x484]
or edi, 1
push edi
push eax
call esi
mov dword [ebp - 0x4c8], eax
cmp eax, ebx
jl 0x7dda12dc
mov dword [ebp - 0x4f8], 1
mov dword [ebp - 0x484], edi
jmp 0x7dda1316
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 0x7dda14e0
push dword [ebp - 0x4c8]
call sym.KERNEL32.dll_BaseSetLastNTError
cmp dword [ebp - 0x4c8], 0xc0000033
jne 0x7dda1395
mov eax, dword [ebp - 0x5cc]
movzx eax, word [eax + 2]
cmp ax, 0x1f
ja 0x7dda1395
xor edi, edi
inc edi
cmp ax, di
jb 0x7dda1395
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 0x7dda137e
cmp eax, 0x80000005
jne 0x7dda0588
test dword [ebp - 0x258], 0x10000
jne 0x7dda1395
mov dword [ebp - 0x504], edi
jmp 0x7dd94f13
cmp dword [ebp - 0x4c8], 0xc0000022
jne 0x7dda105d
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 0x7dda0588
mov eax, dword [ebp - 0x568]
test al, 1
je 0x7dd94f13
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 0x7dda148f
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 0x7dda1478
mov dword [ebp - 0x4f8], 1
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x484], eax
jmp 0x7dda14ae
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 0x7dda0a93
mov dword [ebp - 0x53c], 1
cmp dword [ebp + 0x34], ebx
je 0x7dd94a3d
mov eax, dword [ebp - 0x4c4]
test byte [eax], 1
je 0x7dda1518
cmp dword [ebp - 0x4a0], ebx
je 0x7dda1518
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0x28]
or ecx, dword [eax + 0x2c]
jne 0x7dd94a3d
push ebx
push ebx
push ebx
push dword [ebp - 0x474]
call fcn.7dd7168a
jmp 0x7dd94a3d
push dword [ebp - 0x488]
call fcn.7dd95125
test eax, eax
jne 0x7dd94a49
push dword [ebp - 0x474]
call fcn.7dd95125
test eax, eax
jne 0x7dd94a49
mov eax, dword [ebp - 0x4c4]
and dword [eax], 0xfffffffd
mov dword [ebp - 0x4a0], ebx
jmp 0x7dd94a49
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 0x7dda15ae
cmp dword [ebp - 0x498], ebx
jne 0x7dda0be5
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda0be5
push dword [ebp - 0x568]
jmp 0x7dda0bda
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 0x7dda15fd
cmp dword [ebp - 0x498], ebx
jne 0x7dda0a93
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda0a93
push dword [ebp - 0x568]
jmp 0x7dda0a88
mov eax, dword [ebp - 0x6ec]
cmp eax, esi
jbe 0x7dd94a65
mov dword [ebp - 0x4f0], eax
jmp 0x7dd94a65
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0x28]
or ecx, dword [eax + 0x2c]
je 0x7dd94a8f
jmp 0x7dda16a0
cmp dword [ebp - 0x5bc], ebx
jne 0x7dd94abc
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 0x7dd94acd
push ecx
call sym.KERNEL32.dll_BaseSetLastNTError
push dword [ebp - 0x568]
push dword [ebp - 0x474]
call fcn.7ddee669
push dword [ebp - 0x474]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd95c6b
mov edi, dword [ebp - 0x4b4]
jmp 0x7dd99212
mov dword [ebp - 0x4a8], ebx
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dd94b54
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 0x7dd94b6b
jmp 0x7dda17c9
push dword [ebp - 0x488]
call fcn.7ddee1ff
test eax, eax
je 0x7dd94b9f
jmp 0x7dda1748
push dword [ebp - 0x474]
call fcn.7ddee1ff
test eax, eax
je 0x7dd94bab
mov dword [ebp - 0x5a0], 1
jmp 0x7dd94bab
mov dword [ebp - 0x4dc], 0x10
jmp 0x7dd94c2f
mov eax, dword [ebp - 0x498]
cmp eax, ebx
jne 0x7dda1776
mov eax, dword [ebp - 0x474]
push dword [ebp - 0x568]
push eax
call fcn.7ddee669
push 0xc0000240
jmp 0x7dda0589
mov dword [ebp - 0x4dc], 8
jmp 0x7dd94c2f
cmp dword [ebp - 0x498], ebx
jne 0x7dda05fd
cmp dword [ebp - 0x4a0], ebx
jne 0x7dda05fd
push dword [ebp - 0x568]
push dword [ebp - 0x474]
call fcn.7ddee669
jmp 0x7dda05fd
push dword [ebp - 0x488]
call fcn.7dd95125
test eax, eax
je 0x7dda17e4
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 0x7dd94d49
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 0x7dda179b
cmp dword [ebp - 0x538], ebx
jne 0x7dda185e
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 0x7dda05fd
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 0x7dda18ac
jg 0x7dda18a4
cmp ecx, dword [ebp - 0x4ec]
jbe 0x7dda18ac
mov edx, dword [ebp - 0x4ec]
jmp 0x7dda18b4
mov edx, dword [edx]
sub edx, dword [ebp - 0x490]
mov dword [ebp - 0x494], edx
cmp edx, ebx
je 0x7dda1a0c
mov eax, dword [ebp - 0x538]
mov dword [eax + 0x18], ebx
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x5b4], edx
cmp edx, ebx
jbe 0x7dda193e
mov ecx, 0x100000
cmp edx, ecx
jb 0x7dda18e6
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 0x7dda18d1
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 0x7dda19bd
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dda19bd
push 1
lea eax, [ebp - 0x5b8]
push eax
lea eax, [ebp - 0x69c]
push eax
push dword [ebp - 0x474]
call fcn.7dd8cc96
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], ebx
jne 0x7dda1a68
call fcn.7dd711c7
cmp eax, 0x57
jne 0x7dda1a04
cmp dword [ebp - 0x5c0], ebx
jne 0x7dda1a04
mov eax, dword [ebp - 0x6a4]
lea ecx, [eax - 0x10000]
cmp ecx, 0xf0000
ja 0x7dda1a04
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x5c0], 1
jmp 0x7dda187f
cmp dword [ebp - 0x478], ebx
jne 0x7dda1a68
cmp dword [ebp - 0x478], ebx
jne 0x7dd94f09
cmp dword [ebp - 0x510], ebx
je 0x7dda1a53
cmp dword [ebp - 0x498], ebx
jne 0x7dd94f13
call fcn.7dd711c7
cmp eax, 0x458
je 0x7dd94f13
cmp dword [ebp - 0x4a0], ebx
jne 0x7dd94f13
push dword [ebp - 0x568]
jmp 0x7dda0db6
mov dword [ebp - 0x478], 1
mov esi, dword [ebp - 0x4e4]
jmp 0x7dd94d95
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 0x7dda1ba5
test byte [ebp - 0x510], 3
jne 0x7dda1aa3
mov eax, dword [ebp - 0x490]
or eax, dword [ebp - 0x48c]
jne 0x7dda1ac6
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x490]
cmp ecx, dword [eax]
jne 0x7dda1ba5
mov ecx, dword [ebp - 0x48c]
cmp ecx, dword [eax + 4]
jne 0x7dda1ba5
mov eax, dword [ebp - 0x498]
cmp eax, ebx
jne 0x7dda1ad6
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 0x7dda0588
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.7ddee121
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 0x7dd94f13
cmp dword [ebp - 0x664], 0x38
jne 0x7dd94f13
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda0588
push ebx
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x624]
push dword [ebp - 0x4d4]
call fcn.7dd7168a
cmp edi, ebx
je 0x7dda187f
cmp dword [edi + 0x1c], ebx
je 0x7dda1c3b
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.7dda1c2f
jmp 0x7dda1c41
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dda1c56
cmp dword [edi + 0x14], ebx
je 0x7dda1c6f
mov eax, dword [edi + 0x14]
cmp dword [eax], ebx
je 0x7dda1c6f
cmp dword [ebp - 0x498], ebx
jne 0x7dda1c6f
push dword [ebp - 0x568]
push dword [ebp - 0x474]
jmp 0x7dda177d
cmp dword [ebp - 0x4ac], 2
je 0x7dda1782
cmp dword [ebp - 0x4ac], 3
jne 0x7dda187f
xor edi, edi
mov dword [ebp - 0x4a8], edi
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dda187f
mov dword [ebp - 0x478], ebx
push 0x54f
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd955f3
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 0x7dd94e49
push eax
mov dword [ebp - 0x478], ebx
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd955f3
push dword [ebp - 0x568]
push dword [ebp - 0x474]
call fcn.7ddee669
push 0xc0000240
jmp 0x7dda1d05
xor edi, edi
mov dword [ebp - 0x4a8], edi
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dd94e93
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x26
jne 0x7dd955f3
xor eax, eax
inc eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x55c], eax
jmp 0x7dd955f3
mov edx, dword [ebp - 0x4f0]
lea ecx, [edx + eax - 1]
dec edx
not edx
and ecx, edx
jmp 0x7dd95451
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 0x7dd9545f
mov dword [ebp - 0x544], ecx
jmp 0x7dd95478
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x3e5
je 0x7dda1def
mov dword [esi + 8], 3
mov dword [esi + 4], esi
mov dword [esi], esi
jmp 0x7dd9551b
mov dword [ebp - 0x478], 1
jmp 0x7dd954f1
call fcn.7dd711c7
mov dword [ebp - 0x52c], eax
cmp eax, 0x26
je 0x7dda1d69
cmp eax, 0x3e5
jne 0x7dd955f3
mov dword [ebp - 0x478], 1
jmp 0x7dd955c4
mov dword [ebp - 0x4a4], ebx
push 3
pop esi
mov eax, dword [ebp - 0x4a4]
cmp eax, dword [ebp - 0x4dc]
jae 0x7dd94edf
mov edi, eax
imul edi, edi, 0x30
add edi, dword [ebp - 0x534]
mov dword [ebp - 0x550], edi
cmp dword [edi + 8], esi
je 0x7dda1e82
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.7dd8cc96
mov dword [edi + 8], esi
mov dword [edi + 4], edi
mov dword [edi], edi
inc dword [ebp - 0x4a4]
jmp 0x7dda1e35
cmp dword [ebp - 0x498], ebx
jne 0x7dd94f09
jmp 0x7dda1a3c
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 0x7dd94efd
cmp dword [ebp - 0x494], ebx
je 0x7dd94efd
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 0x7dda1a20
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 0x7dda202c
test byte [ebp - 0x510], 3
jne 0x7dda1f39
mov eax, dword [ebp - 0x490]
or eax, dword [ebp - 0x48c]
jne 0x7dda1f5c
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x490]
cmp ecx, dword [eax]
jne 0x7dda202c
mov ecx, dword [ebp - 0x48c]
cmp ecx, dword [eax + 4]
jne 0x7dda202c
cmp dword [ebp - 0x498], ebx
mov esi, dword [ebp - 0x498]
jne 0x7dda1f70
mov esi, dword [ebp - 0x474]
lea eax, [ebp - 0x4d0]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda0588
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.7ddee121
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 0x7dd94f13
cmp dword [ebp - 0x654], 0x38
jne 0x7dd94f13
lea eax, [ebp - 0x4d0]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtFlushBuffersFile]
cmp eax, ebx
jl 0x7dda0588
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 0x7dda1e9b
cmp dword [edi + 0x1c], ebx
je 0x7dda20c8
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.7dda20bc
jmp 0x7dda20ce
mov dword [ebp - 0x4ac], ebx
cmp dword [ebp - 0x4ac], 1
je 0x7dda20e3
cmp dword [edi + 0x14], ebx
je 0x7dda20ef
mov eax, dword [edi + 0x14]
cmp dword [eax], ebx
je 0x7dda20ef
cmp dword [ebp - 0x498], ebx
je 0x7dda1c5e
cmp dword [ebp - 0x4ac], 2
je 0x7dda1782
cmp dword [ebp - 0x4ac], 3
jne 0x7dda1e9b
xor edi, edi
mov dword [ebp - 0x4a8], edi
mov eax, dword [ebp - 0x548]
mov dword [eax], ebx
jmp 0x7dda1e9b