joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401167c0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [rcx], edx
sub edx, 1
je 0x1401167e3
sub edx, 3
je 0x1401167da
cmp edx, 6
jne 0x1401167ea
add rcx, 0x10
jmp fcn.140145710
mov qword [rcx + 8], 0xffffffffffffffff
ret
mov dword [rcx + 4], 0xffffffff
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov rcx, rdi
lea rdx, str.MSWIM
mov r8d, 8
call fcn.140201ae0
mov dword [rdi + 8], 0xd0
lea rdx, [rbx + 0x10]
mov eax, dword [rbx]
lea rcx, [rdi + 0x18]
mov dword [rdi + 0xc], eax
mov r8d, 0x10
mov eax, dword [rbx + 4]
mov dword [rdi + 0x10], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0x14], eax
call fcn.140201ae0
movzx eax, word [rbx + 0x20]
lea rcx, [rdi + 0x94]
mov word [rdi + 0x28], ax
xor edx, edx
movzx eax, word [rbx + 0x22]
mov word [rdi + 0x2a], ax
mov eax, dword [rbx + 0x24]
mov dword [rdi + 0x2c], eax
lea r8d, [rdx + 0x3c]
mov rax, qword [rbx + 0x30]
mov qword [rdi + 0x30], rax
mov al, byte [rbx + 0x48]
mov byte [rdi + 0x37], al
mov rax, qword [rbx + 0x38]
mov qword [rdi + 0x38], rax
mov rax, qword [rbx + 0x40]
mov qword [rdi + 0x40], rax
mov rax, qword [rbx + 0x50]
mov qword [rdi + 0x48], rax
mov al, byte [rbx + 0x68]
mov byte [rdi + 0x4f], al
mov rax, qword [rbx + 0x58]
mov qword [rdi + 0x50], rax
mov rax, qword [rbx + 0x60]
mov qword [rdi + 0x58], rax
mov rax, qword [rbx + 0x70]
mov qword [rdi + 0x60], rax
mov al, byte [rbx + 0x88]
mov byte [rdi + 0x67], al
mov rax, qword [rbx + 0x78]
mov qword [rdi + 0x68], rax
mov rax, qword [rbx + 0x80]
mov qword [rdi + 0x70], rax
mov rax, qword [rbx + 0x90]
mov qword [rdi + 0x7c], rax
mov al, byte [rbx + 0xa8]
mov byte [rdi + 0x83], al
mov rax, qword [rbx + 0x98]
mov qword [rdi + 0x84], rax
mov rax, qword [rbx + 0xa0]
mov qword [rdi + 0x8c], rax
mov eax, dword [rbx + 0x28]
mov dword [rdi + 0x78], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140202180
Function at 0x140135548
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
cmp r8, 0x10
jb 0x1401355ee
xor al, al
xor r9d, r9d
add al, byte [r9 + rdx]
inc r9
cmp r9, 4
jl 0x14013555a
mov ecx, 5
add al, byte [rcx + rdx]
inc rcx
cmp rcx, 0x10
jl 0x14013556c
cmp al, byte [rdx + 4]
jne 0x1401355ee
cmp byte [rdx + 5], 0
jne 0x1401355ee
movzx eax, word [rdx]
mov word [r10], ax
movzx eax, word [rdx + 2]
mov word [r10 + 2], ax
movzx r9d, word [rdx + 0xa]
movzx r11d, word [rdx + 8]
lea ecx, [r9 + 0x10]
cmp r8, rcx
jb 0x1401355ee
xor r8d, r8d
lea r10, [rdx + 0x10]
mov edx, r9d
test r9d, r9d
je 0x1401355e6
movzx eax, byte [r10]
mov ecx, r8d
shr rcx, 8
inc r10
xor rcx, rax
shl r8w, 8
movzx eax, cl
lea rcx, [0x1402be560]
movzx r8d, r8w
movzx ecx, word [rcx + rax*2]
xor r8d, ecx
sub rdx, 1
jne 0x1401355b5
cmp r11d, r8d
jne 0x1401355ee
xor eax, eax
ret
mov eax, 1
ret

Function at 0x140136eb0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov r8, rdx
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.1401fdc84
mov qword [rbx], rax
test rax, rax
je 0x140136eea
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x140136f10
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r9
lea rax, [rsp + 0x40]
mov r9, r8
mov qword [rsp + 0x28], rax
mov r8, rdx
mov dword [rsp + 0x20], 4
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call fcn.1401fdc84
mov qword [rbx], rax
mov rdi, rax
test rax, rax
je 0x140136f7d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140136f7d
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x48]
mov ecx, 1
mov rsi, qword [rsp + 0x50]
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x14013c404
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x20]
call fcn.14013c3d4
xor r8d, r8d
test eax, eax
je 0x14013c43d
cmp qword [rsp + 0x20], r8
je 0x14013c43d
mov ecx, r8d
mov rdx, qword [rsp + 0x20]
shr rdx, cl
inc ecx
and edx, 1
add r8d, edx
cmp ecx, 0x40
jb 0x14013c423
mov eax, r8d
jmp 0x14013c44c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret

Function at 0x14013c454
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
movabs rax, 0x100000000
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14013c496
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
cmovb rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x140140178
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r10d, 0x14
mov rbp, r9
mov r11, rcx
cmp r8d, r10d
jb 0x1401402a1
movzx esi, word [rdx]
xor ebx, ebx
mov word [rcx], si
movzx eax, word [rdx + 2]
mov word [rcx + 2], ax
movzx eax, word [rdx + 4]
mov word [rcx + 4], ax
movzx eax, word [rdx + 6]
mov word [rcx + 6], ax
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], rbx
cmp esi, 2
je 0x140140314
cmp esi, 9
je 0x1401402e9
lea edi, [rbx + 1]
cmp si, di
jne 0x14014020d
lea r9d, [r10 + 0xc]
cmp r8d, r9d
jb 0x1401402a1
mov eax, dword [rdx + 0x10]
mov qword [rcx + 0x18], rax
movzx eax, word [rdx + 0x18]
mov qword [rcx + 0x10], rax
movzx eax, word [rdx + 0x1a]
mov dword [rcx + 0xc], eax
mov eax, r9d
jmp 0x1401402a3
cmp esi, 8
jne 0x14014026c
lea ecx, [rsi + 0x20]
cmp r8d, ecx
jb 0x1401402a1
mov eax, dword [rdx + 0x14]
mov qword [r11 + 0x10], rax
mov eax, dword [rdx + 0x18]
mov qword [r11 + 0x18], rax
movzx r10d, word [rdx + 0x20]
movzx eax, word [rdx + 0x22]
mov dword [r11 + 0xc], eax
test r10d, r10d
je 0x140140268
lea eax, [rcx + 0xc]
cmp eax, r8d
ja 0x1401402a1
mov eax, ecx
add ecx, 0xd
mov r9d, dword [rax + rdx + 8]
add ecx, r9d
cmp ecx, r8d
ja 0x1401402a1
cmp r9d, 0x400
ja 0x1401402a1
add ebx, edi
cmp ebx, r10d
jb 0x14014023e
mov eax, ecx
jmp 0x1401402a3
mov ecx, esi
cmp esi, 0xa
ja 0x1401402b8
je 0x14014027e
sub ecx, 3
je 0x14014027e
sub ecx, edi
jmp 0x1401402bb
mov r10d, 0x18
cmp r8d, r10d
jb 0x1401402a1
mov ecx, dword [rdx + 0x14]
mov qword [r11 + 0x10], rcx
lea r10d, [rcx + 0x18]
cmp r8d, r10d
jb 0x1401402a1
cmp ecx, 0x40000000
jbe 0x1401402d6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
sub ecx, 0xb
je 0x1401402cb
sub ecx, edi
je 0x1401402cb
sub ecx, edi
je 0x1401402d6
cmp ecx, edi
je 0x1401402d6
jmp 0x1401402a1
mov r10d, 0x18
cmp r8d, r10d
jb 0x1401402a1
cmp esi, 8
jb 0x1401402e4
add r10d, 4
cmp r8d, r10d
jb 0x1401402a1
mov eax, r10d
jmp 0x1401402a3
mov r9d, 0x38
cmp r8d, r9d
jb 0x1401402a1
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x18], rax
mov r10, qword [rdx + 0x18]
mov qword [rcx + 0x10], r10
mov ecx, dword [rdx + 0x2c]
mov dword [r11 + 8], ecx
mov eax, dword [rdx + 0x30]
mov dword [r11 + 0xc], eax
jmp 0x14014033c
mov r9d, 0x20
cmp r8d, r9d
jb 0x1401402a1
mov eax, dword [rdx + 0x10]
mov qword [rcx + 0x18], rax
mov ecx, dword [rdx + 0x14]
mov dword [r11 + 8], ecx
mov eax, dword [rdx + 0x18]
mov dword [r11 + 0xc], eax
mov r10d, dword [rdx + 0x1c]
mov qword [r11 + 0x10], r10
cmp ecx, 0xffffffff
jne 0x140140350
mov eax, dword [rbp + 0xc]
mov edi, 1
sub eax, edi
test r10, rax
jne 0x140140353
mov rdi, rbx
mov cl, byte [rbp + 0x16]
shr r10, cl
add r10, rdi
mov ecx, r8d
lea rdx, [r9 + r10*4]
cmp rdx, rcx
cmovbe ebx, edx
mov eax, ebx
jmp 0x1401402a3
Function at 0x140145830
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 8]
mov rdi, rdx
and eax, 0x3f
mov rbx, rcx
mov byte [rax + rcx + 0x40], 0x80
inc eax
cmp eax, 0x38
jbe 0x140145887
cmp eax, 0x40
je 0x14014586d
mov byte [rax + rcx + 0x40], 0
inc eax
cmp eax, 0x40
jne 0x140145861
lea rbp, [rcx + 0x40]
mov r8d, 1
lea rsi, [rcx + 0x20]
mov rdx, rbp
mov rcx, rsi
call qword [rbx]
xor eax, eax
jmp 0x14014588f
lea rbp, [rcx + 0x40]
lea rsi, [rcx + 0x20]
mov ecx, eax
mov r8d, 0x38
add rcx, 0x40
sub r8d, eax
add rcx, rbx
xor edx, edx
call fcn.140202180
mov rcx, qword [rbx + 8]
mov r8d, 1
shl rcx, 3
mov rdx, rbp
mov rax, rcx
bswap ecx
shr rax, 0x20
bswap eax
mov dword [rbx + 0x7c], ecx
mov rcx, rsi
mov dword [rbx + 0x78], eax
call qword [rbx]
mov rdx, rsi
mov r8d, 4
nop dword [rax + rax]
mov ecx, dword [rdx + 4]
lea rdi, [rdi + 8]
mov eax, dword [rdx]
lea rdx, [rdx + 8]
bswap eax
mov dword [rdi - 8], eax
bswap ecx
mov dword [rdi - 4], ecx
sub r8, 1
jne 0x1401458e0
mov rbp, qword [rsp + 0x38]
mov qword [rbx + 8], r8
mov dword [rsi], 0x6a09e667
mov rsi, qword [rsp + 0x40]
mov dword [rbx + 0x24], 0xbb67ae85
mov dword [rbx + 0x28], 0x3c6ef372
mov dword [rbx + 0x2c], 0xa54ff53a
mov dword [rbx + 0x30], 0x510e527f
mov dword [rbx + 0x34], 0x9b05688c
mov dword [rbx + 0x38], 0x1f83d9ab
mov dword [rbx + 0x3c], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140146510
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 8]
mov r14, rdx
and eax, 0x3f
mov rbx, rcx
mov byte [rax + rcx + 0x40], 0x80
inc eax
cmp eax, 0x38
jbe 0x140146568
cmp eax, 0x40
je 0x14014654e
mov byte [rax + rcx + 0x40], 0
inc eax
cmp eax, 0x40
jne 0x140146542
lea rsi, [rcx + 0x40]
mov r8d, 1
lea rdi, [rcx + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [rbx]
xor eax, eax
jmp 0x140146570
lea rsi, [rcx + 0x40]
lea rdi, [rcx + 0x20]
mov ecx, eax
mov r8d, 0x38
add rcx, 0x40
sub r8d, eax
add rcx, rbx
xor edx, edx
call fcn.140202180
mov rcx, qword [rbx + 8]
mov r8d, 1
shl rcx, 3
mov rdx, rsi
mov rax, rcx
bswap ecx
shr rax, 0x20
bswap eax
mov dword [rbx + 0x7c], ecx
mov rcx, rdi
mov dword [rbx + 0x78], eax
call qword [rbx]
mov eax, dword [rdi]
mov rsi, qword [rsp + 0x38]
bswap eax
mov dword [r14], eax
mov eax, dword [rbx + 0x24]
bswap eax
mov dword [r14 + 4], eax
mov eax, dword [rbx + 0x28]
bswap eax
mov dword [r14 + 8], eax
mov eax, dword [rbx + 0x2c]
bswap eax
mov dword [r14 + 0xc], eax
mov eax, dword [rbx + 0x30]
bswap eax
mov dword [r14 + 0x10], eax
mov qword [rbx + 8], 0
mov dword [rdi], 0x67452301
mov rdi, qword [rsp + 0x40]
mov dword [rbx + 0x24], 0xefcdab89
mov dword [rbx + 0x28], 0x98badcfe
mov dword [rbx + 0x2c], 0x10325476
mov dword [rbx + 0x30], 0xc3d2e1f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x1401552a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
xor ebx, ebx
xor r8b, r8b
mov byte [rcx + 4], 0
xor bpl, bpl
mov dword [rcx], 0xffffffff
mov r10, rdx
mov rsi, rcx
mov r9d, ebx
test edi, edi
je 0x1401553b0
cmp edi, 0x20
jb 0x140155356
mov edx, edi
xorps xmm2, xmm2
and edx, 0xffffffe0
xorps xmm1, xmm1
nop word [rax + rax]
mov eax, r9d
movdqu xmm0, xmmword [rax + r10]
lea eax, [r9 + 0x10]
add r9d, 0x20
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax + r10]
pxor xmm1, xmm0
cmp r9d, edx
jb 0x1401552f0
pxor xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd r8d, xmm1
cmp r9d, edi
jae 0x14015536e
mov ecx, r9d
mov edx, edi
add rcx, r10
sub edx, r9d
xor r8b, byte [rcx]
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140155361
test r8b, r8b
jne 0x1401553b0
test edi, edi
je 0x1401553b0
mov rdx, rdi
mov byte [rsi + 4], 1
mov rcx, r10
mov bpl, 1
call fcn.1401f0160
mov ecx, eax
lea rax, [0x14021daf0]
cmp dword [rax + 4], ecx
jne 0x14015539b
cmp dword [rax], edi
je 0x1401553c9
inc ebx
add rax, 0xc
cmp ebx, 6
jb 0x140155392
mov dword [rsi], 0xffffffff
mov byte [rsi + 4], 0
mov rbx, qword [rsp + 0x30]
movzx eax, bpl
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov dword [rsi], ebx
test ebx, ebx
js 0x1401553ac
jmp 0x1401553b0
Function at 0x14015b0f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0xdc], 2
mov dword [rcx + 0xd8], ebp
jne 0x14015b13f
lea edx, [rbp + 1]
call fcn.140158c30
test eax, eax
je 0x14015b139
mov r8d, dword [rbx + 0x9c]
mov rcx, rbx
mov edx, dword [rbx + 0x98]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.14015aed0
mov dword [rbx + 0xdc], ebp
mov r11d, dword [rbx + 0x50]
lea rax, [0x14021de50]
mov edx, dword [rbx + 0x54]
lea r9, [0x14021de80]
mov r8d, dword [rbx + 0xd4]
mov ecx, 8
sub ecx, r11d
mov qword [rsp + 0x38], rdi
shr edx, cl
mov edi, ebp
shr edx, 0x10
mov ecx, 8
cmp dword [rbx + 0xc8], 0x25
movzx r10d, dl
cmovb r9, rax
add r8, r9
movzx edx, byte [r9]
movzx eax, byte [r8 + 0x10]
xor edx, r10d
sub ecx, eax
shr edx, cl
test edx, edx
je 0x14015b1bd
nop word [rax + rax]
inc edi
mov ecx, 8
movzx eax, byte [rdi + r8 + 0x10]
sub ecx, eax
movzx eax, byte [rdi + r9]
xor eax, r10d
shr eax, cl
test eax, eax
jne 0x14015b1a0
mov eax, edi
mov qword [rsp + 0x30], rsi
movzx eax, byte [rax + r8 + 0x10]
add eax, r11d
mov dword [rbx + 0x50], eax
cmp eax, 8
jb 0x14015b20f
mov rax, qword [rbx + 0x58]
cmp rax, qword [rbx + 0x60]
jb 0x14015b1ed
lea rcx, [rbx + 0x58]
call fcn.14019e0e0
movzx edx, al
jmp 0x14015b1f7
movzx edx, byte [rax]
inc rax
mov qword [rbx + 0x58], rax
mov ecx, dword [rbx + 0x54]
add dword [rbx + 0x50], 0xfffffff8
shl ecx, 8
movzx eax, dl
or ecx, eax
cmp dword [rbx + 0x50], 8
mov dword [rbx + 0x54], ecx
jae 0x14015b1d5
cmp edi, 9
jb 0x14015b2c9
jne 0x14015b232
inc dword [rbx + 0xdc]
mov r8d, dword [rbx + 0x9c]
mov edx, dword [rbx + 0x98]
jmp 0x14015b358
mov dword [rbx + 0xdc], ebp
cmp edi, 0xe
jne 0x14015b26e
lea rdx, [0x14021dec0]
mov rcx, rbx
call fcn.14015b010
mov edx, 0xf
mov rcx, rbx
lea edi, [rax + 5]
call fcn.140158c30
add eax, 0x7fff
mov dword [rbx + 0x98], eax
mov edx, eax
jmp 0x14015b34f
mov ecx, dword [rbx + 0xa0]
lea rdx, [0x14021deb0]
sub ecx, edi
mov ebp, edi
inc ecx
and ecx, 3
mov esi, dword [rbx + rcx*4 + 0xa4]
mov rcx, rbx
call fcn.14015b010
mov edi, eax
cmp eax, 0xff
jne 0x14015b2af
cmp ebp, 0xa
jne 0x14015b2af
xor dword [rbx + 0xd4], 0x10
xor eax, eax
jmp 0x14015b360
cmp esi, 0x100
jb 0x14015b326
mov eax, dword [rbx + 0xe8]
inc edi
dec eax
cmp esi, eax
jb 0x14015b326
inc edi
jmp 0x14015b326
mov ecx, dword [rbx + 0xc8]
lea rdx, [0x14021def0]
add ecx, edi
mov dword [rbx + 0xdc], ebp
mov eax, ecx
shr eax, 4
sub ecx, eax
mov dword [rbx + 0xc8], ecx
mov rcx, rbx
call fcn.14015b010
movzx ecx, al
mov edx, ecx
mov esi, dword [rbx + rcx*4 + 0x4ec]
test al, al
je 0x14015b326
dec dword [rbx + rsi*4 + 0x14ec]
mov ecx, dword [rbx + rcx*4 + 0x4e8]
inc dword [rbx + rcx*4 + 0x14ec]
mov dword [rbx + rdx*4 + 0x4ec], ecx
mov dword [rbx + rdx*4 + 0x4e8], esi
mov eax, dword [rbx + 0xa0]
mov edx, esi
mov dword [rbx + rax*4 + 0xa4], esi
mov eax, dword [rbx + 0xa0]
inc eax
mov dword [rbx + 0x98], esi
and eax, 3
mov dword [rbx + 0xa0], eax
add edi, 2
mov r8d, edi
mov dword [rbx + 0x9c], edi
mov rcx, rbx
call fcn.14015aed0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
Function at 0x14015c1e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov r14, rcx
mov edi, r8d
lea rcx, [0x1402be7e8]
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [r14 + 0x20], 0
je 0x14015c333
mov qword [rsp + 0xf8], rsi
lea rcx, [rbp - 0x69]
mov qword [rsp + 0xc0], r15
call fcn.140145710
mov r15d, 0x3e8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, 4
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x69]
mov dword [rbp + 0x77], eax
call fcn.140145760
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 4
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x69]
mov dword [rbp + 0x77], eax
call fcn.140145760
mov edx, 0x20
lea rcx, [rbp + 0x17]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14015c293
mov r15d, 0x64
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x69]
lea r8d, [r15 - 0x44]
call fcn.140145760
lea rcx, [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14015c2b4
mov r8d, 8
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.140145760
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, 4
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x69]
mov dword [rbp + 0x77], eax
call fcn.140145760
mov esi, 0x64
nop word [rax + rax]
mov rdx, r14
lea rcx, [rbp - 0x69]
call fcn.140145830
lea rcx, [rbp - 0x69]
call fcn.140145710
mov r8d, 0x20
lea rcx, [rbp - 0x69]
mov rdx, r14
call fcn.140145760
sub rsi, 1
jne 0x14015c2e0
add r15d, 0xffffffff
jne 0x14015c293
mov rdx, r14
lea rcx, [rbp - 0x69]
call fcn.140145830
mov rsi, qword [rsp + 0xf8]
mov byte [r14 + 0x20], r15b
mov r15, qword [rsp + 0xc0]
test edi, edi
je 0x14015c3d1
nop dword [rax + rax]
lea rcx, [rbp - 0x69]
call fcn.140145710
mov r8d, 0x20
lea rcx, [rbp - 0x69]
mov rdx, r14
call fcn.140145760
mov rdx, r14
lea rcx, [rbp - 0x69]
call fcn.140145830
lea rcx, [rbp - 0x69]
call fcn.140145710
mov r8d, 4
mov dword [rbp + 0x77], 0xf672abd1
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x69]
call fcn.140145760
mov r8d, 0x20
lea rcx, [rbp - 0x69]
mov rdx, r14
call fcn.140145760
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x69]
call fcn.140145830
xor edx, edx
lea r8, [rbp + 0x17]
sub r8, rbx
test edi, edi
je 0x14015c3d1
movzx eax, byte [r8 + rbx]
inc edx
mov byte [rbx], al
dec edi
inc rbx
cmp edx, 0x20
jb 0x14015c3b2
test edi, edi
jne 0x14015c340
lea rcx, [0x1402be7e8]
add rsp, 0xc8
pop r14
pop rdi
pop rbx
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140161c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rcx + 0x10]
mov rbx, rcx
mov rax, qword [rcx]
movzx r10d, byte [r9 + 1]
add word [rax + 2], 4
add r10d, 4
movzx eax, byte [r9 - 5]
mov byte [r9 + 1], r10b
cmp r10d, eax
jbe 0x140161cb3
mov eax, dword [r9 - 6]
lea r8, [r9 - 6]
mov ecx, dword [r9]
movzx edx, word [r9 + 4]
mov dword [r9], eax
movzx eax, word [r8 + 4]
mov word [r9 + 4], ax
mov dword [r8], ecx
mov word [r8 + 4], dx
mov qword [rbx + 0x10], r8
cmp r10d, 0x7c
jbe 0x140161cb3
mov rcx, rbx
call fcn.140163a30
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax + 4]
movzx eax, word [rax + 2]
shl rcx, 0x10
or rcx, rax
add rcx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x140161ce3
cmp rcx, qword [rbx + 0x60]
jb 0x140161ce3
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140163510

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

Disassembly:
push rbx
sub rsp, 0x20
mov r11, qword [rcx + 0x10]
xor edx, edx
mov r9, qword [rcx]
mov rbx, rcx
movzx r10d, byte [r11 + 1]
movzx r8d, word [r9 + 2]
lea eax, [r10 + r10]
cmp eax, r8d
setae dl
add r8w, 4
add dword [rcx + 0x2c], edx
add r10d, 4
mov dword [rcx + 0x20], edx
mov word [r9 + 2], r8w
mov byte [r11 + 1], r10b
cmp r10d, 0x7c
jbe 0x140161d39
call fcn.140163a30
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax + 4]
movzx eax, word [rax + 2]
shl rcx, 0x10
or rcx, rax
add rcx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x140161d69
cmp rcx, qword [rbx + 0x60]
jb 0x140161d69
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140163510

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

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x30]
mov rbx, rcx
mov r8, qword [rcx + 0x10]
movzx edx, byte [r8 + 1]
mov dword [rcx + 0x2c], eax
add edx, 4
mov rax, qword [rcx]
add word [rax + 2], 4
mov byte [r8 + 1], dl
cmp edx, 0x7c
jbe 0x140161db1
call fcn.140163a30
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140163510
Function at 0x14016e5d4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
movzx eax, word [rdx + 4]
mov word [rcx + 4], ax
movzx eax, word [rdx + 6]
mov word [rcx + 6], ax
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
add rdx, 0x18
add rcx, 0x18
call fcn.14016d808
nop
lea rdx, [rdi + 0x28]
lea rcx, [rbx + 0x28]
call fcn.14016da2c
nop
lea rdx, [rdi + 0x38]
lea rcx, [rbx + 0x38]
call fcn.1400f6b3c
nop
movups xmm0, xmmword [rdi + 0x48]
movups xmmword [rbx + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x58], xmm1
and qword [rbx + 0x68], 0
and qword [rbx + 0x70], 0
mov rsi, qword [rdi + 0x70]
test rsi, rsi
je 0x14016e682
mov rcx, rsi
call fcn.140202da8
mov qword [rbx + 0x68], rax
mov r8, rsi
mov rdx, qword [rdi + 0x68]
mov rcx, rax
call fcn.140201ae0
mov qword [rbx + 0x70], rsi
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140172080
Capabilities:
Parse credit card information

Disassembly:
cmp dword [rcx + 0x58], 2
jge 0x140172097
cmp byte [rcx + 0x5e], 0
je 0x140172101
cmp edx, 0x3f
jb 0x140172101
je 0x1401720f1
lea eax, [rdx - 1]
ret
cmp edx, 0x2c
jb 0x140172101
or eax, 0xffffffff
cmp dword [rcx + 0x58], 3
jl 0x1401720b0
cmp edx, 0x2c
jne 0x1401720ae
lea eax, [rdx + 0x1c]
ret
add edx, eax
cmp dword [rcx + 0x58], 4
jl 0x1401720c1
cmp edx, 0x2c
jne 0x1401720bf
lea eax, [rdx + 0x1d]
ret
add edx, eax
cmp edx, 0x3a
jb 0x140172101
cmp byte [rcx + 0x20], 0
je 0x1401720e1
cmp edx, 0x3a
jne 0x1401720d5
lea eax, [rdx + 0xa]
ret
cmp edx, 0x3b
jne 0x1401720de
lea eax, [rdx + 0xa]
ret
add edx, 0xfffffffe
cmp edx, 0x3f
jb 0x1401720f7
cmp byte [rcx + 0x5e], 0
je 0x1401720f7
cmp edx, 0x3f
jne 0x140172093
mov eax, 0x46
ret
mov eax, 0x47
cmp edx, 0x44
je 0x140172103
mov eax, edx
ret
Function at 0x140173c7c
Capabilities:
Parse pe header

Disassembly:
mov r9, rdx
mov r8, rcx
cmp rdx, 2
jb 0x140173cc8
cmp byte [rcx], 0x4d
jne 0x140173cc8
cmp byte [rcx + 1], 0x5a
jne 0x140173cc8
cmp rdx, 0x40
jb 0x140173cc8
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 0x40]
cmp eax, 0xfc0
ja 0x140173cc8
test dl, 7
jne 0x140173cc8
lea ecx, [rdx + 0x18]
cmp rcx, r9
ja 0x140173cc8
cmp dword [r8 + rdx], 0x4550
jne 0x140173cc8
cmp word [r8 + rdx + 0x14], 0x60
setae al
ret
xor al, al
ret