joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069350
Capabilities:
Log keystrokes

Disassembly:
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400c6f10]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov r8d, 0x6d1
xor edx, edx
lea rcx, [0x1400ceb42]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x20
jmp 0x1400693b5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x1400695b9
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1400ce888]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x1400693e6
jmp 0x1400693ab
cmp dword [rsp + 0x40], 0x140
jl 0x1400694c2
cmp dword [rsp + 0x40], 0x14e
jg 0x1400694c2
mov dword [rsp + 0x1b8], 0x60
mov dword [rsp + 0x1bc], 0x61
mov dword [rsp + 0x1c0], 0x62
mov dword [rsp + 0x1c4], 0x63
mov dword [rsp + 0x1c8], 0x64
mov dword [rsp + 0x1cc], 0x65
mov dword [rsp + 0x1d0], 0x66
mov dword [rsp + 0x1d4], 0x67
mov dword [rsp + 0x1d8], 0x68
mov dword [rsp + 0x1dc], 0x69
mov dword [rsp + 0x1e0], 0x6e
mov dword [rsp + 0x1e4], 0x6f
mov dword [rsp + 0x1e8], 0x6a
mov dword [rsp + 0x1ec], 0x6d
mov dword [rsp + 0x1f0], 0x6b
mov eax, dword [rsp + 0x40]
sub eax, 0x140
cdqe
mov eax, dword [rsp + rax*4 + 0x1b8]
mov dword [rsp + 0x164], eax
jmp 0x1400694db
mov edx, 1
mov ecx, dword [rsp + 0x168]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0xffffffff
jne 0x140069555
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 1
jge 0x140069564
jmp 0x1400693ab
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x1400ceb42]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x178]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1400693ab
mov rcx, rsp
lea rdx, [0x14008c590]
call fcn.14006fc34
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14006f220
add rsp, 0x220
pop rdi
ret
Function at 0x14006dbe0
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400c6f10]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.libOSMesa.dll
mov qword [rsp + 0x38], rax
lea rax, str.OSMesa.dll
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
cmp qword [0x1400cf498], 0
je 0x14006dc3b
mov eax, 1
jmp 0x14006ddbb
mov dword [rsp + 0x20], 0
jmp 0x14006dc4f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + rax*8 + 0x38], 0
je 0x14006dc81
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400cf498], rax
cmp qword [0x1400cf498], 0
je 0x14006dc7f
jmp 0x14006dc81
jmp 0x14006dc45
cmp qword [0x1400cf498], 0
jne 0x14006dca3
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.140061d70
xor eax, eax
jmp 0x14006ddbb
lea rdx, str.OSMesaCreateContextExt
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4a0], rax
lea rdx, str.OSMesaCreateContextAttribs
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4a8], rax
lea rdx, str.OSMesaDestroyContext
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4b0], rax
lea rdx, str.OSMesaMakeCurrent
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4b8], rax
lea rdx, str.OSMesaGetColorBuffer
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4c0], rax
lea rdx, str.OSMesaGetDepthBuffer
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4c8], rax
lea rdx, str.OSMesaGetProcAddress
mov rcx, qword [0x1400cf498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cf4d0], rax
cmp qword [0x1400cf4a0], 0
je 0x14006dd9c
cmp qword [0x1400cf4b0], 0
je 0x14006dd9c
cmp qword [0x1400cf4b8], 0
je 0x14006dd9c
cmp qword [0x1400cf4c0], 0
je 0x14006dd9c
cmp qword [0x1400cf4c8], 0
je 0x14006dd9c
cmp qword [0x1400cf4d0], 0
jne 0x14006ddb6
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.140061d70
call fcn.14006ddf0
xor eax, eax
jmp 0x14006ddbb
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14008cf20]
call fcn.14006fc34
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006f220
add rsp, 0x70
pop rdi
ret

Function at 0x140070084
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400700ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400700ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400700ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400700ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400700ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400700d0
xor al, al
add rsp, 0x28
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
push r9
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140001760
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r8 + r10 + 0xe0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x1400017a0
sub r11, 1
jne 0x140001790
mov dil, 0xd
lea rbp, [0x1400033a0]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001840
inc r8
sub r9, 1
jne 0x140001830
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001890
sub r9, 1
jne 0x140001880
test dil, dil
je 0x1400018bc
mov rcx, rbx
call fcn.1400014d0
add dil, 0xff
jmp 0x1400017c5
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400027a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140040060]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x44], esi
mov r8, rdx
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x50]
call fcn.140005000
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002580
add rax, rax
mov word [rsp + 0x40], ax
add ax, 2
mov word [rsp + 0x42], ax
mov rax, qword [0x140240298]
test rax, rax
jne 0x140002617
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtUnloadDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140240298], rax
test rax, rax
jne 0x140002617
mov rax, qword [0x140240290]
test rax, rax
jne 0x14000260d
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlNtStatusToDosError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140240290], rax
test rax, rax
jne 0x14000260d
lea ebx, [rax + 1]
jmp 0x1400026e3
mov ecx, 0xc00000bb
jmp 0x1400026df
lea rcx, [rsp + 0x40]
call rax
mov ebx, eax
mov r8, rdi
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x20]
call fcn.140005000
cmp qword [rax + 0x18], 8
jb 0x14000263e
mov rax, qword [rax]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140002690
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000268b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000274b
call fcn.1400068f0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
mov rax, qword [0x140240290]
test rax, rax
jne 0x1400026dd
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlNtStatusToDosError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140240290], rax
test rax, rax
jne 0x1400026dd
lea ebx, [rax + 1]
jmp 0x1400026e3
mov ecx, ebx
call rax
mov ebx, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140002721
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000271c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002745
call fcn.1400068f0
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400068d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140010d7c
nop
call fcn.140010d7c
nop
int3
Function at 0x1400032e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003302
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000337c
mov rdi, r14
mov rcx, rbx
call fcn.140004950
test rax, rax
jle 0x140003354
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400087f0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000336c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003374
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003316
sub r14, rdi
jmp 0x140003469
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003393
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003395
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400033ca
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400087f0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140003466
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140003405
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140003441
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140010868
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14000347f
cmp rbp, rax
ja 0x140003411
mov r8, rdi
test rdi, rdi
je 0x140003466
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140010868
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140003469
Function at 0x140003880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140040060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400038ad
xor eax, eax
jmp 0x1400039f3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400038e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400038e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400039f3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400039e6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000392a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003939
movsx ecx, dil
jmp 0x14000398d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400039a7
sub eax, 1
je 0x1400039a7
cmp eax, 2
jne 0x1400039e6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14000cb20
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400039eb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400039d4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400101ac
cmp rsi, rax
jne 0x1400039e6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400039eb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400068d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140015a94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400158c0
Function at 0x100dcc0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
mov edi, esi
xor eax, eax
lock cmpxchg qword [0x010263f0], rbx
je 0x100dd06
cmp rax, rbx
jne 0x100dcf9
mov edi, 1
jmp 0x100dd06
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100dce0
mov eax, dword [0x010263ec]
cmp eax, 1
jne 0x100dd1b
lea ecx, [rax + 0x1e]
call fcn.011a4000
jmp 0x100dd5a
mov eax, dword [0x010263ec]
test eax, eax
jne 0x100dd50
mov dword [0x010263ec], 1
lea rdx, [0x010014c0]
lea rcx, [0x010014a8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100dd5a
mov eax, 0xff
jmp 0x100de3b
mov dword [0x010237b4], 1
mov eax, dword [0x010263ec]
cmp eax, 1
jne 0x100dd82
lea rdx, [0x010014a0]
lea rcx, [0x01001480]
call sub.MSVCR80.dll__initterm
mov dword [0x010263ec], 2
test edi, edi
jne 0x100dd8d
xchg qword [0x010263f0], rsi
cmp qword [0x01026408], 0
je 0x100ddb6
lea rcx, [0x01026408]
call fcn.0100e370
test eax, eax
je 0x100ddb6
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x01026408]
mov rcx, qword [sym.imp.MSVCR80.dll___initenv]
mov rax, qword [0x01023798]
mov qword [rcx], rax
mov r8, qword [0x01023798]
mov rdx, qword [0x010237a0]
mov ecx, dword [0x01023790]
call fcn.0100d9e0
mov dword [0x010237b0], eax
cmp dword [0x01023794], 0
jne 0x100ddf7
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x010237b4], 0
jne 0x100de0c
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x010237b0]
jmp 0x100de3b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub rsp, 0x28
call fcn.0100da5c
add rsp, 0x28
jmp 0x100dcc0

Function at 0x100eaf0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor eax, eax
cmp qword [0x010237d0], rax
mov qword [rsp + 0x30], rax
jne 0x100eb65
xor ecx, ecx
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x100eb34
lea rdx, [0x01002f88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x100eb34
lea rcx, [rsp + 0x30]
call rax
jmp 0x100eb46
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100eb48
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x100eb82
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x100eb77
mov rax, qword [rsp + 0x30]
mov qword [0x010237d0], rax
lea rcx, [fcn.0100e850]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
add rsp, 0x28
ret
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r8, [0x01003178]
lea rdx, [0x01003030]
mov r9d, 0x210010
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
int3
Function at 0x1800a6bf0
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 0x1800a6c9d
mov rcx, qword [r10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x1800a6c9f
cmp rax, rdx
je 0x1800a6c9d
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1800a6c87
test rax, rax
setne al
ret
xor eax, eax
test rax, rax
setne al
ret

Function at 0x1800a80b0
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 0x1800a8168
mov rcx, qword [r10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x1800a815f
nop dword [rax + rax]
cmp rax, rdx
je 0x1800a8168
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1800a8150
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180183d00
int3
Function at 0x1800c0440
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 0x1800c050c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1800c050c
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 0x1800c0525
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 0x1800c04fc
cmp byte [rax], 0x5c
jne 0x1800c04f6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800c04f6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800c04e2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1800c04f3
test r8b, 0x10
jne 0x1800c04f6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1800c04f6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800c3900
test edi, edi
jne 0x1800c0460
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.1800c19a0
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800c4534
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800c4520
ret