Function at 0x42bbc0
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x446220
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
xor edi, edi
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x42bc5d
push str.EXEANDDLL
push 0x6e
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x42bc5d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
cmp ebp, edi
je 0x42bc5d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x1c], esi
je 0x42bc5d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [esp + 0x20], eax
jne 0x42bc64
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x42bf29
mov eax, 7
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
mov dword [esp + 0xdc], edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
lea ebx, [esp + 0x98]
mov byte [esp + 0xdc], 1
call fcn.0042faa7
test al, al
mov ecx, ebx
jne 0x42bcc0
call fcn.00401940
jmp 0x42bf1e
cmp dword [esp + 0xac], 0
je 0x42bcb6
push 0x10
call fcn.0042ebf9
add esp, 4
mov edx, str.2345SafeSetup.exe
lea eax, [esp + 0xb4]
call fcn.00402e70
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xe4], 2
call fcn.0042ecdc
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 3
call fcn.004019a0
lea ecx, [esp + 0x60]
call fcn.00401940
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 1
call fcn.00401940
lea eax, [esp + 0x7c]
push eax
call fcn.0042f138
add esp, 4
test al, al
je 0x42bd58
lea edi, [esp + 0x7c]
call fcn.0042f1e2
lea ecx, [esp + 0x98]
mov byte [esp + 0xdc], 0
call fcn.00401940
mov eax, dword [esp + 0x80]
mov edi, 8
cmp dword [esp + 0x94], edi
jae 0x42bd88
lea eax, [esp + 0x80]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42bf13
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push edx
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], ebp
jne 0x42bf13
mov eax, dword [esp + 0x18]
add eax, 0x24
push eax
lea esi, [esp + 0x9c]
call fcn.00401910
mov bl, 4
mov byte [esp + 0xdc], bl
cmp dword [esp + 0xac], 0
jne 0x42be49
lea ecx, [esp + 0x7c]
push ecx
call fcn.0040cd60
cmp eax, 0xffffffff
je 0x42be49
push eax
lea edx, [esp + 0x80]
push edx
xor ecx, ecx
lea esi, [esp + 0x68]
call fcn.0040cda0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe4], 5
call fcn.004019a0
mov ecx, esi
mov byte [esp + 0xdc], bl
call fcn.00401940
mov edx, str._silent
lea eax, [esp + 0xb4]
call fcn.00402e70
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00433170
add esp, 0xc
mov dword [esp + 0x24], 0x3c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0x94], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x540
jb 0x42be9b
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
jmp 0x42bea6
lea edx, [esp + 0x80]
mov dword [esp + 0x34], edx
cmp dword [esp + 0xb0], edi
jb 0x42bebc
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
jmp 0x42bec7
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0xcc], edi
jb 0x42bedd
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x38], edx
jmp 0x42bee8
lea eax, [esp + 0xb8]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0xb4]
call fcn.00401940
lea ecx, [esp + 0x98]
call fcn.00401940
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x7c]
call fcn.00401940
mov al, 1
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.00431b07
add esp, 0xcc
ret 4