joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b5590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edi
mov ecx, ebp
cmp edi, 4
jb 0x100b55b8
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100b55bc
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x100b55a4
test esi, esi
je 0x100b5616
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x100b55f7
cmp esi, 1
jbe 0x100b5616
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x100b55f7
cmp esi, 2
jbe 0x100b5616
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x100b55f7
cmp esi, 3
jbe 0x100b5616
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jle 0x100b5616
push 0x159
push str.cryptox509v3_v3_addr.c
push str.assertion_failed:_memcmp_min__max__length____0
call fcn.10081c60
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor edx, edx
test edi, edi
jle 0x100b5633
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov cl, byte [esi + eax]
cmp cl, byte [eax]
jne 0x100b5633
inc edx
inc eax
cmp edx, edi
jl 0x100b5626
lea eax, [edi - 1]
test eax, eax
js 0x100b5650
mov esi, ebx
lea ecx, [eax + ebp]
sub esi, ebp
cmp byte [ecx + esi], 0
jne 0x100b5650
cmp byte [ecx], 0xff
jne 0x100b5650
dec ecx
dec eax
jns 0x100b5641
cmp edx, eax
jl case.0x100b567f.2
jle 0x100b5661
pop esi
pop ebp
lea eax, [edx*8]
pop ebx
ret
mov cl, byte [edx + ebx]
mov bl, byte [edx + ebp]
mov al, bl
xor al, cl
mov byte [esp + 0x10], cl
movzx ecx, al
dec ecx
cmp ecx, 0x7e
ja case.0x100b567f.2
movzx ecx, byte [ecx + 0x100b56f0]
jmp dword [ecx*4 + 0x100b56d0]
mov esi, 7
jmp 0x100b56b5
mov esi, 6
jmp 0x100b56b5
mov esi, 5
jmp 0x100b56b5
mov esi, 4
jmp 0x100b56b5
mov esi, 3
jmp 0x100b56b5
mov esi, 2
jmp 0x100b56b5
mov esi, 1
test byte [esp + 0x10], al
jne case.0x100b567f.2
and bl, al
cmp bl, al
jne case.0x100b567f.2
lea eax, [esi + edx*8]
pop esi
pop ebp
pop ebx
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x100b9af0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [esp + 0x10]
mov eax, edi
and eax, 1
add esi, ecx
add edx, ecx
test ecx, ecx
je 0x100b9b23
push ebx
lea esp, [esp]
movzx ebx, byte [edx - 1]
dec edx
xor ebx, edi
add eax, ebx
dec esi
mov byte [esi], al
shr eax, 8
dec ecx
jne 0x100b9b10
pop ebx
pop edi
pop esi
ret
Function at 0x100c9a20
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x100c9b03
push esi
mov esi, dword [esp + 0x14]
inc esi
lea ebx, [ebx]
movzx edx, byte [esi - 1]
cmp edi, 3
jl 0x100c9a9d
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x10166b80]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x10166b80]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x10166b80]
mov byte [ecx + 2], al
and edx, 0x3f
mov dl, byte [edx + 0x10166b80]
mov byte [ecx + 3], dl
jmp 0x100c9aee
shl edx, 0x10
cmp edi, 2
jne 0x100c9aad
movzx eax, byte [esi]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x10166b80]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x10166b80]
mov byte [ecx + 1], al
cmp edi, 1
jne 0x100c9ada
lea edx, [edi + 0x3c]
jmp 0x100c9ae7
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x10166b80]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
sub edi, 3
add ecx, 4
add ebp, 4
add esi, 3
test edi, edi
jg 0x100c9a40
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x100ca010
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 4
call fcn.1011fc40
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
mov esi, edx
cmp edi, 2
je 0x100ca077
test eax, eax
je 0x100ca06a
push eax
push 0
lea eax, [esp + 0x14]
push eax
push 0
call fcn.100b3110
add esp, 0x10
cmp dword [esp + 0xc], 0xffffffff
je 0x100ca06a
push 0x2f
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.100719e0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
test esi, esi
je 0x100ca073
cmp ebp, 0x20
je 0x100ca077
push 0x35
jmp 0x100ca04d
push ebx
push 0x3a
push str.cryptoececx_meth.c
push 0x24
call fcn.10079070
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100ca0af
push 0x3c
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.100719e0
add esp, 0x14
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
test edi, edi
jne 0x100ca0c3
push ebp
push esi
push ebx
call fcn.1011fc70
add esp, 0xc
jmp 0x100ca170
push 0x43
push str.cryptoececx_meth.c
push 0x20
call fcn.100bfe40
add esp, 0xc
mov dword [ebx + 0x20], eax
test eax, eax
jne 0x100ca108
push 0x45
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.100719e0
push 0x46
push str.cryptoececx_meth.c
push ebx
call fcn.100790e0
add esp, 0x20
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
cmp edi, 2
jne 0x100ca15a
push 0x20
push eax
call fcn.100846c0
add esp, 8
test eax, eax
jg 0x100ca144
mov ecx, dword [ebx + 0x20]
push 0x4b
push str.cryptoececx_meth.c
push ecx
call fcn.100bfe60
push 0x4c
push str.cryptoececx_meth.c
push ebx
call fcn.100790e0
add esp, 0x18
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov eax, dword [ebx + 0x20]
and byte [eax], 0xf8
mov eax, dword [ebx + 0x20]
and byte [eax + 0x1f], 0x7f
mov eax, dword [ebx + 0x20]
or byte [eax + 0x1f], 0x40
jmp 0x100ca163
mov ecx, 8
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x20]
push edx
push ebx
call fcn.100f3d80
add esp, 8
mov eax, dword [esp + 0x18]
push ebx
push 0x40a
push eax
call fcn.1007a7a0
add esp, 0xc
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x100d36d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1011fc40
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.10091210
add esp, 8
test eax, eax
jne 0x100d370b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x100d376d
xor ebx, ebx
test ebp, ebp
jle 0x100d38d0
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x100d374f
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x100d3728
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x100d3720
jmp 0x100d38d0
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jle 0x100d38d0
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x100d38ac
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x100d3840
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x100d3810
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x100d5320
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
push ebx
mov esi, ecx
call fcn.100e0fd0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, 0x72
mov eax, dword [esp + 0x14]
jne 0x100d53f8
push ebp
push edi
mov ebx, esi
push eax
shr ebx, 1
and esi, 1
push ecx
lea ebp, [esi + ebx]
push ebp
push edx
call fcn.10072bc0
mov ecx, dword [esp + 0x30]
mov edx, eax
call fcn.100d50a0
add esp, 0x14
test eax, eax
je 0x100d53be
push pe_nt_image_headers32
push str.cryptokdf_tls1_prf.c
push edi
call fcn.10079030
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100d53be
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add ebx, dword [esp + 0x10]
push edi
push eax
push ecx
push ebp
push ebx
call fcn.10072090
mov ecx, esi
mov edx, eax
call fcn.100d50a0
add esp, 0x14
test eax, eax
jne 0x100d53c4
push 0xfd
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.10079100
add esp, 0x10
pop ebp
pop esi
xor eax, eax
pop ebx
ret
test edi, edi
je 0x100d53db
mov eax, dword [esp + 0x1c]
mov ecx, esi
sub ecx, eax
mov ebp, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec ebp
jne 0x100d53d2
push 0x102
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.10079100
add esp, 0x10
pop ebp
pop esi
mov eax, 1
pop ebx
ret
push edi
push eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edx
mov edx, ebx
call fcn.100d50a0
add esp, 0x14
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
ret
Function at 0x100e9360
Capabilities:
Generate random numbers via winapi
Get memory capacity

Disassembly:
mov eax, 0x6c
call fcn.1011fc40
mov eax, dword [0x101b2070]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x100e93dd
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
push 0x40
push edx
call edi
test eax, eax
je 0x100e93d4
mov eax, 8
call fcn.1011fc40
fld qword [0x10177538]
fstp qword [esp]
lea eax, [esp + 0x3c]
push 0x40
push eax
call fcn.10084680
add esp, 0x10
mov ecx, dword [esp + 0xc]
push 0
push ecx
call ebx
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x100e9433
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x34]
push eax
push 0x40
push ecx
call edi
test eax, eax
je 0x100e942a
mov eax, 8
call fcn.1011fc40
fld qword [0x10177538]
fstp qword [esp]
lea edx, [esp + 0x3c]
push 0x40
push edx
call fcn.10084680
add esp, 0x10
mov eax, dword [esp + 0xc]
push 0
push eax
call ebx
call fcn.100e92e0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.1011fc40
fld1
fstp qword [esp]
lea edx, [esp + 0x1c]
push 0x20
push edx
call fcn.10084680
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
mov eax, 8
call fcn.1011fc40
fld1
fstp qword [esp]
lea eax, [esp + 0x18]
push 4
push eax
call fcn.10084680
mov ecx, dword [esp + 0x84]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1011bab4
add esp, 0x6c
ret
Function at 0x100ee1c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100ee283
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100ee1e1
cmp al, 0x6b
jne 0x100ee283
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x100ee247
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x100ee201
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x100ee201
cmp al, 0xbb
jne 0x100ee227
inc ecx
cmp ecx, esi
jl 0x100ee1f1
sub esi, ecx
test ecx, ecx
jne 0x100ee24a
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100719e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100719e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x100ee270
push 0x58
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100719e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.1011fc70
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.100719e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100f3d80
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.1011fc40
mov eax, dword [0x101b2070]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
lea edx, [esp + 0x3c]
mov byte [esp + 0x14b], cl
push edx
lea ecx, [esp + 0x130]
mov dword [esp + 0x14], eax
call fcn.100f2e50
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add ecx, eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x94]
add edx, ecx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x98]
add esi, edx
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x9c]
add edi, esi
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0xa0]
add ebx, edi
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0xa4]
add ebx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x70]
sub esi, dword [esp + 0x74]
sub edi, dword [esp + 0x78]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 0xa8]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0xac]
add ebx, dword [esp + 0x84]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0xb0]
add ebx, dword [esp + 0x88]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0xb4]
add ebp, ebx
sub ebx, dword [esp + 0x8c]
mov dword [esp + 0x128], eax
mov dword [esp + 0x104], ebp
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x12c], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
call fcn.100f1430
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, edx
call fcn.100ef170
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xf0]
call fcn.100eeed0
lea ecx, [esp + 0x140]
push 0x20
push ecx
call fcn.1008d870
mov ecx, dword [esp + 0x168]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011bab4
add esp, 0x140
ret
Function at 0x100f5150
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x100f5162
xor eax, eax
pop edi
ret
mov eax, dword [edi]
push ebx
push esi
push eax
call fcn.1007b770
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x100f5207
mov eax, dword [edi + 0x84]
push ebp
cmp eax, esi
jne 0x100f51ae
test esi, esi
jle 0x100f51e4
mov ecx, ebx
lea eax, [edi + 4]
mov ebp, esi
lea esp, [esp]
mov dl, byte [eax + 0x60]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x100f51a0
jmp 0x100f51e4
mov ecx, esi
sub ecx, eax
mov byte [eax + edi + 0x64], 0x80
cmp ecx, 1
jle 0x100f51cd
dec ecx
push ecx
lea eax, [eax + edi + 0x65]
push 0
push eax
call fcn.10120090
add esp, 0xc
test esi, esi
jle 0x100f51e4
mov ecx, ebx
lea eax, [edi + 0x24]
mov ebp, esi
mov dl, byte [eax + 0x40]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x100f51d8
mov eax, dword [edi]
push esi
push ebx
push ebx
push eax
call fcn.1007b780
add esp, 0x10
pop ebp
test eax, eax
jne 0x100f5207
push esi
push ebx
call fcn.1008d870
add esp, 8
pop esi
pop ebx
xor eax, eax
pop edi
ret
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x100fe180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.1011fc40
mov eax, dword [0x101b2070]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x100fe352
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x100fe2cb
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.100fd050
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x100fe267
cmp dword [esp + 0x10], 0
je 0x100fe339
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1011bab4
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1011bab4
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011bab4
add esp, 0x2c
ret
Function at 0x10100770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.1011fc40
mov eax, dword [0x101b2070]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x10100942
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x101008bb
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.100ff780
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x10100857
cmp dword [esp + 0x10], 0
je 0x10100929
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1011bab4
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1011bab4
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011bab4
add esp, 0x2c
ret