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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x4669cd
cmp esi, edx
jb 0x4669cd
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x4669b5
pop esi
pop ebp
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop word [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x4669e0
pop esi
pop ebp
ret
Function at 0x469610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5a3054]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov cl, dl
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xa]
push ebx
mov byte [ebp - 0xe], cl
mov bl, dl
mov cl, byte [ebp - 0xb]
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 8], dx
mov ch, byte [ebp - 7]
mov byte [ebp - 0xd], cl
nop dword [eax]
mov cl, byte [esi + eax]
mov bh, byte [eax + 0x57a9a0]
xor bh, cl
or bh, bl
mov bl, byte [eax + 0x57a9c0]
xor bl, cl
mov byte [ebp - 0x11], bh
or bl, byte [ebp - 0xd]
mov byte [ebp - 0x17], bl
mov byte [ebp - 0xd], bl
mov bl, byte [eax + 0x57a9e0]
xor bl, cl
or bl, byte [ebp - 0xe]
mov byte [ebp - 0x16], bl
mov byte [ebp - 0xe], bl
mov bl, byte [eax + 0x57aa00]
xor bl, cl
or bl, byte [ebp - 0xf]
mov byte [ebp - 0x15], bl
mov byte [ebp - 0xf], bl
mov bl, byte [eax + 0x57aa20]
xor bl, cl
or bl, byte [ebp - 0x10]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], bl
mov bl, byte [eax + 0x57aa40]
xor bl, cl
or bl, ch
mov byte [ebp - 0x13], bl
mov ch, bl
mov bl, byte [eax + 0x57aa60]
inc eax
xor bl, cl
or bl, dl
mov byte [ebp - 0x12], bl
mov dl, bl
mov bl, bh
cmp eax, 0x1f
jb 0x469650
mov bl, byte [eax + esi]
movzx esi, byte [eax + 0x57aa60]
and bl, 0x7f
movzx ecx, bl
xor esi, ecx
movzx ecx, dl
movzx edx, byte [eax + 0x57aa40]
or esi, ecx
movzx ecx, bl
dec esi
xor edx, ecx
movzx ecx, byte [ebp - 0x13]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57aa20]
xor edx, ecx
movzx ecx, byte [ebp - 0x14]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57aa00]
xor edx, ecx
movzx ecx, byte [ebp - 0x15]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57a9e0]
xor edx, ecx
movzx ecx, byte [ebp - 0x16]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57a9c0]
movzx eax, byte [eax + 0x57a9a0]
xor edx, ecx
movzx ecx, byte [ebp - 0x17]
or edx, ecx
movzx ecx, bl
xor eax, ecx
dec edx
movzx ecx, bh
or esi, edx
or eax, ecx
mov ecx, dword [ebp - 4]
dec eax
xor ecx, ebp
or eax, esi
shr eax, 8
pop esi
and eax, 1
pop ebx
call fcn.0045fc86
mov esp, ebp
pop ebp
ret

Function at 0x469f70
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
pop ebp
ret
Function at 0x46c840
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x38], eax
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
pop ebp
ret

Function at 0x4787f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [ebp + 0xc], 0x3c0
add eax, 0x57acc0
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00478660
Function at 0x486f72
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x579298]
test eax, eax
je 0x486fb1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x486fb1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x486fb1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x486fb1
cmp dword [ecx + 0x74], 0xe
jbe 0x486fb1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4c90c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5788c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 0x58cffb
lea ecx, [ebp - 0x58]
call fcn.00402870
mov byte [ebp - 4], 1
xor eax, eax
mov byte [ebp - 0x11], al
xor ecx, ecx
mov byte [ebp - 0x12], cl
xor edx, edx
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x11]
push eax
movzx ecx, byte [ebp - 0x12]
push ecx
movzx edx, byte [ebp - 0x13]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040b990
add esp, 0x10
mov ecx, eax
call fcn.0040e0b0
mov dword [ebp - 0x24], eax
lea ecx, [ebx + 0xc]
call fcn.004255b0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0047d8e6
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4c91d4
push 2
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00481826
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0047d3bb
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00481826
add esp, 0xc
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00425560
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 1
lea ecx, [ebp - 0x58]
call fcn.004255b0
mov ecx, 1
imul edx, ecx, 0
add eax, edx
push eax
call fcn.00485b3b
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call fcn.004812d8
add esp, 4
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00402800
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.004027e0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4ccc30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x9c], 0
mov esp, ebp
pop ebp
ret
Function at 0x55e7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x88], 0
je 0x55e810
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x55e8a3
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x8c]
add ecx, 0x28
xor edx, edx
push edx
push ecx
call fcn.0056f3d0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x55e871
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x98]
cdq
push edx
push eax
push esi
push ecx
call fcn.0045fd50
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.005707f0
add esp, 0x10
mov eax, 7
jmp 0x55e8c6
mov edx, 0x28
shl edx, 0
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, 0x20
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], cx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x56c2f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.0056f8b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x56c31c
mov eax, 7
jmp 0x56c3cc
movzx ecx, byte [0x5a5684]
test ecx, ecx
je 0x56c338
push 0xc8
call fcn.0056b510
add esp, 4
test eax, eax
je 0x56c34d
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
jmp 0x56c39d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x56b7d0
push 0
push 0
call fcn.0048722a
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x56c39d
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x56c3c2
call dword [0x5791d8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10005710
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.10058150
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x10005c10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.100584f0
mov eax, dword [0x10092310]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x10005c5f
mov eax, 1
mov dword [esi], ebp
jmp 0x10005c61
mov ebp, dword [esi]
test ecx, ecx
je 0x10005d44
push ebp
call fcn.1000b040
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x10005c90
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.1000aef0
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x10005ce7
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.1000a490
add esp, 0xc
test eax, eax
je 0x10005de6
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.1000a640
add esp, 0xc
test eax, eax
je 0x10005de6
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1000a650
add esp, 0xc
test eax, eax
je 0x10005de6
jmp 0x10005d21
cmp edi, 0x80
jbe 0x10005d03
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.1000aef0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.100587f0
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x10005d4c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.10058150
add esp, 0xc
jmp 0x10005d4c
test eax, eax
je 0x10005dd2
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x10005d50
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.1000a490
add esp, 0xc
test eax, eax
je 0x10005de6
push ebp
call fcn.1000b040
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.1000a640
add esp, 0x10
test eax, eax
je 0x10005de6
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x10005d94
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.1000a490
add esp, 0xc
test eax, eax
je 0x10005de6
push ebp
call fcn.1000b040
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.1000a640
add esp, 0x10
test eax, eax
je 0x10005de6
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.1000a780
add esp, 8
test eax, eax
jne 0x10005dea
xor eax, eax
jmp 0x10005def
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005813d
add esp, 0x8c
ret
Function at 0x1000add0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.100584f0
mov eax, dword [0x10092310]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x1000ae35
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1000ae35
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.1005939d
add eax, 0x40
push eax
call fcn.100599a3
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1005813d
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.100598dc
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1000aec4
call fcn.1000ac90
test eax, eax
jle 0x1000aec4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1005813d
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1005813d
add esp, 0x108
ret

Function at 0x1000f610
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x1000f657
mov al, byte [edx]
test al, al
je 0x1000f657
push edi
mov edi, pe_nt_image_headers32
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x1000f627
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1001fa30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.100584f0
mov eax, dword [0x10092310]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x138]
push esi
mov esi, dword [esp + 0x158]
push edi
mov edi, dword [esp + 0x154]
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], 1
call fcn.1000b050
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x1001faa2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1005813d
add esp, 0x130
ret
lea ecx, [esp + 0x28]
push ebp
push ecx
call fcn.10005ed0
mov ebp, esi
mov esi, dword [esp + 0x160]
add esp, 4
mov eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x1001facc
mov dword [esp + 0x148], ebx
jmp 0x1001faf2
cmp dword [esp + 0x148], 0xffffffff
jne 0x1001faf2
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1001fae0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001fae0
sub eax, edx
mov dword [esp + 0x148], eax
mov eax, esi
test esi, esi
jne 0x1001fb25
lea ecx, [esp + 0x2c]
push ecx
call fcn.10005f70
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005813d
add esp, 0x130
ret
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
cmp eax, esi
jg 0x1001fb2f
mov esi, eax
mov eax, dword [esp + 0x18]
mov edx, eax
shr edx, 0x18
push 0
mov byte [esp + 0x18], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x14c]
push edi
shr ecx, 0x10
push eax
mov byte [esp + 0x21], cl
lea ecx, [esp + 0x38]
shr edx, 8
push ebx
push ecx
mov byte [esp + 0x2a], dl
call fcn.10005c10
add esp, 0x14
test eax, eax
je 0x1001fc5b
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.10005e10
add esp, 0xc
test eax, eax
je 0x1001fc5b
push 4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.10005e10
add esp, 0xc
test eax, eax
je 0x1001fc5b
push 0
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.10005e20
add esp, 0xc
test eax, eax
je 0x1001fc5b
push esi
lea eax, [esp + 0x100]
push eax
push ebp
call fcn.100587f0
mov eax, dword [esp + 0x160]
add esp, 0xc
cmp eax, 1
jle 0x1001fc3e
dec eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x100]
push ecx
push edx
mov eax, ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
push ebx
push edi
call fcn.10005fe0
add esp, 0x1c
test esi, esi
jle 0x1001fc37
lea ecx, [esp + 0xfc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x1001fc28
mov edi, dword [esp + 0x24]
sub dword [esp + 0x1c], 1
jne 0x1001fbf3
mov eax, dword [esp + 0x10]
inc dword [esp + 0x18]
sub eax, esi
add ebp, esi
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1001fb21
jmp 0x1001faf6
lea eax, [esp + 0x2c]
push eax
call fcn.10005f70
add esp, 4
xor eax, eax
jmp 0x1001fb08
Function at 0x100208f0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x10020902
xor eax, eax
pop edi
ret
push ebx
push esi
push edi
call fcn.1000aff0
mov ebx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax], esi
test ebx, ebx
je 0x100209b2
mov eax, dword [edi + 0x10c]
push ebp
cmp eax, esi
jne 0x10020950
test esi, esi
jle 0x10020991
mov ecx, ebx
lea eax, [edi + 0x8c]
mov ebp, esi
lea ebx, [ebx]
mov dl, byte [eax + 0x60]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
sub ebp, 1
jne 0x10020940
jmp 0x10020991
mov ecx, esi
sub ecx, eax
cmp ecx, 1
mov byte [eax + edi + 0xec], 0x80
jle 0x10020975
dec ecx
push ecx
lea eax, [eax + edi + 0xed]
push 0
push eax
call fcn.10058150
add esp, 0xc
test esi, esi
jle 0x10020991
mov ecx, ebx
lea eax, [edi + 0xac]
mov ebp, esi
mov dl, byte [eax + 0x40]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
sub ebp, 1
jne 0x10020983
push esi
push ebx
push ebx
push edi
call fcn.1000b000
add esp, 0x10
pop ebp
test eax, eax
jne 0x100209b2
push esi
push ebx
call fcn.10009d90
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 0x100255e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100256ac
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10025601
cmp al, 0x6b
jne 0x100256ac
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x1002566d
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x10025621
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x10025621
cmp al, 0xbb
jne 0x1002564a
inc ecx
cmp ecx, esi
jl 0x10025611
sub esi, ecx
test ecx, ecx
jne 0x10025670
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1000db70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1000db70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x10025699
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1000db70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.100587f0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1000db70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret