Function at 0x469bb8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
push edi
mov dword [ebp - 0xa38], ecx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 0x214], 0
mov eax, dword [ebp + 8]
push eax
call sub.ntdll.dll_strlen
add esp, 4
mov dword [ebp - 0x210], eax
mov word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 4
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x469c45
push 8
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x469c59
mov eax, dword [ebp - 0x218]
jmp 0x469e71
mov dword [ebp - 0x214], 0
jmp 0x469c74
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
cmp edx, dword [ebp - 0x210]
jae 0x469c9f
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x214]
movsx cx, byte [eax]
mov edx, dword [ebp - 0x214]
mov word [ebp + edx*2 - 0x208], cx
jmp 0x469c65
mov eax, dword [ebp - 0x214]
mov word [ebp + eax*2 - 0x208], 0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.ntdll.dll__wcslwr]
add esp, 4
mov edx, dword [ebp - 0xa38]
cmp dword [edx + 0x108], 0
jne 0x469cf1
push str.ZwQueryInformationFile
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xa38]
mov dword [ecx + 0x108], eax
mov edx, dword [ebp - 0xa38]
cmp dword [edx + 0x108], 0
jne 0x469d0b
mov eax, dword [ebp - 0x218]
jmp 0x469e71
mov dword [ebp - 0x214], 0
jmp 0x469d26
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffff
jae 0x469e6b
mov dword [ebp - 0x21c], 0xffffffff
push 2
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x469e66
mov byte [ebp - 0xa1c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 9
push 0x800
lea ecx, [ebp - 0xa1c]
push ecx
lea edx, [ebp - 0xa2c]
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0xa38]
call dword [ecx + 0x108]
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
jne 0x469e59
lea edx, [ebp - 0xa1c]
mov dword [ebp - 0xa34], edx
mov eax, dword [ebp - 0x210]
shl eax, 1
mov ecx, dword [ebp - 0xa34]
cmp dword [ecx], eax
ja 0x469e59
mov edx, dword [ebp - 0xa34]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xa34]
add eax, 4
push eax
call dword [sym.imp.ntdll.dll__wcslwr]
add esp, 4
mov ecx, dword [ebp - 0xa34]
add ecx, 4
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.00416800
add esp, 8
test eax, eax
je 0x469e59
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x469e6b
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x469d17
mov eax, dword [ebp - 0x218]
pop edi
mov esp, ebp
pop ebp
ret 4