joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400065f4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.PB_WindowID
mov rcx, r14
xor ebp, ebp
mov rdi, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rsi, rax
lea eax, [rbx + 9]
test rsi, rsi
je 0x1400066b6
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400067f7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
jne 0x1400067f7
mov rcx, qword [0x140016800]
lea rdx, [rsi - 1]
call fcn.14000ecd8
mov ebp, 1
cmp dword [rax + 0x20], 0
mov rbx, rax
jle 0x1400067f7
mov rax, qword [rax + 8]
movsxd r8, dword [rbx + 0x20]
xor edx, edx
xor ecx, ecx
lea r10d, [rbp + 8]
cmp word [rcx + rax + 2], r10w
jne 0x1400066a7
mov r9d, 0xfa01
cmp word [rcx + rax + 4], r9w
je 0x1400067f0
inc rdx
add rcx, 6
cmp rdx, r8
jl 0x14000668d
mov eax, r10d
mov sil, pe_nt_image_headers64
test rdi, rdi
je 0x140006789
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x140006789
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006789
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006789
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006789
lea rdx, [rsp + 0x20]
mov r8d, 0x10
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test ebp, ebp
jne 0x140006789
lea r8d, [rbp + 5]
lea rdx, str.RichE
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x140006755
lea r8d, [rbp + 4]
lea rdx, str.RICHE
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
jne 0x140006774
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xb
jae 0x140006801
lea rdx, str.Scintilla
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140006801
test r14, r14
je 0x1400067cb
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400067be
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400067be
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x1400067cb
mov edx, 1
mov rcx, r14
call fcn.140006818
test rdi, rdi
je 0x1400067e5
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
jne 0x140006801
test rbx, rbx
je 0x140006801
mov rax, qword [rbx + 0x10]
jmp 0x140006803
xor ebp, ebp
jmp 0x1400066b3
mov eax, 9
jmp 0x1400066b6
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d9e8
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140016ba0], eax
add rsp, 0x28
ret
Function at 0x140002580
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1060
call fcn.140003490
sub rsp, rax
mov rax, qword [0x14002a020]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov qword [rsp + 0x40], rsp
mov rsi, rdx
mov rbx, rcx
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinInet
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140002691
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140002687
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.1400052b0
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002687
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140004c10
lea rdx, [0x140002660]
mov rcx, rsp
call fcn.140019380
nop
nop
xor eax, eax
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140002b80
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140002662

Function at 0x140003828
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003872
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003872
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003872
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003872
cmp dword [rcx + 0x84], 0xe
jbe 0x140003872
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003874
xor al, al
add rsp, 0x28
ret

Function at 0x14000f758
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f554
Function at 0x1400146b4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400146e4
xor eax, eax
jmp 0x1400147a7
mov rbp, rbx
cmp word [rax], si
je 0x140014709
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400146f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400146ec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140012f80
movsxd r14, eax
test eax, eax
jne 0x140014747
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400146dd
mov rcx, r14
call fcn.1400114d8
mov rdi, rax
test rax, rax
jne 0x140014760
xor ecx, ecx
call fcn.14001149c
jmp 0x14001473c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140012f80
test eax, eax
jne 0x140014791
mov rcx, rdi
call fcn.14001149c
jmp 0x14001479b
xor ecx, ecx
call fcn.14001149c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140016b64
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000b1d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140016bee
cmp byte [rbp - 0x21], r15b
je 0x140016be9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140016c24
call fcn.140012290
test eax, eax
jne 0x140016c10
cmp byte [rbp - 0x21], r15b
je 0x140016c08
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140016c24
cmp byte [rbp - 0x21], r15b
je 0x140016c21
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000ee64
test eax, eax
jne 0x140016cc4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b1d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140016c63
cmp byte [rbp - 0x21], r15b
je 0x140016c98
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016c98
call fcn.140012290
test eax, eax
jne 0x140016c84
cmp byte [rbp - 0x21], r15b
je 0x140016c7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016c98
cmp byte [rbp - 0x21], r15b
je 0x140016c95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000ee64
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140016cc4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140016cc7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140016cd5
mov rcx, rdi
call fcn.14001149c
cmp byte [rbp + 0x3f], r15b
je 0x140016ce4
mov rcx, qword [rbp + 0x27]
call fcn.14001149c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140019200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140019228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140019228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140005dd3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140005e17
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140005e12
cmp rbx, r11
jae 0x140005e17
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140005e00
cmp rbx, r11
jb 0x140005e1b
xor eax, eax
jmp 0x140005e27
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401d6264
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1401e170c
nop
cmp dword [0x1406c8c38], 1
je 0x1401d6210
mov dword [0x1406c8c34], 1
mov byte [0x1406c8c30], r12b
test ebx, ebx
jne 0x1401d61fc
mov rcx, qword [0x1406cf1f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401d61e9
mov rcx, qword [0x1406cf1e8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1401d6188
call fcn.1401d71d4
cmp qword [rdi], rax
jne 0x1401d6188
jmp 0x1401d616e
cmp rdi, rsi
jb 0x1401d61e9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1401d71d4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1406cf1f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1406cf1e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1401d61c7
cmp r13, rax
je 0x1401d61e7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1401d616e
lea rdx, [0x140513458]
lea rcx, [0x140513440]
call fcn.1401d5fb8
lea rdx, [0x140513468]
lea rcx, [0x140513460]
call fcn.1401d5fb8
nop
test r12d, r12d
je 0x1401d621f
mov ecx, 8
call fcn.1401e160c
test r12d, r12d
jne 0x1401d624a
mov dword [0x1406c8c38], 1
lea ecx, [r12 + 8]
call fcn.1401e160c
mov ecx, r15d
call fcn.1401d5f4c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401d60d8

Function at 0x1401d6270
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1401d60d8
Function at 0x1401d7727
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1406ab630]
jne 0x1401cdaaa
rol rcx, 0x10
test cx, 0xffff
jne 0x1401cdaa6
repz ret
ror rcx, 0x10
jmp 0x1401d7680
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1406c9220]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1406c9318]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401d7705
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1406c9220]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1401d7727
mov rax, qword [rsp + 0x88]
mov qword [0x1406c9318], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1406c92b8], rax
mov rax, qword [0x1406c9318]
mov qword [0x1406c9190], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1406c92a0], rax
mov dword [0x1406c9180], 0xc0000409
mov dword [0x1406c9184], 1
mov rax, qword [0x1406ab630]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1406ab638]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1406c9218], eax
mov ecx, 1
call fcn.1401dcf58
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140521c50]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1406c9218], 0
jne 0x1401d77ae
mov ecx, 1
call fcn.1401dcf58
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1401e6d04
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1401d71d4
xor ebx, ebx
mov rdi, rax
cmp qword [0x1406c9ab8], rbx
jne 0x1401e6e0a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1401e6edf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401e6edf
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1405227d8]
mov rcx, rsi
mov qword [0x1406c9ab8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1405227c0]
mov rcx, rsi
mov qword [0x1406c9ac0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1406c9ac8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1406c9ad8], rax
test rax, rax
je 0x1401e6e01
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1406c9ad0], rax
jmp 0x1401e6e11
mov rax, qword [0x1406c9ad0]
jmp 0x1401e6e18
mov rax, qword [0x1406c9ad0]
mov r11, qword [0x1406c9ad8]
cmp rax, rdi
je 0x1401e6e80
cmp r11, rdi
je 0x1401e6e80
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1406c9ad8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1401e6e80
test rax, rax
je 0x1401e6e80
call rsi
test rax, rax
je 0x1401e6e7a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1401e6e7a
test byte [rsp + 0x38], 1
jne 0x1401e6e80
bts ebp, 0x15
jmp 0x1401e6ebe
mov rcx, qword [0x1406c9ac0]
cmp rcx, rdi
je 0x1401e6ebe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401e6ebe
call rax
mov rbx, rax
test rax, rax
je 0x1401e6ebe
mov rcx, qword [0x1406c9ac8]
cmp rcx, rdi
je 0x1401e6ebe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401e6ebe
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1406c9ab8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401e6edf
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401e6ee1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140e79000
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
and rsp, 0xfffffffffffffff0
movabs rcx, 0x140e79062
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryA
call qword [rax]
movabs rdx, 0x140e7906b
mov rcx, rax
movabs rax, sym.imp.KERNEL32.dll_GetProcAddress
call qword [rax]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9, rcx
movabs r8, 0x140e79078
mov rdx, rcx
call rax
leave
jmp fcn.1401cda64
Function at 0x180001f70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x180011056]
call fcn.180005850
mov edx, 8
lea rcx, [rbp + 8]
call fcn.180002f30
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.180002510
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.180001190
nop
lea rcx, [rbp + 0x108]
call fcn.180002940
lea rax, [0x180001ea0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.180003190
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x180002070
lea rcx, [rbp + 8]
call fcn.180003470
jmp 0x180002089
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rbp + 8]
call fcn.180002940
lea rcx, [rbp - 0x30]
lea rdx, [0x18000a530]
call fcn.180005620
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.180005a90
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x180005190
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1728
call fcn.180005ac0
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x43a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1748]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x16d8], rax
lea rcx, [0x1800116d3]
call fcn.180005850
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x180005216
xor eax, eax
jmp 0x18000533e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1700]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x18000525a
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x18000533e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x1708]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x1800052b1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x18000533e
mov dword [rbp + 0x10c4], 1
lea r9, [rbp + 0x1084]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000531a
cmp dword [rbp + 0x1084], 0
je 0x18000531a
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x10a4]
mov r8d, dword [rbp + 0x1084]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180005318
mov dword [rbp + 0x10c4], 0
jmp 0x18000531a
jmp 0x1800052bb
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rbp + 0x10c4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x18000aef0]
call fcn.180005620
mov rax, rdi
mov rcx, qword [rbp + 0x16d8]
xor rcx, rbp
call fcn.180005a90
lea rsp, [rbp + 0x16e8]
pop rdi
pop rbp
ret

Function at 0x180005370
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1800116d3]
call fcn.180005850
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0xe0]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret