joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4882d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5c
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x74]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x70], ecx
jbe 0x488464
lea eax, [esp + 0x3c]
sub eax, ebx
push ebp
push esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x45]
mov esi, ebx
sub esi, eax
lea eax, [ebx + 2]
mov dword [esp + 0x1c], esi
lea edx, [eax - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
movq xmm0, qword [ebx]
mov eax, ecx
and eax, 7
mov ebp, 7
sub ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
shr eax, 3
mov dword [esp + 0x24], eax
mov al, byte [eax + ecx]
mov ecx, ebp
mov edx, 1
shl edx, cl
push edi
movq qword [esp + 0x48], xmm0
movq xmm0, qword [ebx + 8]
and al, dl
neg al
sbb al, al
and al, 0x80
push ebx
push ebx
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x1f], al
movq qword [esp + 0x58], xmm0
call dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x88], 0
je 0x4883ae
movzx edx, byte [ebx]
movzx eax, byte [esp + 0x13]
xor edx, eax
mov byte [esp + 0x54], dl
jmp 0x4883ba
mov al, byte [esp + 0x13]
mov dl, byte [ebx]
mov byte [esp + 0x54], al
xor dl, al
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
xor ebp, ebp
lea edi, [esp + 0x45]
add edi, ebp
add esi, edi
mov ah, byte [edi]
movzx ecx, byte [esi + edx]
mov bl, byte [edi + 1]
add cl, cl
mov al, ah
shr al, 7
or cl, al
mov al, bl
shr al, 7
mov byte [esi], cl
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add ah, ah
or al, ah
mov byte [ecx + ebp], al
mov cl, byte [edi + 2]
mov al, cl
shr al, 7
add bl, bl
or al, bl
mov ebx, dword [esp + 0x30]
add cl, cl
mov byte [ebx + ebp], al
mov al, byte [edi + 3]
shr al, 7
or al, cl
mov byte [ebx + ebp + 1], al
add ebp, 4
cmp ebp, 0x10
jl 0x4883c4
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
and cl, 7
and dl, 0x80
shr dl, cl
mov ecx, dword [esp + 0x40]
mov al, 1
shl al, cl
mov ecx, dword [esp + 0x24]
not al
and al, byte [ecx + edi]
or dl, al
mov byte [ecx + edi], dl
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x78]
jb 0x488340
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
pop edi
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x5c
ret
Function at 0x4887b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.004c72a0
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 0x4887df
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 0x488890
jb 0x488804
test eax, eax
jne 0x488890
push ebx
mov ebx, dword [edi + 0x16c]
push ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
test ebx, ebx
je 0x488846
lea ebx, [ebx]
test esi, esi
je 0x488835
mov al, byte [ebp]
xor byte [ebx + edi + 0x40], al
inc ebx
inc ebp
dec esi
and ebx, 0xf
jne 0x488820
jmp 0x488839
test ebx, ebx
jne 0x488882
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 0x48886a
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 0x488882
xor ecx, ecx
mov ebx, esi
test esi, esi
je 0x488882
mov al, byte [ecx + ebp]
xor byte [edi + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x488876
pop ebp
mov dword [edi + 0x16c], ebx
pop ebx
pop esi
xor eax, eax
pop edi
pop ecx
ret
pop esi
or eax, 0xffffffff
pop edi
pop ecx
ret
Function at 0x489420
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.004c72a0
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov ebx, dword [esi + 0x160]
mov edi, dword [esp + 0x24]
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 + 0x10], ebx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x4894cb
mov eax, dword [esp + 0x20]
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 0x48959c
push ebp
mov ebp, edi
mov dword [esp + 0x18], ebp
cmp edi, 0x10
jb 0x489549
mov edx, dword [esp + 0x24]
mov ecx, edi
shr ecx, 4
mov ebx, edx
mov eax, ecx
shl eax, 4
sub ebx, esi
add edx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], edx
lea edx, [esi + 2]
add edx, ebx
mov eax, esi
mov ebp, 4
nop
movzx ecx, byte [ebx + eax]
xor byte [eax], cl
movzx ecx, byte [edx - 1]
xor byte [eax + 1], cl
movzx ecx, byte [edx]
xor byte [eax + 2], cl
movzx ecx, byte [edx + 1]
xor byte [eax + 3], cl
lea eax, [eax + 4]
lea edx, [edx + 4]
dec ebp
jne 0x489500
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x1c]
add esp, 8
add ebx, 0x10
sub edi, 0x10
dec dword [esp + 0x10]
jne 0x4894f3
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x48954d
mov eax, dword [esp + 0x24]
test edi, edi
je 0x489579
sub eax, esi
mov ecx, esi
mov dword [esp + 0x28], eax
mov esi, eax
jmp 0x489560
mov al, byte [ecx + esi]
xor byte [ecx], al
lea ecx, [ecx + 1]
dec edi
jne 0x489560
mov esi, dword [esp + 0x20]
lea eax, [esi + 0x60]
push eax
push esi
call ebx
add esp, 8
xor eax, eax
shld eax, ebp, 3
bswap eax
xor dword [esi + 8], eax
lea eax, [esi + 0x60]
shl ebp, 3
push eax
push esi
bswap ebp
xor dword [esi + 0xc], ebp
call ebx
mov edi, dword [esi + 0xc]
add esp, 8
pop ebp
bswap edi
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
add esp, 0xc
ret
Function at 0x489c80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], esi
mov byte [esp + 0xf], bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x489cd8
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x24], edx
cmp edx, 0xf
jae 0x489d05
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x489cf2
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x489d2c
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c22ab
add esp, 0x30
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x489d66
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x20]
push edi
push dword [esp + 0x24]
push ebp
call dword [esp + 0x38]
shl edi, 4
add dword [esp + 0x2c], edi
add esp, 0x18
add ebp, edi
sub ebx, edi
je 0x489dce
shr edi, 4
push edi
push esi
call fcn.0048a360
add esp, 8
test ebx, ebx
je 0x489dce
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x489db9
lea eax, [esp + 0x2c]
sub ebp, eax
sub dword [esp + 0x14], eax
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
add ecx, edi
inc edi
movzx edx, byte [ecx + ebp]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], dl
xor byte [eax + edi - 1], dl
cmp edi, ebx
jb 0x489d96
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call ebp
add esp, 0xc
jmp 0x489dd6
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jae 0x489df9
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x30]
push eax
push esi
call ebp
mov eax, dword [esp + 0x38]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004c22ab
add esp, 0x30
ret
Function at 0x48a070
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
push edi
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x48a0cd
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x20], edx
cmp edx, 0xf
jae 0x48a103
jmp 0x48a0f0
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x48a0f0
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x48a12b
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004c22ab
add esp, 0x2c
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x48a164
ja 0x48a14c
cmp dword [esi + 0x20], 0
jbe 0x48a164
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004c22ab
add esp, 0x2c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x48a19d
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push ebp
call dword [esp + 0x3c]
shl ebx, 4
add dword [esp + 0x30], ebx
add esp, 0x18
add ebp, ebx
sub edi, ebx
je 0x48a1f4
shr ebx, 4
push ebx
push esi
call fcn.0048a360
add esp, 8
test edi, edi
je 0x48a1f4
xor ecx, ecx
test edi, edi
je 0x48a1b3
mov al, byte [ecx + ebp]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, edi
jb 0x48a1a7
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [esp + 0x28]
push ebx
lea eax, [esp + 0x38]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
xor edx, edx
test edi, edi
je 0x48a1f8
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x28]
sub ebp, eax
sub ebx, eax
lea ecx, [esp + 0x28]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, edi
jb 0x48a1e1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jae 0x48a21b
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x34]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004c22ab
add esp, 0x2c
ret
Function at 0x48cf00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
test eax, eax
je 0x48d1ac
test edx, edx
je 0x48d1ac
movups xmm0, xmmword [eax]
xorps xmm4, xmm4
lea edx, [edx + 0x10]
cmp ecx, 0x100
je 0x48d0c0
cmp ecx, 0xc0
je 0x48cfe0
cmp ecx, 0x80
jne 0x48d1b4
nop
nop
nop
mov ecx, 9
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm0, 1
call fcn.0048cfc6
aeskeygenassist xmm1, xmm0, 2
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 4
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 8
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0048cfc0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0048cfc0
movups xmmword [edx], xmm0
mov dword [edx + 0x50], ecx
xor eax, eax
ret
movq xmm2, qword [eax + 0x10]
mov ecx, 0xb
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm2, 1
call fcn.0048d060
aeskeygenassist xmm1, xmm2, 2
call fcn.0048d0a0
aeskeygenassist xmm1, xmm2, 4
call fcn.0048d050
aeskeygenassist xmm1, xmm2, 8
call fcn.0048d0a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0048d050
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0048d0a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0048d050
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0048d0a0
movups xmmword [edx], xmm0
mov dword [edx + 0x30], ecx
xor eax, eax
ret
movups xmm2, xmmword [eax + 0x10]
mov ecx, 0xd
lea edx, [edx + 0x10]
movups xmmword [edx - 0x20], xmm0
movups xmmword [edx - 0x10], xmm2
aeskeygenassist xmm1, xmm2, 1
call fcn.0048d176
aeskeygenassist xmm1, xmm0, 1
call fcn.0048d190
aeskeygenassist xmm1, xmm2, 2
call fcn.0048d170
aeskeygenassist xmm1, xmm0, 2
call fcn.0048d190
aeskeygenassist xmm1, xmm2, 4
call fcn.0048d170
aeskeygenassist xmm1, xmm0, 4
call fcn.0048d190
aeskeygenassist xmm1, xmm2, 8
call fcn.0048d170
aeskeygenassist xmm1, xmm0, 8
call fcn.0048d190
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0048d170
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0048d190
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0048d170
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0048d190
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0048d170
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
xor eax, eax
ret
mov eax, 0xffffffff
ret
mov eax, 0xfffffffe
ret

Function at 0x48d1e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0048cf00
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x48d249
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x48d216
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
xor eax, eax
ret
Function at 0x497e20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
push ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x158]
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.004532c0
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
jns 0x497e95
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004c22ab
add esp, 0x130
ret
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0045e700
mov ecx, dword [esp + 0x10]
add esp, 4
test ecx, ecx
jne 0x497eaf
xor esi, esi
jmp 0x497ed1
mov esi, dword [esp + 0x144]
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x497ed5
mov esi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x497ec4
sub esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x158]
push edi
test eax, eax
je 0x49801e
mov edx, 1
lea ebx, [ebx]
mov edi, eax
cmp eax, ebx
cmovg edi, ebx
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x14], al
mov eax, edx
shr eax, 0x10
push 0
push dword [esp + 0x24]
mov byte [esp + 0x1d], al
mov eax, edx
shr eax, 8
push esi
mov byte [esp + 0x22], al
push ecx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x2b], dl
call fcn.0045e810
add esp, 0x14
test eax, eax
je 0x498049
push dword [esp + 0x150]
lea eax, [esp + 0x30]
push dword [esp + 0x2c]
push eax
call fcn.0045ea10
add esp, 0xc
test eax, eax
je 0x498049
push 4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0045ea10
add esp, 0xc
test eax, eax
je 0x498049
push 0
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0045e760
add esp, 0xc
test eax, eax
je 0x498049
push edi
lea eax, [esp + 0x100]
push eax
push ebp
call fcn.004c3f80
mov eax, dword [esp + 0x160]
add esp, 0xc
cmp eax, 1
jle 0x497ff7
lea ebx, [eax - 1]
nop
push 0
lea eax, [esp + 0x100]
push eax
push dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.0045e540
add esp, 0x1c
test edi, edi
jle 0x497ff0
lea esi, [esp + 0xfc]
mov eax, ebp
sub esi, ebp
mov edx, edi
mov cl, byte [esi + eax]
xor byte [eax], cl
lea eax, [eax + 1]
dec edx
jne 0x497fe1
mov esi, dword [esp + 0x18]
dec ebx
jne 0x497fb0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x15c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
sub eax, edi
inc edx
add ebp, edi
mov dword [esp + 0x15c], eax
mov dword [esp + 0x24], edx
test eax, eax
jne 0x497ef0
lea eax, [esp + 0x2c]
push eax
call fcn.0045e650
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x130
ret
lea eax, [esp + 0x2c]
push eax
call fcn.0045e650
add esp, 4
xor eax, eax
jmp 0x498030
Function at 0x4a0e80
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x4a0e92
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.00449da0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x4a0f45
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x4a0ee2
test esi, esi
jle 0x4a0f24
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x4a0ed0
jmp 0x4a0f24
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x4a0f06
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.004c46b0
add esp, 0xc
test esi, esi
jle 0x4a0f24
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x4a0f14
push esi
push ebp
push ebp
push edi
call fcn.00453270
add esp, 0x10
pop ebx
test eax, eax
jne 0x4a0f45
push esi
push ebp
call fcn.00454a30
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 0x4a16a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x24
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x30]
dec ebx
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [ebx - 0x29]
cmp edi, eax
jle 0x4a1705
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.0044b560
add esp, 0x14
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c22ab
add esp, 0x24
ret
cmp ebx, 0x29
jge 0x4a1733
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.0044b560
add esp, 0x14
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c22ab
add esp, 0x24
ret
push esi
mov byte [ebp], 0
lea esi, [ebp + 1]
push 0
add ebp, 0x15
call fcn.00457ac0
push eax
push 0
push ebp
push dword [esp + 0x5c]
push dword [esp + 0x24]
call fcn.0044f790
add esp, 0x18
test eax, eax
je 0x4a17ca
mov eax, ebx
sub eax, edi
sub eax, 0x29
push eax
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.004c46b0
mov eax, ebp
sub eax, edi
push edi
push dword [esp + 0x24]
mov byte [eax + ebx - 0x15], 1
add eax, 0xffffffec
add eax, ebx
push eax
call fcn.004c3f80
push 0x14
push esi
call fcn.0044bb40
add esp, 0x20
test eax, eax
jle 0x4a17ca
push 0x49
add ebx, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebx
call fcn.004411f0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
jne 0x4a17df
push 0x4c
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.0044b560
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c22ab
add esp, 0x24
ret
push 0x14
push esi
push ebx
push edi
call fcn.004a1500
add esp, 0x10
test eax, eax
js 0x4a17ca
test ebx, ebx
jle 0x4a180b
mov ecx, ebp
sub edi, ebp
mov edx, ebx
lea ebx, [ebx]
mov al, byte [edi + ecx]
xor byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4a1800
call fcn.00457ac0
push eax
push ebx
push ebp
lea eax, [esp + 0x28]
push 0x14
push eax
call fcn.004a1520
add esp, 0x14
test eax, eax
js 0x4a17ca
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x1d]
lea ebx, [esp + 0x1e]
lea ebp, [esp + 0x1f]
lea eax, [esp + 0x20]
sub ecx, esi
sub edx, esi
sub ebx, esi
sub ebp, esi
sub eax, esi
mov dword [esp + 0x14], 4
mov edi, eax
mov edi, edi
movzx eax, byte [ecx + esi]
xor byte [esi], al
movzx eax, byte [edx + esi]
xor byte [esi + 1], al
movzx eax, byte [ebx + esi]
xor byte [esi + 2], al
movzx eax, byte [esi + ebp]
xor byte [esi + 3], al
movzx eax, byte [edi + esi]
xor byte [esi + 4], al
dec dword [esp + 0x14]
lea esi, [esi + 5]
jne 0x4a1850
mov edi, dword [esp + 0x10]
push edi
call fcn.00441170
mov ecx, dword [esp + 0x34]
add esp, 4
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x24
ret
Function at 0x4a1e50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x4a1f1c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4a1e71
cmp al, 0x6b
jne 0x4a1f1c
inc ecx
cmp al, 0x6b
jne 0x4a1ede
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4a1e92
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4a1e92
cmp dl, 0xbb
jne 0x4a1ebb
inc eax
cmp eax, esi
jl 0x4a1e80
sub esi, eax
test eax, eax
jne 0x4a1ee1
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0044b560
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.0044b560
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x4a1f0a
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0044b560
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.004c3f80
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.0044b560
add esp, 0x14
or eax, 0xffffffff
pop esi
ret