joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3e81
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push ecx
push 0x20
push eax
call fcn.0046876e
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004a6b09
lea eax, [ebp - 0xe4]
push eax
push esi
call fcn.004a6ab1
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045d09e
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.005462f1
leave
ret

Function at 0x4a3eed
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x19c]
push edi
mov edi, dword [ebp + 0x14]
push eax
call fcn.00468aa2
push 0x20
lea eax, [ebp - 0x19c]
push esi
push eax
call fcn.00468b3a
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004687e0
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x19c]
push eax
call fcn.00468aa2
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00468b3a
push dword [ebp + 0x10]
lea eax, [ebp - 0x19c]
push ebx
push eax
call fcn.00468b3a
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004687e0
lea eax, [ebp - 0x84]
push eax
call fcn.004a9d03
add esp, 0x40
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.004a6b09
mov esi, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
push eax
push esi
call fcn.004a6ab1
lea eax, [ebp - 0x19c]
push eax
call fcn.00468aa2
push 0x20
lea eax, [ebp - 0x19c]
push esi
push eax
call fcn.00468b3a
push 0x20
lea eax, [ebp - 0x19c]
push edi
push eax
call fcn.00468b3a
push dword [ebp + 0x10]
lea eax, [ebp - 0x19c]
push ebx
push eax
call fcn.00468b3a
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004687e0
add esp, 0x40
lea eax, [ebp - 0xc4]
push eax
call fcn.004a9d03
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004a6e16
lea eax, [ebp - 0x19c]
push 0xd8
push eax
call fcn.0045d09e
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.0045d09e
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045d09e
mov ecx, dword [ebp - 4]
add esp, 0x2c
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.005462f1
leave
ret
Function at 0x4a421a
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
and byte [ebp - 0x24], 0xf8
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004a6b09
pop ecx
pop ecx
xor esi, esi
mov edx, dword [ebp + esi - 0xc4]
mov ecx, dword [ebp + esi - 0xec]
lea eax, [edx + ecx]
sub edx, ecx
mov dword [ebp + esi - 0x4c], eax
mov dword [ebp + esi - 0x74], edx
add esi, 4
cmp esi, 0x28
jb 0x4a4263
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004a4619
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a4882
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.004a5f06
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0045d09e
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005462f1
leave
ret

Function at 0x4a4333
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
neg edx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xa
sub esi, ecx
pop edi
mov eax, dword [esi + ecx]
xor eax, dword [ecx]
and eax, edx
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edi, 1
jne 0x4a4348
pop edi
pop esi
pop ebp
ret

Function at 0x4a435d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0xa
neg edi
sub esi, edx
pop ebx
mov ecx, dword [esi + edx]
mov eax, dword [edx]
xor eax, ecx
and eax, edi
xor ecx, eax
mov dword [esi + edx], ecx
xor dword [edx], eax
lea edx, [edx + 4]
sub ebx, 1
jne 0x4a4373
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ac37e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10
sub esi, edx
pop edi
mov ecx, dword [esi + edx]
mov eax, dword [edx]
xor eax, ecx
and eax, dword [ebp + 0x10]
xor ecx, eax
mov dword [esi + edx], ecx
xor dword [edx], eax
lea edx, [edx + 4]
sub edi, 1
jne 0x4ac38e
pop edi
pop esi
pop ebp
ret
Function at 0x4ad82d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x134], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], ecx
test edi, edi
je 0x4ad881
cmp edi, dword [ebx]
je 0x4ad87d
test eax, eax
je 0x4ada67
test esi, esi
js 0x4ada67
mov dword [ebx], edi
jmp 0x4ad88c
cmp dword [ebx], 0
je 0x4ada67
mov edi, dword [ebx]
push edi
call fcn.00457dcd
pop ecx
test al, 2
jne 0x4ada67
xor eax, eax
inc eax
cmp dword [ebp - 0x128], 0
je 0x4ada21
push edi
mov dword [ebp - 0x134], eax
call fcn.00455adb
pop ecx
mov ecx, 0x90
cmp eax, ecx
jg 0x4ada67
cmp eax, esi
jge 0x4ad926
push dword [ebp - 0x12c]
push edi
push dword [ebx + 4]
call fcn.0046c18d
add esp, 0xc
test eax, eax
je 0x4ada67
push esi
push dword [ebp - 0x128]
push dword [ebx + 4]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4ada67
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 4]
call fcn.0046c102
add esp, 0xc
test eax, eax
je 0x4ada67
mov esi, dword [ebp - 0x130]
jmp 0x4ad94a
cmp esi, ecx
ja 0x4ada67
push esi
push dword [ebp - 0x128]
lea eax, [ebp - 0x94]
push eax
call fcn.0055ecf0
add esp, 0xc
mov dword [ebp - 0x130], esi
mov ecx, 0x90
cmp esi, ecx
je 0x4ad96e
sub ecx, esi
lea eax, [ebp - 0x94]
push ecx
add eax, esi
push 0
push eax
call fcn.0055f7f0
add esp, 0xc
mov ecx, 0x90
xor esi, esi
mov eax, esi
movups xmm0, xmmword [ebp + eax - 0x94]
pxor xmm0, xmmword [str.6666666666666666d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_sign.c]
movups xmmword [ebp + eax - 0x124], xmm0
add eax, 0x10
cmp eax, ecx
jl 0x4ad972
push dword [ebp - 0x12c]
push edi
push dword [ebx + 8]
call fcn.0046c18d
add esp, 0xc
test eax, eax
je 0x4ada41
push edi
call fcn.00455adb
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 8]
call fcn.0046c30e
add esp, 0x10
test eax, eax
je 0x4ada41
mov eax, esi
movups xmm0, xmmword [ebp + eax - 0x94]
pxor xmm0, xmmword [0x5d7070]
movups xmmword [ebp + eax - 0x124], xmm0
add eax, 0x10
cmp eax, 0x90
jl 0x4ad9ca
push dword [ebp - 0x12c]
push edi
push dword [ebx + 0xc]
call fcn.0046c18d
add esp, 0xc
test eax, eax
je 0x4ada41
push edi
call fcn.00455adb
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 0xc]
call fcn.0046c30e
add esp, 0x10
test eax, eax
je 0x4ada41
jmp 0x4ada23
xor esi, esi
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0046c32e
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
cmp dword [ebp - 0x134], 0
je 0x4ada63
mov ebx, 0x90
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.0045d09e
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.0045d09e
add esp, 0x10
mov eax, esi
jmp 0x4ada69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005462f1
leave
ret
Function at 0x4b8b59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x24]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
push edi
push eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], 1
call fcn.00465f96
mov dword [ebp - 0x5c], eax
pop ecx
test eax, eax
js 0x4b8d38
call fcn.004ad719
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
je 0x4b8d38
xor ebx, ebx
test esi, esi
jne 0x4b8bbb
mov esi, 0x59e6b8
mov ecx, ebx
jmp 0x4b8bd1
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xffffffff
jne 0x4b8bd1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8bc8
sub ecx, edx
push ebx
push dword [ebp - 0x54]
push ecx
push esi
push edi
call fcn.004ad82d
add esp, 0x14
test eax, eax
je 0x4b8d31
call fcn.004ad719
mov esi, eax
test esi, esi
je 0x4b8d31
mov edx, dword [ebp + 0x20]
jmp 0x4b8d14
cmp edx, dword [ebp - 0x5c]
mov eax, edx
mov ecx, dword [ebp - 0x58]
cmovg eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, ecx
shr eax, 8
push edi
push esi
mov byte [ebp - 0x46], al
mov byte [ebp - 0x45], cl
call fcn.004ad67b
pop ecx
pop ecx
test eax, eax
je 0x4b8d1f
push dword [ebp + 0x14]
push dword [ebp - 0x60]
push esi
call fcn.004ada78
add esp, 0xc
test eax, eax
je 0x4b8d1f
push 4
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.004ada78
add esp, 0xc
test eax, eax
je 0x4b8d1f
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004ad7a7
add esp, 0xc
test eax, eax
je 0x4b8d1f
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.0055ecf0
xor eax, eax
add esp, 0xc
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp + 0x18], eax
jle 0x4b8d03
push edi
push esi
call fcn.004ad67b
pop ecx
pop ecx
test eax, eax
je 0x4b8d1f
push dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004ada78
add esp, 0xc
test eax, eax
je 0x4b8d1f
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004ad7a7
add esp, 0xc
test eax, eax
je 0x4b8d1f
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jle 0x4b8cf5
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
sub eax, edx
mov edi, ecx
mov dword [ebp - 0x64], eax
mov ecx, eax
mov al, byte [edx + ecx]
xor byte [edx], al
inc edx
sub edi, 1
jne 0x4b8ce4
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp + 0x18]
jl 0x4b8c9b
jmp 0x4b8d06
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0x20]
sub edx, ecx
inc dword [ebp - 0x58]
add dword [ebp - 0x50], ecx
mov dword [ebp + 0x20], edx
test edx, edx
jne 0x4b8bff
xor ebx, ebx
inc ebx
push esi
call fcn.004ad6da
push edi
call fcn.004ad6da
pop ecx
pop ecx
mov eax, ebx
jmp 0x4b8d3a
push edi
call fcn.004ad6da
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005462f1
leave
ret
Function at 0x4ba7de
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.0049a500
mov ebx, eax
push ebx
push edi
call fcn.0049a3ff
add esp, 0x10
test eax, eax
je 0x4ba82b
push esi
push 2
push ebx
push eax
xor esi, esi
push esi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
cmove esi, ebx
mov eax, esi
shl eax, 3
push eax
push esi
push edi
call fcn.0049a45b
push edi
call fcn.0049a580
add esp, 0x10
pop esi
test eax, eax
jne 0x4ba832
push edi
call fcn.0049a580
pop ecx
pop edi
pop ebx
pop ebp
ret
Function at 0x4bb2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, edx
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x10
pop ebx
mov dword [ebp - 4], ebx
sub esi, edx
mov edi, ebx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4bb309
push ebx
push edx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edx
push dword [eax + 4]
call fcn.0048932c
add esp, 0x14
test eax, eax
je 0x4bb337
cmp dword [ebp - 4], ebx
jne 0x4bb337
xor eax, eax
inc eax
jmp 0x4bb339
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4bb494
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4bb4fb
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4bb4fb
mov edx, dword [ebp + 8]
push esi
push edi
mov eax, dword [edx + 0xc]
cmp ecx, eax
mov esi, eax
cmovb esi, ecx
mov dword [ebp + 0xc], esi
xor esi, esi
mov edi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4bb4d6
mov ecx, dword [ebp + 0xc]
mov al, byte [edi + ebx]
xor byte [edx + edi + 0x10], al
inc edi
cmp edi, ecx
jb 0x4bb4c4
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x4bb4f9
sub ecx, eax
push 0x10
pop eax
cmp ecx, eax
cmova ecx, eax
test ecx, ecx
je 0x4bb4f9
mov eax, dword [edx + 0xc]
add eax, esi
mov al, byte [eax + ebx]
xor byte [edx + esi + 0x30], al
inc esi
cmp esi, ecx
jb 0x4bb4e8
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4c0b14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [eax + 0x60]
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], esi
mov dword [ebp - 4], edx
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x4c0b7b
test ebx, ebx
je 0x4c0b5f
cmp ecx, 0x40
jae 0x4c0b5d
mov al, byte [ecx + edi + 0x30]
xor al, byte [esi]
mov byte [edx], al
inc edx
inc ecx
mov dword [ebp - 4], edx
inc esi
mov dword [ebp + 8], esi
sub ebx, 1
jne 0x4c0b42
xor eax, eax
mov dword [edi + 0x70], ecx
test ebx, ebx
je 0x4c0c2b
cmp ecx, 0x40
jne 0x4c0b7b
mov dword [edi + 0x70], eax
add dword [edi + 0x20], 1
jne 0x4c0b7b
inc dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov eax, ebx
and eax, 0x3f
sub ebx, eax
mov dword [ebp - 8], eax
cmp ebx, 0x40
jb 0x4c0bdf
mov eax, ebx
mov esi, ecx
shr eax, 6
xor edx, edx
add ecx, eax
cmp ecx, eax
cmovae edx, ecx
neg esi
cmp ecx, eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmovae esi, eax
lea eax, [edi + 0x20]
push eax
push edi
shl esi, 6
push esi
push dword [ebp + 8]
push edx
call fcn.004de1fa
mov ecx, dword [ebp - 0xc]
add esp, 0x14
add dword [ebp + 8], esi
sub ebx, esi
add dword [ebp - 4], esi
mov dword [edi + 0x20], ecx
test ecx, ecx
jne 0x4c0bd4
inc dword [edi + 0x24]
cmp ebx, 0x40
jae 0x4c0b8d
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4c0c2b
push 0x40
lea ebx, [edi + 0x30]
push 0
push ebx
mov dword [ebp + 8], ebx
call fcn.0055f7f0
lea eax, [edi + 0x20]
push eax
push edi
push 0x40
push ebx
push ebx
call fcn.004de1fa
mov ebx, dword [ebp - 8]
add esp, 0x20
test ebx, ebx
je 0x4c0c28
mov edx, dword [ebp - 4]
sub esi, edx
xor edi, edi
mov eax, dword [ebp + 8]
lea ecx, [edi + edx]
mov al, byte [eax + edi]
xor al, byte [esi + ecx]
inc edi
mov byte [ecx], al
cmp edi, ebx
jb 0x4c0c12
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x70], ebx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x4c8266
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c8451
add esp, 0xc
test eax, eax
js 0x4c844e
mov eax, dword [edi + 0xf0]
push ebx
mov ebx, eax
shl ebx, 2
push esi
test ebx, ebx
jle 0x4c82e5
lea edx, [edi + 8]
lea esi, [edi + 8]
xor edi, edi
lea edx, [edx + ebx*4]
mov ecx, dword [esi - 8]
add edi, 4
mov eax, dword [edx - 8]
sub ebx, 4
mov dword [esi - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], ecx
mov ecx, dword [esi]
mov dword [esi], eax
lea esi, [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [edx], ecx
lea edx, [edx - 0x10]
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp edi, ebx
jl 0x4c82a0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0xf0]
xor ebx, ebx
inc ebx
cmp eax, ebx
jle 0x4c844a
lea esi, [edi + 2]
lea esi, [esi + 0x10]
mov edx, dword [esi - 2]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x5f1ed0]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x5f2ad0]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f32d0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f2ed0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f36d0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x5f1ed0]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x5f2ad0]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f32d0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f2ed0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f36d0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x5f1ed0]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x5f2ad0]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f32d0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f2ed0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f36d0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x5f1ed0]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x5f2ad0]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f32d0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f2ed0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5f1ed0]
xor ecx, dword [eax*4 + 0x5f36d0]
inc ebx
mov dword [esi + 0xa], ecx
cmp ebx, dword [edi + 0xf0]
jl 0x4c82f3
pop esi
xor eax, eax
pop ebx
pop edi
pop ebp
ret
Function at 0x4ca0d7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
cmovge edx, edi
cmovge edi, ecx
mov dword [ebp + 0xc], edx
push dword [edi + 4]
push ebx
call fcn.00460230
pop ecx
pop ecx
test eax, eax
je 0x4ca14a
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [eax + 4], esi
jle 0x4ca135
mov eax, dword [eax]
mov ecx, dword [edi]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 4]
jl 0x4ca110
jmp 0x4ca135
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [edi + 4]
cmp esi, eax
jl 0x4ca12a
push ebx
mov dword [ebx + 4], eax
call fcn.00460014
pop ecx
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4cae64
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 0x14]
xor edi, edi
call fcn.00460b39
push dword [ebp + 0x14]
call fcn.00460a7c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4cb043
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
add eax, eax
push eax
push esi
call fcn.00460230
pop ecx
pop ecx
test eax, eax
je 0x4cb042
mov eax, dword [ebx + 4]
lea ecx, [eax - 1]
test ecx, ecx
js 0x4cb020
mov edi, ecx
mov eax, dword [ebx]
mov edx, dword [eax + edi*4]
mov ecx, edx
shr ecx, 1
mov eax, edx
and eax, 0x20000
and ecx, 0x8000
or ecx, eax
mov eax, edx
and eax, 0x40000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x80000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x100000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x200000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x400000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x800000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x1000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x2000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x4000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x8000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x10000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x20000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x40000000
shr ecx, 1
or ecx, eax
and edx, reloc.WS2_32.dll_accept
mov eax, dword [esi]
shr ecx, 1
or ecx, edx
shr ecx, 1
mov dword [eax + edi*8 + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
mov edx, ecx
and edx, 0x8000
mov eax, ecx
add edx, edx
and eax, 0x4000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x2000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x1000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x800
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x400
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x200
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x100
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x80
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x40
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x20
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x10
or edx, eax
mov eax, ecx
add edx, edx
and eax, 8
or edx, eax
mov eax, ecx
add edx, edx
and eax, 4
or edx, eax
mov eax, ecx
add edx, edx
and eax, 2
or edx, eax
and ecx, 1
mov eax, dword [esi]
add edx, edx
or edx, ecx
mov dword [eax + edi*8], edx
sub edi, 1
jns 0x4caeb2
mov eax, dword [ebx + 4]
xor edi, edi
add eax, eax
push esi
mov dword [esi + 4], eax
call fcn.00460014
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.004ca1bc
add esp, 0x10
test eax, eax
push 1
pop eax
cmovne edi, eax
pop ebx
push dword [ebp + 0x14]
call fcn.004609dc
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret