joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4257e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x42580c
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4b42d8]
sub esi, 1
jne 0x4257f2
pop edi
pop esi
pop ebp
ret

Function at 0x4264b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
test edx, edx
je 0x4265cb
mov ecx, dword [ebp + 8]
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
push edi
nop dword [eax]
movzx ebx, byte [ecx - 2]
movzx eax, byte [ecx - 1]
movzx edi, byte [ecx + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [ecx]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 3]
or edi, eax
movzx eax, byte [ecx + 4]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 5]
shl edi, 8
or edi, eax
lea eax, [esi + 0x110]
push eax
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.004268f0
lea eax, [esi + 0x88]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
call fcn.004272d0
push esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
call fcn.004268f0
mov ecx, dword [ebp + 0xc]
add esp, 0x30
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
mov eax, edx
shr eax, 0x18
mov byte [ecx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 4], al
mov eax, edi
mov byte [ecx + 5], dl
add ecx, 8
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
jne 0x4264f0
pop edi
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ecx
test ebx, ebx
je 0x427f3a
dec ebx
shr ebx, 3
push esi
mov esi, dword [ebp + 8]
inc ebx
push edi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004272d0
lea eax, [edi + 0x88]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.004268f0
lea eax, [edi + 0x110]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.004272d0
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor byte [esi - 5], cl
mov eax, ecx
shr eax, 0x18
add esp, 0x30
xor byte [esi - 8], al
mov eax, ecx
mov edx, dword [ebp - 4]
shr eax, 0x10
xor byte [esi - 7], al
mov eax, ecx
mov ecx, dword [ebp - 8]
xor byte [esi - 1], cl
shr eax, 8
xor byte [esi - 6], al
mov eax, ecx
shr eax, 0x18
xor byte [esi - 4], al
mov eax, ecx
shr eax, 0x10
xor byte [esi - 3], al
mov eax, ecx
mov ecx, dword [ebp + 0x10]
shr eax, 8
xor byte [esi - 2], al
add ecx, 1
lea eax, [edx + 1]
mov dword [ebp + 0x10], ecx
cmovne eax, edx
mov dword [ebp - 4], eax
sub ebx, 1
jne 0x427ea1
pop esi
mov dword [edi + 0x84], ecx
mov dword [edi + 0x80], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42b740
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], esi
mov eax, dword [esi]
test eax, eax
jne 0x42b784
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.0042c700
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x42b833
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00436950
mov edi, dword [esi + 0xc]
add esp, 4
shr edi, 3
xor esi, esi
test edi, edi
je 0x42b7da
nop dword [eax]
push esi
push ebx
call fcn.00422720
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x119]
push 1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004363e0
inc esi
add esp, 0x14
cmp esi, edi
jl 0x42b7b0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00436600
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 0x20
push eax
call fcn.004229c0
mov ecx, dword [ebp - 0x120]
mov edi, eax
add ecx, 0x1c
push edi
push ecx
call fcn.0042c700
push edi
mov esi, eax
call fcn.00422fb0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x42d000
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call eax
push 0x1c
push 1
mov edi, eax
call fcn.00406130
mov esi, eax
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], edi
cmp dword [edi], 1
jne 0x42d0ab
xorps xmm0, xmm0
xor edi, edi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.00431e20
mov byte [ebp + edi - 0x24], al
inc edi
cmp edi, 0x20
jb 0x42d047
mov al, byte [ebp - 5]
and byte [ebp - 0x24], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004229c0
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00440760
mov eax, dword [esi + 0x18]
add esp, 0x10
test eax, eax
jne 0x42d0a2
push esi
call fcn.00406110
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [esi + 4]
add eax, 0x1c
jmp 0x42d0ca
push dword [edi + 0x1c]
push dword [0x4c8718]
call fcn.00422c40
add esp, 8
mov dword [esi + 0x18], eax
test eax, eax
je 0x42d087
push eax
mov eax, dword [esi + 4]
add eax, 0x20
push eax
call fcn.0042c700
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x42d0fc
push dword [esi + 0x18]
call fcn.00422fb0
push esi
call fcn.00406110
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 8]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
call fcn.00406110
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret

Function at 0x42d500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.0042d800

Function at 0x42e430
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x42e520
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0044c430
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x42e577
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x42e574
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x42e560
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0042d770
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0042d800
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044c430
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x42e5b8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x42e5b8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x42e5a4
lea esi, [ebx + 0x5c]
push esi
call fcn.0042d770
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0042d800
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00440760
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x431f00
Capabilities:
Encode data using xor

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
sub esp, 0x78
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4cc3cc], 0
push esi
push edi
jne 0x432067
push fcn.00431c90
mov dword [0x4cc3cc], 1
call fcn.00443110
push 0x4cc388
push 0x4cc374
call fcn.00436e50
movups xmm0, xmmword [0x4cc374]
mov eax, dword [0x4cc384]
add esp, 0xc
mov dword [0x4cc3c8], 0
movups xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x74], 2
nop
movups xmm0, xmmword [0x4cbec0]
mov esi, 0x49c
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x4cbed0]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x4cbee0]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x4cbef0]
movups xmmword [ebp - 0x40], xmm0
xor eax, dword [esi + 0x4cbed0]
mov ecx, dword [ebp - 0x30]
xor ecx, dword [esi + 0x4cbec0]
xor edi, dword [esi + 0x4cbec4]
xor edx, dword [esi + 0x4cbec8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x4cbecc]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
call fcn.00436e50
mov eax, dword [ebp - 0x30]
add esp, 8
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x4cbec0], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4cbec4], edi
mov dword [esi + 0x4cbec8], edx
mov dword [esi + 0x4cbecc], ecx
mov dword [esi + 0x4cbed0], eax
sub esi, 0x14
jns 0x431fb1
sub dword [ebp - 0x74], 1
jne 0x431f80
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00436e50
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [0x4cc384], eax
movups xmmword [0x4cc374], xmm0
mov dword [0x4cc370], 0x14
mov dword [0x4cc3cc], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044a3f7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x432fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x43319b
push esi
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
mov byte [ebp - 0x45], cl
cmovle edi, 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
mov byte [ebp - 0x46], al
mov eax, dword [edx]
mov dword [ebp - 0x60], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov esi, eax
push dword [ebp - 0x58]
push esi
mov ecx, dword [ecx + 8]
call ecx
push 4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
inc ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
test edi, edi
jle 0x433181
cmp edi, 8
jb 0x433160
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x433091
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x433160
cmp edi, 0x40
jb 0x43311c
mov ecx, edi
and ecx, 0x8000003f
jns 0x4330a9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea edi, [ebp - 0x34]
sub esi, ebx
lea ecx, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x5c], edi
mov ebx, edi
nop
movups xmm0, xmmword [ecx - 0x20]
lea edi, [ebp - 0x44]
movups xmm1, xmmword [edi + eax]
mov edi, dword [ebp - 0x60]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x34]
add eax, 0x40
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jl 0x4330c0
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x43315c
mov ecx, edi
and ecx, 0x80000007
jns 0x43312b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea ecx, [eax + ebx]
sub esi, ebx
nop word [eax + eax]
movq xmm1, qword [ecx + esi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add eax, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp eax, edx
jl 0x433140
cmp eax, edi
jge 0x43317e
lea esi, [ebp - 0x44]
lea edx, [eax + ebx]
sub esi, ebx
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, edi
jl 0x433170
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x18]
add ebx, edi
mov edx, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x433005
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x434500
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4347d0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0044c430
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x434827
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x434824
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x434810
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004346e0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00434400
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044c430
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x434868
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x434868
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x434854
lea esi, [ebx + 0x6c]
push esi
call fcn.004346e0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00434400
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00440760
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x4371b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x4374a0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0044c430
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x4374f7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x4374f4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x4374e0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00437330
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004370b0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044c430
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x437538
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x437538
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x437524
lea esi, [ebx + 0x60]
push esi
call fcn.00437330
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004370b0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00440760
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x43e200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4cc3e8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x43e249
push ecx
push eax
push str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nConnection_abandoned._n
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
push edi
push ecx
push eax
push str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nContinue_with_connection___y_n_
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0047381f
push eax
call fcn.00473f24
add esp, 0x18
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
or ecx, 7
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, byte [ebp - 0x24]
pop edi
cmp al, 0x79
je 0x43e2e5
cmp al, 0x59
je 0x43e2e5
push 0x4b83f4
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x43e300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4cc3e8], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
je 0x43e359
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nLogging_will_not_be_enabled._n
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0047381f
push eax
call fcn.00473f24
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
push edi
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nYou_can_overwrite_it_with_a_new_session_log__nappend_your_session_log_to_the_end_of_it__nor_disable_session_logging_for_this_session._nEnter__y__to_wipe_the_file___n__to_append_to_it__nor_just_press_Return_to_disable_logging._nWipe_the_log_file___y_n__Return_cancels_logging_
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0047381f
push eax
call fcn.00473f24
add esp, 0x18
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
or ecx, 7
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov cl, byte [ebp - 0x24]
pop edi
cmp cl, 0x79
je 0x43e401
cmp cl, 0x59
je 0x43e401
cmp cl, 0x6e
je 0x43e3ee
xor eax, eax
cmp cl, 0x4e
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
Function at 0x43e420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4cb180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4cc3e8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x43e469
push ecx
push eax
push str.The_first_host_key_type_we_have_stored_for_this_server_nis__s__which_is_below_the_configured_warning_threshold._nThe_server_also_provides_the_following_types_of_host_key_nabove_the_threshold__which_we_do_not_have_stored:_n_s_nConnection_abandoned._n
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
push edi
push ecx
push eax
push str.The_first_host_key_type_we_have_stored_for_this_server_nis__s__which_is_below_the_configured_warning_threshold._nThe_server_also_provides_the_following_types_of_host_key_nabove_the_threshold__which_we_do_not_have_stored:_n_s_nContinue_with_connection___y_n_
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0047381f
push eax
call fcn.00473f24
add esp, 0x18
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
or ecx, 7
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, byte [ebp - 0x24]
pop edi
cmp al, 0x79
je 0x43e505
cmp al, 0x59
je 0x43e505
push str.Connection_abandoned._n
push 2
call fcn.0047381f
add esp, 4
push eax
call fcn.00404800
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0044a3f7
mov esp, ebp
pop ebp
ret