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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov eax, dword [edi + eax*4]
xor edx, edx
inc edx
or esi, 0xffffffff
xor ebx, ebx
shr eax, 8
mov dword [ebp - 0xc], edi
mov eax, dword [edi + eax*4]
movzx edi, al
mov dword [ebp - 4], edx
mov ecx, 0x269
mov dword [ebp + 8], edi
mov edx, dword [ebp - 0xc]
movzx edi, al
shr eax, 8
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x1000c0a7
movzx ecx, word [edx*2 + 0x100c9d88]
xor edi, 1
inc edx
and edx, 0x1ff
mov dword [ebp - 4], edx
dec ecx
mov dword [ebp - 0x14], ecx
cmp ebx, 4
jne 0x1000c0d8
test edi, edi
je 0x1000c0d4
mov ecx, dword [ebp + 8]
mov eax, esi
shr eax, 0x18
xor eax, ecx
push ecx
mov ecx, dword [ebp + 0xc]
shl esi, 8
xor esi, dword [eax*4 + 0x100f1f80]
call fcn.1000d198
dec edi
jne 0x1000c0b4
xor ebx, ebx
jmp 0x1000c0fe
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp edi, dword [ebp + 8]
push edi
cmovne ebx, eax
mov eax, esi
shr eax, 0x18
xor eax, edi
shl esi, 8
xor esi, dword [eax*4 + 0x100f1f80]
inc ebx
mov dword [ebp + 8], edi
call fcn.1000d198
dec dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
jne 0x1000c07c
not esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1000da09
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x8ce0]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 8
mov byte [ebp - 0x10], bl
mov dword [esi + 0x8cd4], ebx
push dword [eax + 0x174]
push dword [ebp + 8]
push dword [esi]
call fcn.1000d85c
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x1000da77
mov eax, dword [esi + 0x8cd8]
mov ecx, dword [ecx + 0x17c]
imul eax, eax, 0x8e00
mov ecx, dword [eax + ecx + 0x8cf0]
call fcn.10039f3c
mov edx, ebx
cmp dword [esi + 0x8cd4], ebx
jbe 0x1000daa9
lea edi, [esi + 0x7cd4]
mov ecx, dword [esi + 0x8ce0]
mov eax, dword [ecx + 0x178]
rol eax, 1
xor eax, dword [edi]
inc edx
mov dword [ecx + 0x178], eax
lea edi, [edi + 4]
cmp edx, dword [esi + 0x8cd4]
jb 0x1000da87
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x8ce0]
lea eax, [eax*8 + 8]
sub eax, dword [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1000eb41
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x1000db3f
mov edi, dword [esi + 0x8cd8]
inc edi
xor eax, eax
cmp edi, dword [ecx + 0x19c]
cmove edi, eax
cmp dword [ecx + 0x1b4], ebx
je 0x1000db20
add ecx, 0x140
call fcn.1000e5d3
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x8ce0]
mov dword [ebp - 4], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [ebp - 8]
mov edx, dword [ecx]
push eax
lea eax, [esi + 0x8cf8]
push eax
push ecx
call dword [edx + 0xc]
mov ebx, eax
mov ecx, dword [esi + 0x8ce0]
imul edi, edi, 0x8e00
mov ecx, dword [ecx + 0x17c]
add ecx, 0x8cf0
add ecx, edi
call fcn.10039ef6
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x1000e36d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 8
pop esi
mov ebx, ecx
push esi
mov ecx, dword [ebx + 0x10]
push 0x31
mov dword [ebp - 4], ebx
call fcn.1000eabf
mov ecx, dword [ebx + 0x10]
push esi
push 0x41
call fcn.1000eabf
mov ecx, dword [ebx + 0x10]
push esi
push 0x59
call fcn.1000eabf
mov ecx, dword [ebx + 0x10]
push esi
push 0x26
call fcn.1000eabf
mov ecx, dword [ebx + 0x10]
push esi
push 0x53
call fcn.1000eabf
mov ecx, dword [ebx + 0x10]
push esi
push 0x59
call fcn.1000eabf
mov eax, dword [ebp + 8]
or esi, 0xffffffff
mov dh, byte [eax]
xor edi, edi
xor ebx, ebx
mov dl, byte [ebx + eax]
cmp edi, 4
jne 0x1000e3f2
test dl, dl
je 0x1000e3ee
movzx ecx, dh
mov eax, esi
shr eax, 0x18
xor eax, ecx
shl esi, 8
xor esi, dword [eax*4 + 0x100f1f80]
dec dl
jne 0x1000e3d9
xor edi, edi
jmp 0x1000e412
cmp dh, dl
jne 0x1000e3f9
inc edi
jmp 0x1000e3fe
xor edi, edi
inc edi
mov dh, dl
mov ecx, esi
movzx eax, dl
shr ecx, 0x18
xor ecx, eax
shl esi, 8
xor esi, dword [ecx*4 + 0x100f1f80]
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x1000e3ca
mov ecx, dword [ebp - 4]
not esi
push esi
call fcn.1000eb98
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
call fcn.1000db48
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1001cd50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
lea edx, [ebp - 0x44]
mov ebx, ecx
call fcn.100378c0
lea ecx, [ebx + 0x60]
push 5
lea edx, [ebp - 0x84]
call fcn.100378c0
mov eax, dword [esi]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
test edi, edi
je 0x1001cdf3
lea esp, [esp]
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x44]
mov ecx, ebx
call fcn.10037a20
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebx + 0x60]
call fcn.10037a20
mov eax, dword [ebp - 0x44]
xor dword [esi], eax
mov eax, dword [ebp - 0x40]
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x3c]
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x34]
xor dword [esi + 0x10], eax
dec edi
jne 0x1001cdb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7060
mov esp, ebp
pop ebp
ret 8
Function at 0x1001ce10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0xbc], esi
movq qword [ebp - 0x58], xmm0
movq qword [ebp - 0x50], xmm0
movq qword [ebp - 0x48], xmm0
movq qword [ebp - 0x40], xmm0
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x28], xmm0
movq qword [ebp - 0x20], xmm0
cmp edi, 0x40
jbe 0x1001cea4
lea ecx, [ebp - 0xb8]
call fcn.10038380
push edi
mov edx, ebx
lea ecx, [ebp - 0xb8]
call fcn.100383c0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb8]
call fcn.10037960
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [ebp + eax - 0x18]
bswap ecx
mov dword [ebp + eax - 0x58], ecx
add eax, 4
cmp eax, 0x14
jb 0x1001ce90
jmp 0x1001cee1
xor esi, esi
test edi, edi
je 0x1001cedf
lea ebx, [ebx]
mov eax, esi
shr eax, 2
lea edx, [ebp - 0x58]
mov ecx, 3
lea edx, [edx + eax*4]
mov eax, esi
and eax, 3
sub ecx, eax
movzx eax, byte [ebx + esi]
shl ecx, 3
shl eax, cl
inc esi
or dword [edx], eax
cmp esi, edi
jb 0x1001ceb0
mov esi, dword [ebp - 0xbc]
jmp 0x1001cee1
mov esi, ecx
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
lea eax, [ebp - 0x58]
mov ecx, 4
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x10]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x10], xmm0
dec ecx
jne 0x1001cef1
mov ecx, esi
call fcn.10038380
push 0x10
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.10037910
movdqa xmm1, xmmword [0x100cb090]
lea eax, [ebp - 0x58]
mov ecx, 4
jmp 0x1001cf30
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x10]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x10], xmm0
dec ecx
jne 0x1001cf30
lea ecx, [esi + 0x60]
call fcn.10038380
push 0x10
lea edx, [ebp - 0x58]
lea ecx, [esi + 0x60]
call fcn.10037910
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7060
mov esp, ebp
pop ebp
ret 8

Function at 0x1001cf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
push edi
mov edi, ecx
cmp eax, 0x40
jae 0x1001d028
mov byte [ebp + eax - 0x44], 0
inc eax
cmp eax, 0x40
jb 0x1001cf93
mov esi, dword [ebp + 0xc]
cmp esi, 0x40
jbe 0x1001cfc1
call fcn.10038380
push esi
mov edx, ebx
mov ecx, edi
call fcn.100383c0
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.10037960
jmp 0x1001cfd3
test esi, esi
je 0x1001cfd3
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.100b77a0
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x1001cfd5
mov ecx, edi
call fcn.10038380
push 0x40
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.100383c0
xor eax, eax
xor byte [ebp + eax - 0x44], 0x6a
inc eax
cmp eax, 0x40
jb 0x1001cff5
lea ecx, [edi + 0x60]
call fcn.10038380
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [edi + 0x60]
call fcn.100383c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7060
mov esp, ebp
pop ebp
ret 8
call fcn.100b7fbb
int3
Function at 0x1001d059
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 0x48], ecx
cmp eax, 0x40
jae 0x1001d114
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x1001d081
mov esi, dword [ebp + 0xc]
cmp esi, 0x40
jbe 0x1001d0b1
mov ecx, edi
call fcn.10039000
mov edx, dword [ebp - 0x48]
push esi
mov ecx, edi
call fcn.10039050
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.10038f40
jmp 0x1001d0c3
test esi, esi
je 0x1001d0c3
push esi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.100b77a0
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x1001d0c5
mov ecx, edi
call fcn.10039000
push 0x40
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.10039050
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x1001d0e3
lea ecx, [edi + 0x68]
call fcn.10039000
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [edi + 0x68]
call fcn.10039050
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7060
leave
ret 8
call fcn.100b7fbb
int3

Function at 0x1001da20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea eax, [edx + 1]
mov ecx, dword [esi + 0x10c]
mov ebx, dword [esi + 0x104]
mov dword [ebp + 8], ecx
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, edx
sub ecx, eax
add ecx, 2
sub edx, eax
mov dword [ebp - 0x10], ecx
lea ecx, [edx + 3]
mov edx, dword [esi + 0x108]
push edi
mov edi, dword [esi + 0x100]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 4
nop
mov ecx, dword [ebp - 0xc]
lea eax, [eax + 4]
movzx ecx, byte [ecx + eax - 4]
xor edi, dword [ecx*4 + 0x100f6e20]
mov dword [esi + 0x100], edi
movzx ecx, byte [eax - 4]
xor ebx, dword [ecx*4 + 0x100f6e20]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x104], ebx
movzx ecx, byte [ecx + eax - 4]
xor edx, dword [ecx*4 + 0x100f6e20]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x108], edx
movzx ecx, byte [ecx + eax - 4]
mov esi, dword [ebp + 8]
xor esi, dword [ecx*4 + 0x100f6e20]
dec dword [ebp - 4]
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10c], ecx
jne 0x1001da70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001db95
Capabilities:
Encode data using xor

Disassembly:
push 0x218
mov eax, 0x100c06dc
call fcn.100b70d4
mov ebx, ecx
mov dword [ebp - 0x214], ebx
lea esi, [ebx + 0x14c]
cmp byte [esi], 0
je 0x1001dda7
mov edi, 0x100f3754
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x100eebc8], 0
jne 0x1001dbef
push 0x100eebc8
mov ecx, esi
call fcn.1001df38
test al, al
je 0x1001dbef
push 0x100eebc8
mov ecx, esi
call fcn.1001dde2
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi], 0
je 0x1001dda7
push dword [ebx + 0x168]
lea ecx, [ebp - 0x210]
push dword [ebx + 0x164]
call fcn.1001d059
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x10
lea edx, [ebx + 0x154]
lea ecx, [ebp - 0x140]
call fcn.10039050
lea edx, [ebp - 0x30]
push 4
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x30], 0x1000000
call fcn.10039050
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.1001d02e
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100b77a0
mov ecx, dword [ebx + 0x150]
xor eax, eax
inc eax
shl eax, cl
add esp, 0xc
lea ecx, [ebx + 0x16c]
lea edx, [ebx + 0x194]
dec eax
xor esi, esi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x218], edx
test eax, eax
je 0x1001dd03
mov ebx, dword [ebp - 0x21c]
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x20
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x140]
call fcn.10039050
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.1001d02e
xor ecx, ecx
mov al, byte [ebp + ecx - 0x30]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 0x20
jb 0x1001dce0
dec ebx
jne 0x1001dcae
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x218]
push 0x20
lea eax, [ebp - 0x50]
push eax
cmp esi, 1
lea eax, [ebp - 0x70]
cmove eax, edx
test esi, esi
cmove eax, ecx
push eax
call fcn.100b77a0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x218]
add esp, 0xc
inc esi
push 0x10
pop eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], esi
cmp esi, 3
jb 0x1001dca4
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x18c], eax
mov eax, dword [ebp - 0x6c]
push 8
mov dword [ebx + 0x190], eax
pop edx
mov al, byte [ebp + edx - 0x70]
mov ecx, edx
and ecx, 7
xor byte [ecx + ebx + 0x18c], al
inc edx
cmp edx, 0x20
jb 0x1001dd60
mov edi, 0x100f3754
lea esi, [ebx + 0x14c]
push edi
mov byte [esi], 0
mov dword [ebp - 0x214], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
push esi
mov ecx, 0x100eebc8
call fcn.1001db24
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call fcn.1001df7c
test al, al
je 0x1001ddda
cmp byte [ebx + 0x1bc], 0
je 0x1001ddda
push 8
lea eax, [ebx + 0x1b4]
push eax
lea eax, [ebx + 0x18c]
push eax
call fcn.100b58e8
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1001dddc
mov al, 1
call fcn.100b7083
ret
Function at 0x1001de77
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ecx + 0x194]
push 0x20
push eax
lea ecx, [ebp - 0xf4]
call fcn.1001d059
mov eax, dword [ebp + 8]
push 4
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
call fcn.10039050
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xf4]
call fcn.1001d02e
xor eax, eax
mov esi, eax
movzx edx, byte [ebp + esi - 0x24]
mov ecx, esi
and ecx, 3
shl ecx, 3
shl edx, cl
xor eax, edx
inc esi
cmp esi, 0x20
jb 0x1001dece
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100b7060
leave
ret 4

Function at 0x1001e504
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ecx + 4]
add esi, 2
push edi
mov edi, dword [ebp + 8]
lea esi, [ecx + esi*4]
mov ebx, edx
mov edx, dword [ecx]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
test edi, edi
je 0x1001e595
cmp edx, 0x10
je 0x1001e53d
mov al, byte [esi + edx]
xor byte [ebx], al
inc edx
inc ebx
dec edi
je 0x1001e53a
cmp edx, 0x10
jne 0x1001e52b
mov dword [ebp + 8], edi
cmp edi, 0x10
jb 0x1001e566
mov ecx, dword [ebp - 4]
mov esi, edi
shr esi, 4
push esi
add ecx, 0x10
mov edx, ebx
call dword [0x100f6df4]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp - 4]
push 0x10
mov dword [ebp + 8], edi
pop edx
test edi, edi
je 0x1001e590
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea ecx, [esi + 0x10]
mov edx, esi
stosd dword es:[edi], eax
call dword [0x100f6df4]
mov ecx, dword [ebp + 8]
xor edx, edx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc edx
inc ebx
dec ecx
jne 0x1001e586
mov eax, dword [ebp - 8]
mov dword [eax], edx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1001e8a0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
mov eax, 0x12345678
mov edi, 0x23456789
mov edx, 0x34567890
test ebx, ebx
je 0x1001e902
mov edi, edi
mov ecx, dword [ebp + 0xc]
inc esi
movzx ecx, byte [esi + ecx - 1]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x100f6e20]
movzx ecx, al
add edi, ecx
imul edi, edi, 0x8088405
inc edi
mov ecx, edi
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x100f6e20]
cmp esi, ebx
jb 0x1001e8c0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], edi
pop edi
pop esi
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x1c], edx
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x1001e920
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor edi, edi
test edx, edx
je 0x1001e9a4
mov esi, eax
mov edi, edi
mov eax, ecx
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov eax, dword [ebp + 0xc]
shr edx, 8
xor dl, byte [edi + eax]
inc edi
movzx eax, dl
xor eax, ebx
and eax, 0xff
shr ebx, 8
xor ebx, dword [eax*4 + 0x100f6e20]
movzx eax, bl
add esi, eax
imul esi, esi, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x100f6e20]
mov eax, dword [ebp + 0xc]
mov byte [edi + eax - 1], dl
mov edx, dword [ebp + 0x10]
cmp edi, edx
jb 0x1001e940
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001e9c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor edi, edi
mov dword [ebp - 8], edx
test ebx, ebx
je 0x1001ea50
mov esi, eax
mov eax, dword [ebp + 0xc]
inc edi
mov bl, byte [edi + eax - 1]
mov eax, ecx
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov eax, dword [ebp + 0xc]
shr edx, 8
xor dl, bl
mov byte [edi + eax - 1], dl
mov edx, dword [ebp - 8]
movzx eax, bl
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x100f6e20]
mov ebx, dword [ebp + 0x10]
movzx eax, dl
add esi, eax
imul esi, esi, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x100f6e20]
mov dword [ebp - 8], edx
cmp edi, ebx
jb 0x1001e9e3
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
pop edi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001ebc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x100f0e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movzx eax, dl
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
mov esi, ecx
call fcn.100b8b90
mov edi, esi
lea ecx, [ebp - 0x44]
add esp, 0xc
xor eax, eax
sub edi, ecx
lea edx, [ebp - 0x44]
add edx, eax
add eax, 5
movzx ecx, byte [edi + edx]
xor byte [edx], cl
movzx ecx, byte [esi + eax - 4]
xor byte [edx + 1], cl
movzx ecx, byte [esi + eax - 3]
xor byte [edx + 2], cl
movzx ecx, byte [esi + eax - 2]
xor byte [edx + 3], cl
movzx ecx, byte [esi + eax - 1]
xor byte [edx + 4], cl
cmp eax, 0x14
jb 0x1001ebf6
lea ecx, [ebp - 0xa4]
call fcn.10038380
lea edx, [ebp - 0x44]
push 0x40
lea ecx, [ebp - 0xa4]
call fcn.100383c0
mov edx, ebx
lea ecx, [ebp - 0xa4]
call fcn.10037960
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7060
mov esp, ebp
pop ebp
ret 4

Function at 0x1002390d
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
dec edx
je 0x1002392d
sub edx, 3
je 0x10023924
sub edx, 6
jne 0x10023931
add ecx, 0x10
jmp fcn.10039000
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret
Function at 0x10026ea0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
lea esi, [edi + 0x1c]
shr edi, 2
mov eax, edi
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
xor ecx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
test edi, edi
je 0x10026edd
lea esp, [esp]
mov eax, dword [edx]
mov dword [ebx + ecx*4], eax
inc ecx
lea edx, [edx + 4]
cmp ecx, edi
jb 0x10026ed0
cmp ecx, esi
jae 0x10026fc4
mov eax, ecx
sub eax, edi
lea esi, [ebx + eax*4]
mov dword [ebp + 8], esi
nop
xor edx, edx
mov eax, ecx
div edi
mov ebx, dword [ebx + ecx*4 - 4]
mov dword [ebp - 4], eax
test edx, edx
jne 0x10026f58
movzx edx, bl
movzx esi, byte [edx + str.cw]
mov edx, ebx
shr edx, 0x18
shl esi, 8
movzx eax, byte [edx + str.cw]
or esi, eax
mov eax, ebx
shr eax, 0x10
and eax, 0xff
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
mov eax, dword [ebp - 4]
shr ebx, 8
movzx eax, byte [eax + 0x100cb718]
and ebx, 0xff
shl esi, 8
movzx ebx, byte [ebx + str.cw]
xor ebx, eax
or ebx, esi
mov esi, dword [ebp + 8]
jmp 0x10026fa9
cmp edi, 6
jbe 0x10026fa9
cmp edx, 4
jne 0x10026fa9
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
or ebx, edx
mov eax, dword [esi]
xor eax, ebx
mov ebx, dword [ebp - 8]
inc ecx
mov dword [ebx + ecx*4 - 4], eax
add esi, 4
mov dword [ebp + 8], esi
cmp ecx, dword [ebp - 0xc]
jb 0x10026ef0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4