Function at 0x416700
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
movzx eax, al
cmp eax, 1
jle 0x41673f
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
movzx ecx, al
push ecx
push 0x412ec0
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
push 0
push 0x1a
push 0x412ee8
push 0x412ef0
call dword [sym.imp.ntoskrnl.exe_RtlAssert]
lea edx, [ebp - 0x28]
push edx
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x416761
xor eax, eax
jmp 0x4168d9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0xc], 0
jne 0x416799
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*4]
jmp 0x4168d9
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x24]
jl 0x416859
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
sar eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov al, byte [edx]
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x34]
cmp al, byte [ecx]
jne 0x41681c
cmp byte [ebp - 0x39], 0
je 0x416813
mov edx, dword [ebp - 0x38]
mov al, byte [edx + 1]
mov byte [ebp - 0x3a], al
mov ecx, dword [ebp - 0x34]
cmp al, byte [ecx + 1]
jne 0x41681c
add dword [ebp - 0x38], 2
add dword [ebp - 0x34], 2
cmp byte [ebp - 0x3a], 0
jne 0x4167df
mov dword [ebp - 0x40], 0
jmp 0x416824
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jge 0x416841
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x416854
cmp dword [ebp - 0xc], 0
jle 0x416852
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x416854
jmp 0x416859
jmp 0x4167b3
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x24]
jge 0x416865
xor eax, eax
jmp 0x4168d9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov cx, word [eax + edx*2]
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
mov eax, dword [ebp - 0x1c]
cmp edx, dword [eax + 0x14]
jb 0x416883
xor eax, eax
jmp 0x4168d9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], edx
movzx eax, word [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jbe 0x4168cf
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x20], ecx
jae 0x4168cf
push 0
push 0x53
push str.Pe.c
push str._FunctionAddress____PVOID_ExportDirectory____FunctionAddress____PVOID___PCHAR_ExportDirectory__ExportSize__
call dword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [ebp - 0x48], 0
jmp 0x4168d6
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 0x10