Function at 0x40169a
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
push ebx
push esi
push edi
jmp 0x4016b3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x2a8]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a4]
xor ebx, ebx
push eax
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], bl
call esi
push ebx
push 0x80
push 2
push ebx
push 1
lea eax, [ebp - 0x1a4]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4018c4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x47], 0x6f
push eax
lea eax, [ebp - 0x6a8]
push eax
mov byte [ebp - 0x49], 0x6f
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x23], 0x20
mov byte [ebp - 0x28], 0xd
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x27], 0xa
mov byte [ebp - 0x4a], 0x67
mov byte [ebp - 0x45], 0x74
mov byte [ebp - 0x40], 0x64
mov byte [ebp - 0x4b], 0x20
mov byte [ebp - 0x42], 0xd
mov byte [ebp - 0x46], 0x20
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x43], 0x79
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0x20
mov byte [ebp - 0x48], 0x74
mov byte [ebp - 0x4c], 0x22
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x2c], 0x3a
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x79
mov byte [ebp - 0x22], 0x22
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x1c], 0x22
mov byte [ebp - 0x1b], 0xd
mov byte [ebp - 0x15], 0x78
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x18], 0x66
mov byte [ebp - 0x1a], 0xa
mov byte [ebp - 0x10], 0x22
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x44], 0x72
mov byte [ebp - 0x41], 0xa
mov byte [ebp - 0x3b], 0x30
mov byte [ebp - 0x3c], 0x25
call edi
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x6a8]
push eax
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6a8]
push eax
call esi
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x6a8]
push eax
call esi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6a8]
push eax
call esi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x6a8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
lea eax, [ebp - 0x6a8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
jmp 0x401879
push 0x44
lea eax, [ebp - 0xa0]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], bx
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push pe_nt_image_headers32
push ebx
push ebx
lea eax, [ebp - 0x1a4]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x4018c4
push dword [ebp - 0x58]
call esi
push dword [ebp - 0x5c]
call esi
pop edi
pop esi
pop ebx
leave
ret