joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0176
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0xc], eax
mov al, byte [esi + 2]
mov word [edi], cx
mov byte [ebp + 0xf], al
cmp byte [esi + 1], cl
je 0x100a0213
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x24]
call fcn.1001820b
lea eax, [esi + 0x2c]
lea ecx, [edi + 0x60]
cmp eax, ecx
je 0x100a01c0
push dword [eax + 4]
push dword [eax]
call fcn.10023c4c
movzx eax, byte [esi + 4]
mov ecx, edi
push eax
push 0x800
call fcn.100a02cd
mov eax, dword [esi + 0x10]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x84], eax
mov al, byte [esi + 3]
mov byte [edi + 0x88], al
mov al, byte [ebp + 0xf]
xor edx, edx
mov dword [edi + 0x40], 0x3f
mov byte [edi + 5], dl
test al, al
jne 0x100a022c
mov byte [ebp - 4], 1
cmp byte [ebx + 0x58], dl
jne 0x100a022f
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, edi
push 1
call fcn.100a02cd
push dword [ebp + 8]
mov ecx, edi
push 8
call fcn.100a02cd
cmp byte [ebp + 0xf], 0
je 0x100a0266
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x30]
call fcn.100754df
lea ecx, [edi + 0x50]
mov byte [edi + 0x3e], 0
call fcn.100754df
xor ecx, ecx
mov byte [edi + 0x5e], cl
cmp byte [ebp + 0xf], cl
je 0x100a029f
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x1c], ecx
jmp 0x100a02c6
cmp byte [ebx + 0x58], cl
je 0x100a02c6
cmp byte [ebx + 0x48], cl
je 0x100a02c6
cmp dword [ebx + 0x50], ecx
jne 0x100a02b3
push 8
pop eax
jmp 0x100a02b8
mov eax, dword [ebx + 0x4c]
mov al, byte [eax]
mov dl, byte [ebx + 0x49]
mov ecx, edi
movzx eax, al
push eax
call fcn.1009fb11
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100a207a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x100dc1e0
call fcn.100c755a
mov dword [ebp - 0x10], edx
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x100a20aa
mov eax, dword [ecx]
push 3
push dword [esi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x100a2217
cmp byte [esi + 1], 0
je 0x100a2160
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx]
shr al, 3
test al, 1
je 0x100a20ca
mov eax, 0x80004001
jmp 0x100a2217
lea eax, [esi + 0x2c]
lea ecx, [ebx + 0x60]
cmp eax, ecx
je 0x100a20de
push dword [eax + 4]
push dword [eax]
call fcn.10023c4c
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.1001820b
mov al, byte [esi + 4]
mov ecx, ebx
mov byte [ebp + 0x10], al
push dword [ebp + 0x10]
push 0x800
call fcn.100a02cd
mov eax, dword [esi + 0x14]
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x84], eax
mov al, byte [esi + 3]
mov byte [ebx + 0x88], al
call fcn.100a00e6
lea ecx, [ebx + 0x30]
call fcn.100a00e6
push 0
push ebx
mov ecx, edi
call fcn.1009ef2e
mov ecx, ebx
call fcn.1009fcd1
mov ebx, eax
mov dword [ebp + 0x10], edx
jmp 0x100a2187
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4c], edx
call fcn.1009fcd1
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, edx
add ebx, dword [ecx + 0x70]
adc eax, 0
mov dword [ebp + 0x10], eax
and dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x18]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 1]
push eax
push dword [ebp + 8]
call fcn.1009b0c6
mov esi, eax
mov eax, dword [ebp + 0x18]
test esi, esi
jne 0x100a2204
test eax, eax
jne 0x100a21b7
mov esi, 0x80004001
jmp 0x100a2204
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
add dword [eax], ebx
adc dword [eax + 4], esi
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.1009e897
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push ebx
call fcn.100ad78c
add dword [edi + 0x38], ebx
mov esi, eax
mov eax, dword [ebp + 0x10]
adc dword [edi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
test eax, eax
je 0x100a2201
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x100a2215
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.100c7523
ret 0x18
Function at 0x100aa660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x34], 0xa
jae 0x100aa6c5
nop dword [eax + eax]
mov edi, dword [esi]
cmp edi, 8
jae 0x100aa69d
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
je 0x100aa764
mov dl, byte [eax]
lea ebx, [edi + 8]
mov ecx, 0x18
movzx edx, dl
sub ecx, edi
inc eax
shl edx, cl
or edx, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x100aa6a2
mov edx, dword [esi + 4]
mov ebx, edi
mov eax, edx
shr edx, 0x18
shl eax, 8
mov dword [esi + 4], eax
lea eax, [ebx - 8]
mov dword [esi], eax
mov eax, dword [esi + 0x34]
mov byte [esi + eax + 0x70ce], dl
inc dword [esi + 0x34]
cmp dword [esi + 0x34], 0xa
jb 0x100aa670
mov dword [esi + 0x70d8], 0
movzx eax, byte [esi + 0x70d4]
shl eax, 8
mov dword [esi + 0x70d8], eax
movzx ecx, byte [esi + 0x70d5]
or ecx, eax
shl ecx, 8
mov dword [esi + 0x70d8], ecx
movzx eax, byte [esi + 0x70d6]
or eax, ecx
lea ecx, [esi + 0x70ce]
shl eax, 8
mov dword [esi + 0x70d8], eax
movzx edi, byte [esi + 0x70d7]
or edi, eax
mov dword [esi + 0x70d8], edi
call fcn.100a9680
test al, al
je 0x100aa76a
cmp byte [esi + 0x70e0], 0
jne 0x100aa738
add dword [esi + 0x70e8], 1
adc dword [esi + 0x70ec], 0
add dword [esi + 0x70f0], 1
mov byte [esi + 0x70e0], 1
adc dword [esi + 0x70f4], 0
mov eax, dword [esi + 0x70dc]
rol eax, 1
xor eax, edi
mov dword [esi + 0x70dc], eax
mov dword [esi + 0x30], 2
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea ecx, [esi + 0x70ce]
call fcn.100a96b0
test al, al
je 0x100aa7cb
cmp byte [esi + 0x70e0], 0
jne 0x100aa790
add dword [esi + 0x70e8], 1
adc dword [esi + 0x70ec], 0
mov edx, dword [esi + 4]
mov byte [esi + 0x70e0], 1
test edx, edx
je 0x100aa7a5
mov byte [esi + 0x70e2], 1
mov eax, dword [esi]
mov ecx, eax
and ecx, 7
mov dword [esi + 0x30], 0xb
sub eax, ecx
shl edx, cl
mov dword [esi], eax
mov dword [esi + 4], edx
cmp edi, dword [esi + 0x70dc]
je 0x100aa764
mov byte [esi + 0x70e1], 1
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100ab840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], 8
mov byte [ebp - 0x10], 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x8ce0]
mov dword [esi + 0x8cd4], 0
push dword [eax + 0x174]
push dword [ebp + 8]
push dword [esi]
call fcn.100ab670
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], 0
je 0x100ab8b9
imul eax, dword [esi + 0x8cd8], 0x8e00
mov ecx, dword [ecx + 0x17c]
mov ecx, dword [eax + ecx + 0x8cf0]
call fcn.100142ce
mov ecx, dword [esi + 0x8ce0]
xor edi, edi
cmp dword [esi + 0x8cd4], edi
jbe 0x100ab8f9
lea edx, [esi + 0x7cd4]
nop dword [eax]
mov ecx, dword [esi + 0x8ce0]
lea edx, [edx + 4]
inc edi
mov eax, dword [ecx + 0x178]
rol eax, 1
xor eax, dword [edx - 4]
mov dword [ecx + 0x178], eax
cmp edi, dword [esi + 0x8cd4]
jb 0x100ab8d0
mov ecx, dword [esi + 0x8ce0]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x10]
lea eax, [eax*8 + 8]
sub eax, dword [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.100acd30
mov edi, dword [esi + 0x8ce0]
xor eax, eax
mov dword [ebp + 8], eax
cmp byte [edi + 0x1a0], al
je 0x100ab9ae
mov eax, dword [esi + 0x8cd8]
inc eax
push ebx
xor ebx, ebx
cmp eax, dword [edi + 0x19c]
cmovne ebx, eax
cmp dword [edi + 0x1b4], 0
je 0x100ab991
lea ecx, [edi + 0x148]
call fcn.100a5a95
mov ecx, eax
mov eax, 0xf
sub eax, dword [edi + 0x140]
shr eax, 3
add ecx, eax
mov eax, dword [esi + 0x8ce0]
mov dword [ebp - 8], ecx
adc edx, 0
mov dword [ebp - 4], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x8cf8]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
mov edi, dword [esi + 0x8ce0]
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x17c]
imul edx, ebx, 0x8e00
add edx, 0x8cf0
add ecx, edx
call fcn.1001428d
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100ac3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
push 0x31
mov dword [ebp - 4], ebx
call fcn.100accf0
push 0x41
mov ecx, ebx
call fcn.100accf0
push 0x59
mov ecx, ebx
call fcn.100accf0
push 0x26
mov ecx, ebx
call fcn.100accf0
push 0x53
mov ecx, ebx
call fcn.100accf0
push 0x59
mov ecx, ebx
call fcn.100accf0
mov eax, dword [ebp + 8]
or esi, 0xffffffff
xor ebx, ebx
xor edi, edi
mov dh, byte [eax]
nop dword [eax]
mov dl, byte [edi + eax]
cmp ebx, 4
jne 0x100ac41a
test dl, dl
je 0x100ac416
movzx ecx, dh
nop
mov eax, esi
shl esi, 8
shr eax, 0x18
xor eax, ecx
xor esi, dword [eax*4 + 0x1010f9b0]
add dl, 0xff
jne 0x100ac400
xor ebx, ebx
jmp 0x100ac444
mov ecx, esi
movzx eax, dl
shr ecx, 0x18
inc ebx
xor ecx, eax
shl esi, 8
mov eax, 1
xor esi, dword [ecx*4 + 0x1010f9b0]
cmp dh, dl
movzx ecx, dh
cmovne ebx, eax
movzx eax, dl
cmovne ecx, eax
mov dh, cl
mov eax, dword [ebp + 8]
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x100ac3f0
mov ecx, dword [ebp - 4]
not esi
push esi
call fcn.100ace10
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
call fcn.100ab9c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100ad079
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov byte [ebp - 1], dl
or dword [ebx], 0xffffffff
cmp dword [ecx], 0x23170f69
jne 0x100ad152
mov eax, 0x40c1
cmp word [ecx + 4], ax
jne 0x100ad152
mov edi, dword [ebp + 0xc]
mov edx, 0x2790
mov byte [edi], 1
movzx eax, word [ecx + 6]
cmp ax, dx
jne 0x100ad0be
mov byte [edi], 0
jmp 0x100ad0cc
mov edx, 0x2791
cmp ax, dx
jne 0x100ad152
mov eax, dword [ecx + 8]
xor esi, esi
mov ecx, dword [ecx + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [0x1010f758], esi
jbe 0x100ad152
mov ch, byte [ebp + 8]
mov edx, dword [esi*4 + 0x1010f760]
cmp eax, dword [edx + 8]
jne 0x100ad128
mov ebx, dword [ebp - 8]
cmp ebx, dword [edx + 0xc]
mov ebx, dword [ebp + 0x10]
jne 0x100ad128
xor eax, eax
cmp byte [edi], al
je 0x100ad107
cmp dword [edx + 4], eax
jmp 0x100ad109
cmp dword [edx], eax
sete al
test eax, eax
jne 0x100ad125
mov cl, byte [edx + 0x18]
test ch, ch
je 0x100ad11e
test cl, cl
sete al
jmp 0x100ad121
movzx eax, cl
test eax, eax
je 0x100ad133
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [0x1010f758]
jb 0x100ad0e5
jmp 0x100ad152
movzx ecx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
xor ecx, 1
cmp dword [edx + 0x14], 1
cmove ecx, eax
test ecx, ecx
je 0x100ad150
mov eax, 0x80004002
jmp 0x100ad154
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100b42ee
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d49e0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1010a058]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x30]
mov dword [esi], vtable.NCompress::NLzma::CDecoder.0
mov edx, 0x100dd46c
mov dword [esi + 4], vtable.NCompress::NLzma::CDecoder.1.0
mov dword [esi + 8], vtable.NCompress::NLzma::CDecoder.2.0
mov dword [esi + 0xc], vtable.NCompress::NLzma::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NLzma::CDecoder.4.0
mov dword [esi + 0x14], vtable.NCompress::NLzma::CDecoder.5.0
mov dword [esi + 0x18], vtable.NCompress::NLzma::CDecoder.6.0
mov dword [esi + 0x1c], vtable.NCompress::NLzma::CDecoder.7.0
call fcn.10009c60
mov ecx, dword [esi + 0x24]
call fcn.10002841
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x100b4373
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x100bfa60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, ecx
xor cl, cl
mov byte [edi + 4], 0
mov dword [edi], 0xffffffff
test edx, edx
je 0x100bfb24
cmp edx, 0x20
jb 0x100bfaf0
mov ecx, edx
xorps xmm2, xmm2
and ecx, 0xffffffe0
xorps xmm1, xmm1
nop word [eax + eax]
movups xmm0, xmmword [esi + eax]
pxor xmm2, xmm0
movups xmm0, xmmword [esi + eax + 0x10]
add eax, 0x20
pxor xmm1, xmm0
cmp eax, ecx
jb 0x100bfaa0
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd ecx, xmm1
cmp eax, edx
jae 0x100bfafc
xor cl, byte [eax + esi]
inc eax
cmp eax, edx
jb 0x100bfaf4
test cl, cl
jne 0x100bfb24
test edx, edx
je 0x100bfb24
mov ecx, esi
mov byte [edi + 4], 1
mov bl, 1
call fcn.100bf980
mov dword [edi], eax
test eax, eax
js 0x100bfb20
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
mov byte [edi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x100c4cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1010a058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x44]
push edi
push 5
mov ebx, ecx
call fcn.10011d40
lea ecx, [ebx + 0x60]
push 5
lea edx, [ebp - 0x84]
call fcn.10011d40
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 0x100c4d95
nop dword [eax]
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
lea edx, [ebp - 0x44]
call fcn.10011e80
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebx + 0x60]
call fcn.10011e80
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
sub edi, 1
jne 0x100c4d50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c70b8
mov esp, ebp
pop ebp
ret 8
Function at 0x100c506f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1010a058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x100c512a
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x100c509a
cmp edi, 0x40
jbe 0x100c50c7
mov ecx, esi
call fcn.10013350
mov edx, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.100133a0
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.100132d0
jmp 0x100c50d9
test edi, edi
je 0x100c50d9
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.100c8430
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x100c50db
mov ecx, esi
call fcn.10013350
push 0x40
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.100133a0
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x100c50f9
lea ecx, [esi + 0x68]
call fcn.10013350
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [esi + 0x68]
call fcn.100133a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c70b8
leave
ret 8
call fcn.100c7210
int3

Function at 0x100c5a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
push esi
inc eax
mov dword [ebp - 0xc], edx
mov ecx, dword [edx + 0x10c]
mov esi, dword [edx + 0x100]
mov ebx, dword [edx + 0x108]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [ebp - 8], 4
push edi
mov edi, dword [edx + 0x104]
mov dword [ebp + 8], ecx
nop dword [eax]
movzx ecx, byte [ecx + eax]
lea eax, [eax + 4]
xor esi, dword [ecx*4 + 0x10113d00]
mov dword [edx + 0x100], esi
movzx ecx, byte [eax - 4]
xor edi, dword [ecx*4 + 0x10113d00]
mov dword [edx + 0x104], edi
movzx ecx, byte [eax - 3]
xor ebx, dword [ecx*4 + 0x10113d00]
mov dword [edx + 0x108], ebx
movzx ecx, byte [eax - 2]
mov edx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x10113d00]
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx + 0x10c], ecx
mov ecx, dword [ebp + 8]
jne 0x100c5a40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c5bbf
Capabilities:
Encode data using xor

Disassembly:
push 0x218
mov eax, 0x100dcce7
call fcn.100c758e
mov esi, ecx
mov dword [ebp - 0x218], esi
lea edi, [esi + 0x14c]
cmp byte [edi], 0
je 0x100c5deb
push 0x101112d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x10111268], 0
jne 0x100c5c18
push 0x10111268
mov ecx, edi
call fcn.100c5f7d
test al, al
je 0x100c5c18
push 0x10111268
mov ecx, edi
call fcn.100c5e27
mov byte [edi], 0
push 0x101112d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [edi], 0
je 0x100c5deb
push dword [esi + 0x168]
lea ecx, [ebp - 0x210]
push dword [esi + 0x164]
call fcn.100c506f
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x218]
lea ecx, [ebp - 0x140]
push 0x10
lea edx, [esi + 0x154]
call fcn.100133a0
push 4
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x1000000
lea ecx, [ebp - 0x140]
call fcn.100133a0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.100c5044
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100c8430
mov ecx, dword [esi + 0x150]
lea edx, [esi + 0x194]
xor eax, eax
mov dword [ebp - 0x224], edx
inc eax
add esp, 0xc
shl eax, cl
lea ecx, [esi + 0x16c]
dec eax
mov dword [ebp - 0x220], ecx
xor edi, edi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], edi
test eax, eax
je 0x100c5d43
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.100133a0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.100c5044
xor eax, eax
movups xmm0, xmmword [ebp + eax - 0x50]
movups xmm1, xmmword [ebp + eax - 0x30]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x50], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100c5d0d
sub dword [ebp - 0x214], 1
jne 0x100c5cdb
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push 0x20
lea eax, [ebp - 0x50]
cmp edi, 1
push eax
lea eax, [ebp - 0x70]
cmove eax, edx
test edi, edi
cmove eax, ecx
push eax
call fcn.100c8430
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov edx, dword [ebp - 0x224]
inc edi
mov dword [ebp - 0x21c], edi
push 0x10
pop eax
mov dword [ebp - 0x214], eax
cmp edi, 3
jb 0x100c5cd7
mov esi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x70]
push 8
pop edx
mov dword [esi + 0x18c], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x190], eax
mov al, byte [ebp + edx - 0x70]
mov ecx, edx
and ecx, 7
xor byte [ecx + esi + 0x18c], al
inc edx
cmp edx, 0x20
jb 0x100c5da0
mov eax, 0x101112d0
lea edi, [esi + 0x14c]
push eax
mov byte [edi], 0
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov ecx, 0x10111268
push edi
call fcn.100c5b21
push 0x101112d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.100c5fc0
test al, al
je 0x100c5e1f
cmp byte [esi + 0x1bc], 0
je 0x100c5e1f
push 8
lea eax, [esi + 0x1b4]
push eax
lea eax, [esi + 0x18c]
push eax
call fcn.100c9227
add esp, 0xc
neg eax
sbb al, al
inc al
jmp 0x100c5e21
mov al, 1
call fcn.100c7538
ret
Function at 0x100c5ebc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x1010a058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ecx + 0x194]
push 0x20
push eax
lea ecx, [ebp - 0xf4]
call fcn.100c506f
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xf8]
push 4
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
call fcn.100133a0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xf4]
call fcn.100c5044
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 0x100c5f13
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100c70b8
leave
ret 4

Function at 0x100c65ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ecx + 4]
mov ebx, edx
mov edx, dword [ecx]
add esi, 2
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea esi, [ecx + esi*4]
mov dword [ebp - 4], esi
test edi, edi
je 0x100c6644
cmp edx, 0x10
je 0x100c65ea
mov al, byte [esi + edx]
xor byte [ebx], al
inc edx
inc ebx
sub edi, 1
je 0x100c65e7
cmp edx, 0x10
jne 0x100c65d6
mov dword [ebp + 8], edi
lea ecx, [esi + 0x10]
mov dword [ebp - 8], ecx
cmp edi, 0x10
jb 0x100c6616
mov esi, edi
mov edx, ebx
shr esi, 4
push esi
call dword [0x10113ce0]
mov ecx, dword [ebp - 8]
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 0x100c663f
xor eax, eax
mov edi, esi
push 1
mov edx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x10113ce0]
mov ecx, dword [ebp + 8]
xor edx, edx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc edx
inc ebx
sub ecx, 1
jne 0x100c6633
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100c6950
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]
mov eax, 0x12345678
push esi
push edi
xor edi, edi
mov esi, 0x23456789
mov edx, 0x34567890
test ebx, ebx
je 0x100c69ab
nop
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [edi + ecx]
inc edi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10113d00]
movzx ecx, al
add ecx, esi
imul esi, ecx, 0x8088405
inc esi
mov ecx, esi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10113d00]
cmp edi, ebx
jb 0x100c6970
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx + 0x18], esi
pop esi
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x1c], edx
pop ebx
pop ebp
ret 0xc