joyce8/EMBER2024-capa huggingface dataset:
Function at 0x154cb60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf70eae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0xf91cc8
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.014efa30
push 8
call fcn.015a5230
push 1
mov esi, eax
call fcn.015a403e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 2
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 2
push eax
call fcn.0154e1e0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov edx, 2
mov byte [ebp + 0xb], al
mov dword [ebp - 0x10], edx
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0x154cc8d
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x154cca9
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.014efa30
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1558920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf72683
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 2
lea eax, [esi + 0x30]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x28]
dec eax
cmp eax, 0xd
ja 0x155970c
jmp dword [eax*4 + 0xede040]
call fcn.014ee090
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x15595d1
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x15595c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1559810
push ecx
push edx
call fcn.015a54b1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.01547f20
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0xf90b9c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x58], eax
mov al, byte [0xf90ba0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x54], al
mov byte [ebp - 0x53], 0
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0x58]
push eax
push 0x10
lea eax, [ebp - 0x188]
mov ecx, esi
push eax
call fcn.01553150
mov byte [ebp - 4], 0x49
mov ecx, dword [esi + 0x4c]
movq xmm0, qword [esi + 0x44]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp - 0xb8]
movq qword [ebp - 0x20], xmm0
call fcn.014f4b50
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x4a
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.015537d0
mov byte [ebp - 4], 0x4b
mov ecx, edi
push esi
sub esp, 8
call fcn.01559880
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x108]
call fcn.014ee090
mov byte [ebp - 4], 0x4d
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x4d
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa8], 0xf75544
call fcn.015bc8a6
mov byte [ebp - 4], 0x49
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xb8], 0xf75544
call fcn.015bc8a6
add esp, 8
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x188]
jmp 0x1559594
call fcn.015c09a0
call fcn.015a3643
push dword [ebp + 8]
lea ecx, [ebp - 0x10c]
call fcn.0155b810
push 0xfa64ac
lea eax, [ebp - 0x10c]
push eax
call fcn.015bcf2b
call fcn.015c09a0
nop
pop esi
shr ebp, cl
add byte [edx - 0x2d], cl
in eax, dx
add byte [ebp - 0x2d], dl
in eax, dx
add byte [eax - 0x2d], bh
in eax, dx
add byte [ebp + 0x6900edd3], al
shr ebp, cl
add byte [ecx], dl
shr ebp, cl
add byte [edi - 0x2e], ch
in eax, dx
add byte [ecx + 0xc00edd1], cl
fucompi st(5)
add byte [edi + ebx*8], cl
in eax, dx
add byte [edi + ebx*8], cl
in eax, dx
add byte [edi + ebx*8], cl
in eax, dx
add byte [0xcc00edde], cl
int3
Function at 0x155c770
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf72d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.0154abc0
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.0154abc0
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.0154abc0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1565a30
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
test edi, edi
je 0x1565b92
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1565b92
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x1565b92
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x1565a81
mov ecx, dword [eax + 0x8c]
mov eax, dword [eax + 0x88]
jmp 0x1565a87
mov ecx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov esi, dword [eax + edi + 0x1c]
lea ebx, [eax + edi]
mov eax, dword [ebx + 0x24]
add esi, edi
mov dword [ebp - 0xc], ecx
add eax, edi
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 8], esi
add ecx, edi
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x14], esi
jbe 0x1565bf0
cmp edx, 0xffff
ja 0x1565b9b
mov ecx, dword [ebx + 0x10]
movzx eax, si
add ecx, eax
mov dword [ebp - 0x10], eax
movzx eax, dx
cmp eax, ecx
jne 0x1565be0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov esi, dword [eax + esi*4]
add esi, edi
cmp esi, ebx
jb 0x1565bf2
mov eax, dword [ebp - 0xc]
add eax, ebx
cmp esi, eax
ja 0x1565bf2
push 0x100
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.015bd6e0
push esi
call fcn.015ca127
add esp, 0x10
mov byte [ebp - 9], 0
mov edi, eax
push 0x64
call fcn.0154bea0
mov byte [ebp - 0xa], al
lea eax, [ebp - 0xa]
push eax
push edi
call fcn.015bcb90
add esp, 8
mov esi, eax
lea eax, [ebp - 0x11c]
push edi
mov byte [esi], 0
inc esi
push eax
call 0x16577eb
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebx + 0x18]
jae 0x1565b92
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0x10], eax
add ecx, edi
mov eax, edx
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1565bd0
test dl, dl
je 0x1565bcc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1565bd0
add ecx, 2
add eax, 2
test dl, dl
jne 0x1565bb0
xor eax, eax
jmp 0x1565bd5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1565ad3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc esi
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ebx + 0x14]
jb 0x1565ab1
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1565c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf73a8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push edi
mov edi, ecx
xorps xmm0, xmm0
lea ecx, [edi + 0xc]
mov dword [ebp - 0x10], edi
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], eax
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov byte [ebp - 4], 1
movups xmmword [edi + 0x48], xmm0
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov byte [ebp - 4], 2
movups xmmword [edi + 0x60], xmm0
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], al
mov byte [ebp - 4], 3
movups xmmword [edi + 0x78], xmm0
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 0xf
mov byte [edi + 0x78], al
mov byte [ebp - 4], 4
push 0x81
push 0xf92360
call fcn.0154cdc0
cmp byte [0xfab50c], 0
jne 0x1565fd4
mov dword [ebp - 0x1c], 0x204031d
xor ecx, ecx
mov dword [ebp - 0x18], 0x641a1e1e
mov dword [ebp - 0x14], 0x26262e
nop
movzx eax, byte [ebp + ecx - 0x1c]
push eax
call fcn.0154bea0
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xb
jb 0x1565d20
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.017575e3
ret
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1567920
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x9c], 0
ret

Function at 0x1568460
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.015681e0

Function at 0x1568490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.01568470
Function at 0x156e750
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push edi
mov edi, edx
mov ecx, dword [ebx]
mov eax, ecx
xor eax, dword [ebp + 8]
mov edx, dword [ebx + 8]
movzx eax, al
shr ecx, 8
xor ecx, dword [edi + eax*4]
movzx eax, cl
add eax, dword [ebx + 4]
mov dword [ebx], ecx
imul ecx, eax, 0x8088405
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebx + 4], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [edi + ecx*4]
pop edi
mov dword [ebx + 8], edx
pop ebx
pop ebp
ret

Function at 0x156fd10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x100ac], ebx
je 0x156fd76
cmp dword [esi + 0x7c], ebx
jbe 0x156fd76
mov ecx, 0xffffff5c
lea eax, [esi + 0x100d0]
sub ecx, esi
lea edi, [esi + 0xa4]
mov dword [ebp - 4], ecx
nop
mov ecx, eax
call fcn.0156e730
movzx ecx, byte [edi]
mov ebx, eax
mov edx, dword [esi + 0x100dc]
push ecx
lea ecx, [esi + 0x100d0]
call fcn.0156e750
xor byte [edi], bl
add esp, 4
mov eax, dword [ebp - 4]
inc edi
add eax, edi
cmp eax, dword [esi + 0x7c]
lea eax, [esi + 0x100d0]
jb 0x156fd40
xor ebx, ebx
mov edi, dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push edi
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
mov dword [esi + 0x7c], 0
or ecx, 0xffffffff
cmp eax, edi
cmovne ebx, ecx
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
mov eax, ebx
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
pop edi
adc dword [esi + 0x100cc], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x15743f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x157441d
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0xf8d720]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x1574400
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1589280
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, edx
mov eax, ecx
mov dword [esp + 4], eax
push esi
push edi
test ebx, ebx
je 0x15893a3
mov edx, 0x44
call fcn.01571840
mov edi, eax
test edi, edi
je 0x15893a3
mov esi, dword [ebp + 8]
mov edx, dword [ebx]
mov ecx, dword [esp + 0xc]
push esi
call fcn.01588fa0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi], eax
mov edx, dword [ebx + 8]
push esi
call fcn.01589090
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 8], eax
mov edx, dword [ebx + 0xc]
push esi
call fcn.01588f80
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push esi
call fcn.01588fa0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x10], eax
mov edx, dword [ebx + 0x14]
push esi
call fcn.01588f80
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x18]
push esi
call fcn.01588fa0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x18], eax
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x1c]
push esi
call fcn.01589280
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x1c], eax
mov edx, dword [ebx + 0x28]
push esi
call fcn.01588f80
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x28], eax
mov edx, dword [ebx + 0x2c]
push esi
call fcn.01588f80
mov dword [edi + 0x2c], eax
mov ecx, 0xfff7
mov dword [edi + 0x30], 0
add esp, 4
mov dword [edi + 0x34], 0
mov ax, word [ebx + 6]
and ax, cx
mov dword [edi + 0x24], 0
mov word [edi + 6], ax
mov eax, edi
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x15a9ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x15a9cdd
cmp esi, edx
jb 0x15a9cdd
sub edx, eax
mov esi, pe_nt_image_headers32
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x15a9cc5
pop esi
pop ebp
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop word [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x15a9cf0
pop esi
pop ebp
ret
Function at 0x15ac920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xfa8048]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov cl, dl
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xa]
push ebx
mov byte [ebp - 0xe], cl
mov bl, dl
mov cl, byte [ebp - 0xb]
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 8], dx
mov ch, byte [ebp - 7]
mov byte [ebp - 0xd], cl
nop dword [eax]
mov cl, byte [esi + eax]
mov bh, byte [eax + 0xf76b80]
xor bh, cl
or bh, bl
mov bl, byte [eax + 0xf76ba0]
xor bl, cl
mov byte [ebp - 0x11], bh
or bl, byte [ebp - 0xd]
mov byte [ebp - 0x17], bl
mov byte [ebp - 0xd], bl
mov bl, byte [eax + 0xf76bc0]
xor bl, cl
or bl, byte [ebp - 0xe]
mov byte [ebp - 0x16], bl
mov byte [ebp - 0xe], bl
mov bl, byte [eax + 0xf76be0]
xor bl, cl
or bl, byte [ebp - 0xf]
mov byte [ebp - 0x15], bl
mov byte [ebp - 0xf], bl
mov bl, byte [eax + 0xf76c00]
xor bl, cl
or bl, byte [ebp - 0x10]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], bl
mov bl, byte [eax + 0xf76c20]
xor bl, cl
or bl, ch
mov byte [ebp - 0x13], bl
mov ch, bl
mov bl, byte [eax + 0xf76c40]
inc eax
xor bl, cl
or bl, dl
mov byte [ebp - 0x12], bl
mov dl, bl
mov bl, bh
cmp eax, 0x1f
jb 0x15ac960
mov bl, byte [eax + esi]
movzx esi, byte [eax + 0xf76c40]
and bl, 0x7f
movzx ecx, bl
xor esi, ecx
movzx ecx, dl
movzx edx, byte [eax + 0xf76c20]
or esi, ecx
movzx ecx, bl
dec esi
xor edx, ecx
movzx ecx, byte [ebp - 0x13]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0xf76c00]
xor edx, ecx
movzx ecx, byte [ebp - 0x14]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0xf76be0]
xor edx, ecx
movzx ecx, byte [ebp - 0x15]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0xf76bc0]
xor edx, ecx
movzx ecx, byte [ebp - 0x16]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0xf76ba0]
movzx eax, byte [eax + 0xf76b80]
xor edx, ecx
movzx ecx, byte [ebp - 0x17]
or edx, ecx
movzx ecx, bl
xor eax, ecx
dec edx
movzx ecx, bh
or esi, edx
or eax, ecx
mov ecx, dword [ebp - 4]
dec eax
xor ecx, ebp
or eax, esi
shr eax, 8
pop esi
and eax, 1
pop ebx
call fcn.015a5855
mov esp, ebp
pop ebp
ret

Function at 0x15ad280
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
pop ebp
ret
Function at 0x15afcb0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x38], eax
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
pop ebp
ret

Function at 0x15baa40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp + 8], 0
push esi
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 4]
movzx esi, byte [ecx + eax]
inc eax
mov ecx, dword [ebp + 8]
xor esi, edx
or ecx, esi
mov dword [ebp + 8], ecx
cmp eax, 0x10
jl 0x15baa60
mov eax, dword [ebp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [ebp + 0xc], 0x3c0
add eax, 0xf76d80
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.015bbaf0
Function at 0x15e0c60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x15e0c8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x15e0c8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1a1f911
Capabilities:
Encode data using xor

Disassembly:
neg dx
lea edx, [esp + 0xb8]
cmp esi, edx
lea esp, [esp + 4]
ja fcn.01ab93ef
mov ecx, 0xb009a899
push ecx
lea ebp, [esp + 4]
lea eax, [ecx + ecx*2 + 0x393fc430]
shr byte [esp + eax - 0x495cbdfa], 0xa1
lea ecx, [eax - 0x495cbd87]
lea eax, [esi + eax - 0x495cbe7b]
mov dword [esp], 0x55b2471a
jo 0x1ab8061
and eax, 0xfffffffc
sub eax, ecx
call fcn.01a6dae2
int3
Function at 0x406340
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a999b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404604
call fcn.00406fa1
push 4
mov dword [esp + 0x18], 0
call fcn.00407c9f
mov edi, eax
add esp, 4
test edi, edi
je 0x4063b4
push ebx
call fcn.00406e79
mov dword [edi], eax
call fcn.00406c38
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f62
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4063a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f8a
pop ebx
jmp 0x4063b6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408711
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ad3d8]
jne 0x40871b
repz ret
jmp fcn.0040c8fc
Function at 0x411b3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ad3d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b46f
and dword [ebp - 0x14], 0
cmp dword [0x4b03ac], 0
mov dword [ebp - 0x18], eax
jne 0x411bee
push 0x404080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c96
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404074
push ebx
call edi
test eax, eax
je 0x411c96
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404064
push ebx
mov dword [0x4b03ac], eax
call edi
push eax
call esi
push 0x404050
push ebx
mov dword [0x4b03b0], eax
call edi
push eax
call esi
push 0x404034
push ebx
mov dword [0x4b03b4], eax
call edi
push eax
call esi
mov dword [0x4b03bc], eax
test eax, eax
je 0x411bee
push 0x40401c
push ebx
call edi
push eax
call esi
mov dword [0x4b03b8], eax
mov eax, dword [0x4b03b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c47
cmp dword [0x4b03bc], ecx
je 0x411c47
push eax
call esi
push dword [0x4b03bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c47
test ebx, ebx
je 0x411c47
call edi
test eax, eax
je 0x411c3e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c3e
test byte [ebp - 8], 1
jne 0x411c47
or dword [ebp + 0x10], 0x200000
jmp 0x411c7a
mov eax, dword [0x4b03b0]
cmp eax, dword [ebp - 0x18]
je 0x411c7a
push eax
call esi
test eax, eax
je 0x411c7a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c7a
mov eax, dword [0x4b03b4]
cmp eax, dword [ebp - 0x18]
je 0x411c7a
push eax
call esi
test eax, eax
je 0x411c7a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b03ac]
call esi
test eax, eax
je 0x411c96
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c98
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408711
leave
ret