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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x24], 0
push edi
mov dword [esp + 0x2c], 8
mov byte [esp + 0x30], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x8cdc]
mov dword [esi + 0x8cd4], 0
mov dword [esp + 0x20], esi
push dword [eax + 0x174]
push dword [ebp + 8]
push dword [esi]
call fcn.0055fb20
mov eax, dword [esi + 0x8cdc]
cmp byte [eax + 0x1a8], 0
je 0x55fe3e
imul ecx, dword [esi + 0x8cf0], 0x8e00
mov eax, dword [eax + 0x184]
push 0xffffffffffffffff
push dword [ecx + eax + 0x8cec]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x55fe3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp dword [esi + 0x8cd4], edx
jbe 0x55fe74
lea edi, [esi + 0x7cd4]
nop
mov ecx, dword [esi + 0x8cdc]
lea edi, [edi + 4]
inc edx
mov eax, dword [ecx + 0x180]
ror eax, 0x1f
xor eax, dword [edi - 4]
mov dword [ecx + 0x180], eax
cmp edx, dword [esi + 0x8cd4]
jb 0x55fe50
mov al, byte [esp + 0x30]
xor edi, edi
mov ecx, dword [esi + 0x8cdc]
mov byte [esp + 0x13], al
add ecx, 0x140
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
lea edx, [eax*8 + 8]
mov eax, dword [esi + 8]
sub edx, dword [esp + 0x2c]
mov ebx, edx
mov dword [esp + 0x24], edx
shr ebx, 3
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x55fed6
mov esi, ecx
movzx eax, byte [eax + edi]
mov ecx, esi
push 8
push eax
call fcn.00560840
mov eax, dword [esp + 0x18]
inc edi
cmp edi, ebx
jb 0x55feb3
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
movzx eax, byte [esp + 0x13]
and edx, 7
push edx
push eax
call fcn.00560840
mov edx, dword [esi + 0x8cdc]
xor edi, edi
cmp byte [edx + 0x1a8], 0
je 0x55ffac
mov eax, dword [esi + 0x8cf0]
xor ecx, ecx
inc eax
cmp eax, dword [edx + 0x1a4]
cmovne ecx, eax
mov dword [esp + 0x20], ecx
cmp dword [edx + 0x1bc], edi
je 0x55ff83
mov ecx, dword [edx + 0x154]
mov edi, dword [edx + 0x160]
mov ebx, dword [edx + 0x164]
sub edi, ecx
mov eax, dword [edx + 0x14c]
sbb ebx, 0
add edi, eax
adc ebx, 0
cmp ecx, eax
jbe 0x55ff47
add edi, dword [edx + 0x158]
adc ebx, 0
mov ecx, 0xf
xor eax, eax
sub ecx, dword [edx + 0x140]
mov edx, dword [edx + 0x1bc]
shr ecx, 3
add ecx, edi
mov dword [esp + 0x18], ecx
adc eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 0x8cf8]
push eax
push edx
call ecx
mov ecx, dword [esp + 0x20]
mov edi, eax
imul edx, ecx, 0x8e00
mov ecx, dword [esi + 0x8cdc]
mov ecx, dword [ecx + 0x184]
push dword [edx + ecx + 0x8cec]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x55ffac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x563b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0x504], 0
jne 0x563c8d
mov eax, dword [ebp + 8]
test eax, eax
je 0x563c8d
cmp byte [esi + 0x4ad], 0
push ebx
push edi
je 0x563be3
mov ebx, eax
mov edi, dword [esi + 0x10]
cmp edi, 3
jae 0x563b73
mov ecx, esi
call fcn.00450d40
jmp 0x563bcc
mov ecx, dword [esi]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
movzx eax, word [esi + eax*4 + 0x60]
xor edx, eax
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [ecx]
mov dword [ecx], eax
mov ecx, edi
push dword [esi + 0x30]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x28]
push dword [esi]
push dword [esi + 4]
call fcn.00450c30
mov eax, dword [esi + 4]
add esp, 0x18
inc dword [esi + 0x14]
inc eax
inc dword [esi]
mov dword [esi + 4], eax
cmp eax, dword [esi + 8]
jne 0x563bcc
mov ecx, esi
call fcn.00450b80
sub ebx, 1
jne 0x563b62
mov eax, dword [ebp + 8]
add dword [esi + 0x508], eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, eax
cmp dword [esi + 0x10], 3
jae 0x563bf8
mov ecx, esi
call fcn.00450d40
dec edi
jmp 0x563c7a
mov edx, dword [esi + 8]
mov ebx, dword [esi + 4]
sub edx, ebx
mov ecx, dword [esi + 0x14]
cmp edi, edx
mov eax, dword [esi + 0x28]
cmovbe edx, edi
sub edi, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
mov edi, dword [esi]
lea eax, [eax + ecx*4]
mov dword [ebp - 4], eax
lea eax, [edx + ecx]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
movzx eax, byte [edi]
lea edx, [edi + 1]
movzx ecx, byte [edi + 2]
mov edi, dword [ebp - 0x10]
shl eax, 8
or ecx, eax
movzx eax, byte [edx]
movzx eax, word [esi + eax*4 + 0x60]
xor ecx, eax
mov eax, dword [edi + ecx*4]
mov dword [edi + ecx*4], ebx
inc ebx
mov ecx, dword [ebp - 4]
mov edi, edx
mov dword [ecx], eax
add ecx, 4
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x563c30
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp ebx, dword [esi + 8]
jne 0x563c77
mov ecx, esi
call fcn.00450b80
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0x563be5
mov eax, dword [ebp + 8]
add dword [esi + 0x508], eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x57dab0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b735d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
cmp eax, 0x3f
jne 0x57db5c
xor edx, edx
cmp dword [ebx + 4], edx
jbe 0x57daff
lea ecx, [ebx + 0x20]
nop
mov al, byte [ecx - 0x18]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [ebx + 4]
jb 0x57daf0
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
jbe 0x57db29
lea esi, [ebx + 0x20]
add esi, edx
nop dword [eax + eax]
cmp edx, 0x20
jae 0x57dcb3
mov eax, dword [ebx + 0x18]
inc edx
mov al, byte [ecx + eax]
inc ecx
mov byte [esi], al
inc esi
cmp ecx, dword [ebx + 0x1c]
jb 0x57db10
cmp edx, 0x20
jae 0x57dcb3
mov eax, 0x20
lea ecx, [ebx + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.0058ad30
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 6
mov edx, 1
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [ebx + 4]
shl edx, cl
mov ecx, dword [ebx + 0x1c]
add ecx, 8
mov dword [ebp - 0x18], edx
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x10], eax
imul ecx, edx
add eax, 0x40
mov dword [ebp - 0x24], ecx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
call fcn.00430d10
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
mov esi, dword [ebp - 0x14]
push dword [ebx + 4]
push eax
lea edi, [esi + 0x80]
push edi
call fcn.0058aed0
push dword [ebx + 0x1c]
mov eax, dword [ebx + 4]
push dword [ebx + 0x18]
add eax, edi
push eax
call fcn.0058aed0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [edi + edx - 8], xmm0
lea eax, [edi + edx]
mov eax, dword [0x5faba4]
add esp, 0x18
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
cmp eax, 1
jbe 0x57dc4d
lea esi, [eax - 1]
mov ebx, edi
push edx
add edi, edx
push ebx
push edi
call fcn.0058aed0
mov edx, dword [ebp - 0x10]
add esp, 0xc
sub esi, 1
jne 0x57dc32
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
mov eax, 1
shl eax, cl
lea ebx, [esi + 0x80]
mov dword [ebp - 0x20], eax
xor edi, edi
lea ecx, [edx - 8]
mov eax, edi
add ecx, ebx
add edi, dword [ebp - 0x18]
nop dword [eax + eax]
mov dword [ecx], eax
inc eax
add ecx, edx
cmp eax, edi
jb 0x57dc70
push dword [ebp - 0x24]
mov edx, ebx
mov ecx, esi
call fcn.00464180
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edi, dword [ebp - 0x20]
jb 0x57dc61
mov edx, dword [ebp - 0x1c]
mov ecx, esi
lea edx, [edx + 0x20]
call fcn.00464c60
push dword [ebp - 0x28]
push 0
push esi
call fcn.0058ad30
push dword [esi - 4]
call fcn.0058e23f
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57e6c0
Capabilities:
Access peb ldr_data
Hash data using sha1

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b74b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebx + 8]
movaps xmmword [ebp - 0x60], xmm0
movaps xmmword [ebp - 0x50], xmm0
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm0
cmp ecx, 0x40
jbe 0x57e77a
mov eax, dword [0x5faba0]
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x67452301
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00464180
add esp, 4
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.00464230
jmp 0x57e788
push ecx
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.0058aed0
add esp, 0xc
movaps xmm1, xmmword [str.6666666666666666r]
mov eax, dword [0x5faba0]
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm1
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x67452301
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
push 0x40
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.00464180
movaps xmm1, xmmword [0x5d30d0]
lea ecx, [esi + 0x80]
mov eax, dword [0x5faba0]
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x60]
add esp, 4
movaps xmmword [ebp - 0x60], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm1
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
push 0x40
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 3
call fcn.00464180
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587d99
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x57eb50
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebx + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebx + 0xc]
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0x20], xmm0
push edi
push ecx
cmp ecx, 0x40
jbe 0x57ebfb
mov eax, dword [0x5faba4]
lea edi, [esi + 0x20]
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [edi], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
call fcn.00464180
add esp, 4
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.00464c60
jmp 0x57ec0b
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.0058aed0
add esp, 0xc
lea edi, [esi + 0x20]
movaps xmm1, xmmword [str.6666666666666666r]
lea edx, [ebp - 0x50]
mov eax, dword [0x5faba4]
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x50]
mov ecx, edi
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x30]
xorps xmm1, xmmword [ebp - 0x20]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 1
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0x20], xmm1
mov dword [esi], eax
mov dword [edi], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
mov dword [esi + 8], 0x40
mov dword [esi + 0xc], 0
call eax
movaps xmm1, xmmword [0x5d30d0]
lea ecx, [esi + 0xa0]
mov eax, dword [0x5faba4]
lea edx, [ebp - 0x50]
movaps xmm0, xmm1
mov dword [esi + 0x80], eax
xorps xmm0, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [ebp - 0x30]
xorps xmm1, xmmword [ebp - 0x20]
mov dword [ecx], 0x6a09e667
mov dword [esi + 0xa4], 0xbb67ae85
mov dword [esi + 0xa8], 0x3c6ef372
mov dword [esi + 0xac], 0xa54ff53a
mov dword [esi + 0xb0], 0x510e527f
mov dword [esi + 0xb4], 0x9b05688c
mov dword [esi + 0xb8], 0x1f83d9ab
mov dword [esi + 0xbc], 0x5be0cd19
push 1
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0x20], xmm1
mov dword [esi + 0x88], 0x40
mov dword [esi + 0x8c], 0
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00587d99
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x57f890
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7560
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
push 0x602dd4
mov dword [ebp - 0xc4], 0x602dd4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [0x5fabe0], 0
je 0x57f8fe
call fcn.0057f310
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x57fa5f
nop dword [eax]
movaps xmm0, xmmword [0x5fabc0]
lea ecx, [ebp - 0xc0]
mov eax, dword [0x5faba4]
mov edx, 0x5fabc0
movaps xmmword [ebp - 0x80], xmm0
movaps xmm0, xmmword [0x5fabd0]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xa0], 0x6a09e667
mov dword [ebp - 0x9c], 0xbb67ae85
mov dword [ebp - 0x98], 0x3c6ef372
mov dword [ebp - 0x94], 0xa54ff53a
mov dword [ebp - 0x90], 0x510e527f
mov dword [ebp - 0x8c], 0x9b05688c
mov dword [ebp - 0x88], 0x1f83d9ab
mov dword [ebp - 0x84], 0x5be0cd19
mov dword [ebp - 0xb8], 0x20
mov dword [ebp - 0xb4], 0
movaps xmmword [ebp - 0x70], xmm0
call fcn.00464c60
movups xmm0, xmmword [0x5fabc0]
mov eax, dword [0x5faba4]
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], eax
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0xa0], 0x6a09e667
movups xmm0, xmmword [0x5fabd0]
mov dword [ebp - 0x9c], 0xbb67ae85
mov dword [ebp - 0x98], 0x3c6ef372
mov dword [ebp - 0x94], 0xa54ff53a
mov dword [ebp - 0x90], 0x510e527f
mov dword [ebp - 0x8c], 0x9b05688c
mov dword [ebp - 0x88], 0x1f83d9ab
mov dword [ebp - 0x84], 0x5be0cd19
mov dword [ebp - 0x80], 0xf672abd1
mov dword [ebp - 0xb8], 0x24
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0x6c], xmm0
call fcn.00464c60
lea edx, [ebp - 0x40]
xor ecx, ecx
sub edx, esi
test edi, edi
je 0x57fa5f
mov al, byte [edx + esi]
inc ecx
mov byte [esi], al
dec edi
inc esi
cmp ecx, 0x20
jb 0x57fa46
test edi, edi
jne 0x57f910
push 0x602dd4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587d99
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x57fa90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x34], ecx
mov eax, dword [ebx]
xor eax, dword [ecx + 0x100]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x104]
xor eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x108]
xor eax, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc]
xor eax, dword [ecx + 0x10c]
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
jne 0x57fae8
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x1f
sub eax, edx
cmp byte [ebp + 0xc], 0
cmove edx, eax
and edx, 3
mov esi, dword [ecx + edx*4 + 0x100]
mov edx, dword [ebp - 0x20]
rol edx, 0xb
add edx, ebx
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + ecx]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx]
shl eax, 8
or edi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + ecx]
or edi, eax
movzx eax, dl
mov edx, ebx
shl edi, 8
rol edx, 0x11
xor edx, dword [ebp - 0x20]
movzx eax, byte [eax + ecx]
add edx, esi
or edi, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor edi, dword [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov ebx, edi
movzx esi, byte [eax + ecx]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx]
or esi, eax
movzx eax, dl
mov edx, dword [ebp - 0x28]
shl esi, 8
inc edx
mov dword [ebp - 0x28], edx
movzx eax, byte [eax + ecx]
or esi, eax
mov eax, dword [ebp - 0x20]
xor esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esi
cmp edx, 0x20
jb 0x57faf0
mov ebx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov eax, dword [ecx + 0x100]
xor eax, edi
mov dword [ebx], eax
mov eax, dword [ecx + 0x104]
xor eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0x108]
xor eax, dword [ebp - 0x24]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0x10c]
xor eax, dword [ebp - 0x18]
cmp byte [ebp + 0xc], 0
mov dword [ebx + 0xc], eax
cmovne edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x10c]
add edx, 2
mov esi, dword [ecx + 0x100]
mov edi, dword [ecx + 0x104]
mov ebx, dword [ecx + 0x108]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 4
nop
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [eax*4 + 0x5ff700]
mov dword [ecx + 0x100], esi
movzx eax, byte [edx - 5]
xor edi, dword [eax*4 + 0x5ff700]
mov dword [ecx + 0x104], edi
movzx eax, byte [edx - 4]
xor ebx, dword [eax*4 + 0x5ff700]
mov dword [ecx + 0x108], ebx
movzx eax, byte [edx - 3]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [eax*4 + 0x5ff700]
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10c], eax
jne 0x57fc10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00587d99
mov esp, ebp
pop ebp
ret 8
Function at 0x57fdf0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xb8]
push esi
mov esi, dword [ebp + 8]
mov edx, ebx
push edi
mov edi, ecx
mov ecx, esi
push eax
call fcn.0057fd60
add esp, 4
test eax, eax
je 0x57fff8
add esi, eax
sub ebx, eax
mov eax, dword [ebp - 0xb8]
or eax, dword [ebp - 0xb4]
jne 0x57fff8
lea eax, [edi + 0xb0]
mov edx, ebx
push eax
mov ecx, esi
call fcn.0057fd60
add esp, 4
test eax, eax
je 0x57fff8
add esi, eax
sub ebx, eax
mov eax, dword [edi + 0xb0]
and eax, 1
or eax, 0
je 0x57fe70
mov al, 1
jmp 0x57fe72
xor al, al
test al, al
mov byte [ebp - 0xa9], al
movzx eax, byte [ebp + 0x10]
mov ecx, 0x11
mov edx, 0x1d
cmovne ecx, edx
shl eax, 4
add ecx, eax
cmp ebx, ecx
jne 0x57fff8
movzx eax, byte [esi]
cmp dword [edi + 0x3c], eax
je 0x57fea7
mov dword [edi + 0x3c], eax
mov byte [edi + 0x38], 1
lea ecx, [edi + 0x40]
mov ebx, 0xc
lea edx, [esi + 1]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x57fec5
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x57feb2
jmp 0x57fed1
movups xmm0, xmmword [esi + 1]
mov byte [edi + 0x38], 1
movups xmmword [edi + 0x40], xmm0
add esi, 0x11
cmp byte [ebp + 0x10], 0
je 0x57fee7
movups xmm0, xmmword [esi]
add esi, 0x10
movups xmmword [edi + 0xb8], xmm0
cmp byte [ebp - 0xa9], 0
mov byte [edi + 0xa8], 1
je 0x57ffd6
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [0x5faba4]
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa4], edx
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x88], 0x6a09e667
mov dword [ebp - 0x84], 0xbb67ae85
mov dword [ebp - 0x80], 0x3c6ef372
mov dword [ebp - 0x7c], 0xa54ff53a
mov dword [ebp - 0x78], 0x510e527f
mov dword [ebp - 0x74], 0x9b05688c
mov dword [ebp - 0x70], 0x1f83d9ab
mov dword [ebp - 0x6c], 0x5be0cd19
mov dword [ebp - 0xa0], 8
mov dword [ebp - 0x9c], 0
call fcn.00464c60
lea eax, [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [esi + 8]
sete al
mov byte [edi + 0xa8], al
test al, al
je 0x57ffd6
cmp byte [ebp + 0x14], 0
je 0x57ffd6
mov byte [edi + 0xa8], 0
xor eax, eax
cmp byte [eax + esi], 0
jne 0x57ffcf
inc eax
cmp eax, 8
jb 0x57ffa1
mov eax, 0x18
cmp eax, dword [edi + 0x3c]
sbb eax, eax
and eax, 0x80004001
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587d99
mov esp, ebp
pop ebp
ret 0x10
mov byte [edi + 0xa8], 1
mov eax, 0x18
cmp eax, dword [edi + 0x3c]
sbb eax, eax
and eax, 0x80004001
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587d99
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 0x80004001
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00587d99
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5807e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8550
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.005808c0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x580837
cmp eax, 0x10
je 0x580837
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x24]
lea edx, [esi + 0x4c]
mov eax, dword [esi + 0x20]
add ecx, 0x10
push 0x10
call eax
mov byte [esi + 0x10], 1
movups xmm0, xmmword [esi + 0x5c]
movups xmmword [esi + 0x28], xmm0
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x28]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x28]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0xc], eax
xor ecx, ecx
cmp byte [esi + 0x10], cl
mov eax, 0x80004001
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4