joyce8/EMBER2024-capa huggingface dataset:
Function at 0x506077
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x549e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004f7495
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004f7495
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x5060ee
cmp word [ecx], dx
je 0x5060ee
mov eax, dword [0x52fcf4]
push edi
dec eax
push eax
push 0x52fbe0
call fcn.00506016
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x506161
cmp word [eax], dx
je 0x506161
mov eax, dword [edi]
test eax, eax
je 0x506112
cmp word [eax], dx
je 0x506112
lea eax, [ebp - 0x10]
push eax
call fcn.005059f9
jmp 0x50611b
lea eax, [ebp - 0x10]
push eax
call fcn.00505a94
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x50618b
mov eax, dword [0x52fbdc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x52f8d0
call fcn.00506016
add esp, 0xc
test al, al
je 0x50618b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x506156
cmp word [eax], di
je 0x506156
lea eax, [ebp - 0x10]
push eax
call fcn.005059f9
pop ecx
jmp 0x50618d
lea eax, [ebp - 0x10]
push eax
call fcn.00505a94
jmp 0x506153
mov eax, dword [edi]
test eax, eax
je 0x506178
cmp word [eax], dx
je 0x506178
lea eax, [ebp - 0x10]
push eax
call fcn.00505990
pop ecx
jmp 0x50618b
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x506256
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00505e9b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x506256
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x506256
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x506256
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5061e3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004f871f
test ebx, ebx
je 0x506251
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004f871f
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x506256
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x506256
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004efcd2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x506258
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a3c9
leave
ret
Function at 0x50f849
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0050f66d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x50f9b8
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x50f9b8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x50f96d
jg 0x50f8a5
test eax, eax
je 0x50f963
push 1
push 0x1000
call fcn.004f79c5
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x50f8c8
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x50f95a
push 0x8000
push ebx
call fcn.004ed5d2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x50f8f1
jg 0x50f8ec
cmp ecx, 0x1000
jb 0x50f8f1
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004f9c85
add esp, 0x10
cmp eax, 0xffffffff
je 0x50f936
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x50f8ec
jl 0x50f91d
test ecx, ecx
jne 0x50f8de
push dword [ebp - 0xc]
push ebx
call fcn.004ed5d2
push esi
call fcn.004f5758
add esp, 0xc
xor ebx, ebx
jmp 0x50f9c6
cmp byte [edi + 0x24], 0
je 0x50f94d
cmp dword [edi + 0x20], 5
jne 0x50f94d
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x50f958
mov ebx, dword [edi + 0x18]
jmp 0x50f95a
xor ebx, ebx
push esi
call fcn.004f5758
pop ecx
jmp 0x50f9c6
test ecx, ecx
jg 0x50f92f
jl 0x50f96d
test eax, eax
jae 0x50f92f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004fbdb7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x50f98d
cmp byte [edi + 0x1c], 0
je 0x50f92f
jmp 0x50f9be
push ebx
call fcn.00503adc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x50f92f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x50f9c6
cmp byte [edi + 0x1c], 0
je 0x50f9c3
mov ebx, dword [edi + 0x18]
jmp 0x50f9c6
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004fbdb7
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x511510
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, si
shr esi, 0x10
mov dword [ebp + 8], eax
xor eax, eax
mov bx, word [ebp + 8]
push edi
mov dword [ebp - 4], esi
mov di, si
mov dword [ebp - 8], 0x40
sub eax, 0x61c88647
movzx edx, ax
mov dword [ebp - 0xc], eax
mov ax, di
shr ax, 5
lea ecx, [edx + esi]
shl esi, 4
xor cx, ax
xor cx, si
add bx, cx
mov word [ebp + 8], bx
mov ax, bx
mov ecx, dword [ebp + 8]
add edx, ecx
shr ax, 5
xor dx, ax
shl ecx, 4
xor dx, cx
add di, dx
sub dword [ebp - 8], 1
mov word [ebp - 4], di
je 0x2c960c9
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
jmp 0x2c9607a
mov al, byte [ebp + 8]
pop edi
pop esi
and al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x2c96555
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x1505
jmp 0x2c9656b
imul eax, eax, 0x21
inc edx
movzx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x2c96562
pop ebp
ret

Function at 0x2c96573
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x1505
jmp 0x2c9658b
imul eax, eax, 0x21
lea edx, [edx + 2]
movzx ecx, cx
add eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x2c96580
pop ebp
ret

Function at 0x2c96f7f
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x20
push esi
call fcn.02c971c7
pop ecx
pop ecx
test eax, eax
je 0x2c96fa4
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x2c96fbd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov eax, esi
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jb 0x2c96fcb
mov ecx, esi
mov dword [ebp - 4], esi
mov eax, ecx
mov bl, byte [ecx + edi]
xor edx, edx
movzx ecx, bl
div dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
movzx eax, byte [edx + eax]
add eax, esi
add ecx, eax
movzx esi, cl
mov ecx, dword [ebp - 4]
mov al, byte [esi + edi]
mov byte [ecx + edi], al
inc ecx
mov byte [esi + edi], bl
mov dword [ebp - 4], ecx
cmp ecx, 0x100
jb 0x2c96fdb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2c97015
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov eax, esi
test edi, edi
je 0x2c97081
push ebx
mov ebx, dword [ebp + 0x14]
sub dword [ebp + 0xc], ebx
mov edx, dword [ebp + 8]
inc eax
movzx ecx, al
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov ebx, dword [ebp + 0x10]
mov cl, byte [ecx + eax]
movzx eax, cl
add eax, esi
movzx esi, al
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
mov byte [ebx + edx], al
mov eax, edx
mov edx, ebx
mov ebx, dword [ebp + 0x14]
mov byte [esi + eax], cl
movzx eax, byte [edx + eax]
mov edx, dword [ebp + 0xc]
movzx ecx, cl
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp + 8]
mov al, byte [eax + ecx]
xor al, byte [edx + ebx]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], ebx
sub edi, 1
jne 0x2c9702c
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x2c97118
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
not ecx
test edx, edx
je 0x2c97152
push esi
mov esi, dword [ebp + 0xc]
push edi
movzx eax, byte [esi]
dec edx
push 8
xor ecx, eax
inc esi
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
not eax
inc eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x2c97136
test edx, edx
jne 0x2c9712c
pop edi
pop esi
not ecx
mov eax, ecx
pop ebp
ret

Function at 0x2c972a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x2c972cb
push edi
mov edi, dword [ebp + 0xc]
mov edx, eax
sub edi, eax
mov cl, byte [edi + edx]
xor byte [edx], cl
inc edx
sub esi, 1
jne 0x2c972bf
pop edi
pop esi
pop ebp
ret
Function at 0x2c973e6
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
call fcn.02c979b0
mov esi, eax
mov eax, 0x5a4d
pop ecx
cmp word [esi], ax
je 0x2c97406
xor eax, eax
jmp 0x2c97466
push edi
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
je 0x2c97418
xor eax, eax
jmp 0x2c97465
push ebx
mov ebx, dword [edi + 0x78]
add ebx, esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, esi
mov dword [ebp - 0x10], eax
add ecx, esi
xor eax, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp dword [ebx + 0x18], eax
jbe 0x2c97462
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x24]
add eax, esi
push eax
push dword [ebp + 0xc]
add ecx, esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
mov eax, dword [ebp - 4]
je 0x2c9746b
mov ecx, dword [ebp - 8]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebx + 0x18]
jb 0x2c97438
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [edi + 0x78]
jb 0x2c974b6
mov eax, dword [edi + 0x7c]
add eax, dword [edi + 0x78]
cmp ecx, eax
jae 0x2c974b6
lea eax, [ecx + esi]
push eax
call fcn.02c979c5
mov edi, eax
push 0x2e
push edi
call fcn.02c96899
lea ecx, [eax + 1]
mov byte [eax], 0
push ecx
push edi
call fcn.02c973e6
push edi
mov esi, eax
call fcn.02c951c1
add esp, 0x18
mov eax, esi
jmp 0x2c97464
lea eax, [ecx + esi]
jmp 0x2c97464
Function at 0x2c976e5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, 0x4b5
push ebx
push esi
mov esi, dword [ebp + 8]
shl esi, 0x10
xor esi, dword [ebp + 8]
xor esi, 0x99cd8ecd
mov eax, esi
shr eax, 0x15
push edi
cmp eax, ecx
ja 0x2c9777b
je 0x2c97774
sub eax, 0x80
je 0x2c9776d
sub eax, 0x157
je 0x2c97766
sub eax, 0xf3
je 0x2c9775f
sub eax, 0x9f
je 0x2c97758
sub eax, 0xf8
je 0x2c9774e
sub eax, 1
je 0x2c97744
sub eax, 0x31
jne 0x2c977ae
mov eax, 0x2c978bb
jmp 0x2c977db
mov eax, 0x2c97608
jmp 0x2c977db
mov eax, 0x2c975fc
jmp 0x2c977db
mov eax, 0x2c974fc
jmp 0x2c977db
mov eax, 0x2c9755e
jmp 0x2c977db
mov eax, 0x2c975cb
jmp 0x2c977db
mov eax, 0x2c9758f
jmp 0x2c977db
mov eax, 0x2c9794e
jmp 0x2c977db
sub eax, 0x519
je 0x2c977d6
dec eax
sub eax, 1
je 0x2c977cf
sub eax, 0xf4
je 0x2c977c8
sub eax, 0x10
je 0x2c977c1
sub eax, 0xcc
je 0x2c977ba
sub eax, 0x91
je 0x2c977b3
sub eax, 9
jne 0x2c977ae
mov eax, 0x2c97639
jmp 0x2c977db
mov eax, dword [ebp + 8]
jmp 0x2c977db
mov eax, 0x2c9752d
jmp 0x2c977db
mov eax, 0x2c9788a
jmp 0x2c977db
mov eax, 0x2c9759b
jmp 0x2c977db
mov eax, 0x2c978ec
jmp 0x2c977db
mov eax, 0x2c9797f
jmp 0x2c977db
mov eax, 0x2c9791d
call eax
mov edi, eax
test edi, edi
je 0x2c97838
mov eax, dword [edi + 0x3c]
and esi, 0x1fffff
add eax, edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x78]
add eax, edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, edi
mov dword [ebp - 8], ecx
add edx, edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x2c97838
mov eax, dword [edx + ebx*4]
add eax, edi
push eax
call fcn.02c974bb
and eax, 0x1fffff
pop ecx
cmp eax, esi
je 0x2c97841
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x2c9781a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
movzx eax, word [eax + ebx*2]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [edx + 0x78]
jb 0x2c97885
mov eax, dword [edx + 0x7c]
add eax, dword [edx + 0x78]
cmp ecx, eax
jae 0x2c97885
lea eax, [ecx + edi]
push eax
call fcn.02c979c5
mov esi, eax
push 0x2e
push esi
call fcn.02c96899
lea ecx, [eax + 1]
mov byte [eax], 0
push ecx
push esi
call fcn.02c973e6
add esp, 0x14
jmp 0x2c9783a
lea eax, [ecx + edi]
jmp 0x2c9783a
Function at 0x2c98ebe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x2c98f62
push ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
mov eax, ebx
sub eax, ecx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push edi
mov dword [ebp - 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x44]
xor edi, edi
push eax
call fcn.02c98ff4
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add dword [eax + 0x20], 1
jne 0x2c98f03
inc dword [eax + 0x24]
cmp esi, 0x40
jbe 0x2c98f3a
mov ebx, dword [ebp - 4]
mov edx, edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x44]
add ecx, edx
push 0x40
mov al, byte [ebx + ecx]
xor al, byte [ecx]
inc edx
mov byte [edi + ecx], al
pop eax
cmp edx, eax
jb 0x2c98f10
mov ebx, dword [ebp + 0x10]
sub esi, eax
add dword [ebp + 0x14], eax
add ebx, eax
add dword [ebp + 0xc], eax
add dword [ebp - 4], eax
mov dword [ebp + 0x10], ebx
jmp 0x2c98ee7
test esi, esi
je 0x2c98f60
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
sub eax, ecx
sub ebx, ecx
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x44]
add ecx, edi
mov al, byte [eax + ecx]
xor al, byte [ecx]
inc edi
mov byte [ebx + ecx], al
mov eax, dword [ebp + 0xc]
cmp edi, esi
jb 0x2c98f4b
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x100
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
mov eax, dword [ecx]
mov dword [edx + 4], eax
mov eax, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
jne 0x2c98fb9
add ecx, 0x10
mov esi, 0x2c9e354
jmp 0x2c98fbe
mov esi, 0x2c9e364
mov eax, dword [ecx]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x34], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x38], eax
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [0x2ca3410], esi
mov dword [edx + 0x3c], eax
pop esi
pop ebp
ret
Function at 0x2c9a1d5
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push 0x20
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.02c951d6
mov al, byte [ebp - 1]
push dword [ebp + 0x10]
and byte [ebp - 0x20], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 1], al
lea eax, [ebp - 0x70]
push eax
call fcn.02c9a531
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.02c99bf7
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.02c99e06
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.02c9aa4b
lea eax, [ebp - 0xc8]
push eax
push dword [ebp + 8]
call fcn.02c9a260
add esp, 0x40
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x2c9b609
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
neg ebx
push edi
mov edi, dword [ebp + 8]
sub edi, esi
mov dword [ebp + 0x14], 0xa
mov eax, dword [edi + esi]
mov ecx, dword [esi]
xor ecx, eax
and ecx, ebx
xor eax, ecx
cdq
mov dword [edi + esi], eax
mov dword [edi + esi + 4], edx
mov eax, dword [esi]
xor eax, ecx
sub dword [ebp + 0x14], 1
cdq
mov dword [esi], eax
lea esi, [esi + 8]
mov dword [esi - 4], edx
jne 0x2c9b623
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x2c9b64e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x2c9b780
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
test ebx, ebx
jne 0x2c9b676
test edi, edi
jne 0x2c9b780
mov esi, dword [ebp + 0x18]
mov eax, 0xc8
cmp esi, eax
jae 0x2c9b780
push eax
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.02c951fb
add esp, 0xc
cmp edi, esi
jb 0x2c9b6e2
mov eax, ebx
lea ecx, [ebp - 0xcc]
sub eax, ecx
mov dword [ebp - 4], eax
xor edx, edx
test esi, esi
je 0x2c9b6c7
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, esi
jb 0x2c9b6b2
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push eax
call fcn.02c9b78a
add dword [ebp - 4], esi
sub edi, esi
add ebx, esi
mov dword [ebp + 0x14], edi
pop ecx
cmp edi, esi
jae 0x2c9b6a9
mov al, byte [ebp + 0x1c]
xor byte [ebp + edi - 0xcc], al
xor byte [ebp + esi - 0xcd], 0x80
test edi, edi
je 0x2c9b714
lea eax, [ebp - 0xcc]
sub ebx, eax
xor edx, edx
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, edi
jb 0x2c9b702
lea eax, [ebp - 0xcc]
push eax
call fcn.02c9b78a
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
pop ecx
cmp edi, esi
jb 0x2c9b758
test esi, esi
je 0x2c9b740
push esi
lea ecx, [ebp - 0xcc]
push ecx
push eax
call fcn.02c951d6
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
call fcn.02c9b78a
mov eax, dword [ebp + 8]
add eax, esi
sub edi, esi
mov dword [ebp + 8], eax
jmp 0x2c9b726
test edi, edi
je 0x2c9b76d
push edi
lea edx, [ebp - 0xcc]
push edx
push eax
call fcn.02c951d6
add esp, 0xc
xor al, al
lea edi, [ebp - 0xcc]
mov ecx, 0xc8
rep stosb byte es:[edi], al
xor eax, eax
jmp 0x2c9b783
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4207d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b386b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a7fde
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420852
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a56ea
mov eax, dword [eax]
push 0x4f4ce0
push eax
call fcn.004970c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a8269
test bl, bl
je 0x420852
push 0x4f4ce0
lea ecx, [esp + 0xc]
call fcn.004a85f9
push 0x4f4cec
lea ecx, [esp + 0xc]
call fcn.004a85f9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42088e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a8269
jmp 0x420959
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x420912
lea edx, [esp + 0x7c]
push 0x4f4ce8
push edx
call fcn.004970c4
add esp, 8
test eax, eax
je 0x420912
lea eax, [esp + 0x7c]
push 0x4f4ce4
push eax
call fcn.004970c4
add esp, 8
test eax, eax
je 0x420912
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4208a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a8269
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x421160
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4211c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc