joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100284b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100284e6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10028340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x100284df
pop ebp
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1002cfb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1002cfe1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1002ce20
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1002d0ec
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1002d06f
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1002d0e2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1002d0a9
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1002d0a1
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1002d0df
cmp edi, edx
je 0x1002d0bc
nop dword [eax]
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1002d0f5
cmp edi, edx
jne 0x1002d0b0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1002d020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1002d0df
Function at 0x43b633
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
dec ebx
dec eax
call fcn.0043b67a
mov ebx, 0x5adddd01
xor dword [edi], edx
or ebx, ebx
sub eax, 0xa51fe351
sub eax, 0xa40158ad
add edi, 1
and eax, ebx
add eax, 0x113fc1a9
dec ebx
cmp edi, ecx
jne fcn.0043b633
sub ebx, 0xa2132db6
ret

Function at 0xdfd883
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0xe19044]
test eax, eax
je 0xdfd8c2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xdfd8c2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xdfd8c2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xdfd8c2
cmp dword [ecx + 0x74], 0xe
jbe 0xdfd8c2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100725f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1001854
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10072b7
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1001890
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10072aa
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10072b9
xor eax, eax
pop esi
leave
ret 4

Function at 0x1014000
Capabilities:
Packed with generic packer
Parse pe header
Terminate process

Disassembly:
pushal
call fcn.010394c7
popal
jmp fcn.0100739d

Function at 0x1034c94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [0x114b278], 0
jne 0x1034cbc
push 0x114a160
call dword [0x1043fcc]
mov dword [0x114b278], 1
mov esi, dword [0x114b0c4]
add esi, dword [0x114b1f0]
sub esi, 0xf
movzx ebx, byte [edi]
movzx edx, byte [edi + 1]
movzx edx, dx
shl edx, 8
or ebx, edx
movzx ebx, bx
add esi, ebx
mov word [ebp - 4], si
movzx eax, word [ebp - 4]
mov edx, dword [0x114b1f8]
sub edx, 4
cmp eax, edx
je 0x1034d83
push 0x114a160
call dword [0x1148a5c]
movsx eax, word [0x114b188]
sub eax, 2
mov word [ebp - 2], ax
jmp 0x1034d28
movzx eax, word [ebp - 2]
add eax, edi
movsx edx, byte [eax]
movsx ecx, byte [edi + 2]
xor edx, ecx
mov byte [eax], dl
inc word [ebp - 2]
movzx eax, word [ebp - 2]
movzx edx, word [ebp - 4]
cmp eax, edx
jl 0x1034d13
movsx eax, word [0x114b120]
movsx edx, word [0x114b20c]
add eax, edx
sub eax, 3
movsx edx, word [0x114b094]
sub edx, 3
mov byte [edi + eax], dl
movsx eax, word [0x114b11c]
movsx edx, word [0x114b0e4]
lea eax, [eax + edx + 1]
mov edx, dword [0x114b0c0]
add edx, dword [0x114b0b4]
sub edx, 5
mov byte [edi + eax], dl
push 0x114a160
call dword [0x10c7a40]
lea eax, [edi + 3]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1034edd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [0x114b278], 0
jne 0x1034f05
push 0x114a160
call dword [0x1043fcc]
mov dword [0x114b278], 1
mov esi, dword [0x114b22c]
add esi, 5
movzx ebx, byte [edi]
movzx edx, byte [edi + 2]
movzx edx, dx
shl edx, 8
or ebx, edx
movzx ebx, bx
movsx edx, word [0x114b240]
movsx ecx, word [0x114b0d8]
add edx, ecx
sub edx, 8
imul ebx, edx
add esi, ebx
mov word [ebp - 4], si
movzx eax, word [ebp - 4]
mov edx, dword [0x114b1fc]
inc edx
add edx, dword [0x114b17c]
cmp eax, edx
je 0x1034fe5
push 0x114a160
call dword [0x1148a5c]
mov eax, dword [0x114b204]
add eax, 3
movsx edx, word [0x114b0e4]
add eax, edx
mov word [ebp - 2], ax
jmp 0x1034f99
movzx eax, word [ebp - 2]
add eax, edi
movsx edx, byte [eax]
movsx ecx, byte [edi + 4]
xor edx, ecx
mov byte [eax], dl
movzx eax, word [ebp - 2]
mov edx, dword [0x114b178]
dec edx
add eax, edx
mov word [ebp - 2], ax
movzx eax, word [ebp - 2]
movzx edx, word [ebp - 4]
cmp eax, edx
jl 0x1034f77
mov eax, dword [str._a_a_t_b_a]
movsx edx, word [0x114b168]
add eax, edx
sub eax, 0xb
mov edx, dword [0x114b200]
sub edx, 3
mov byte [edi + eax], dl
mov eax, dword [0x114b0fc]
movsx edx, word [0x114b268]
add edx, dword [0x114b0e8]
sub edx, 0xa
mov byte [edi + eax], dl
push 0x114a160
call dword [0x10c7a40]
lea eax, [edi + 6]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10404e5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
mov edi, esi
add edi, eax
mov eax, dword [edi + 0x28]
mov edx, dword [0x10c89f0]
add edx, dword [ebp + 8]
mov esi, eax
add esi, edx
movzx eax, byte [esi]
xor eax, 0x4d
mov byte [ebp - 1], al
movzx eax, byte [esi + 1]
movsx edx, word [0x114b274]
mov ecx, dword [0x114b134]
lea edx, [edx + ecx + 0x1f7]
mov ebx, eax
imul ebx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov edi, dword [0x114b0a8]
sub edi, 6
jmp 0x104054a
movzx eax, byte [esi + edi]
movzx edx, byte [ebp - 1]
xor eax, edx
mov byte [esi + edi], al
inc edi
cmp edi, ebx
jb 0x104053c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x64261070
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
sub esp, 0x804
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
inc ebx
mov ebp, 0x100
push edi
mov dword [esp + 0x10], ebx
mov edx, ebx
mov eax, edx
mov dword [esp + esi*4 + 0x414], edx
and al, 0x80
mov dword [esp + edx*4 + 0x14], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
inc esi
movzx edx, cl
cmp esi, ebp
jl 0x6426108a
mov esi, ebx
mov edx, 0x648b0940
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x648b0968
jl 0x642610b9
mov byte [0x648b0340], 0x63
mov byte [0x648b08a3], 0
mov ecx, dword [esp + ebx*4 + 0x14]
lea eax, [esp + 0x810]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [esp + 0x10]
mov byte [eax + 0x648b0340], bl
mov byte [ebx + 0x648b0840], al
mov ebx, eax
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, ebp
jl 0x642610ea
xor esi, esi
mov edi, 0xff
movzx edx, byte [esi + 0x648b0340]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x648b1d70], ecx
rol ecx, 8
mov dword [esi*4 + 0x648b1970], ecx
rol ecx, 8
mov dword [esi*4 + 0x648b0d70], ecx
rol ecx, 8
mov dword [esi*4 + 0x648b0970], ecx
movzx ecx, byte [esi + 0x648b0840]
test ecx, ecx
je 0x642611cf
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x4c]
cdq
idiv edi
mov ebp, dword [esp + edx*4 + 0x414]
jmp 0x642611d1
xor ebp, ebp
test ecx, ecx
je 0x642611e9
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x38]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x414]
jmp 0x642611eb
xor ebx, ebx
test ecx, ecx
je 0x64261203
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x48]
cdq
idiv edi
mov edi, dword [esp + edx*4 + 0x414]
jmp 0x64261205
xor edi, edi
test ecx, ecx
je 0x64261222
mov eax, dword [esp + ecx*4 + 0x14]
mov ecx, 0xff
add eax, dword [esp + 0x40]
cdq
idiv ecx
mov eax, dword [esp + edx*4 + 0x414]
jmp 0x64261224
xor eax, eax
shl eax, 8
xor eax, edi
mov edi, 0xff
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, ebp
mov dword [esi*4 + 0x648b1570], eax
rol eax, 8
mov dword [esi*4 + 0x648b1170], eax
rol eax, 8
mov dword [esi*4 + 0x648b2170], eax
rol eax, 8
mov dword [esi*4 + 0x648b0440], eax
inc esi
cmp esi, 0x100
jl 0x6426115b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret
Function at 0x64261501
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
push edi
mov ebx, 0x118
lea eax, [esp + 0x18]
push ebx
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [esp + 0x1c], edi
call fcn.642922b1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push dword [ebp + 8]
add edi, 8
mov edx, esi
mov dword [eax + 4], edi
call fcn.64261286
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x6426160d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 4
pop esi
mov dword [ecx], edx
shl edx, 4
add edx, dword [esp + 0x1c]
mov eax, dword [edx]
add edx, esi
mov dword [edi], eax
add edi, esi
mov eax, dword [edx]
add edx, esi
mov dword [edi], eax
add edi, esi
mov eax, dword [edx]
add edx, esi
mov dword [edi], eax
add edi, esi
mov eax, dword [edx]
sub edx, 0x1c
mov dword [edi], eax
add edi, esi
mov esi, dword [ecx]
dec esi
test esi, esi
jle 0x642615f3
push 4
pop ebx
movzx eax, byte [edx + 3]
movzx ecx, byte [eax + 0x648b0340]
movzx eax, byte [edx + 2]
mov ecx, dword [ecx*4 + 0x648b0440]
movzx eax, byte [eax + 0x648b0340]
xor ecx, dword [eax*4 + 0x648b2170]
movzx eax, byte [edx + 1]
movzx eax, byte [eax + 0x648b0340]
xor ecx, dword [eax*4 + 0x648b1170]
movzx eax, byte [edx]
add edx, 4
movzx eax, byte [eax + 0x648b0340]
xor ecx, dword [eax*4 + 0x648b1570]
mov dword [edi], ecx
add edi, 4
sub ebx, 1
jne 0x64261592
dec esi
sub edx, 0x20
test esi, esi
jg 0x6426158f
mov ebx, 0x118
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x18]
mov byte [eax], 0
inc eax
sub ebx, 1
jne 0x64261611
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x642621c6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp], ecx
test al, 0xf
je 0x642621e0
push 0xffffffffffffffde
pop eax
jmp 0x642622c7
test eax, eax
je 0x642622c5
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
lea ebx, [eax - 1]
push 0x10
shr ebx, 4
pop esi
test edx, edx
jne 0x6426225d
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub ebp, edi
mov dword [esp + 0x34], ecx
inc ebx
push esi
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.642921cb
mov ecx, dword [esp + 0x1c]
xor edx, edx
push edi
push dword [esp + 0x44]
call fcn.642621a9
add esp, 0x14
mov ecx, esi
mov al, byte [edi + ebp]
xor byte [edi], al
inc edi
sub ecx, 1
jne 0x6426222d
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x40]
call fcn.642921cb
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, esi
sub ebp, esi
mov dword [esp + 0x34], ecx
sub ebx, 1
jne 0x6426220c
jmp 0x642622c1
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
sub ecx, ebp
inc ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], ebx
mov eax, edi
mov ebx, esi
sub eax, ebp
mov edx, ebp
mov dword [esp + 0x18], eax
mov esi, eax
mov al, byte [ecx + edx]
xor al, byte [edx]
mov byte [esi + edx], al
inc edx
sub ebx, 1
jne 0x6426227e
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push edi
push edi
call fcn.642621a9
push 0x10
pop esi
push esi
push edi
push dword [esp + 0x48]
call fcn.642921cb
mov ecx, dword [esp + 0x48]
add esp, 0x14
sub ecx, esi
add ebp, esi
add edi, esi
mov dword [esp + 0x34], ecx
sub dword [esp + 0x14], 1
jne 0x64262270
pop edi
pop esi
pop ebp
pop ebx
xor eax, eax
add esp, 0x20
ret
Function at 0x64264bb6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
push esi
push edi
mov edi, edx
cmp ebx, 0x180
jbe 0x64264bde
push 0xffffffffffffffc8
pop eax
jmp 0x64264d6d
push 0x1a0
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.642922b1
mov esi, 0x118
lea eax, [esp + 0x224]
push esi
push 0
push eax
call fcn.642922b1
mov eax, ebx
mov byte [esp + 0xa3], bl
shr eax, 0x18
mov byte [esp + 0xa0], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0xa1], al
mov eax, ebx
shr eax, 8
push ebx
mov byte [esp + 0xa6], al
lea eax, [esp + 0xac]
push edi
push eax
mov byte [esp + 0xb3], 0x30
call fcn.642921cb
mov byte [esp + ebx + 0xb4], 0x80
add esp, 0x24
add ebx, 0x19
xor eax, eax
mov dword [esp + 0x10], ebx
mov byte [esp + eax + 0x58], al
inc eax
cmp eax, 0x20
jl 0x64264c5a
push 0x100
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x21c]
call fcn.64261286
pop ecx
xor edi, edi
push 0x10
mov dword [esp + 0x10], edi
pop esi
push esi
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.642922b1
add esp, 0xc
mov esi, ebx
test ebx, ebx
je 0x64264ce3
lea ebx, [esp + 0x78]
lea eax, [esp + 0x18]
push 0x10
sub ebx, eax
pop edi
xor edx, edx
lea ecx, [esp + 0x18]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, edi
jl 0x64264ca8
add ebx, edi
lea ecx, [esp + 0x218]
cmp esi, edi
mov eax, esi
cmovae eax, edi
sub esi, eax
lea eax, [esp + 0x18]
push eax
mov edx, eax
call fcn.64261623
pop ecx
test esi, esi
jne 0x64264ca6
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
push 0x10
pop esi
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
add eax, edi
push eax
call fcn.642921cb
add esp, 0xc
add edi, esi
inc byte [esp + 0x7b]
mov dword [esp + 0xc], edi
cmp edi, 0x30
jl 0x64264c83
push 0x100
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x21c]
call fcn.64261286
mov ebx, dword [esp + 0x18]
mov esi, 0x118
pop ecx
push 3
pop edi
lea eax, [esp + 0x48]
push eax
mov edx, eax
lea ecx, [esp + 0x21c]
call fcn.64261623
push 0x10
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.642921cb
add esp, 0x10
add ebx, 0x10
sub edi, 1
jne 0x64264d30
lea eax, [esp + 0x218]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x64264d62
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x64264d74
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0x30
lea ebp, [esp + 0x20]
mov dword [esp + 0x18], edx
xor esi, esi
mov eax, ebp
push esi
push eax
mov edi, ecx
call fcn.642922b1
xor ebx, ebx
mov dword [esp + 0x1c], 3
inc ebx
lea eax, [edi + 0xf]
add esp, 0xc
sub ebx, edi
mov ecx, eax
add byte [ecx], 1
jne 0x64264db4
dec ecx
lea eax, [ebx + ecx]
test eax, eax
jg 0x64264da7
push ebp
mov edx, edi
lea ecx, [edi + 0x20]
call fcn.64261623
add ebp, 0x10
lea eax, [edi + 0xf]
sub dword [esp + 0x14], 1
pop ecx
jne 0x64264da5
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub ebx, eax
lea eax, [esp + 0x1c]
add eax, esi
add esi, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ebx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp esi, 0x30
jl 0x64264dd7
push 0x100
lea edx, [esp + 0x20]
lea ecx, [edi + 0x20]
call fcn.64261286
push 0x10
lea eax, [esp + 0x44]
push eax
push edi
call fcn.642921cb
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x642660b4
Capabilities:
Authenticate hmac

Disassembly:
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
test eax, eax
je 0x64266179
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x64266179
push ebp
mov ebp, dword [esp + 0x58]
cmp ebp, dword [eax + 0xc]
jbe 0x64266109
push dword [esi + 4]
call dword [eax + 0x10]
mov eax, dword [esi]
push ebp
push edi
push dword [esi + 4]
call dword [eax + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push dword [esi + 4]
call dword [eax + 0x18]
mov eax, dword [esi]
lea edi, [esp + 0x2c]
mov ebx, dword [esi + 8]
add esp, 0x18
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
push eax
push 0x36
push ebx
lea ecx, [eax + ebx]
mov dword [esp + 0x1c], ecx
call fcn.642922b1
mov eax, dword [esi]
push dword [eax + 0xc]
push 0x5c
push dword [esp + 0x24]
call fcn.642922b1
add esp, 0x18
test ebp, ebp
je 0x6426614d
mov ecx, dword [esp + 0x10]
mov edx, ebx
sub edx, edi
sub ecx, edi
mov al, byte [edi]
xor byte [edx + edi], al
mov al, byte [edi]
xor byte [ecx + edi], al
inc edi
sub ebp, 1
jne 0x6426613d
push 0x40
pop eax
lea ecx, [esp + 0x14]
pop ebp
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x64266155
mov eax, dword [esi]
push dword [esi + 4]
call dword [eax + 0x10]
mov eax, dword [esi]
push dword [eax + 0xc]
push ebx
push dword [esi + 4]
call dword [eax + 0x14]
add esp, 0x10
xor eax, eax
jmp 0x6426617e
mov eax, 0xffffaf00
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x642660b8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
test eax, eax
je 0x64266179
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x64266179
push ebp
mov ebp, dword [esp + 0x58]
cmp ebp, dword [eax + 0xc]
jbe 0x64266109
push dword [esi + 4]
call dword [eax + 0x10]
mov eax, dword [esi]
push ebp
push edi
push dword [esi + 4]
call dword [eax + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push dword [esi + 4]
call dword [eax + 0x18]
mov eax, dword [esi]
lea edi, [esp + 0x2c]
mov ebx, dword [esi + 8]
add esp, 0x18
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
push eax
push 0x36
push ebx
lea ecx, [eax + ebx]
mov dword [esp + 0x1c], ecx
call fcn.642922b1
mov eax, dword [esi]
push dword [eax + 0xc]
push 0x5c
push dword [esp + 0x24]
call fcn.642922b1
add esp, 0x18
test ebp, ebp
je 0x6426614d
mov ecx, dword [esp + 0x10]
mov edx, ebx
sub edx, edi
sub ecx, edi
mov al, byte [edi]
xor byte [edx + edi], al
mov al, byte [edi]
xor byte [ecx + edi], al
inc edi
sub ebp, 1
jne 0x6426613d
push 0x40
pop eax
lea ecx, [esp + 0x14]
pop ebp
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x64266155
mov eax, dword [esi]
push dword [esi + 4]
call dword [eax + 0x10]
mov eax, dword [esi]
push dword [eax + 0xc]
push ebx
push dword [esi + 4]
call dword [eax + 0x14]
add esp, 0x10
xor eax, eax
jmp 0x6426617e
mov eax, 0xffffaf00
pop edi
pop esi
pop ebx
add esp, 0x44
ret

Function at 0x64266f52
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, 0x642937c0
mov eax, esi
test edi, edi
je 0x64266f8e
cmp dword [0x642937c0], 0
je 0x64266f8e
mov ecx, dword [edi + 4]
cmp dword [eax + 4], ecx
jne 0x64266f84
push ecx
push dword [edi + 8]
push dword [eax]
call fcn.64292168
add esp, 0xc
test eax, eax
je 0x64266f93
add esi, 0x18
mov eax, esi
cmp dword [esi], 0
jne 0x64266f6a
xor eax, eax
pop edi
pop esi
ret
mov eax, esi
jmp 0x64266f90

Function at 0x64266f97
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x64293a30
mov ebx, edx
mov eax, esi
test edi, edi
je 0x64266fd8
cmp dword [0x64293a30], 0
je 0x64266fde
mov ecx, dword [edi + 4]
cmp dword [eax + 4], ecx
jne 0x64266fcc
push ecx
push dword [edi + 8]
push dword [eax]
call fcn.64292168
add esp, 0xc
test eax, eax
je 0x64266fda
add esi, 0x14
mov eax, esi
cmp dword [esi], 0
jne 0x64266fb2
jmp 0x64266fde
xor esi, esi
test esi, esi
jne 0x64266fe3
push 0xffffffffffffffd2
pop eax
jmp 0x64266fea
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x64267de2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
lea eax, [esp + 4]
push ebp
push esi
push edi
push 0x40
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.642922b1
push 4
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.642922b1
mov ebp, dword [esp + 0x74]
add esp, 0x18
mov eax, dword [ebp]
test eax, eax
jne 0x64267e1a
xor al, al
jmp 0x64267e1d
mov al, byte [eax + 8]
movzx eax, al
mov dword [esp + 0x5c], eax
test esi, esi
je 0x64267e7f
push ebx
cmp esi, eax
mov ebx, esi
mov ecx, ebp
cmovae ebx, eax
call fcn.64266045
push dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
mov ecx, ebp
call fcn.6426605f
push 4
lea edx, [esp + 0x18]
mov ecx, ebp
call fcn.6426605f
pop ecx
pop ecx
lea edx, [esp + 0x14]
mov ecx, ebp
call fcn.64266080
xor ecx, ecx
test ebx, ebx
je 0x64267e72
mov al, byte [esp + ecx + 0x14]
xor byte [edi], al
inc edi
inc ecx
cmp ecx, ebx
jb 0x64267e66
inc byte [esp + 0x13]
mov eax, dword [esp + 0x60]
sub esi, ebx
jne 0x64267e29
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x44
ret