joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000abd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1401be3c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x140229de1]
test eax, eax
jne 0x14000ac0b
mov rcx, qword [rsp + 0xa0]
call fcn.14000ae00
jmp 0x14000ade4
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14022a068], eax
jle 0x14000ac57
lea rcx, [0x14022a068]
call fcn.140166998
cmp dword [0x14022a068], 0xffffffff
jne 0x14000ac57
lea rcx, [0x140229e00]
call fcn.140006830
nop
lea rcx, [0x14022a068]
call fcn.14016692c
mov rax, qword [rsp + 0xa0]
mov ecx, dword [reloc.WS2_32.dll_accept]
cmp dword [rax + 0xc0], ecx
jbe 0x14000adbd
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x38], rax
movss xmm2, dword [0x1401a6d08]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000a5a0
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x140229e00]
call fcn.14000a550
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000a500
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000a550
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x1401a6b38]
movss xmm1, dword [rsp + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x14022a398]
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x1401a6b38]
movss xmm1, dword [rsp + 0x78]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x14022a39c]
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000ad87
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x1401a6d08]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000a5a0
mov rax, qword [rax]
mov qword [0x140229e00], rax
jmp 0x14000add7
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000a220
mov rax, qword [rax]
mov qword [0x140229e00], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000ae00
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401668d0
add rsp, 0x98
ret
Function at 0x14000fb80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret

Function at 0x14001e960
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401be3c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
call fcn.140009ef0
lea r8, [0x14022a3d8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140022b60
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140023610
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [rsp + 0x20], ax
movsx eax, word [rsp + 0x20]
and eax, 0x8000
test eax, eax
je 0x14001e9c5
mov byte [0x140229dd5], 1
movzx eax, byte [0x140229dd5]
test eax, eax
je 0x14001ea2b
movsx eax, word [rsp + 0x20]
and eax, 0x8000
test eax, eax
jne 0x14001ea2b
lea rcx, [rsp + 0x38]
call fcn.14000a0f0
comisd xmm0, xmmword [0x1401a6d80]
jb 0x14001ea2b
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x14001ea07
mov dword [rsp + 0x24], 1
jmp 0x14001ea0f
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [reloc.WS2_32.dll_accept], al
lea rcx, [rsp + 0x40]
call fcn.140009ef0
mov byte [0x140229dd5], 0
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x14001ea3b
call fcn.140018310
call fcn.1400178e0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401668d0
add rsp, 0x58
ret

Function at 0x14001eb50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
movzx eax, byte [0x140229ddc]
test eax, eax
je 0x14001eb8b
mov ecx, dword [0x1401be438]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001eb80
movzx eax, byte [0x140229de0]
test eax, eax
je 0x14001eb8b
mov rcx, qword [rsp + 0x30]
call fcn.1400d4b20
nop
mov rcx, qword [rsp + 0x30]
call fcn.14000ae00
add rsp, 0x28
ret
Function at 0x14001eba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x140229de2]
test eax, eax
je 0x14001ec88
mov rcx, qword [rsp + 0x190]
call fcn.14000c110
movzx eax, byte [0x140229df0]
test eax, eax
jne 0x14001ebfd
mov ecx, dword [0x1401f25d8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14001ec47
mov rcx, qword [rsp + 0x198]
call fcn.140020410
test rax, rax
je 0x14001ec47
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
mov rdi, rax
lea rsi, [rcx + 0x8c]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x198]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x190]
call fcn.14000af00
movzx eax, byte [0x140229ddd]
test eax, eax
je 0x14001ec88
mov ecx, dword [0x1401f25d8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14001ec88
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
cmp eax, 0xc8
jb 0x14001ec88
call fcn.14000aed0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rax, [fcn.14000af00]
test rax, rax
je 0x14001ec9f
movzx eax, byte [0x14022a080]
test eax, eax
jne 0x14001eccb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x28]
call fcn.14001e490
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000abd0
nop
mov rcx, qword [rsp + 0x190]
call fcn.14000ae00
nop
mov rcx, qword [rsp + 0x198]
call fcn.140020480
add rsp, 0x178
pop rdi
pop rsi
ret

Function at 0x140025ae0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140026870
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14002c080
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14002c0a2
mov rcx, qword [rsp + 0x40]
call fcn.14002c150
jmp 0x14002c0b9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14002c0b9
mov rcx, qword [rsp + 0x40]
call fcn.14002c200
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14002c150
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14002c171
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14002c1f5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14002c1c0
mov dword [rsp + 4], 0x9908b0df
jmp 0x14002c1c8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002c164
add rsp, 0x18
ret
Function at 0x14002c200
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14002c230
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14002c2b2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14002c27e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14002c286
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002c225
mov qword [rsp + 8], 0xe3
jmp 0x14002c2ca
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14002c351
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14002c31b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14002c323
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002c2bd
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14002c3a5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14002c3ad
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14002f3a0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4d0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1401be3c0]
xor rax, rbp
mov qword [rbp + 0x4a0], rax
mov dword [rbp + 0x60], 0x438
mov rax, qword [rbp + 0x4c0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
call fcn.14002f300
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x14002f41d
mov qword [rbp + 0x30], 0
jmp 0x14002f4bb
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x14002f42d
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14002f45c
mov qword [rbp + 0x28], 0
jmp 0x14002f4b3
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x40], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14002f484
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1401674b0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.14002f310
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140020b10
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14002f4e1
inc rcx
test dl, dl
jne 0x14002f4ce
xor eax, eax
jmp 0x14002f4e6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14002f511
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140007210
mov rax, qword [rbp + 0x48]
jmp 0x14002f549
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14002f3fe
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.140007210
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.1401668d0
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x140030db0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1401be3c0]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.14002f300
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140030e22
mov qword [rbp + 0x38], 0
jmp 0x140030ec0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140030e32
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140030e61
mov qword [rbp + 0x30], 0
jmp 0x140030eb8
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140030e89
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1401674b0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.14002f310
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140020b10
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140030ee6
inc rcx
test dl, dl
jne 0x140030ed3
xor eax, eax
jmp 0x140030eeb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140030f10
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.140007210
mov eax, dword [rbp + 0x1c]
jmp 0x140030f46
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140030e06
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140007210
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.1401668d0
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x140031390
Capabilities:
Set console window title

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1401be3c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x2c], Ordinal_32
lea rax, str.0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x1400313e1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x19
je 0x14003142b
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3f
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x38]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
add eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
mov word [rsp + rcx*2 + 0x38], ax
jmp 0x1400313d7
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401668d0
add rsp, 0x80
pop rdi
ret

Function at 0x140032cc0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, [0x14018423c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret
Function at 0x140033570
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1401be3c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call fcn.14002e6c0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.140031390
call fcn.1400312e0
movzx eax, al
test eax, eax
je 0x1400335c5
call fcn.140031450
mov dword [reloc.WLDAP32.dll_Ordinal_60], eax
lea rcx, [0x140229970]
call fcn.1400f78f0
mov cx, 5
call fcn.140032ce0
lea rcx, [0x1401844b4]
call fcn.14002f8e0
lea rcx, [0x1401844b8]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, str.__________________Selecione_uma_opcao:_____________________n
call fcn.14002f8e0
mov cx, 5
call fcn.140032ce0
lea rcx, [0x140184538]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, [0x140184578]
call fcn.14002f8e0
mov cx, 2
call fcn.140032ce0
lea rcx, [0x14018457c]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, [0x140184580]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, str._Inserir_Key:
call fcn.14002f8e0
lea rcx, [rsp + 0x50]
call fcn.140007240
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140037150
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call fcn.140020d60
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140229970]
call fcn.1400f8f30
movzx eax, byte [0x140229b80]
test eax, eax
jne 0x14003379b
lea rcx, [0x140184598]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov cx, 4
call fcn.140032ce0
lea rcx, [0x14018459c]
call fcn.14002f8e0
lea rcx, [0x1401845a0]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, str.___________________________ERRO____________________________n
call fcn.14002f8e0
mov cx, 4
call fcn.140032ce0
lea rcx, [0x140184620]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, [0x140184660]
call fcn.14002f8e0
mov cx, 4
call fcn.140032ce0
lea rcx, [0x140184664]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, [0x140184668]
call fcn.14002f8e0
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140032ce0
lea rcx, [0x140229b88]
call fcn.140020b10
mov rdx, rax
lea rcx, str._Status:__s
call fcn.14002f8e0
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rcx, [0x14018467c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140032d10
nop
lea rcx, [rsp + 0x50]
call fcn.140007210
jmp 0x1400337bc
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401668d0
add rsp, 0x88
ret
Function at 0x140033cc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140033cf9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140033de7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140033d8f
cmp qword [rsp + 0x20], 0
jle 0x140033d8f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140033d39
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140022000
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140033dd7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140033dd7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret