Function at 0x7dde8d39
Capabilities:
Check for peb beingdebugged flag
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x10]
push edi
xor ebx, ebx
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x26c], ebx
lea edi, [ebp - 0x268]
stosd dword es:[edi], eax
lea eax, [ebp - 0x27c]
push eax
push ebx
lea eax, [ebp - 0x28c]
push eax
push ecx
mov byte [ebp - 0x219], bl
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x284], ebx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToRelativeNtPathName_U]
test al, al
jne 0x7dde8db1
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dde9aec
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x27c]
cmp ax, bx
je 0x7dde8ddc
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x288], eax
jmp 0x7dde8de2
mov dword [ebp - 0x274], ebx
mov eax, dword [ebp - 0x274]
mov edi, dword [sym.imp.ntdll.dll_NtOpenFile]
push esi
mov dword [ebp - 0x248], eax
push 0x204001
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x244], eax
push 3
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x24c]
push eax
mov esi, 0x89
push esi
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x24c], 0x18
mov dword [ebp - 0x240], 0x40
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jge 0x7dde8e85
cmp eax, 0xc000000d
je 0x7dde8f3d
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7dde987b
push 4
push 0x28
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x2c8], 0x80
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jl 0x7dde8eef
test dword [ebp - 0x2c8], 0x400
je 0x7dde8f95
push 0x23
push 8
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jge 0x7dde8f1a
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7dde9400
cmp dword [ebp - 0x268], 0xa0000003
je 0x7dde8f8e
cmp dword [ebp - 0x268], 0xa000000c
je 0x7dde8f8e
push dword [ebp - 0x210]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
push 0x4001
push 3
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x24c]
push eax
push esi
lea eax, [ebp - 0x210]
push eax
call edi
mov esi, eax
cmp esi, ebx
jge 0x7dde8f95
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push esi
jmp 0x7dde9881
mov byte [ebp - 0x219], 1
lea eax, [ebp - 0x29c]
push eax
push ebx
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ntdll.dll_RtlDosPathNameToRelativeNtPathName_U]
test al, al
jne 0x7dde8fed
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtClose]
push 3
jmp 0x7dde910b
mov edi, dword [ebp - 0x260]
push 1
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x28c]
push eax
mov dword [ebp - 0x224], edi
call dword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
lea eax, [ebp - 0x27c]
push eax
je 0x7dde9069
mov esi, dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
call esi
lea eax, [ebp - 0x29c]
push eax
call esi
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtClose]
push 0x7b
jmp 0x7dde910b
mov edi, dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
call edi
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push ebx
push dword [eax + 0x18]
call esi
mov eax, 0x1f0
cmp word [ebp - 0x264], ax
jbe 0x7dde9116
mov eax, dword [ebp - 0x218]
cmp word [eax], 0x5c
jne 0x7dde90bb
cmp word [eax + 2], 0x5c
jne 0x7dde90bb
cmp word [eax + 4], 0x3f
jne 0x7dde90bb
cmp word [eax + 6], 0x5c
je 0x7dde9116
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push dword [ebp - 0x218]
call fcn.7dd741e1
cmp eax, ebx
je 0x7dde90dd
add eax, 0xc
cmp eax, 0x104
jbe 0x7dde9116
lea eax, [ebp - 0x29c]
push eax
call edi
push dword [ebp - 0x224]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
push 0xce
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dde9886
mov eax, dword [ebp - 0x29c]
cmp ax, bx
je 0x7dde9135
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x260], eax
jmp 0x7dde913b
mov dword [ebp - 0x294], ebx
push 7
push 4
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jge 0x7dde9183
lea eax, [ebp - 0x29c]
push eax
call edi
push dword [ebp - 0x224]
jmp 0x7dde93f1
mov eax, dword [ebp - 0x2c0]
cmp eax, ebx
je 0x7dde924c
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
add eax, eax
mov dword [ebp - 0x220], eax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
push dword [ebp - 0x220]
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x214], eax
cmp eax, ebx
je 0x7dde9306
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtQueryEaFile]
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jge 0x7dde9220
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x22c], ebx
cmp dword [ebp - 0x20c], 0x80000005
je 0x7dde9197
cmp dword [ebp - 0x20c], 0xc0000023
je 0x7dde9197
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], 0x18
mov dword [ebp - 0x240], 0x40
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
cmp eax, ebx
je 0x7dde9297
mov eax, dword [eax + 4]
mov dword [ebp - 0x23c], eax
test dword [ebp - 0x2c8], 0x400
mov dword [ebp - 0x234], 0x100181
je 0x7dde92b7
mov dword [ebp - 0x234], 0x100183
and dword [ebp - 0x2c8], 0xfffffbff
cmp dword [ebp - 0x268], 0xa000000c
jne 0x7dde9334
lea eax, [ebp - 0x284]
push eax
push ebx
push 1
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 0x254], 0x23
call dword [sym.imp.ntdll.dll_RtlAcquirePrivilege]
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jge 0x7dde9334
lea eax, [ebp - 0x29c]
push eax
call edi
jmp 0x7dde93ce
lea eax, [ebp - 0x29c]
push eax
call edi
push dword [ebp - 0x224]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dde9512
push dword [ebp - 0x220]
mov edi, dword [sym.imp.ntdll.dll_NtCreateFile]
push dword [ebp - 0x214]
lea eax, [ebp - 0x230]
push 0x204021
push 2
push 3
push dword [ebp - 0x2c8]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x228]
push eax
call edi
cmp dword [ebp - 0x268], 0xa000000c
mov dword [ebp - 0x20c], eax
jne 0x7dde9391
push dword [ebp - 0x284]
call dword [sym.imp.ntdll.dll_RtlReleasePrivilege]
cmp dword [ebp - 0x20c], ebx
jge 0x7dde944e
cmp dword [ebp - 0x20c], 0xc000000d
je 0x7dde93b9
cmp dword [ebp - 0x20c], 0xc0000022
jne 0x7dde944e
cmp byte [ebp - 0x219], bl
je 0x7dde9410
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
push dword [ebp - 0x224]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
cmp dword [ebp - 0x214], ebx
je 0x7dde9400
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dde987b
push dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push dword [ebp - 0x214]
push 0x4021
push 2
push 3
push dword [ebp - 0x2c8]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x100181
lea eax, [ebp - 0x228]
push eax
call edi
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
push dword [ebp - 0x224]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
cmp dword [ebp - 0x214], ebx
je 0x7dde948d
push dword [ebp - 0x214]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
cmp dword [ebp - 0x20c], ebx
jge 0x7dde94c4
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtClose]
push dword [ebp - 0x218]
call dword [sym.imp.ntdll.dll_RtlIsDosDeviceName_U]
test eax, eax
je 0x7dde987b
mov dword [ebp - 0x20c], 0xc0000103
jmp 0x7dde987b
cmp byte [ebp - 0x219], bl
je 0x7dde988d
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
mov edi, 0x4000
push edi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x7dde951c
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x228]
call esi
push 0xc0000017
jmp 0x7dde9881
push edi
push eax
push ebx
push ebx
push 0x900a8
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtFsControlFile]
mov edi, eax
cmp edi, ebx
jge 0x7dde9572
push dword [ebp - 0x220]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x228]
call esi
push edi
jmp 0x7dde9881
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov ecx, 0xa0000003
cmp edx, ecx
je 0x7dde95bb
cmp edx, 0xa000000c
je 0x7dde95d6
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x228]
call esi
push 0xc0000033
jmp 0x7dde9881
mov eax, dword [ebp - 0x220]
mov di, word [eax + 0xa]
mov word [ebp - 0x2ac], di
movzx edi, word [eax + 8]
lea edi, [edi + eax + 0x10]
jmp 0x7dde95dc
mov edi, dword [ebp - 0x2a8]
cmp edx, ecx
jne 0x7dde9800
cmp word [ebp - 0x2ac], 0x60
je 0x7dde9607
cmp word [ebp - 0x2ac], 0x62
jne 0x7dde9800
cmp word [edi + 0x60], 0x5c
jne 0x7dde9800
cmp word [edi], 0x5c
jne 0x7dde9800
movzx ecx, word [edi + 2]
cmp cx, 0x3f
je 0x7dde9625
cmp cx, 0x5c
jne 0x7dde9800
cmp word [edi + 4], 0x3f
jne 0x7dde9800
cmp word [edi + 6], 0x5c
jne 0x7dde9800
cmp word [edi + 8], 0x56
jne 0x7dde9800
cmp word [edi + 0xa], 0x6f
jne 0x7dde9800
cmp word [edi + 0xc], 0x6c
jne 0x7dde9800
cmp word [edi + 0xe], 0x75
jne 0x7dde9800
cmp word [edi + 0x10], 0x6d
jne 0x7dde9800
cmp word [edi + 0x12], 0x65
jne 0x7dde9800
cmp word [edi + 0x14], 0x7b
jne 0x7dde9800
push 0x2d
pop eax
cmp word [edi + 0x26], ax
jne 0x7dde9800
cmp word [edi + 0x30], ax
jne 0x7dde9800
cmp word [edi + 0x3a], ax
jne 0x7dde9800
cmp word [edi + 0x44], ax
jne 0x7dde9800
cmp word [edi + 0x5e], 0x7d
jne 0x7dde9800
cmp word [ebp - 0x2ac], 0x62
jne 0x7dde9800
cmp cx, 0x3f
jne 0x7dde9800
push dword [ebp - 0x218]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
mov dword [ebp - 0x20c], eax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 0x25c]
mov eax, dword [eax + 0x2c]
add edx, 4
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x224], eax
cmp eax, ebx
je 0x7dde97ce
cmp dword [ebp - 0x20c], ebx
jl 0x7dde97d8
movzx eax, word [ebp - 0x25c]
push eax
push dword [ebp - 0x258]
push dword [ebp - 0x224]
call sub.ntdll.dll_memcpy
movzx eax, word [ebp - 0x25c]
mov edx, dword [ebp - 0x224]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
movzx eax, word [ebp - 0x25c]
mov ecx, dword [ebp - 0x258]
shr eax, 1
add eax, eax
add esp, 0xc
cmp word [ecx + eax - 2], 0x5c
je 0x7dde9797
mov ecx, dword [ebp - 0x224]
push 0x5c
pop edx
mov word [eax + ecx], dx
movzx eax, word [ebp - 0x25c]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2 + 2], dx
push 0x5c
pop eax
push edi
push dword [ebp - 0x224]
mov word [edi + 2], ax
call sym.KERNEL32.dll_SetVolumeMountPointW
push dword [ebp - 0x224]
mov dword [ebp - 0x218], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push 0x3f
pop eax
mov word [edi + 2], ax
jmp 0x7dde983c
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dde97f8
push dword [ebp - 0x224]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x20c]
call sym.KERNEL32.dll_BaseSetLastNTError
mov dword [ebp - 0x218], ebx
jmp 0x7dde983c
mov eax, dword [ebp - 0x220]
movzx ecx, word [eax + 4]
push ebx
push ebx
add ecx, 8
push ecx
push eax
push 0x900a4
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x218], 1
call dword [sym.imp.ntdll.dll_NtFsControlFile]
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x220]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x228]
call esi
cmp dword [ebp - 0x218], ebx
je 0x7dde9886
cmp dword [ebp - 0x20c], ebx
jge 0x7dde9ae8
push dword [ebp - 0x20c]
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dde9aeb
mov edi, 0x1000
mov dword [ebp - 0x2bc], edi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push edi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x7dde9917
push 0x16
push edi
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jge 0x7dde98fd
push dword [ebp - 0x218]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
mov dword [ebp - 0x218], ebx
add edi, edi
cmp dword [ebp - 0x20c], 0x80000005
je 0x7dde9898
cmp dword [ebp - 0x20c], 0xc0000023
jne 0x7dde9932
jmp 0x7dde9898
push dword [ebp - 0x2c8]
push dword [ebp - 0x228]
call fcn.7ddee669
push 0xc0000017
call sym.KERNEL32.dll_BaseSetLastNTError
cmp dword [ebp - 0x20c], ebx
jl 0x7dde9aad
cmp dword [ebp - 0x22c], ebx
je 0x7dde9aad
mov edi, dword [ebp - 0x218]
push ebx
push ebx
push 0x20
lea eax, [edi + 0x18]
mov dword [ebp - 0x2a0], eax
push 1
mov dword [ebp - 0x2b0], ebx
mov ax, word [edi + 4]
mov word [ebp - 0x2a4], ax
mov word [ebp - 0x2a2], ax
mov eax, dword [ebp - 0x210]
push 1
mov dword [ebp - 0x248], eax
push ebx
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x244], eax
push ebx
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x80100000
lea eax, [ebp - 0x280]
push eax
mov dword [ebp - 0x24c], 0x18
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
call dword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jl 0x7dde9aa0
movzx ecx, word [ebp - 0x2a4]
xor eax, eax
shr ecx, 1
mov dword [ebp - 0x234], ecx
je 0x7dde9a22
mov ecx, dword [ebp - 0x2a0]
lea edx, [ebp - 0x208]
sub ecx, edx
mov dword [ebp - 0x254], ecx
jmp 0x7dde9a06
mov ecx, dword [ebp - 0x254]
lea ecx, [ecx + eax*2]
mov cx, word [ebp + ecx - 0x208]
mov word [ebp + eax*2 - 0x208], cx
inc eax
cmp eax, dword [ebp - 0x234]
jb 0x7dde9a00
xor ecx, ecx
mov word [ebp + eax*2 - 0x208], cx
lea eax, [ebp - 0x2b0]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [edi + 8]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x208]
push eax
push 0x80100000
push dword [ebp - 0x280]
mov dword [ebp - 0x250], ebx
push ebx
mov dword [ebp - 0x2b8], ebx
call fcn.7dd9438b
push dword [ebp - 0x280]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 0x250], ebx
je 0x7dde9aa0
push dword [ebp - 0x250]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [edi]
cmp eax, ebx
je 0x7dde9aad
add edi, eax
jmp 0x7dde9950
cmp dword [ebp - 0x218], ebx
je 0x7dde9aca
push dword [ebp - 0x218]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
cmp dword [ebp - 0x228], ebx
je 0x7dde9ae8
push dword [ebp - 0x228]
call esi
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 0xc