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

Disassembly:
mov eax, 4
call fcn.100806d0
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 0x1008a8ff
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 0x1008a9b0
jb 0x1008a924
test eax, eax
jne 0x1008a9b0
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 0x1008a966
lea ebx, [ebx]
test esi, esi
je 0x1008a955
mov al, byte [ebp]
dec esi
xor byte [ebx + edi + 0x40], al
inc ebp
inc ebx
and ebx, 0xf
jne 0x1008a940
jmp 0x1008a959
test ebx, ebx
jne 0x1008a9a2
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 0x1008a98a
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 0x1008a9a2
xor ecx, ecx
mov ebx, esi
test esi, esi
je 0x1008a9a2
mov al, byte [ecx + ebp]
xor byte [edi + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x1008a996
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 0x1008b500
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100806d0
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 0x1008b5ab
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 0x1008b6e1
mov dword [esp + 0xc], edi
push ebp
mov ebp, dword [esp + 0x1c]
cmp edi, 0x10
jb 0x1008b623
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 0x1008b5f0
cmp ecx, ebp
jb 0x1008b5f0
mov eax, esi
mov edx, 0x10
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x1008b5e2
jmp 0x1008b601
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 0x1008b5d0
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x1008b6ba
xor edx, edx
test edi, edi
je 0x1008b6b0
cmp edi, 0x20
jb 0x1008b691
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x1008b648
cmp ecx, ebp
jae 0x1008b691
mov eax, edi
mov ecx, edi
and eax, 0x1f
mov ebx, ebp
sub ecx, eax
mov eax, esi
sub ebx, esi
jmp 0x1008b660
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 0x1008b660
cmp edx, edi
jae 0x1008b6ac
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 0x1008b6a0
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 0x1008f880
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.0x1008f8b5
jmp dword [ecx*4 + 0x1008f9f8]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x1008f8b5.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 0x1008f8d0
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 0x10094030
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.10094120
mov edi, eax
add esp, 8
test edi, edi
jne 0x100940d6
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.10089100
push 0x100f600c
push esi
push 0x100f6010
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.10088cc0
add esp, 0x2c
call fcn.1006799b
cmp dword [eax], 2
je 0x100940b6
call fcn.1006799b
cmp dword [eax], 6
je 0x100940b6
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.10089100
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.10089100
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x101168d0
call fcn.1008e230
mov esi, eax
add esp, 4
test esi, esi
jne 0x100940f7
push edi
call fcn.10063e0d
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.1008de70
push edi
push 1
push 0x6a
push esi
call fcn.1008dea0
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x100960e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.100806d0
mov eax, dword [0x10115770]
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 0x10096146
cmp edi, dword [esi]
je 0x1009613d
test ebp, ebp
je 0x100961c0
test ebx, ebx
js 0x100961c0
mov eax, 1
mov dword [esi], edi
jmp 0x1009614c
mov edi, dword [esi]
test edi, edi
je 0x100961c0
test ebp, ebp
je 0x100962db
push edi
call fcn.100ae940
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x10096180
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.10088600
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x100961db
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.10095930
add esp, 0xc
test eax, eax
je 0x100961c0
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.10095ae0
add esp, 0xc
test eax, eax
je 0x100961c0
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.100958b0
add esp, 0xc
test eax, eax
jne 0x100961f7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100626a1
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x100961c0
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.10068fc0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x1009621a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10068f30
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 0x10096220
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.10095930
add esp, 0xc
test eax, eax
je 0x100961c0
push edi
call fcn.100ae940
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10095ae0
add esp, 0x10
test eax, eax
je 0x100961c0
xor ecx, ecx
jmp 0x10096270
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x10096270
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.10095930
add esp, 0xc
test eax, eax
je 0x100961c0
push edi
call fcn.100ae940
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10095ae0
add esp, 0x10
test eax, eax
je 0x100961c0
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.10095bb0
add esp, 8
test eax, eax
je 0x100961c0
mov eax, 1
jmp 0x100961c2
test eax, eax
je 0x100962b9
jmp 0x1009621e
Function at 0x100a9ff0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100aa0b9
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100aa011
cmp al, 0x6b
jne 0x100aa0b9
inc ecx
cmp al, 0x6b
jne 0x100aa07b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100aa032
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100aa032
cmp dl, 0xbb
jne 0x100aa05b
inc eax
cmp eax, esi
jl 0x100aa020
sub esi, eax
test eax, eax
jne 0x100aa07e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10089100
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.10089100
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100aa0a7
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10089100
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10068fc0
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.10089100
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100b0380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.100806d0
mov eax, dword [0x10115770]
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 0x100b0557
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100b0557
cmp dword [esp + 0x88], 0x40000000
ja 0x100b0557
push ebx
push edi
push eax
call fcn.10089700
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.10095d50
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.10095930
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.10095ae0
add esp, 0x20
test eax, eax
je 0x100b0533
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10095ae0
add esp, 0xc
test eax, eax
je 0x100b0533
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.10095ae0
add esp, 0xc
test eax, eax
je 0x100b0533
push 0
cmp esi, edi
jb 0x100b04fb
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10095880
add esp, 0xc
test eax, eax
je 0x100b0533
sub esi, edi
je 0x100b052b
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.10095930
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.10095ae0
add esp, 0x18
test eax, eax
jne 0x100b0447
jmp 0x100b0533
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10095880
add esp, 0xc
test eax, eax
je 0x100b0533
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.10068fc0
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.10095af0
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.100626a1
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.100626a1
add esp, 0x70
ret
Function at 0x100b0700
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100b0712
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.10089280
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100b07c9
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100b0764
test esi, esi
jle 0x100b07a8
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 0x100b0750
jmp 0x100b07a8
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100b0788
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10068f30
add esp, 0xc
test esi, esi
jle 0x100b07a8
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 0x100b0796
push esi
push ebp
push ebp
push edi
call fcn.100896c0
add esp, 0x10
pop ebx
test eax, eax
jne 0x100b07c9
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 0x100c5720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.100806d0
mov eax, dword [0x10115770]
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.10095d50
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.10095bb0
add esp, 0xc
test eax, eax
je 0x100c5822
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100958b0
add esp, 0xc
test eax, eax
je 0x100c5822
lea eax, [esp + 0x20]
push eax
call fcn.10095af0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100c5840
push edi
call fcn.100a08b0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.1009a990
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100c5822
push esi
call fcn.100b5b80
add esp, 4
test eax, eax
jle 0x100c5822
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.1009a740
add esp, 0x18
test eax, eax
jle 0x100c5822
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100b5a90
add esp, 0x14
test eax, eax
jle 0x100c5822
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.1009a930
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100626a1
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100c5858
cmp dword [edi], edx
je 0x100c5882
inc eax
add ecx, 4
cmp eax, 4
jl 0x100c5845
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.10089100
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100626a1
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100c58b6
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.10089100
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100626a1
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.100626a1
add esp, 0x6c
ret
Function at 0x100cf810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.100806d0
mov eax, dword [0x10115770]
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 0x100cf9ed
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 0x100cf97d
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 0x100cf910
test edi, edi
mov edi, dword [esp + 0x24]
je 0x100cf9d4
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.100626a1
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.100626a1
add esp, 0x30
ret
Function at 0x100d48b0
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 0x100d48c7
mov ebx, ecx
jmp 0x100d48cb
mov ebx, ebp
mov ebp, ecx
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x100d48db
mov eax, edi
jmp 0x100d48e5
push eax
push edi
call fcn.100900c0
add esp, 8
test eax, eax
jne 0x100d48ed
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x100d490b
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 0x100d48f5
cmp esi, dword [ebx + 4]
jge 0x100d4920
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 0x100d4910
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
pop esi
test ecx, ecx
jle 0x100d4944
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x100d4941
dec ecx
test ecx, ecx
jg 0x100d4933
mov dword [edi + 4], ecx
cmp dword [edi + 4], 0
jne 0x100d4951
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret