joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f890
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea r8, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x18], rsi
mov rsi, qword [rbp + 0x60]
mov qword [rbp + 0x10], rdi
mov rax, qword [0x1400b7ba8]
xor rax, rbp
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsi], r8
cmp qword [rsi + 0x80], 0
je 0x14004f8e8
mov rdi, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp rax, qword [rdi]
je 0x14004fa80
cmp byte [rsi + 0x7c], 0
je 0x14004fa10
cmp qword [rsi + 0x80], 0
je 0x14004f9b2
mov rdi, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp rax, qword [rdi]
je 0x14004fa53
cmp qword [rsi + 0x68], 0
je 0x14004f9a1
cmp byte [rsi + 0x71], 0
je 0x14004f9a1
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
mov rsi, qword [rbp + 0x60]
cmp eax, 0xffffffff
je 0x14004f9a1
mov rdi, rsp
lea r8, [rbp + 0x20]
mov rcx, qword [rsi + 0x68]
add rsi, 0x74
mov rdx, rsi
lea r9, [rbp + 0x40]
lea rax, [rbp]
mov r10, qword [rcx]
mov qword [rdi + 0x20], rax
call qword [r10 + 0x40]
mov rsi, qword [rbp + 0x60]
test eax, eax
je 0x14004f976
cmp eax, 1
je 0x14004f97a
cmp eax, 3
jne 0x14004f9a1
mov byte [rsi + 0x71], 0
jmp 0x14004f9a1
mov byte [rsi + 0x71], 0
mov r8, qword [rbp]
lea rax, [rbp + 0x20]
sub r8, rax
je 0x14004f9a1
mov r9, qword [rsi + 0x80]
lea rcx, [rbp + 0x20]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rsi, qword [rbp + 0x60]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rbp + 0x60]
xor edx, edx
lea r10, [rsi + 8]
mov byte [rsi + 0x7c], dl
lea rdi, [rsi + 0x10]
mov byte [rsi + 0x71], dl
lea r11, [rsi + 0x28]
mov qword [rsi + 0x18], r10
lea r8, [rsi + 0x30]
mov qword [rsi + 0x20], rdi
lea rcx, [rsi + 0x48]
mov qword [rsi + 0x38], r11
lea r9, [rsi + 0x4c]
mov qword [rsi + 0x40], r8
xor eax, eax
mov qword [rdi], rax
mov qword [r8], rax
mov dword [r9], edx
mov qword [r10], rax
mov qword [r11], rax
mov dword [rcx], edx
mov rdi, qword [0x1400c4520]
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x58], r9
mov qword [rcx + 0x38], rax
mov qword [rsi + 0x74], rdi
mov qword [rsi + 0x68], rax
mov rax, qword [sym.imp.MSVCP140.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov rcx, qword [rsi + 0x60]
mov qword [rsi], rax
test rcx, rcx
je 0x14004fa2d
mov edx, 1
call fcn.1400526e0
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x40], 0
xor rcx, rbp
cmp rcx, qword [0x1400b7ba8]
jne 0x14004fa7a
mov rsi, qword [rbp + 0x18]
mov rdi, qword [rbp + 0x10]
lea rsp, [rbp + 0x50]
pop rbp
ret
mov rax, qword [rsi + 0x88]
mov r8, qword [rsi + 0x90]
mov qword [rdi], rax
sub r8, rax
mov rdi, qword [rsi + 0x38]
mov qword [rdi], rax
mov r9, qword [rsi + 0x50]
mov dword [r9], r8d
jmp 0x14004f911
call fcn.1400965d0
nop
mov rax, qword [rsi + 0x88]
mov r8, qword [rsi + 0x90]
mov qword [rdi], rax
sub r8, rax
mov rdi, qword [rsi + 0x38]
mov qword [rdi], rax
mov r9, qword [rsi + 0x50]
mov dword [r9], r8d
jmp 0x14004f8e8
Function at 0x140050270
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rbp
sub rsp, 0x60
lea r9, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov rbx, rcx
mov rbp, rdx
mov r8, qword [0x1400b7ba8]
xor r8, rsp
mov qword [rsp + 0x58], r8
mov qword [rbx], r9
cmp qword [rbx + 0x80], 0
je 0x1400502b1
mov rsi, qword [rbx + 0x18]
lea rdx, [rbx + 0x70]
cmp rdx, qword [rsi]
je 0x14005044b
cmp byte [rbx + 0x7c], 0
je 0x1400503c7
cmp qword [rbx + 0x80], 0
je 0x140050369
mov rsi, qword [rbx + 0x18]
lea rdx, [rbx + 0x70]
cmp rdx, qword [rsi]
je 0x14005041f
cmp qword [rbx + 0x68], 0
je 0x14005035c
cmp byte [rbx + 0x71], 0
je 0x14005035c
mov rsi, qword [rbx]
mov rcx, rbx
mov edx, 0xffffffff
call qword [rsi + 0x18]
cmp eax, 0xffffffff
je 0x14005035c
mov rcx, qword [rbx + 0x68]
mov r11, rsp
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x38]
mov rsi, qword [rcx]
lea r9, [rsp + 0x58]
lea r10, [rsp + 0x30]
mov qword [r11 + 0x20], r10
call qword [rsi + 0x40]
test eax, eax
je 0x140050332
cmp eax, 1
je 0x140050336
cmp eax, 3
jne 0x14005035c
mov byte [rbx + 0x71], 0
jmp 0x14005035c
mov byte [rbx + 0x71], 0
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
sub r8, rdx
je 0x14005035c
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
lea r10, [rbx + 8]
mov byte [rbx + 0x7c], al
lea rsi, [rbx + 0x10]
mov byte [rbx + 0x71], al
lea r11, [rbx + 0x28]
mov qword [rbx + 0x18], r10
lea r8, [rbx + 0x30]
mov qword [rbx + 0x20], rsi
lea rcx, [rbx + 0x48]
mov qword [rbx + 0x38], r11
lea r9, [rbx + 0x4c]
mov qword [rbx + 0x40], r8
xor edx, edx
mov qword [rsi], rdx
mov qword [r8], rdx
mov dword [r9], eax
mov qword [r10], rdx
mov qword [r11], rdx
mov dword [rcx], eax
mov rsi, qword [0x1400c4520]
mov qword [rbx + 0x50], rcx
mov qword [rbx + 0x58], r9
mov qword [rcx + 0x38], rdx
mov qword [rbx + 0x74], rsi
mov qword [rbx + 0x68], rdx
mov rdx, qword [sym.imp.MSVCP140.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov rcx, qword [rbx + 0x60]
mov qword [rbx], rdx
test rcx, rcx
je 0x1400503e4
mov edx, 1
call fcn.1400526e0
test rbp, 1
je 0x1400503fa
mov rcx, rbx
mov edx, 0x98
call fcn.1400965f0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
xor rcx, rsp
cmp rcx, qword [0x1400b7ba8]
jne 0x140050446
mov rax, rbx
add rsp, 0x60
pop rbp
pop rsi
pop rbx
ret
mov rdx, qword [rbx + 0x88]
mov r8, qword [rbx + 0x90]
mov qword [rsi], rdx
sub r8, rdx
mov rsi, qword [rbx + 0x38]
mov qword [rsi], rdx
mov r9, qword [rbx + 0x50]
mov dword [r9], r8d
jmp 0x1400502da
call fcn.1400965d0
mov rdx, qword [rbx + 0x88]
mov r8, qword [rbx + 0x90]
mov qword [rsi], rdx
sub r8, rdx
mov rsi, qword [rbx + 0x38]
mov qword [rsi], rdx
mov r9, qword [rbx + 0x50]
mov dword [r9], r8d
jmp 0x1400502b1
Function at 0x140051450
Capabilities:
Read file on windows

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r12, r8
mov rbp, rdx
mov r13, rcx
test r12, r12
jle 0x1400515fc
cmp qword [r13 + 0x68], 0
jne 0x140051528
mov rdx, qword [r13 + 0x38]
mov r15, r12
mov rdx, qword [rdx]
test rdx, rdx
je 0x140051492
mov r9, qword [r13 + 0x50]
movsxd r14, dword [r9]
jmp 0x140051495
xor r14d, r14d
test r14, r14
ja 0x1400515cb
cmp qword [r13 + 0x80], 0
je 0x140051514
mov r9, qword [r13 + 0x18]
lea rdx, [r13 + 0x70]
cmp rdx, qword [r9]
je 0x1400515a4
cmp r15, 0xfff
jbe 0x1400514f4
mov r9, qword [r13 + 0x80]
mov rcx, rbp
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rbp, rax
sub r15, rax
cmp rax, 0xfff
jne 0x140051514
cmp r15, 0xfff
ja 0x1400514c2
test r15, r15
jbe 0x140051514
mov r9, qword [r13 + 0x80]
mov rcx, rbp
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r15, rax
sub r12, r15
mov rax, r12
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov r15, r12
mov rdx, qword [r13 + 0x38]
mov rdx, qword [rdx]
test rdx, rdx
je 0x140051540
mov r8, qword [r13 + 0x50]
movsxd r14, dword [r8]
jmp 0x140051543
xor r14d, r14d
test r14, r14
jle 0x140051573
cmp r15, r14
mov rcx, rbp
cmovl r14, r15
mov r8, r14
call fcn.140090750
mov rdx, qword [r13 + 0x50]
add rbp, r14
sub r15, r14
movsxd r8, r14d
sub dword [rdx], r14d
mov r9, qword [r13 + 0x38]
add qword [r9], r8
jmp 0x14005158b
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x38]
cmp eax, 0xffffffff
je 0x140051590
mov byte [rbp], al
inc rbp
dec r15
test r15, r15
jg 0x14005152b
sub r12, r15
mov rax, r12
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov rdx, qword [r13 + 0x88]
mov r10, qword [r13 + 0x90]
mov qword [r9], rdx
sub r10, rdx
mov r9, qword [r13 + 0x38]
mov qword [r9], rdx
mov r11, qword [r13 + 0x50]
mov dword [r11], r10d
jmp 0x1400514b9
cmp r14, r12
mov rcx, rbp
cmovae r14, r12
mov r8, r14
call fcn.140090750
mov rdx, qword [r13 + 0x50]
mov r15, r12
add rbp, r14
sub r15, r14
movsxd r9, r14d
sub dword [rdx], r14d
mov r10, qword [r13 + 0x38]
add qword [r10], r9
jmp 0x14005149e
xor eax, eax
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140051610
Capabilities:
Write file on windows

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r13, rcx
mov rbp, r8
mov r12, rdx
cmp qword [r13 + 0x68], 0
je 0x1400516b5
mov r15, rbp
test rbp, rbp
jle 0x1400516a1
mov r9, qword [r13 + 0x40]
mov rcx, qword [r9]
test rcx, rcx
je 0x14005164e
mov r9, qword [r13 + 0x58]
movsxd r14, dword [r9]
jmp 0x140051651
xor r14d, r14d
test r14, r14
jle 0x140051681
cmp r15, r14
mov rdx, r12
cmovl r14, r15
mov r8, r14
call fcn.140090750
mov r9, qword [r13 + 0x58]
add r12, r14
sub r15, r14
movsxd r10, r14d
sub dword [r9], r14d
mov r11, qword [r13 + 0x40]
add qword [r11], r10
jmp 0x14005169c
mov r9, qword [r13]
mov rcx, r13
movzx edx, byte [r12]
call qword [r9 + 0x18]
cmp eax, 0xffffffff
je 0x1400516a1
inc r12
dec r15
test r15, r15
jg 0x140051639
sub rbp, r15
mov rax, rbp
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov r9, qword [r13 + 0x40]
mov r15, rbp
mov rcx, qword [r9]
test rcx, rcx
je 0x1400516cd
mov r9, qword [r13 + 0x58]
movsxd r14, dword [r9]
jmp 0x1400516d0
xor r14d, r14d
test rbp, rbp
jle 0x140051728
test r14, r14
jle 0x140051708
cmp rbp, r14
mov rdx, r12
cmovl r14, rbp
mov r8, r14
call fcn.140090750
mov r9, qword [r13 + 0x58]
add r12, r14
movsxd r10, r14d
sub rbp, r14
sub dword [r9], r14d
mov r11, qword [r13 + 0x40]
add qword [r11], r10
test rbp, rbp
jle 0x140051728
mov r9, qword [r13 + 0x80]
test r9, r9
je 0x140051728
mov rcx, r12
mov edx, 1
mov r8, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbp, rax
sub r15, rbp
mov rax, r15
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140051740
Capabilities:
Write file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x68
mov rdi, rcx
mov r10, qword [0x1400b7ba8]
mov r14d, r9d
xor r10, rsp
mov r13, r8
mov qword [rsp + 0x60], r10
mov r12, rdx
mov r11, qword [rdi + 0x38]
lea rbp, [rdi + 0x70]
cmp rbp, qword [r11]
je 0x140051908
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x140051867
cmp qword [rdi + 0x68], 0
je 0x140051836
cmp byte [rdi + 0x71], 0
je 0x140051836
mov r9, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [r9 + 0x18]
cmp eax, 0xffffffff
je 0x140051867
mov rcx, qword [rdi + 0x68]
mov r15, rsp
lea rdx, [rdi + 0x74]
lea r8, [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x60]
lea r11, [rsp + 0x30]
mov qword [r15 + 0x20], r11
call qword [r10 + 0x40]
test eax, eax
je 0x1400517f7
cmp eax, 1
je 0x1400517fb
cmp eax, 3
jne 0x140051867
mov byte [rdi + 0x71], 0
mov rcx, qword [rdi + 0x80]
jmp 0x140051836
mov byte [rdi + 0x71], 0
mov r15, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
sub r15, r9
je 0x140051829
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140051867
cmp byte [rdi + 0x71], 0
jne 0x140051867
mov rcx, qword [rdi + 0x80]
test r13, r13
jne 0x140051841
cmp r14d, 1
je 0x140051858
mov rdx, r13
mov r8d, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x140051867
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
test eax, eax
je 0x1400518a7
xor edx, edx
mov qword [r12], 0xffffffffffffffff
mov qword [r12 + 8], rdx
mov qword [r12 + 0x10], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
xor rcx, rsp
cmp rcx, qword [0x1400b7ba8]
jne 0x1400518df
mov rax, r12
add rsp, 0x68
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdx, qword [rdi + 0x18]
cmp rbp, qword [rdx]
je 0x1400518e4
mov rcx, qword [rdi + 0x74]
xor ebp, ebp
mov rdx, qword [rsp + 0x38]
mov qword [r12], rdx
mov qword [r12 + 8], rbp
mov qword [r12 + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
xor rcx, rsp
cmp rcx, qword [0x1400b7ba8]
je 0x140051895
call fcn.1400965d0
mov rbp, qword [rdi + 0x88]
mov r8, qword [rdi + 0x90]
mov qword [rdx], rbp
sub r8, rbp
mov rdx, qword [rdi + 0x38]
mov qword [rdx], rbp
mov r9, qword [rdi + 0x50]
mov dword [r9], r8d
jmp 0x1400518b0
cmp r14d, 1
jne 0x14005177a
cmp qword [rdi + 0x68], 1
sbb r13, 0
jmp 0x14005177a
Function at 0x140051920
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
push rbp
sub rsp, 0x68
mov r14, r8
mov rbx, rcx
mov rbp, rdx
mov r10, qword [0x1400b7ba8]
xor r10, rsp
mov r11, qword [r14]
add r11, qword [r14 + 8]
mov qword [rsp + 0x60], r10
mov rcx, qword [rbx + 0x80]
mov qword [rsp + 0x38], r11
test rcx, rcx
je 0x140051a19
cmp qword [rbx + 0x68], 0
je 0x140051a0a
cmp byte [rbx + 0x71], 0
je 0x140051a0a
mov r8, qword [rbx]
mov rcx, rbx
mov edx, 0xffffffff
call qword [r8 + 0x18]
cmp eax, 0xffffffff
je 0x140051a19
mov rcx, qword [rbx + 0x68]
mov r15, rsp
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x60]
lea r11, [rsp + 0x30]
mov qword [r15 + 0x20], r11
call qword [r10 + 0x40]
test eax, eax
je 0x1400519cb
cmp eax, 1
je 0x1400519cf
cmp eax, 3
jne 0x140051a19
mov byte [rbx + 0x71], 0
mov rcx, qword [rbx + 0x80]
jmp 0x140051a0a
mov byte [rbx + 0x71], 0
mov r15, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
sub r15, rdx
je 0x1400519fd
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140051a19
cmp byte [rbx + 0x71], 0
jne 0x140051a19
mov rcx, qword [rbx + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fsetpos]
test eax, eax
je 0x140051a58
xor edx, edx
mov qword [rbp], 0xffffffffffffffff
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
xor rcx, rsp
cmp rcx, qword [0x1400b7ba8]
jne 0x140051a53
mov rax, rbp
add rsp, 0x68
pop rbp
pop r15
pop r14
pop rbx
ret
call fcn.1400965d0
mov rdx, qword [r14 + 0x10]
lea r8, [rbx + 0x70]
mov qword [rbx + 0x74], rdx
mov rdx, qword [rbx + 0x18]
cmp r8, qword [rdx]
je 0x140051a9c
mov rcx, qword [rbx + 0x74]
xor ebx, ebx
mov rdx, qword [rsp + 0x38]
mov qword [rbp], rdx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbx
xor rcx, rsp
cmp rcx, qword [0x1400b7ba8]
jne 0x140051a53
jmp 0x140051a45
mov r8, qword [rbx + 0x88]
mov r9, qword [rbx + 0x90]
mov qword [rdx], r8
sub r9, r8
mov rdx, qword [rbx + 0x38]
mov qword [rdx], r8
mov r10, qword [rbx + 0x50]
mov dword [r10], r9d
jmp 0x140051a6d
Function at 0x1400972c8
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x413d9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x413dad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x413d95
lea eax, [rcx + 1]
jmp 0x413dbb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x413dce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x413db4
sub eax, 3
jb 0x413dee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x413e3d
sar eax, 1
movsxd rbp, eax
jb 0x413e24
jmp 0x413dfc
add ebx, ebx
jne 0x413dfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x413e24
inc ecx
add ebx, ebx
jne 0x413e0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x413e24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x413e1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x413e0c
add ecx, 2
jmp 0x413e29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00413d52
jmp 0x413d9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2000
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x413e89
cmp rsi, rcx
jae 0x413e91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x413e70
cmp al, 0x8f
ja 0x413e70
cmp byte [rsi - 2], 0xf
je 0x413e76
sub al, 0xe8
cmp al, 1
ja 0x413e5a
cmp rsi, rcx
jae 0x413e91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x413e60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x413e91
lodsb al, byte [rsi]
jmp 0x413e70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x11000]
mov eax, dword [rdi]
or eax, eax
je 0x413eee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x13000]
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 0x413e9e
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 0x413ee8
mov qword [rbx], rax
add rbx, 8
jmp 0x413ebe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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
mov byte [fcn.00413f71], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.00413f71
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x413f61
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x1800ba630
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x1800ba6dd
mov rcx, qword [r10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x1800ba6df
cmp rax, rdx
je 0x1800ba6dd
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1800ba6c7
test rax, rax
setne al
ret
xor eax, eax
test rax, rax
setne al
ret

Function at 0x1800bba50
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x1800bbb08
mov rcx, qword [r10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x1800bbaff
nop dword [rax + rax]
cmp rax, rdx
je 0x1800bbb08
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1800bbaf0
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1801d9fb0
int3
Function at 0x18011b810
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18011b8dc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18011b8dc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18011b8f5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18011b8cc
cmp byte [rax], 0x5c
jne 0x18011b8c6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18011b8c6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18011b8b2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18011b8c3
test r8b, 0x10
jne 0x18011b8c6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18011b8c6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18011e590
test edi, edi
jne 0x18011b830
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18011cc40
int3

Function at 0x18011f3f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18011f424
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18011f410
ret
Function at 0x180129f10
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r11, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
imul r8, rcx
lea rcx, [r10 + 8]
and r8, qword [r10 + 0x30]
shl r8, 4
add r8, qword [r10 + 0x18]
mov rdx, qword [r8 + 8]
cmp rdx, qword [rcx]
je 0x180129f98
mov eax, dword [r11]
mov r9, qword [r8]
cmp eax, dword [rdx + 0x10]
je 0x180129f9a
nop
cmp rdx, r9
je 0x180129f94
mov rdx, qword [rdx + 8]
cmp eax, dword [rdx + 0x10]
jne 0x180129f80
lea rcx, [r10 + 8]
jmp 0x180129f9a
lea rcx, [r10 + 8]
xor edx, edx
test rdx, rdx
je 0x180129ff3
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x180129fc3
cmp rax, rdx
jne 0x180129fb9
mov rax, qword [rcx]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x180129fce
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
jmp 0x180129fce
cmp rax, rdx
jne 0x180129fce
mov rax, qword [rdx]
mov qword [r8], rax
mov r8, qword [rdx]
dec qword [rcx + 8]
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
call fcn.180129470
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret