Function at 0x140003940
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create thread
Delete file
Download url
Enumerate processes
Execute command
Move file
Receive data
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14014c370]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140007940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140007380
cmp qword [rdi + 0x30], 0xa
jne 0x1400049c5
cmp qword [rdi + 0x50], 0x40
jne 0x1400049c5
lea rcx, [rbp + 0x150]
call fcn.140007640
nop
mov dword [rsp + 0x68], 0x918992da
mov dword [rsp + 0x6c], 0x676b7365
mov word [rsp + 0x70], reloc.WS2_32.dll_gethostname
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x30], 0x929f93da
mov dword [rsp + 0x34], 0x1003c65
mov dword [rsp + 0x78], 0x8c9f95da
mov dword [rsp + 0x7c], 0x1003c68
mov dword [rsp + 0x58], 0x8d9b8bda
mov word [rsp + 0x5c], 0x3d
mov byte [rsp + 0x5e], 1
mov dword [rbp - 0x80], 0x9a8e8488
mov dword [rbp - 0x7c], 0x6a6c683d
mov word [rbp - 0x78], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x76], 1
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140004a70
nop
lea rdx, [rdi + 0x60]
mov rcx, rax
call fcn.1400080f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x90]
call fcn.140004be0
nop
lea rdx, [rbp + 0x150]
mov rcx, rax
call fcn.1400080f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140004be0
nop
mov rdx, rdi
mov rcx, rax
call fcn.1400080f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140004ce0
nop
lea rdx, [rdi + 0x20]
mov rcx, rax
call fcn.1400080f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x140003b6a
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140003bbb
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140003bfc
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140003c51
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140003c95
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140003ced
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ce7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140003d2b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
lea rax, [rbp + 0x30]
mov qword [rbp + 0xb0], rax
lea rdx, [rdi + 0xa0]
lea rcx, [rbp + 0x30]
call fcn.140008280
mov r12, rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0xb8], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp + 0x10]
call fcn.140008280
mov r13, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea rsi, [rbp + 0xf0]
mov r15, qword [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rsi, r15
mov r14, qword [rbp + 0x100]
cmp r14, 0x10
jae 0x140003dbc
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x38], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140003e35
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003e13
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004a2d
mov rcx, rax
call fcn.14007f244
mov rcx, rax
test rax, rax
je 0x140003e0c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003e21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140003e1f
call fcn.14007f244
jmp 0x140003e21
xor eax, eax
mov qword [rsp + 0x38], rax
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rbx
mov r9, r12
mov r8, r13
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xd0]
call fcn.140006ff0
nop
call fcn.140007380
xor r14d, r14d
mov qword [rbp - 8], r14
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xc0]
call fcn.140009810
nop
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.140007a60
mov rdx, rax
mov rcx, rdi
call fcn.140003530
movzx ecx, byte [rbp + 0xc0]
test cl, cl
jne 0x140003eca
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rbx
movzx ecx, byte [rbp + 0xc0]
jmp 0x140003ed1
mov rbx, qword [rbp + 0xc8]
cmp cl, 1
jne 0x140003f7b
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x80]
call fcn.140008d10
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400117f0
mov rsi, qword [rax]
add rsi, 0x40
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140003f5b
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rbx, qword [rbp + 0xc8]
movzx ecx, byte [rbp + 0xc0]
jmp 0x140003f80
mov rsi, qword [rsp + 0x60]
lea rax, [rsi + 8]
cmp byte [rsi], 4
cmovne rax, r14
cmp byte [rax], 0
je 0x14000433d
test cl, cl
jne 0x140003fbe
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rbx
movzx ecx, byte [rbp + 0xc0]
cmp cl, 1
jne 0x14000405a
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov r8d, 9
lea rdx, str.sessionid
lea rcx, [rbp - 0x80]
call fcn.140008d10
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400117f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140004048
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
jmp 0x14000405f
mov rbx, qword [rsp + 0x60]
cmp byte [rbx], 3
jne 0x14000406a
mov rdx, qword [rbx + 8]
jmp 0x14000406d
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000407b
mov rdx, qword [rdx]
lea rcx, [rdi + 0x260]
call fcn.140008d10
movzx eax, byte [rbp + 0xc0]
test al, al
jne 0x1400040ba
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rbx
movzx eax, byte [rbp + 0xc0]
jmp 0x1400040c1
mov rbx, qword [rbp + 0xc8]
cmp al, 1
jne 0x140004166
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 7
lea rdx, str.appinfo
lea rcx, [rsp + 0x38]
call fcn.140008d10
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400117f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140004151
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000414c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000414c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
jmp 0x14000416b
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140007a60
mov rdx, rax
mov rcx, rdi
call fcn.1400033c0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
lea r9, [0x1400931d8]
mov edx, reloc.WS2_32.dll_listen
lea rcx, [rbp - 0x60]
call fcn.140009f80
mov edi, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004230
mov dword [rbp + 0x170], 0x238
lea rdx, [rbp + 0x170]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004230
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
lea r8, [rbp + 0x19c]
sub r8, rcx
nop word [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140004214
add rcx, 2
test eax, eax
jne 0x140004200
test edx, edx
je 0x14000422a
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1400041d9
mov edi, dword [rbp + 0x178]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14000427c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004277
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004277
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov r8d, edi
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400042a6
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.OldLoader.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400042de
nop word [rax + rax]
lea rcx, str.OldLoader.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.OldLoader.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400042c0
movzx edx, byte [rbp + 0xc0]
lea rcx, [rbp + 0xc8]
call fcn.140008840
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1400048f6
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test cl, cl
jne 0x140004367
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rbx
movzx ecx, byte [rbp + 0xc0]
cmp cl, 1
jne 0x14000440e
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 7
lea rdx, str.message
lea rcx, [rsp + 0x38]
call fcn.140008d10
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400117f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400043f9
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400043f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
jmp 0x140004413
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.140009940
test al, al
movzx eax, byte [rbp + 0xc0]
je 0x140004613
mov rbx, qword [rsp + 0x60]
test al, al
jne 0x14000445b
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rdi, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rdi
movzx eax, byte [rbp + 0xc0]
jmp 0x140004462
mov rdi, qword [rbp + 0xc8]
cmp al, 1
jne 0x140004506
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 8
lea rdx, str.download
lea rcx, [rsp + 0x38]
call fcn.140008d10
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400117f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400044f3
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov qword [rbp + 0x110], r14
movdqa xmm0, xmmword [0x140094300]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov dword [rsp + 0x58], Ordinal_50
cmp byte [rbx], 3
jne 0x140004543
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x110]
cmp rax, rdx
je 0x140004561
jmp 0x140004546
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004554
mov rdx, qword [rdx]
lea rcx, [rbp + 0x110]
call fcn.140008d10
nop
mov r9d, 0x41
lea r8, str.Update
lea rdx, str.New_Update_Available_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 1
je 0x1400045ae
cmp eax, 1
je 0x1400045a5
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Failed_to_Update_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp + 0x110]
call fcn.140007f40
mov rdx, rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str.Updated_Loader.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov r8d, 0x104
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.OldLoader.exe
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, str.start_Updated_Loader.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test al, al
jne 0x14000463f
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rbx
movzx eax, byte [rbp + 0xc0]
jmp 0x140004646
mov rbx, qword [rbp + 0xc8]
cmp al, 1
jne 0x1400046ec
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 7
lea rdx, str.message
lea rcx, [rsp + 0x38]
call fcn.140008d10
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400117f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400046d7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
jmp 0x1400046f1
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.140009940
test al, al
je 0x1400042de
mov rbx, qword [rsp + 0x60]
movzx eax, byte [rbp + 0xc0]
test al, al
jne 0x140004739
mov byte [rbp + 0xc0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400090b0
mov rdi, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rdi
movzx eax, byte [rbp + 0xc0]
jmp 0x140004740
mov rdi, qword [rbp + 0xc8]
cmp al, 1
jne 0x1400047e4
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 8
lea rdx, str.download
lea rcx, [rsp + 0x38]
call fcn.140008d10
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400117f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400047d1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov qword [rbp + 0x130], r14
movdqa xmm0, xmmword [0x140094300]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov dword [rsp + 0x58], reloc.WLDAP32.dll_Ordinal_143
cmp byte [rbx], 3
jne 0x140004821
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x130]
cmp rax, rdx
je 0x14000483f
jmp 0x140004824
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004832
mov rdx, qword [rdx]
lea rcx, [rbp + 0x130]
call fcn.140008d10
nop
mov r9d, 0x41
lea r8, str.Update
lea rdx, str.New_Update_Available_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 1
je 0x14000488c
cmp eax, 1
je 0x140004883
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Failed_to_Update_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp + 0x130]
call fcn.140007f40
mov rdx, rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str.Updated_Loader.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov r8d, 0x104
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.OldLoader.exe
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, str.start_Updated_Loader.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.14007f280
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xd0], 0
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x140004951
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004948
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004948
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14007f280
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x140004995
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004990
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004990
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f280
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14007f800
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x1400943b0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1400943c0]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x1400943e0]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140094440]
movdqa xmmword [rbp - 0x10], xmm1
mov dword [rbp], 0x5c105355
mov dword [rbp + 4], 0x1003130
lea rcx, [rbp - 0x40]
call fcn.140004a40
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140001da0
nop
int3