Function at 0x4167c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x450fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
or edi, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x160], ebx
call fcn.004154c0
cmp eax, ebx
jne 0x41683f
mov eax, dword [esp + 0x18]
cmp eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41682d
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x416838
push eax
call esi
xor eax, eax
jmp 0x416bbd
push 0xf
mov esi, 7
push str.selfprotectfile
lea ecx, [esp + 0xb4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 5
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
call fcn.00416c00
mov byte [esp + 0x160], 1
push 0x13
push str.selfprotectregistry
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], bx
call fcn.00416c00
mov byte [esp + 0x160], 2
push 0x12
push str.selfprotectprocess
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
call fcn.00416c00
mov byte [esp + 0x160], 3
push 0x16
push str.selfprotectprocessname
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], bx
call fcn.00416c00
mov byte [esp + 0x160], 4
push 0x17
push 0x459398
lea ecx, [esp + 0x124]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov word [esp + 0x128], bx
call fcn.00416c00
mov byte [esp + 0x160], 5
push 0x1b
push str.selfprotectblackprocessname
lea ecx, [esp + 0x140]
mov dword [esp + 0x158], esi
mov dword [esp + 0x154], ebx
mov word [esp + 0x144], bx
call fcn.00416c00
lea esi, [esp + 0xb0]
mov byte [esp + 0x160], 6
xor ebp, ebp
mov dword [esp + 0x14], esi
jmp 0x4169a9
mov esi, dword [esp + 0x14]
mov eax, dword [esp + ebp*4 + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00416680
lea ecx, [esp + 0x54]
call fcn.0042a560
mov byte [esp + 0x160], 7
cmp dword [esi + 0x14], 8
jb 0x4169d3
mov eax, dword [esi]
jmp 0x4169d5
mov eax, esi
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.0042a5d0
mov esi, eax
mov ecx, esi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea edi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x416a00
sub ecx, edi
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.00405b30
mov byte [esp + 0x160], 8
push ebx
mov esi, 0xf
push 0x45734d
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00405b30
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x164], 9
call fcn.00416160
mov edi, 0x10
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x416a6f
mov eax, dword [esp + 0x3c]
push eax
call fcn.00433d63
add esp, 4
cmp dword [esp + 0x8c], edi
jb 0x416a85
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x160], 6
call fcn.0042a570
add dword [esp + 0x14], 0x1c
add ebp, 1
cmp ebp, 6
jb 0x4169a5
lea edx, [esp + 0x14]
push edx
push 0x82312000
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.00415ea0
lea ecx, [esp + 0x64]
call fcn.0042a560
push ebx
push str.protectenable
lea ecx, [esp + 0x6c]
mov byte [esp + 0x168], 0xa
call fcn.0042a5d0
mov edi, 0xf
mov ecx, eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x416b10
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.00405b30
lea esi, [esp + 0x90]
mov byte [esp + 0x160], 0xb
call fcn.00416490
cmp dword [esp + 0xa8], 0x10
jb 0x416b57
mov eax, dword [esp + 0x94]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov byte [esp + 0x160], 6
call fcn.0042a570
push 0x417130
push 6
push 0x1c
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x170], bl
call fcn.00434e15
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x416bac
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x416bb8
push eax
call esi
mov eax, 1
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00433d68
add esp, 0x150
ret