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

Disassembly:
push 0xffffffffffffffff
push 0x652238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.004eea40
mov eax, dword [esi + 0x2c]
lea edi, [esi + 0x2c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x38], ebx
call dword [eax + 0x20]
push str.FirstChild
push edi
lea ecx, [esp + 0x14]
call fcn.004f0370
push edi
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.004c6d00
push edi
mov ecx, esi
call fcn.00591be0
test al, al
je 0x595a1c
mov ecx, dword [esi + 0x2bc]
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x595996
add eax, 8
jmp 0x595998
xor eax, eax
push eax
lea ecx, [esp + 0x28]
call fcn.004eea40
mov ecx, dword [esi + 0x2bc]
push ebx
mov byte [esp + 0x3c], 2
call fcn.005b0790
mov edi, eax
cmp edi, ebx
je 0x595a0e
mov ecx, edi
call fcn.005b45f0
test al, al
je 0x595a0e
push edi
mov ecx, esi
call fcn.00594450
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x38], 1
call fcn.004eea90
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004f03e0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004eea90
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.004eea90
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004f03e0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004eea90
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x595a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x652268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.004eea40
mov eax, dword [esi + 0x2c]
lea edi, [esi + 0x2c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x38], ebx
call dword [eax + 0x20]
push str.FirstChild2
push edi
lea ecx, [esp + 0x14]
call fcn.004f0370
push edi
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.004c6d00
push edi
mov ecx, esi
call fcn.00591be0
test al, al
je 0x595b5d
mov ecx, dword [esi + 0x2bc]
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x595ac6
add eax, 8
jmp 0x595ac8
xor eax, eax
push eax
lea ecx, [esp + 0x28]
call fcn.004eea40
mov ecx, dword [esi + 0x2bc]
mov byte [esp + 0x38], 2
call fcn.005b1e90
mov edi, eax
cmp edi, ebx
je 0x595b4f
mov ecx, edi
call fcn.005b45f0
test al, al
je 0x595b4f
push ebp
mov ebp, dword [esi + 0x2bc]
mov ecx, edi
mov dword [esi + 0x2bc], edi
call fcn.005b1ef0
mov ecx, ebp
call fcn.005b1f30
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 1
call fcn.004eea90
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], bl
call fcn.004f03e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004eea90
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.004eea90
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004f03e0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004eea90
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x597770
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x652468
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov al, byte [edi + 8]
test al, al
je 0x5977f4
mov eax, dword [edi + 0x14]
test eax, eax
je 0x5977f4
mov esi, dword [esp + 0x38]
mov ebx, 1
cmp dword [esi + 0x10], ebx
jne 0x5977b9
mov ecx, dword [esp + 0x3c]
push str.AsnItem:_Appending_negative_number.
mov eax, dword [ecx]
call dword [eax + 0x18]
xor bl, bl
lea ecx, [esp + 0xc]
call fcn.004dfe70
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
push ecx
push esi
call fcn.00553d90
add esp, 8
call fcn.00596e70
mov esi, eax
test esi, esi
jne 0x59780a
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e0890
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
call fcn.005a8750
push eax
lea ecx, [esp + 0x10]
call fcn.004dda10
push eax
mov ecx, esi
call fcn.00597200
mov ecx, dword [edi + 0x14]
push esi
call fcn.00507640
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e0890
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x5af8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6543a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0056bb40
lea ebx, [esi + 0x50]
mov dword [esp + 0x1c], 0
mov ecx, ebx
call fcn.004eead0
lea ebp, [esi + 0x70]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.00568aa0
lea edi, [esi + 0x7c]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.004d91b0
xor eax, eax
mov ecx, edi
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x1c], 3
push eax
mov dword [esi], vtable.OutputFile.1.0
mov dword [ebx], vtable.OutputFile.0
mov dword [esi + 0xc], 2
call fcn.004d9800
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
cmp eax, 1
mov dword [ebx], 0
jne 0x5af950
mov ecx, dword [esp + 0x24]
push 0
push ecx
call fcn.005350a0
mov edx, dword [esp + 0x3c]
push edx
push ebx
push 1
jmp 0x5af969
cmp eax, 4
jne 0x5af97b
mov edx, dword [esp + 0x24]
push 0
push edx
call fcn.005350a0
mov eax, dword [esp + 0x3c]
push eax
push ebx
push 0
push edi
push ebp
call fcn.005355a0
mov ecx, dword [esp + 0x48]
add esp, 0x1c
mov byte [ecx], al
jmp 0x5af9c2
cmp eax, 2
jne 0x5af9ac
mov edx, dword [esp + 0x34]
push edx
push ebx
push 0
push edi
push ebp
call fcn.005355a0
mov edi, dword [esp + 0x40]
add esp, 0x14
test al, al
mov byte [edi], al
je 0x5af9c2
mov eax, dword [esp + 0x34]
mov ecx, ebp
push eax
call fcn.00568b60
mov byte [edi], al
jmp 0x5af9c2
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push edi
push ebp
call fcn.005355e0
mov edx, dword [esp + 0x3c]
add esp, 0x10
mov byte [edx], al
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x5b0880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x654654
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004f5830
lea edi, [esi + 8]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004eead0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
mov byte [esi + 0x28], 0xce
mov byte [esi + 0x29], bl
mov byte [esi + 0x2a], bl
mov dword [esi + 0x2c], ebx
call fcn.0062c660
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 2
call fcn.00506f60
push ebx
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 3
call fcn.004e5850
push ebx
lea ecx, [esi + 0xd4]
mov byte [esp + 0x1c], 4
call fcn.004e5850
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi], vtable.TreeInfo.1.0
mov dword [edi], vtable.TreeInfo.0
mov eax, dword [0x70bb6c]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x148], eax
mov eax, dword [0x70bb6c]
inc eax
pop edi
mov dword [0x70bb6c], eax
mov byte [esi + 0x5c], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5b62b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 4], eax
mov edx, dword [ecx]
push ebp
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x1c], eax
lea ebp, [esi + 0x4e0]
lea eax, [esp + 0x10]
push ebp
push eax
call dword [edx + 0x10]
lea edx, [esi + 0x520]
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [esi + 0x4f0]
xor edx, edx
xor ebx, ebx
mov dword [ecx], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [ecx + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [esi + 0x540], edi
mov dword [esi + 0x548], edi
mov dword [esi + 0x534], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x544], edi
mov dword [esi + 0x54c], edi
mov eax, dword [esi + 0x550]
lea edx, [esp + 0x10]
mov byte [esp + 0x10], bl
lea ecx, [eax + edi + 4]
push ecx
push edx
push ebp
call fcn.005b64d0
add esp, 0xc
add edi, 0x10
inc ebx
cmp edi, 0x1000
jl 0x5b6344
mov eax, 0x1000
mov ebp, 0x100
mov ecx, dword [esi + 0x550]
xor edx, edx
add ecx, eax
mov dl, byte [ecx - 0xfed]
mov edi, edx
mov dl, byte [ecx - 0xfee]
mov byte [ecx + 0x13], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xfef]
mov byte [ecx + 0x12], dl
mov ecx, dword [esi + 0x550]
mov dl, byte [ecx + eax - 0xff0]
mov byte [eax + ecx + 0x11], dl
mov ecx, dword [esi + 0x550]
mov dl, byte [eax + ecx - 0xff1]
mov byte [ecx + eax + 0x10], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff2]
mov byte [ecx + 0xf], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff3]
mov byte [ecx + 0xe], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff4]
mov byte [ecx + 0xd], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff5]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff6]
mov byte [ecx + 0xb], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff7]
mov byte [ecx + 0xa], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff8]
mov byte [ecx + 9], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xff9]
mov byte [ecx + 8], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xffa]
mov byte [ecx + 7], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xffb]
mov byte [ecx + 6], dl
mov ecx, dword [esi + 0x550]
add ecx, eax
mov dl, byte [ecx - 0xffc]
mov byte [ecx + 5], dl
mov ecx, dword [esi + 0x550]
mov dl, byte [edi*2 + 0x6694f8]
mov byte [eax + ecx + 4], dl
mov ecx, dword [esi + 0x550]
mov dl, byte [edi*2 + 0x6694f9]
mov bl, byte [eax + ecx + 5]
lea ecx, [eax + ecx + 5]
xor bl, dl
add eax, 0x10
dec ebp
mov byte [ecx], bl
jne 0x5b6377
cmp eax, 0x10000
jl 0x5b6372
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x5c3e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x654c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push edi
lea ecx, [esp + 4]
call fcn.004dfe70
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.004e1260
mov eax, dword [esp + 0x34]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.005c3f00
add esp, 8
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.004e0890
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x5c42a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x654cd8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
push 0x4e28
call fcn.004f1e80
mov esi, eax
add esp, 4
test esi, esi
jne 0x5c42e4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov eax, dword [esp + 0x30]
push ebx
push eax
lea ecx, [esp + 0x10]
call fcn.00532c00
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x34]
push 0x4e20
push esi
push eax
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.005c43c0
push esi
mov bl, al
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00532c40
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14

Function at 0x5c47e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x654d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00532c00
mov ecx, dword [esp + 0x34]
xor eax, eax
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov byte [esp + 0x34], al
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov ecx, esi
call fcn.005c4870
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x1c], 0xffffffff
call fcn.00532c40
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14

Function at 0x5c53b9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x654e28
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
test esi, esi
je 0x5c53c5
lea eax, [esi + 0x28]
jmp 0x5c53c7
xor eax, eax
push eax
lea ecx, [esp + 0xc]
call fcn.004eea40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0
call dword [eax + 0x14]
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x1c], 0xffffffff
call fcn.004eea90
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x5c5fb0
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.004dda00
mov ecx, esi
mov edi, eax
call fcn.004e2930
mov esi, eax
mov ecx, 0x1505
movsx eax, byte [edi]
test eax, eax
lea edx, [edi + 1]
je 0x5c5fed
push ebp
mov ebp, ecx
shl ebp, 5
add eax, ebp
add ecx, eax
movsx eax, byte [edx]
inc edx
test eax, eax
jne 0x5c5fdb
pop ebp
mov eax, ecx
xor edx, edx
div dword [ebx + 8]
mov eax, dword [esp + 0x14]
test esi, esi
mov dword [eax], edx
mov eax, 0x1505
jbe 0x5c6028
cmp esi, 0x100
jbe 0x5c6010
mov esi, 0x100
test esi, esi
lea edx, [esi + edi - 1]
je 0x5c6028
mov edi, eax
shl edi, 5
add edi, eax
movsx eax, byte [edx]
add eax, edi
dec edx
dec esi
jne 0x5c6018
xor edx, edx
xor esi, esi
or edx, ecx
mov ecx, dword [esp + 0x18]
or eax, esi
pop edi
mov dword [ecx], edx
pop esi
mov dword [ecx + 4], eax
pop ebx
ret 0xc

Function at 0x5c9770
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov ebp, 0x688340
xor ebx, ebx
xor edi, edi
sub ebp, esi
mov ecx, dword [esi + ebp]
mov eax, dword [esi]
add ebx, ecx
push ebx
push eax
call fcn.005c9760
mov cl, byte [esi]
add esp, 8
sub cl, bl
add esi, 4
mov byte [esp + edi + 0x10], cl
inc edi
cmp edi, 0x20
mov ebx, eax
jl 0x5c9786
mov ecx, dword [esp + 0x34]
lea edi, [eax - 1]
xor eax, eax
mov esi, dword [ecx]
xor edx, edx
mov dl, byte [esp + eax + 0x10]
add ecx, 4
xor edx, esi
and edx, edi
xor edx, esi
inc eax
mov dword [ecx - 4], edx
cmp eax, 0x20
jl 0x5c97b3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x5c9830
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea esi, [ecx + 2]
mov eax, ebp
sub edi, ebp
mov ecx, 0x1f
mov dl, byte [edi + eax]
mov bl, byte [eax]
and dl, 3
and bl, 3
shl dl, 2
xor dl, bl
add eax, 4
mov byte [esi - 2], dl
mov edx, dword [edi + eax - 4]
mov ebx, dword [eax - 4]
add esi, 4
shr edx, 2
and dl, 3
shr ebx, 2
shl dl, 2
and bl, 3
xor dl, bl
mov byte [esi - 5], dl
mov edx, dword [edi + eax - 4]
mov ebx, dword [eax - 4]
shr edx, 4
and dl, 3
shr ebx, 4
shl dl, 2
and bl, 3
xor dl, bl
mov byte [esi - 4], dl
mov edx, dword [edi + eax - 4]
mov ebx, dword [eax - 4]
shr edx, 6
and dl, 3
shr ebx, 6
shl dl, 2
and bl, 3
xor dl, bl
dec ecx
mov byte [esi - 3], dl
jne 0x5c984c
mov esi, dword [esp + 0x1c]
mov dl, byte [ebp + 0x7c]
mov eax, dword [esp + 0x14]
and dl, 3
mov cl, byte [esi + 0x7c]
pop edi
and cl, 3
shl cl, 2
xor cl, dl
mov byte [eax + 0x7c], cl
mov ecx, dword [esi + 0x7c]
mov edx, dword [ebp + 0x7c]
shr ecx, 2
and cl, 3
shr edx, 2
shl cl, 2
and dl, 3
xor cl, dl
mov byte [eax + 0x7d], cl
mov ecx, dword [esi + 0x7c]
mov edx, dword [ebp + 0x7c]
pop esi
shr ecx, 4
and cl, 3
pop ebp
shr edx, 4
shl cl, 2
and dl, 3
pop ebx
xor cl, dl
mov byte [eax + 0x7e], cl
ret
Function at 0x5c9af0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x460
push ebx
push ebp
push esi
mov esi, dword [esp + 0x484]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_memmove]
lea eax, [esi + 0x20]
push 0x20
lea ecx, [esp + 0x54]
push eax
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
push 0x20
push esi
call fcn.005fdf80
mov bl, byte [esp + 0x28]
mov al, byte [esp + 0x47]
mov edx, dword [esp + 0x49c]
and bl, 0xf8
mov byte [esp + 0x28], bl
mov ebx, dword [esp + 0x498]
and al, 0x3f
mov ebp, dword [esp + 0x48c]
or al, 0x40
mov ecx, ebx
mov byte [esp + 0x47], al
mov eax, dword [esp + 0x490]
add ecx, 0x40
push ebx
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x498]
lea ecx, [ebp + 0x40]
push eax
push ecx
call edi
lea edx, [esp + 0x54]
lea esi, [ebp + 0x20]
push 0x20
push edx
push esi
call edi
lea eax, [esp + 0x160]
lea ecx, [ebx + 0x20]
push eax
push ecx
push esi
call fcn.005fdf80
lea edx, [esp + 0x16c]
lea eax, [esp + 0x1ac]
push edx
push eax
call fcn.005c97e0
add esp, 0x44
lea ecx, [esp + 0x170]
lea edx, [esp + 0x270]
push ecx
push edx
call fcn.005c9c60
lea eax, [esp + 0x278]
push eax
push ebp
call fcn.005c89f0
lea ecx, [esp + 0x60]
push 0x20
push ecx
push esi
call edi
lea edx, [esp + 0x10c]
add ebx, 0x40
push edx
push ebx
push ebp
call fcn.005fdf80
lea eax, [esp + 0x118]
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.005c97e0
lea edx, [esp + 0x40]
lea eax, [esp + 0x220]
push edx
push eax
call fcn.005c95a0
lea ecx, [esp + 0x228]
lea edx, [esp + 0xa8]
push ecx
lea eax, [esp + 0xac]
push edx
push eax
call fcn.005ca0f0
add esp, 0x44
lea ecx, [esp + 0x170]
lea edx, [esp + 0x70]
lea eax, [esp + 0x70]
push ecx
push edx
push eax
call fcn.005ca090
lea ecx, [esp + 0x7c]
push ecx
push esi
call fcn.005ca070
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x460
ret

Function at 0x5c9fc0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
and ecx, 0xff
push ebx
push esi
mov esi, dword [esp + 0x10]
not ecx
push edi
inc ecx
sub esi, eax
mov edi, 0x20
mov edx, dword [eax]
mov ebx, dword [esi + eax]
xor ebx, edx
add eax, 4
and ebx, ecx
xor ebx, edx
dec edi
mov dword [eax - 4], ebx
jne 0x5c9fdf
pop edi
pop esi
pop ebx
ret
Function at 0x5ca1a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [ebp + 4]
mov edx, 0xa
lea esi, [edi + 2]
mov cl, byte [eax - 4]
add eax, 0xc
and cl, 7
mov byte [esi - 2], cl
mov ecx, dword [eax - 0x10]
shr ecx, 3
and cl, 7
mov byte [esi - 1], cl
mov ecx, dword [eax - 0x10]
shr ecx, 6
and cl, 7
mov byte [esi], cl
mov bl, byte [eax - 0xc]
and bl, 1
add esi, 8
shl bl, 2
xor bl, cl
mov byte [esi - 8], bl
mov ecx, dword [eax - 0xc]
shr ecx, 1
and cl, 7
mov byte [esi - 7], cl
mov ecx, dword [eax - 0xc]
shr ecx, 4
and cl, 7
mov byte [esi - 6], cl
mov ecx, dword [eax - 0xc]
shr ecx, 7
and cl, 7
mov byte [esi - 5], cl
mov bl, byte [eax - 8]
and bl, 3
shl bl, 1
xor bl, cl
mov byte [esi - 5], bl
mov ecx, dword [eax - 8]
shr ecx, 2
and cl, 7
mov byte [esi - 4], cl
mov ecx, dword [eax - 8]
shr ecx, 5
and cl, 7
dec edx
mov byte [esi - 3], cl
jne 0x5ca1b7
mov dl, byte [ebp + 0x78]
and dl, 7
mov byte [edi + 0x50], dl
mov eax, dword [ebp + 0x78]
shr eax, 3
and al, 7
mov byte [edi + 0x51], al
mov eax, dword [ebp + 0x78]
shr eax, 6
and al, 7
mov byte [edi + 0x52], al
mov cl, byte [ebp + 0x7c]
and cl, 1
shl cl, 2
xor cl, al
mov byte [edi + 0x52], cl
mov edx, dword [ebp + 0x7c]
shr edx, 1
and dl, 7
mov byte [edi + 0x53], dl
mov eax, dword [ebp + 0x7c]
shr eax, 4
and al, 7
xor dl, dl
mov byte [edi + 0x54], al
xor eax, eax
mov bl, byte [eax + edi]
add bl, dl
mov cl, bl
mov byte [eax + edi], bl
mov dl, byte [eax + edi + 1]
sar cl, 3
add dl, cl
mov byte [eax + edi + 1], dl
mov cl, byte [eax + edi]
and cl, 7
mov dl, cl
sar dl, 2
mov bl, dl
shl bl, 3
sub cl, bl
mov byte [eax + edi], cl
inc eax
cmp eax, 0x54
jl 0x5ca27d
mov al, byte [edi + 0x54]
add al, dl
mov byte [edi + 0x54], al
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x5ca2c0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2c0
test eax, eax
push ebx
push edi
je 0x5ca358
mov ebx, dword [esp + 0x2d0]
test ebx, ebx
je 0x5ca358
mov edi, dword [esp + 0x2d4]
test edi, edi
je 0x5ca358
push esi
mov ecx, 8
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x20
push eax
call fcn.005fdf80
mov cl, byte [esp + 0x18]
mov dl, byte [esp + 0x37]
and cl, 0xf8
and dl, 0x3f
mov byte [esp + 0x18], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x58]
or dl, 0x40
push eax
push ecx
mov byte [esp + 0x3f], dl
call fcn.005c95a0
lea edx, [esp + 0x60]
lea eax, [esp + 0xe0]
push edx
push eax
call fcn.005c9c60
lea ecx, [esp + 0xe8]
push ecx
push ebx
call fcn.005c89f0
add esp, 0x24
mov al, 1
pop esi
pop edi
pop ebx
add esp, 0x2c0
ret
pop edi
xor al, al
pop ebx
add esp, 0x2c0
ret
Function at 0x5ca3c0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a0
push esi
mov esi, dword [esp + 0x1ac]
push edi
mov ecx, 8
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 8]
mov esi, dword [esp + 0x1b4]
and al, 0xf8
lea ecx, [esp + 0x28]
mov byte [esp + 8], al
mov al, byte [esp + 0x27]
and al, 0x3f
or al, 0x40
mov byte [esp + 0x27], al
xor eax, eax
xor edx, edx
add ecx, 4
mov dl, byte [eax + esi]
inc eax
mov dword [ecx - 4], edx
cmp eax, 0x20
jb 0x5ca3fd
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.005ca680
lea edx, [esp + 0xb0]
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.005cab50
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x13c]
push edx
push eax
call fcn.005ca560
lea ecx, [esp + 0x144]
push ecx
call fcn.005ca490
mov esi, dword [esp + 0x1cc]
add esp, 0x20
xor eax, eax
lea ecx, [esp + 0x128]
mov dl, byte [ecx]
add ecx, 4
mov byte [eax + esi], dl
inc eax
cmp eax, 0x20
jb 0x5ca46c
pop edi
xor eax, eax
pop esi
add esp, 0x1a0
ret

Function at 0x5ca490
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
mov ecx, 0x20
push ebx
mov ebx, dword [esp + 0x88]
push esi
push edi
mov esi, ebx
lea edi, [esp + 0xc]
push 0x66d640
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.005ca500
mov ecx, dword [ebx + 0x7c]
lea esi, [esp + 0x18]
shr ecx, 7
and ecx, 1
add esp, 0xc
neg ecx
mov eax, ebx
sub esi, ebx
mov edi, 0x20
mov edx, dword [eax]
mov ebx, dword [esi + eax]
xor ebx, edx
add eax, 4
and ebx, ecx
xor ebx, edx
dec edi
mov dword [eax - 4], ebx
jne 0x5ca4d4
pop edi
pop esi
pop ebx
add esp, 0x80
ret

Function at 0x5cab00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
dec eax
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov ebp, 0x40
sub edi, eax
sub esi, eax
sub ebx, eax
mov edx, dword [eax]
mov ecx, dword [esi + eax]
xor ecx, edx
add eax, 4
and ecx, dword [esp + 0x24]
xor edx, ecx
mov dword [edi + eax - 4], edx
mov edx, dword [esi + eax - 4]
xor edx, ecx
dec ebp
mov dword [ebx + eax - 4], edx
jne 0x5cab28
pop edi
pop esi
pop ebp
pop ebx
ret