Function at 0x7dde8bc9
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 0x7dde8c41
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dde997c
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x27c]
cmp ax, bx
je 0x7dde8c6c
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x288], eax
jmp 0x7dde8c72
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 0x7dde8d15
cmp eax, 0xc000000d
je 0x7dde8dcd
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 0x7dde970b
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 0x7dde8d7f
test dword [ebp - 0x2c8], 0x400
je 0x7dde8e25
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 0x7dde8daa
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 0x7dde9290
cmp dword [ebp - 0x268], 0xa0000003
je 0x7dde8e1e
cmp dword [ebp - 0x268], 0xa000000c
je 0x7dde8e1e
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 0x7dde8e25
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 0x7dde9711
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 0x7dde8e7d
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 0x7dde8f9b
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 0x7dde8ef9
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 0x7dde8f9b
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 0x7dde8fa6
mov eax, dword [ebp - 0x218]
cmp word [eax], 0x5c
jne 0x7dde8f4b
cmp word [eax + 2], 0x5c
jne 0x7dde8f4b
cmp word [eax + 4], 0x3f
jne 0x7dde8f4b
cmp word [eax + 6], 0x5c
je 0x7dde8fa6
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push dword [ebp - 0x218]
call fcn.7dd741d1
cmp eax, ebx
je 0x7dde8f6d
add eax, 0xc
cmp eax, 0x104
jbe 0x7dde8fa6
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 0x7dde9716
mov eax, dword [ebp - 0x29c]
cmp ax, bx
je 0x7dde8fc5
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x260], eax
jmp 0x7dde8fcb
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 0x7dde9013
lea eax, [ebp - 0x29c]
push eax
call edi
push dword [ebp - 0x224]
jmp 0x7dde9281
mov eax, dword [ebp - 0x2c0]
cmp eax, ebx
je 0x7dde90dc
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 0x7dde9196
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 0x7dde90b0
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 0x7dde9027
cmp dword [ebp - 0x20c], 0xc0000023
je 0x7dde9027
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 0x7dde9127
mov eax, dword [eax + 4]
mov dword [ebp - 0x23c], eax
test dword [ebp - 0x2c8], 0x400
mov dword [ebp - 0x234], 0x100181
je 0x7dde9147
mov dword [ebp - 0x234], 0x100183
and dword [ebp - 0x2c8], 0xfffffbff
cmp dword [ebp - 0x268], 0xa000000c
jne 0x7dde91c4
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 0x7dde91c4
lea eax, [ebp - 0x29c]
push eax
call edi
jmp 0x7dde925e
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 0x7dde93a2
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 0x7dde9221
push dword [ebp - 0x284]
call dword [sym.imp.ntdll.dll_RtlReleasePrivilege]
cmp dword [ebp - 0x20c], ebx
jge 0x7dde92de
cmp dword [ebp - 0x20c], 0xc000000d
je 0x7dde9249
cmp dword [ebp - 0x20c], 0xc0000022
jne 0x7dde92de
cmp byte [ebp - 0x219], bl
je 0x7dde92a0
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 0x7dde9290
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 0x7dde970b
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 0x7dde931d
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 0x7dde9354
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 0x7dde970b
mov dword [ebp - 0x20c], 0xc0000103
jmp 0x7dde970b
cmp byte [ebp - 0x219], bl
je 0x7dde971d
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 0x7dde93ac
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x228]
call esi
push 0xc0000017
jmp 0x7dde9711
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 0x7dde9402
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 0x7dde9711
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov ecx, 0xa0000003
cmp edx, ecx
je 0x7dde944b
cmp edx, 0xa000000c
je 0x7dde9466
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 0x7dde9711
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 0x7dde946c
mov edi, dword [ebp - 0x2a8]
cmp edx, ecx
jne 0x7dde9690
cmp word [ebp - 0x2ac], 0x60
je 0x7dde9497
cmp word [ebp - 0x2ac], 0x62
jne 0x7dde9690
cmp word [edi + 0x60], 0x5c
jne 0x7dde9690
cmp word [edi], 0x5c
jne 0x7dde9690
movzx ecx, word [edi + 2]
cmp cx, 0x3f
je 0x7dde94b5
cmp cx, 0x5c
jne 0x7dde9690
cmp word [edi + 4], 0x3f
jne 0x7dde9690
cmp word [edi + 6], 0x5c
jne 0x7dde9690
cmp word [edi + 8], 0x56
jne 0x7dde9690
cmp word [edi + 0xa], 0x6f
jne 0x7dde9690
cmp word [edi + 0xc], 0x6c
jne 0x7dde9690
cmp word [edi + 0xe], 0x75
jne 0x7dde9690
cmp word [edi + 0x10], 0x6d
jne 0x7dde9690
cmp word [edi + 0x12], 0x65
jne 0x7dde9690
cmp word [edi + 0x14], 0x7b
jne 0x7dde9690
push 0x2d
pop eax
cmp word [edi + 0x26], ax
jne 0x7dde9690
cmp word [edi + 0x30], ax
jne 0x7dde9690
cmp word [edi + 0x3a], ax
jne 0x7dde9690
cmp word [edi + 0x44], ax
jne 0x7dde9690
cmp word [edi + 0x5e], 0x7d
jne 0x7dde9690
cmp word [ebp - 0x2ac], 0x62
jne 0x7dde9690
cmp cx, 0x3f
jne 0x7dde9690
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 0x7dde965e
cmp dword [ebp - 0x20c], ebx
jl 0x7dde9668
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 0x7dde9627
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 0x7dde96cc
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dde9688
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 0x7dde96cc
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 0x7dde9716
cmp dword [ebp - 0x20c], ebx
jge 0x7dde9978
push dword [ebp - 0x20c]
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dde997b
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 0x7dde97a7
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 0x7dde978d
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 0x7dde9728
cmp dword [ebp - 0x20c], 0xc0000023
jne 0x7dde97c2
jmp 0x7dde9728
push dword [ebp - 0x2c8]
push dword [ebp - 0x228]
call fcn.7ddee4e1
push 0xc0000017
call sym.KERNEL32.dll_BaseSetLastNTError
cmp dword [ebp - 0x20c], ebx
jl 0x7dde993d
cmp dword [ebp - 0x22c], ebx
je 0x7dde993d
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 0x7dde9930
movzx ecx, word [ebp - 0x2a4]
xor eax, eax
shr ecx, 1
mov dword [ebp - 0x234], ecx
je 0x7dde98b2
mov ecx, dword [ebp - 0x2a0]
lea edx, [ebp - 0x208]
sub ecx, edx
mov dword [ebp - 0x254], ecx
jmp 0x7dde9896
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 0x7dde9890
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.7dd943ab
push dword [ebp - 0x280]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 0x250], ebx
je 0x7dde9930
push dword [ebp - 0x250]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [edi]
cmp eax, ebx
je 0x7dde993d
add edi, eax
jmp 0x7dde97e0
cmp dword [ebp - 0x218], ebx
je 0x7dde995a
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 0x7dde9978
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