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

Disassembly:
mov eax, 4
call fcn.1007db90
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 0x10087d7f
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 0x10087e30
jb 0x10087da4
test eax, eax
jne 0x10087e30
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 0x10087de6
lea ebx, [ebx]
test esi, esi
je 0x10087dd5
mov al, byte [ebp]
dec esi
xor byte [ebx + edi + 0x40], al
inc ebp
inc ebx
and ebx, 0xf
jne 0x10087dc0
jmp 0x10087dd9
test ebx, ebx
jne 0x10087e22
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 0x10087e0a
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 0x10087e22
xor ecx, ecx
mov ebx, esi
test esi, esi
je 0x10087e22
mov al, byte [ecx + ebp]
xor byte [edi + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x10087e16
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 0x10088980
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.1007db90
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 0x10088a2b
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 0x10088b61
mov dword [esp + 0xc], edi
push ebp
mov ebp, dword [esp + 0x1c]
cmp edi, 0x10
jb 0x10088aa3
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 0x10088a70
cmp ecx, ebp
jb 0x10088a70
mov eax, esi
mov edx, 0x10
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x10088a62
jmp 0x10088a81
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 0x10088a50
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x10088b3a
xor edx, edx
test edi, edi
je 0x10088b30
cmp edi, 0x20
jb 0x10088b11
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x10088ac8
cmp ecx, ebp
jae 0x10088b11
mov eax, edi
mov ecx, edi
and eax, 0x1f
mov ebx, ebp
sub ecx, eax
mov eax, esi
sub ebx, esi
jmp 0x10088ae0
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 0x10088ae0
cmp edx, edi
jae 0x10088b2c
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 0x10088b20
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 0x1008cd10
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.0x1008cd45
jmp dword [ecx*4 + 0x1008ce88]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x1008cd45.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 0x1008cd60
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 0x100914d0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.100915c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10091576
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.100865c0
push 0x100f2ffc
push esi
push 0x100f3000
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.10086180
add esp, 0x2c
call fcn.10064e7b
cmp dword [eax], 2
je 0x10091556
call fcn.10064e7b
cmp dword [eax], 6
je 0x10091556
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.100865c0
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.100865c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x101138d0
call fcn.1008b6c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10091597
push edi
call fcn.100612fd
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.1008b300
push edi
push 1
push 0x6a
push esi
call fcn.1008b330
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x10093590
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.1007db90
mov eax, dword [0x10112770]
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 0x100935f6
cmp edi, dword [esi]
je 0x100935ed
test ebp, ebp
je 0x10093670
test ebx, ebx
js 0x10093670
mov eax, 1
mov dword [esi], edi
jmp 0x100935fc
mov edi, dword [esi]
test edi, edi
je 0x10093670
test ebp, ebp
je 0x1009378b
push edi
call fcn.10086b80
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x10093630
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.10085ac0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x1009368b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.10092de0
add esp, 0xc
test eax, eax
je 0x10093670
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.10092f90
add esp, 0xc
test eax, eax
je 0x10093670
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.10092d60
add esp, 0xc
test eax, eax
jne 0x100936a7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005fb91
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x10093670
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.100664a0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x100936ca
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10066410
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 0x100936d0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.10092de0
add esp, 0xc
test eax, eax
je 0x10093670
push edi
call fcn.10086b80
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10092f90
add esp, 0x10
test eax, eax
je 0x10093670
xor ecx, ecx
jmp 0x10093720
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x10093720
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.10092de0
add esp, 0xc
test eax, eax
je 0x10093670
push edi
call fcn.10086b80
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10092f90
add esp, 0x10
test eax, eax
je 0x10093670
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.10093060
add esp, 8
test eax, eax
je 0x10093670
mov eax, 1
jmp 0x10093672
test eax, eax
je 0x10093769
jmp 0x100936ce
Function at 0x100a74f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100a75b9
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100a7511
cmp al, 0x6b
jne 0x100a75b9
inc ecx
cmp al, 0x6b
jne 0x100a757b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100a7532
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100a7532
cmp dl, 0xbb
jne 0x100a755b
inc eax
cmp eax, esi
jl 0x100a7520
sub esi, eax
test eax, eax
jne 0x100a757e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100865c0
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.100865c0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100a75a7
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100865c0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.100664a0
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.100865c0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100ad850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.1007db90
mov eax, dword [0x10112770]
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 0x100ada27
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100ada27
cmp dword [esp + 0x88], 0x40000000
ja 0x100ada27
push ebx
push edi
push eax
call fcn.10086b90
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.10093200
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.10092de0
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.10092f90
add esp, 0x20
test eax, eax
je 0x100ada03
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10092f90
add esp, 0xc
test eax, eax
je 0x100ada03
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.10092f90
add esp, 0xc
test eax, eax
je 0x100ada03
push 0
cmp esi, edi
jb 0x100ad9cb
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10092d30
add esp, 0xc
test eax, eax
je 0x100ada03
sub esi, edi
je 0x100ad9fb
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.10092de0
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.10092f90
add esp, 0x18
test eax, eax
jne 0x100ad917
jmp 0x100ada03
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10092d30
add esp, 0xc
test eax, eax
je 0x100ada03
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.100664a0
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.10092fa0
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.1005fb91
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.1005fb91
add esp, 0x70
ret
Function at 0x100adbc0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100adbd2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.100a5a80
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100adc89
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100adc24
test esi, esi
jle 0x100adc68
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 0x100adc10
jmp 0x100adc68
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100adc48
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10066410
add esp, 0xc
test esi, esi
jle 0x100adc68
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 0x100adc56
push esi
push ebp
push ebp
push edi
call fcn.10086b40
add esp, 0x10
pop ebx
test eax, eax
jne 0x100adc89
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 0x100c2b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.1007db90
mov eax, dword [0x10112770]
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.10093200
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.10093060
add esp, 0xc
test eax, eax
je 0x100c2c62
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10092d60
add esp, 0xc
test eax, eax
je 0x100c2c62
lea eax, [esp + 0x20]
push eax
call fcn.10092fa0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100c2c80
push edi
call fcn.1009dd90
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.10097e60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100c2c62
push esi
call fcn.100b3040
add esp, 4
test eax, eax
jle 0x100c2c62
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.10097bf0
add esp, 0x18
test eax, eax
jle 0x100c2c62
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100b2f50
add esp, 0x14
test eax, eax
jle 0x100c2c62
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.10097de0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005fb91
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100c2c98
cmp dword [edi], edx
je 0x100c2cc2
inc eax
add ecx, 4
cmp eax, 4
jl 0x100c2c85
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.100865c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005fb91
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100c2cf6
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.100865c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1005fb91
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.1005fb91
add esp, 0x6c
ret
Function at 0x100ccd50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.1007db90
mov eax, dword [0x10112770]
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 0x100ccf2d
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 0x100ccebd
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 0x100cce50
test edi, edi
mov edi, dword [esp + 0x24]
je 0x100ccf14
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.1005fb91
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.1005fb91
add esp, 0x30
ret
Function at 0x100d1d80
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 0x100d1d97
mov ebx, ecx
jmp 0x100d1d9b
mov ebx, ebp
mov ebp, ecx
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x100d1dab
mov eax, edi
jmp 0x100d1db5
push eax
push edi
call fcn.1008d550
add esp, 8
test eax, eax
jne 0x100d1dbd
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x100d1ddb
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 0x100d1dc5
cmp esi, dword [ebx + 4]
jge 0x100d1df0
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 0x100d1de0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
pop esi
test ecx, ecx
jle 0x100d1e14
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x100d1e11
dec ecx
test ecx, ecx
jg 0x100d1e03
mov dword [edi + 4], ecx
cmp dword [edi + 4], 0
jne 0x100d1e21
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret