Function at 0x40b5b0
Capabilities:
Enumerate processes
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x429bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b14c]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x2a8]
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
cmp dword [0x44220c], ebx
jne 0x40b9a0
mov eax, 1
mov dword [0x44220c], eax
mov dword [esp + 0x1c], ebx
test byte [0x442254], al
jne 0x40b64d
or dword [0x442254], eax
push 0x1c
lea eax, [esp + 0x48]
push eax
push fcn.00408cd0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [esp + 0x48]
mov dword [0x442250], edi
jmp 0x40b653
mov edi, dword [0x442250]
push 0x437554
push 0x81
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40b695
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x40b695
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x40b695
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x20], eax
push ebx
push 0xf
mov dword [esp + 0x30], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x60]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x68], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40b703
lea edx, [esp + 0x60]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40b6fc
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
nop
push str.winlogon.exe
lea eax, [esp + 0x88]
push eax
call edi
test eax, eax
je 0x40b6f4
lea ecx, [esp + 0x60]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b6d0
jmp 0x40b6fc
mov edx, dword [esp + 0x68]
mov dword [esp + 0x28], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], ebx
je 0x40b9a0
cmp dword [esp + 0x1c], ebx
jbe 0x40b9a0
cmp dword [esp + 0x28], 4
jbe 0x40b9a0
mov eax, dword [0x44130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44130c
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x29c], 0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x64
or eax, ecx
jge 0x40b767
mov ecx, 0x64
lea eax, [esp + 0x24]
call fcn.004015f0
mov ebx, dword [esp + 0x24]
push 0x14
call fcn.004189c0
add esp, 4
lea esi, [esp + 0x24]
call fcn.004035c0
mov edi, dword [esp + 0x2ac]
push ebx
lea esi, [edi + 4]
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x40b7c8
push esi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x40b7c8
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esi + 4]
push edi
push ecx
mov dword [esi], edi
call fcn.00419425
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
mov edx, ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a0], 1
call fcn.00416c70
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 2
call fcn.00416c70
add esp, 4
mov edi, eax
push 0
mov edx, ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 3
call fcn.00416c70
add esp, 4
mov ebp, eax
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a0], 4
call fcn.00416c70
add esp, 4
mov byte [esp + 0x29c], 5
mov ecx, dword [esi]
mov edx, dword [edi]
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax]
push ecx
push edx
push str.__u__s__a__s__cmd__s__fmn__s
lea edi, [esp + 0x2c]
call fcn.004016f0
mov byte [esp + 0x2b0], 4
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b8bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b8e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b90f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x40b92b
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00401640
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push esi
push 0x437598
push 0
push eax
push ecx
push edx
call fcn.00410b10
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esi - 0x10]
mov byte [esp + 0x29c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b979
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x29c], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9a0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.00419054
add esp, 0x28c
ret