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

Disassembly:
mov eax, 4
call fcn.10074ec0
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x164]
mov edx, dword [edi + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
je 0x1007f9ff
mov eax, 0xfffffffe
pop edi
pop ecx
ret
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, esi
add eax, dword [edi + 0x30]
adc ecx, dword [edi + 0x34]
cmp ecx, 0x20000000
ja 0x1007fab0
jb 0x1007fa24
test eax, eax
jne 0x1007fab0
push ebx
mov ebx, dword [edi + 0x16c]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
push ebp
mov ebp, dword [esp + 0x1c]
test ebx, ebx
je 0x1007fa66
lea ebx, [ebx]
test esi, esi
je 0x1007fa55
mov al, byte [ebp]
dec esi
xor byte [ebx + edi + 0x40], al
inc ebp
inc ebx
and ebx, 0xf
jne 0x1007fa40
jmp 0x1007fa59
test ebx, ebx
jne 0x1007faa2
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call edx
add esp, 8
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x1007fa8a
push eax
push ebp
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x28]
add ebp, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x1007faa2
xor ecx, ecx
mov ebx, esi
test esi, esi
je 0x1007faa2
mov al, byte [ecx + ebp]
xor byte [edi + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x1007fa96
pop ebp
mov dword [edi + 0x16c], ebx
xor eax, eax
pop ebx
pop esi
pop edi
pop ecx
ret
pop esi
or eax, 0xffffffff
pop edi
pop ecx
ret
Function at 0x10080600
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10074ec0
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [esi + 0x160]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x14], ebx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x100806ab
mov eax, dword [esp + 0x18]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x100807e1
mov dword [esp + 0xc], edi
push ebp
mov ebp, dword [esp + 0x1c]
cmp edi, 0x10
jb 0x10080723
mov ebx, ebp
lea ecx, [esi + 0xf]
mov eax, edi
sub ebx, esi
shr eax, 4
mov dword [esp + 0x20], eax
lea esp, [esp]
lea eax, [ebx + ecx]
cmp esi, eax
ja 0x100806f0
cmp ecx, ebp
jb 0x100806f0
mov eax, esi
mov edx, 0x10
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x100806e2
jmp 0x10080701
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [ebp]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x20]
add esp, 8
lea ecx, [esi + 0xf]
add ebp, 0x10
add ebx, 0x10
sub edi, 0x10
dec dword [esp + 0x20]
jne 0x100806d0
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x100807ba
xor edx, edx
test edi, edi
je 0x100807b0
cmp edi, 0x20
jb 0x10080791
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x10080748
cmp ecx, ebp
jae 0x10080791
mov eax, edi
mov ecx, edi
and eax, 0x1f
mov ebx, ebp
sub ecx, eax
mov eax, esi
sub ebx, esi
jmp 0x10080760
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax + ebx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edx + ebp + 0x10]
add edx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x10080760
cmp edx, edi
jae 0x100807ac
sub ebp, esi
lea ecx, [edx + esi]
sub edi, edx
lea esp, [esp]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edi
jne 0x100807a0
mov ebx, dword [esp + 0x18]
lea eax, [esi + 0x60]
push eax
push esi
call ebx
add esp, 8
mov eax, dword [esp + 0x10]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call ebx
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
pop ebp
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100849a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ebx - 1]
mov ecx, dword [ebp + 4]
shr ebx, 0x1f
dec ebx
mov eax, dword [edi + 4]
xor eax, ecx
and eax, ebx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [edi + 4], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, 9
ja case.default.0x100849d5
jmp dword [ecx*4 + 0x10084b18]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x100849d5.10
lea esp, [esp]
mov eax, dword [ebp]
mov esi, dword [esp + 0x14]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
mov ecx, dword [edx]
mov esi, dword [eax + esi*4]
xor esi, ecx
and esi, ebx
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
xor dword [eax + ecx*4], esi
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x20]
jl 0x100849f0
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, dword [esi + 0x24]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x24], ecx
mov eax, dword [edi]
xor dword [eax + 0x24], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x20]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [edi]
xor dword [eax + 0x20], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x1c], ecx
mov eax, dword [edi]
xor dword [eax + 0x1c], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x18]
mov ecx, dword [esi + 0x18]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
xor dword [eax + 0x18], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x14]
mov ecx, dword [esi + 0x14]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi]
xor dword [eax + 0x14], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x10]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x10], ecx
mov eax, dword [edi]
xor dword [eax + 0x10], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [edi]
xor dword [eax + 0xc], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, dword [esi + 8]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
xor dword [eax + 8], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 4], ecx
mov eax, dword [edi]
xor dword [eax + 4], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [esi]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [esi], edx
mov eax, dword [edi]
pop edi
pop esi
pop ebp
xor dword [eax], ecx
pop ebx
ret
Function at 0x10089170
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.10089260
mov edi, eax
add esp, 8
test edi, edi
jne 0x10089216
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.1007e220
push 0x100e9fbc
push esi
push 0x100e9fc0
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.1007dde0
add esp, 0x2c
call fcn.1005edc5
cmp dword [eax], 2
je 0x100891f6
call fcn.1005edc5
cmp dword [eax], 6
je 0x100891f6
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.1007e220
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.1007e220
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x101098b0
call fcn.10083340
mov esi, eax
add esp, 4
test esi, esi
jne 0x10089237
push edi
call fcn.1005d4b0
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.10082f80
push edi
push 1
push 0x6a
push esi
call fcn.10082fb0
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x1008b240
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10074ec0
mov eax, dword [0x10108760]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x1008b2a6
cmp edi, dword [esi]
je 0x1008b29d
test ebp, ebp
je 0x1008b320
test ebx, ebx
js 0x1008b320
mov eax, 1
mov dword [esi], edi
jmp 0x1008b2ac
mov edi, dword [esi]
test edi, edi
je 0x1008b320
test ebp, ebp
je 0x1008b43b
push edi
call fcn.1007e800
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x1008b2e0
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.1007d720
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x1008b33b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.1008aa90
add esp, 0xc
test eax, eax
je 0x1008b320
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.1008ac40
add esp, 0xc
test eax, eax
je 0x1008b320
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1008aa10
add esp, 0xc
test eax, eax
jne 0x1008b357
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005aadd
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x1008b320
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.10060800
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x1008b37a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10060770
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x1008b380
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1008aa90
add esp, 0xc
test eax, eax
je 0x1008b320
push edi
call fcn.1007e800
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008ac40
add esp, 0x10
test eax, eax
je 0x1008b320
xor ecx, ecx
jmp 0x1008b3d0
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x1008b3d0
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1008aa90
add esp, 0xc
test eax, eax
je 0x1008b320
push edi
call fcn.1007e800
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008ac40
add esp, 0x10
test eax, eax
je 0x1008b320
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1008ad10
add esp, 8
test eax, eax
je 0x1008b320
mov eax, 1
jmp 0x1008b322
test eax, eax
je 0x1008b419
jmp 0x1008b37e
Function at 0x1009f150
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1009f219
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x1009f171
cmp al, 0x6b
jne 0x1009f219
inc ecx
cmp al, 0x6b
jne 0x1009f1db
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x1009f192
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x1009f192
cmp dl, 0xbb
jne 0x1009f1bb
inc eax
cmp eax, esi
jl 0x1009f180
sub esi, eax
test eax, eax
jne 0x1009f1de
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1007e220
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1007e220
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x1009f207
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1007e220
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10060800
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1007e220
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100a54a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.10074ec0
mov eax, dword [0x10108760]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
ja 0x100a5677
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100a5677
cmp dword [esp + 0x88], 0x40000000
ja 0x100a5677
push ebx
push edi
push eax
call fcn.1007e810
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1008aeb0
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.1008aa90
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.1008ac40
add esp, 0x20
test eax, eax
je 0x100a5653
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008ac40
add esp, 0xc
test eax, eax
je 0x100a5653
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1008ac40
add esp, 0xc
test eax, eax
je 0x100a5653
push 0
cmp esi, edi
jb 0x100a561b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1008a9e0
add esp, 0xc
test eax, eax
je 0x100a5653
sub esi, edi
je 0x100a564b
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.1008aa90
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.1008ac40
add esp, 0x18
test eax, eax
jne 0x100a5567
jmp 0x100a5653
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008a9e0
add esp, 0xc
test eax, eax
je 0x100a5653
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.10060800
lea eax, [esp + 0x48]
push edi
push eax
call fcn.100068a0
add esp, 0x14
mov dword [esp + 0x14], 1
lea eax, [esp + 0x24]
push eax
call fcn.1008ac50
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1005aadd
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.1005aadd
add esp, 0x70
ret
Function at 0x100a5810
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100a5822
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.1009d6d0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100a58d9
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100a5874
test esi, esi
jle 0x100a58b8
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x100a5860
jmp 0x100a58b8
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100a5898
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10060770
add esp, 0xc
test esi, esi
jle 0x100a58b8
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x100a58a6
push esi
push ebp
push ebp
push edi
call fcn.1007e7c0
add esp, 0x10
pop ebx
test eax, eax
jne 0x100a58d9
push esi
push ebp
call fcn.100068a0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x100ba7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.10074ec0
mov eax, dword [0x10108760]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.1008aeb0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1008ad10
add esp, 0xc
test eax, eax
je 0x100ba8e2
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008aa10
add esp, 0xc
test eax, eax
je 0x100ba8e2
lea eax, [esp + 0x20]
push eax
call fcn.1008ac50
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100ba900
push edi
call fcn.100959f0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.1008fae0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100ba8e2
push esi
call fcn.100aaca0
add esp, 4
test eax, eax
jle 0x100ba8e2
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.1008f890
add esp, 0x18
test eax, eax
jle 0x100ba8e2
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100aabb0
add esp, 0x14
test eax, eax
jle 0x100ba8e2
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.1008fa80
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005aadd
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100ba918
cmp dword [edi], edx
je 0x100ba942
inc eax
add ecx, 4
cmp eax, 4
jl 0x100ba905
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.1007e220
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005aadd
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100ba976
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.1007e220
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005aadd
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005aadd
add esp, 0x6c
ret
Function at 0x100c4990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.10074ec0
mov eax, dword [0x10108760]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
push ebx
push ebp
movzx ebx, byte [eax]
push esi
push edi
lea edi, [eax + 1]
mov ebp, dword [esp + 0x60]
mov edx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov esi, dword [ebp]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 5]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x34]
shl ecx, 8
or ecx, eax
mov byte [esp + 0x34], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x38], dl
test eax, eax
je 0x100c4b6d
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
sub ecx, ebp
mov dword [esp + 0x10], ecx
xor edi, edi
lea ebx, [ebx]
dec eax
mov dword [esp + 0x4c], eax
test esi, esi
jne 0x100c4afd
push dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x30]
push eax
call fcn.100056e0
mov ebx, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
inc edi
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3b], al
mov al, byte [esp + esi + 0x34]
inc esi
xor al, byte [ebp]
and esi, 7
mov byte [ecx + ebp], al
inc ebp
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x100c4a90
test edi, edi
mov edi, dword [esp + 0x24]
je 0x100c4b54
mov eax, dword [esp + 0x30]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1005aadd
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005aadd
add esp, 0x30
ret
Function at 0x100c99c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x100c99d7
mov ebx, ecx
jmp 0x100c99db
mov ebx, ebp
mov ebp, ecx
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x100c99eb
mov eax, edi
jmp 0x100c99f5
push eax
push edi
call fcn.100851e0
add esp, 8
test eax, eax
jne 0x100c99fd
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x100c9a1b
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x100c9a05
cmp esi, dword [ebx + 4]
jge 0x100c9a30
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebx + 4]
jl 0x100c9a20
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
pop esi
test ecx, ecx
jle 0x100c9a54
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x100c9a51
dec ecx
test ecx, ecx
jg 0x100c9a43
mov dword [edi + 4], ecx
cmp dword [edi + 4], 0
jne 0x100c9a61
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret