joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fbf0
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 0x14001ee70
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401c03c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
call fcn.140009f20
lea r8, [0x14022e238]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140023170
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140023c20
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [rsp + 0x20], ax
movsx eax, word [rsp + 0x20]
and eax, 0x8000
test eax, eax
je 0x14001eed5
mov byte [0x14022dc1d], 1
movzx eax, byte [0x14022dc1d]
test eax, eax
je 0x14001ef3b
movsx eax, word [rsp + 0x20]
and eax, 0x8000
test eax, eax
jne 0x14001ef3b
lea rcx, [rsp + 0x38]
call fcn.14000a120
comisd xmm0, xmmword [0x1401a7dd8]
jb 0x14001ef3b
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x14001ef17
mov dword [rsp + 0x24], 1
jmp 0x14001ef1f
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [reloc.WS2_32.dll_accept], al
lea rcx, [rsp + 0x40]
call fcn.140009f20
mov byte [0x14022dc1d], 0
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x14001ef4b
call fcn.1400183c0
call fcn.140017950
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x58
ret

Function at 0x14001f050
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
movzx eax, byte [0x14022dc24]
test eax, eax
je 0x14001f08b
mov ecx, dword [0x1401c0438]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14001f080
movzx eax, byte [0x14022dc28]
test eax, eax
je 0x14001f08b
mov rcx, qword [rsp + 0x30]
call fcn.1400d5b00
nop
mov rcx, qword [rsp + 0x30]
call fcn.14000ae30
add rsp, 0x28
ret
Function at 0x14001f0a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x14022dc2a]
test eax, eax
je 0x14001f188
mov rcx, qword [rsp + 0x1a0]
call fcn.14000c170
movzx eax, byte [0x14022dc38]
test eax, eax
jne 0x14001f0fd
mov ecx, dword [0x1401f6408]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14001f147
mov rcx, qword [rsp + 0x1a8]
call fcn.140020920
test rax, rax
je 0x14001f147
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
mov rdi, rax
lea rsi, [rcx + 0xa4]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
call fcn.14000af70
movzx eax, byte [0x14022dc25]
test eax, eax
je 0x14001f188
mov ecx, dword [0x1401f6408]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14001f188
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
cmp eax, 0xc8
jb 0x14001f188
call fcn.14000af40
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rax, [fcn.14000af70]
test rax, rax
je 0x14001f19f
movzx eax, byte [0x14022ded0]
test eax, eax
jne 0x14001f1cb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x28]
call fcn.14001e970
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000ac00
nop
mov rcx, qword [rsp + 0x1a0]
call fcn.14000ae30
nop
mov rcx, qword [rsp + 0x1a8]
call fcn.140020990
add rsp, 0x188
pop rdi
pop rsi
ret

Function at 0x140026270
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.140027000
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14002c9f0
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 0x14002ca12
mov rcx, qword [rsp + 0x40]
call fcn.14002cac0
jmp 0x14002ca29
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14002ca29
mov rcx, qword [rsp + 0x40]
call fcn.14002cb70
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 0x14002cac0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14002cae1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14002cb65
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 0x14002cb30
mov dword [rsp + 4], 0x9908b0df
jmp 0x14002cb38
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 0x14002cad4
add rsp, 0x18
ret
Function at 0x14002cb70
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 0x14002cba0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14002cc22
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 0x14002cbee
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14002cbf6
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 0x14002cb95
mov qword [rsp + 8], 0xe3
jmp 0x14002cc3a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14002ccc1
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 0x14002cc8b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14002cc93
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 0x14002cc2d
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 0x14002cd15
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14002cd1d
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 0x140031350
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
movzx eax, byte [0x14022ded4]
test eax, eax
jne 0x140031366
jmp 0x140031399
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003137d
mov byte [rsp + 0x20], 1
jmp 0x140031382
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rcx, qword [rsp + 0x40]
call fcn.14000bc50
mov byte [rsp + 0x22], al
add rsp, 0x38
ret
Function at 0x140033890
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 [0x1401c03c0]
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.1400337f0
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x14003390d
mov qword [rbp + 0x30], 0
jmp 0x1400339ab
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 0x14003391d
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14003394c
mov qword [rbp + 0x28], 0
jmp 0x1400339a3
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 0x140033974
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140168b30
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.140033800
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140021120
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400339d1
inc rcx
test dl, dl
jne 0x1400339be
xor eax, eax
jmp 0x1400339d6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140033a01
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.140007240
mov rax, qword [rbp + 0x48]
jmp 0x140033a39
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400338ee
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.140007240
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.140167f50
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x140034690
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 [0x1401c03c0]
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.1400337f0
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140034702
mov qword [rbp + 0x38], 0
jmp 0x1400347a0
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 0x140034712
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140034741
mov qword [rbp + 0x30], 0
jmp 0x140034798
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 0x140034769
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140168b30
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.140033800
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140021120
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400347c6
inc rcx
test dl, dl
jne 0x1400347b3
xor eax, eax
jmp 0x1400347cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400347f0
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.140007240
mov eax, dword [rbp + 0x1c]
jmp 0x140034826
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400346e6
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140007240
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.140167f50
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x140034c40
Capabilities:
Set console window title

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1401c03c0]
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 0x140034c91
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x19
je 0x140034cdb
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 0x140034c87
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x80
pop rdi
ret

Function at 0x140035d30
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, [0x1401852ac]
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 0x140036760
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1401c03c0]
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.14002f110
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.140034c40
call fcn.140034b90
movzx eax, al
test eax, eax
je 0x1400367b5
call fcn.140034d00
mov dword [reloc.WLDAP32.dll_Ordinal_60], eax
lea rcx, [0x14022d7a0]
call fcn.1400f8cc0
mov cx, 5
call fcn.140035d50
lea rcx, [0x14018553c]
call fcn.140033d50
lea rcx, [0x140185540]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, str.__________________Selecione_uma_opcao:_____________________n
call fcn.140033d50
mov cx, 5
call fcn.140035d50
lea rcx, [0x1401855c0]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, [0x140185600]
call fcn.140033d50
mov cx, 2
call fcn.140035d50
lea rcx, [0x140185604]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, [0x140185608]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, str._Inserir_Key:
call fcn.140033d50
lea rcx, [rsp + 0x50]
call fcn.140007270
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.140039150
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call fcn.140021370
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14022d7a0]
call fcn.1400fa300
movzx eax, byte [0x14022d9b0]
test eax, eax
jne 0x14003698b
lea rcx, [0x140185620]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov cx, 4
call fcn.140035d50
lea rcx, [0x140185624]
call fcn.140033d50
lea rcx, [0x140185628]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, str.___________________________ERRO____________________________n
call fcn.140033d50
mov cx, 4
call fcn.140035d50
lea rcx, [0x1401856a8]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, [0x1401856e8]
call fcn.140033d50
mov cx, 4
call fcn.140035d50
lea rcx, [0x1401856ec]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, [0x1401856f0]
call fcn.140033d50
mov cx, reloc.WS2_32.dll_ntohs
call fcn.140035d50
lea rcx, [0x14022d9b8]
call fcn.140021120
mov rdx, rax
lea rcx, str._Status:__s
call fcn.140033d50
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, [0x140185704]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140035d80
nop
lea rcx, [rsp + 0x50]
call fcn.140007240
jmp 0x1400369ac
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x88
ret
Function at 0x140036eb0
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 0x140036ee9
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 0x140036fd7
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 0x140036f7f
cmp qword [rsp + 0x20], 0
jle 0x140036f7f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140036f29
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.140022610
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 0x140036fc7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140036fc7
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
Function at 0x140036fe0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401c03c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140037014
xor eax, eax
jmp 0x140037210
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140037046
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x140037210
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400370f7
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140008300
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140022610
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], 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 + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140037200
mov rcx, qword [rsp + 0x80]
call fcn.140038410
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400371ad
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400371a8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140037210
jmp 0x140037123
cmp qword [rsp + 0x50], 0
jbe 0x140037200
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x78
ret