joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002360
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400023ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400023a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400023af
add rax, 0x28
cmp rax, r9
jne 0x140002390
xor eax, eax
ret

Function at 0x1400023b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002440
mov rdx, qword [0x140009840]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000242e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000242e
cmp word [rax + 0x18], 0x20b
jne 0x14000242e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002440
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002419
add rbx, 0x28
cmp rbx, rdi
je 0x140002440
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002410
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002450
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009840]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002470
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002478
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002470
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400024cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400024c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002470
add rax, 0x28
cmp rax, r9
jne 0x1400024b0
xor eax, eax
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009840]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400024ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400024f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400024ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002510
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140009840]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002530
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002538
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002530
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002580
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002577
test rcx, rcx
je 0x140002530
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002568
xor eax, eax
ret
Function at 0x140002590
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009840]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400025af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400025b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400025d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009840]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025f0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400025f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002644
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002650
add rdx, 0x28
cmp r9, rdx
jne 0x140002630
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002660
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140009840]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002682
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002690
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002682
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002682
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002682
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400026e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400026f8
add rdx, 0x28
cmp rdx, r10
jne 0x1400026d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002707
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002717
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400026ee
test ecx, ecx
jg 0x140002700
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0xa32d40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xa32d4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa32d5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa32d45
lea eax, [rcx + 1]
jmp 0xa32d6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa32d7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa32d64
sub eax, 3
jb 0xa32d9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa32ded
sar eax, 1
movsxd rbp, eax
jb 0xa32dd4
jmp 0xa32dac
add ebx, ebx
jne 0xa32daa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa32dd4
inc ecx
add ebx, ebx
jne 0xa32dba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa32dd4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa32dcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa32dbc
add ecx, 2
jmp 0xa32dd9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a32d02
jmp 0xa32d4d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2bf200
mov dl, 0x5a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa32e39
cmp rsi, rcx
jae 0xa32e41
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa32e20
cmp al, 0x8f
ja 0xa32e20
cmp byte [rsi - 2], 0xf
je 0xa32e26
sub al, 0xe8
cmp al, 1
ja 0xa32e0a
cmp rsi, rcx
jae 0xa32e41
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa32e10
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa32e41
lodsb al, byte [rsi]
jmp 0xa32e20
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x62a000]
mov eax, dword [rdi]
or eax, eax
je 0xa32e9e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x632000]
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 0xa32e4e
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 0xa32e98
mov qword [rbx], rax
add rbx, 8
jmp 0xa32e6e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xa32ee2
cmp al, 0xef
ja 0xa32eca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xa32eaa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xa32eb9
mov eax, dword [rdi]
add rdi, 4
jmp 0xa32eb9
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa32f36
sub rsp, 0xffffffffffffff80
jmp 0x46d3c0
Function at 0x1800029c0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800029f2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800029f2
nop word cs:[rax + rax]
jmp 0x1800029f0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002ac8
mov rsi, r10
test r8b, r8b
je 0x180002ae0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002a60
test r9b, r9b
je 0x180002af0
sub rsi, rcx
je 0x180002ac4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002ac0
test ebp, ebp
jne 0x180002ac0
add rbx, 1
cmp rsi, rbx
jne 0x180002a80
jmp 0x180002ac4
test ebp, ebp
jne 0x180002a4c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002ae0
jmp 0x180002af0
Function at 0x140002238
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
movsxd rax, dword [rcx + 0x3c]
mov ebp, dword [0x18001fa84]
lea r11d, [rbp - 1]
imul r11d, ebp
cmp dword [rcx + rax + 0x8c], 0
mov r8d, dword [0x18001fa88]
je 0x180001de2
mov eax, dword [rcx + rax + 0x88]
cmp r8d, 0xa
jl 0x180001da2
mov ebp, r11d
and ebp, 1
je 0x180001da2
jmp 0x180001da0
cmp dword [rcx + rax + 0x14], 0
je 0x180001de2
mov r9d, dword [rcx + rax + 0x18]
test r9d, r9d
je 0x180001de2
mov r10d, dword [rcx + rax + 0x1c]
cmp dword [0x18001fa8c], 0xa
jl 0x180001e02
mov esi, dword [0x18001fa90]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
je 0x180001e02
nop word cs:[rax + rax]
nop dword [rax]
jmp 0x180001de0
xor ecx, ecx
cmp r8d, 0xa
jl 0x180001e6f
mov eax, r11d
and eax, 1
je 0x180001e6f
nop word cs:[rax + rax]
jmp 0x180001e00
add r10, rcx
mov r15d, dword [rcx + rax + 0x20]
mov r14d, dword [rcx + rax + 0x24]
add r15, rcx
add r14, rcx
xor edi, edi
nop word [rax + rax]
mov esi, dword [r15]
add rsi, rcx
xor eax, eax
nop dword [rax + rax]
movzx ebx, byte [rdx + rax]
movzx ebp, byte [rsi + rax]
test bl, bl
je 0x180001e45
add rax, 1
cmp bl, bpl
je 0x180001e30
cmp bl, bpl
je 0x180001e64
add edi, 1
add r15, 4
add r14, 2
cmp edi, r9d
jne 0x180001e20
xor ecx, ecx
cmp r8d, 0xa
jge 0x180001e75
jmp 0x180001e82
movzx eax, word [r14]
mov eax, dword [r10 + rax*4]
add rcx, rax
cmp r8d, 0xa
jl 0x180001e82
and r11d, 1
je 0x180001e82
nop dword [rax + rax]
jmp 0x180001e80
mov rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x180001e90
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x18001fa94], 0xa
jl 0x180001ec2
mov eax, dword [0x18001fa98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180001ec2
nop word cs:[rax + rax]
jmp 0x180001ec0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x18001fa80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x18001fa7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x18001fa9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x18001faa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180001f98
mov rsi, r10
test r8b, r8b
je 0x180001fb0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180001f30
test r9b, r9b
je 0x180001fc0
sub rsi, rcx
je 0x180001f94
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180001f90
test ebp, ebp
jne 0x180001f90
add rbx, 1
cmp rsi, rbx
jne 0x180001f50
jmp 0x180001f94
test ebp, ebp
jne 0x180001f1c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180001fb0
jmp 0x180001fc0
Function at 0x180002900
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002932
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002932
nop word cs:[rax + rax]
jmp 0x180002930
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002a08
mov rsi, r10
test r8b, r8b
je 0x180002a20
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800029a0
test r9b, r9b
je 0x180002a30
sub rsi, rcx
je 0x180002a04
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002a00
test ebp, ebp
jne 0x180002a00
add rbx, 1
cmp rsi, rbx
jne 0x1800029c0
jmp 0x180002a04
test ebp, ebp
jne 0x18000298c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002a20
jmp 0x180002a30
Function at 0x1800027b0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800027e2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800027e2
nop word cs:[rax + rax]
jmp 0x1800027e0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800028b8
mov rsi, r10
test r8b, r8b
je 0x1800028d0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002850
test r9b, r9b
je 0x1800028e0
sub rsi, rcx
je 0x1800028b4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800028b0
test ebp, ebp
jne 0x1800028b0
add rbx, 1
cmp rsi, rbx
jne 0x180002870
jmp 0x1800028b4
test ebp, ebp
jne 0x18000283c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800028d0
jmp 0x1800028e0
Function at 0x140004020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140004054
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140004040
ret
Function at 0x140009960
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 0x140009a25
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140009a25
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 0x140009a3e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140009a15
cmp byte [rcx], 0x5c
jne 0x140009a0e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x140009a0e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400099fc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140009a0b
test r8b, 0x10
jne 0x140009a0e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x140009a0e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140006090
test edi, edi
jne 0x140009980
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140006080
int3

Function at 0x14000cba0
Capabilities:
Parse pe header

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

Function at 0x14000cfb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000cfea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000cfef
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000d038
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000e5f0]
cmp byte [rcx + rax], 0
je 0x14000d038
dec r8
sub rdx, 1
jne 0x14000d01e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14004140b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400693c4
xor r8d, r8d
xor edx, edx
jmp 0x1400690b4

Function at 0x140042383
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400c4d70
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400eb040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400ee598]
xor r11d, r11d
lea rdi, [0x1400d49f4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400c4de0
mov rax, 0xfffffffffffffffe
jmp 0x1400c4f2d
cmp word [r10 + 6], r11w
jne 0x1400c4e4f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400c4e0a
test r14, r14
je 0x1400c4dfb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400c4f2d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400c4e18
mov r8b, 2
jmp 0x1400c4e36
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400c4e26
mov r8b, 3
jmp 0x1400c4e36
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400c4f22
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400c4e78
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400c4f22
cmp bl, bpl
jb 0x1400c4f22
cmp bl, r8b
jae 0x1400c4f22
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400c4ea5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400c4f22
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400c4e87
cmp r9, rbp
jae 0x1400c4ed1
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400c4dd4
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400c4f22
cmp edx, 0x110000
jae 0x1400c4f22
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400c4f22
test r14, r14
je 0x1400c4f10
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140043fee
jmp 0x1400c4f2d
mov rdx, rsi
mov rcx, r10
call fcn.140044737
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400428dd
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400423d3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140050cd4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140050d61
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140050d61
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140050d61
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 0x140050d48
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140050d42
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140050d4a
add rdx, 0x28
jmp 0x140050d27
xor edx, edx
test rdx, rdx
jne 0x140050d53
xor al, al
jmp 0x140050d67
cmp dword [rdx + 0x24], 0
jge 0x140050d5d
xor al, al
jmp 0x140050d67
mov al, 1
jmp 0x140050d67
xor al, al
jmp 0x140050d67
add rsp, 0x18
ret

Function at 0x1400426f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400681b0
mov rax, rcx
neg rcx
test rax, 7
je 0x1400681cd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140068228
test al, 7
jne 0x1400681c0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400681e1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140068252
test dh, dh
je 0x14006824c
shr rdx, 0x10
test dl, dl
je 0x140068246
test dh, dh
je 0x140068240
shr rdx, 0x10
test dl, dl
je 0x14006823a
test dh, dh
je 0x140068234
shr edx, 0x10
test dl, dl
je 0x14006822e
test dh, dh
jne 0x1400681e1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140042a68
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140067124
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400d5998]
mov ecx, 2
lea r8, [0x1400d5990]
lea rdx, str.FlsGetValue
call fcn.140066bf4
mov ecx, ebx
test rax, rax
je 0x14006715e
add rsp, 0x20
pop rbx
jmp qword [0x1400fa020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]