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

Disassembly:
push 0xffffffffffffffff
push 0x4274c2
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x43914c]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
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 [0x44020c], ebx
jne 0x40b7eb
mov eax, 1
mov dword [0x44020c], eax
mov dword [esp + 0x1c], ebx
test byte [0x440254], al
jne 0x40b49d
or dword [0x440254], eax
push 0x1c
lea eax, [esp + 0x48]
push eax
push fcn.00408d50
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
mov edi, dword [esp + 0x48]
mov dword [0x440250], edi
jmp 0x40b4a3
mov edi, dword [0x440250]
push 0x42f9e4
push 0x81
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40b4e5
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x40b4e5
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
je 0x40b4e5
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 0x40b553
lea edx, [esp + 0x60]
push edx
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
je 0x40b54c
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 0x40b544
lea ecx, [esp + 0x60]
push ecx
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x40b520
jmp 0x40b54c
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 0x40b7eb
cmp dword [esp + 0x1c], ebx
jbe 0x40b7eb
cmp dword [esp + 0x28], 4
jbe 0x40b7eb
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
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 0x40b5b7
mov ecx, 0x64
lea eax, [esp + 0x24]
call fcn.004015f0
mov ebx, dword [esp + 0x24]
call fcn.004164d0
lea esi, [esp + 0x24]
call fcn.004038b0
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 0x40b613
push esi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x40b613
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esi + 4]
push edi
push ecx
mov dword [esi], edi
call fcn.00416f35
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
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.004147a0
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 2
call fcn.004147a0
add esp, 4
mov edi, eax
push 0
mov edx, ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 3
call fcn.004147a0
add esp, 4
mov ebp, eax
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a0], 4
call fcn.004147a0
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 0x40b6e2
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 0x40b70a
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 0x40b732
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 0x40b75a
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 0x40b776
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 0x42fa28
push 0
push eax
push ecx
push edx
call fcn.0040e620
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 0x40b7c4
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 0x40b7eb
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.00416b64
add esp, 0x28c
ret