joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1380
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x4c1404
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4c1399
cmp al, 0x6b
jne 0x4c1404
inc ecx
cmp al, 0x6b
jne 0x4c13db
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4c13b9
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4c13b9
cmp dl, 0xbb
jne 0x4c13cd
inc eax
cmp eax, esi
jl 0x4c13a7
sub esi, eax
test eax, eax
jne 0x4c13de
push 0x50
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x4c1410
push 0x48
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x4c1410
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x4c13f2
push 0x58
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x4c1410
push esi
push ecx
push dword [ebp + 8]
call fcn.005849d0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x3d
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00473d60
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x4c4a30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x60
push 0
push esi
call fcn.00584f50
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c4c40

Function at 0x4c4b80
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x4c51d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret

Function at 0x4c9a60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
test esi, esi
jle 0x4c9b4d
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
inc edi
nop word [eax + eax]
cmp esi, 3
jl 0x4c9add
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jmp 0x4c9b31
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x4c9af1
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x4c9b1b
lea eax, [esi + 0x3c]
jmp 0x4c9b28
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
sub esi, 3
add ebx, 4
add edi, 3
inc edx
test esi, esi
jg 0x4c9a80
pop edi
pop esi
mov eax, ebx
mov byte [edx], 0
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x4d5a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
sub eax, ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp + 0x10], eax
cmp dword [esi + 0xc], ebx
jae 0x4d5abe
push 0x4d6
push str.........prog3rdPartyLibsopenssl_1.1_ssl_record_ssl3_record.c
push str.assertion_failed:_rec__orig_len___md_size
call fcn.00478670
add esp, 0xc
cmp ebx, 0x40
jbe 0x4d5ada
push 0x4d7
push str.........prog3rdPartyLibsopenssl_1.1_ssl_record_ssl3_record.c
push str.assertion_failed:_md_size___EVP_MAX_MD_SIZE
call fcn.00478670
add esp, 0xc
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x9c]
neg eax
mov dword [ebp - 0x10], ecx
and eax, 0x3f
lea edi, [ebp - 0x9c]
add edi, eax
lea eax, [ebx + 0x100]
mov dword [ebp - 0x1c], edi
cmp ecx, eax
jbe 0x4d5b0c
mov eax, ecx
sub eax, ebx
sub eax, 0x100
mov dword [ebp + 0x10], eax
push ebx
xor esi, esi
mov dword [ebp - 8], 0
push esi
push edi
call fcn.00584f50
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0xc], esi
cmp ecx, dword [ebp - 0x10]
jae 0x4d5bb0
mov eax, dword [ebp + 0xc]
mov edx, ecx
sub edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
xor edx, dword [ebp - 4]
mov eax, ecx
xor eax, dword [ebp - 0x14]
lea edi, [eax - 1]
not eax
shr eax, 0x1f
shr edi, 0x1f
and edi, eax
mov eax, ecx
xor eax, dword [ebp - 4]
neg edi
or edx, eax
mov eax, dword [ebp - 0x18]
xor edx, ecx
shr edx, 0x1f
neg edx
mov cl, byte [eax + ecx]
mov eax, edi
or eax, dword [ebp - 8]
and eax, edx
mov edx, dword [ebp - 0xc]
and edi, edx
mov dword [ebp - 8], eax
and al, cl
or esi, edi
mov edi, dword [ebp - 0x1c]
or byte [edx + edi], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, ebx
xor eax, ebx
xor ecx, ebx
or ecx, eax
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
inc ecx
mov edx, dword [ebp + 0xc]
inc edx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], edx
cmp ecx, dword [ebp - 0x10]
jb 0x4d5b40
xor edx, edx
test ebx, ebx
je 0x4d5be3
mov ecx, dword [ebp + 8]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + edi]
movzx eax, byte [esi + edi]
inc esi
mov byte [edx + ecx], al
mov ecx, esi
sub ecx, ebx
mov eax, esi
xor ecx, ebx
xor eax, ebx
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, ebx
jb 0x4d5bb6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 0x64]
mov edi, dword [ebp + 0x14]
inc edi
test byte [eax + 0x34], 1
je 0x4d6593
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 8]
lea eax, [edi + ecx]
cmp eax, edx
jbe 0x4d6583
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [esi + 0x14], ecx
sub edx, ecx
add dword [esi + 0x18], ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], edx
jmp 0x4d6598
cmp edi, dword [esi + 8]
ja 0x4d657b
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push ebx
mov al, byte [ecx + eax - 1]
movzx ebx, al
mov byte [ebp + 0x17], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [eax + 0xb0]
call fcn.00490060
push eax
call fcn.0048ffd0
add esp, 8
test eax, 0x200000
je 0x4d65de
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 8], eax
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
lea ecx, [ebx + edi]
mov ebx, edx
mov dword [ebp + 8], edx
sub ebx, ecx
mov eax, edx
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, edx
shr ebx, 0x1f
dec ebx
cmp edx, eax
cmovb eax, edx
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4d665c
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 4]
mov edx, ecx
mov esi, dword [ebp + 8]
shr edx, 0x1f
dec esi
mov dword [ebp - 0xc], edx
add esi, eax
sub ecx, edi
lea esi, [esi - 1]
shr ecx, 0x1f
mov eax, edi
shr eax, 0x1f
inc edi
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [ebp + 0x17]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [esi + 1]
xor ecx, eax
and edx, ecx
mov ecx, dword [ebp - 4]
not edx
and ebx, edx
mov edx, dword [ebp - 0xc]
cmp edi, dword [ebp - 8]
jb 0x4d6620
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
not ebx
movzx eax, bl
pop ebx
pop edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, dword [ebp - 4]
neg ecx
inc eax
and eax, ecx
sub edx, eax
mov eax, ecx
and eax, 1
mov dword [esi + 8], edx
not ecx
or eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d6f30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.0048f4b0
mov esi, eax
push esi
call fcn.00475c50
add esp, 8
test eax, eax
jne 0x4d6f4e
pop esi
pop ebp
ret
lea eax, [esi + 0x5c]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004c4a30
Function at 0x4dc120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + 0x60]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [edx + 0x70]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test esi, esi
je 0x4dc188
test edi, edi
je 0x4dc168
nop dword [eax]
cmp esi, 0x40
jae 0x4dc168
mov al, byte [esi + edx + 0x30]
inc esi
xor al, byte [ebx]
inc ebx
mov byte [ecx], al
inc ecx
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x4dc150
mov dword [edx + 0x70], esi
test edi, edi
je 0x4dc237
cmp esi, 0x40
jne 0x4dc188
mov dword [edx + 0x70], 0
add dword [edx + 0x20], 1
jne 0x4dc188
inc dword [edx + 0x24]
mov eax, edi
lea esi, [edx + 0x20]
and eax, 0x3f
mov dword [ebp - 0x10], esi
sub edi, eax
mov dword [ebp - 8], eax
mov eax, dword [esi]
cmp edi, 0x40
jb 0x4dc1ed
nop
mov esi, edi
shr esi, 6
add eax, esi
mov dword [ebp - 0xc], eax
cmp eax, esi
jae 0x4dc1b7
sub esi, eax
mov dword [ebp - 0xc], 0
lea eax, [edx + 0x20]
shl esi, 6
push eax
push edx
push esi
push ebx
push ecx
call fcn.00413b00
mov ecx, dword [ebp + 8]
sub edi, esi
mov eax, dword [ebp - 0xc]
add ecx, esi
mov edx, dword [ebp - 4]
add ebx, esi
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp + 8], ecx
mov dword [esi], eax
test eax, eax
jne 0x4dc1e8
inc dword [edx + 0x24]
cmp edi, 0x40
jae 0x4dc1a0
cmp dword [ebp - 8], 0
je 0x4dc237
push 0x40
lea edi, [edx + 0x30]
push 0
push edi
call fcn.00584f50
push esi
mov esi, dword [ebp - 4]
push esi
push 0x40
push edi
push edi
call fcn.00413b00
mov eax, dword [ebp - 8]
add esp, 0x20
xor edi, edi
test eax, eax
je 0x4dc234
mov edx, dword [ebp + 8]
sub ebx, edx
nop
lea ecx, [edi + edx]
mov al, byte [ebx + ecx]
xor al, byte [esi + edi + 0x30]
inc edi
mov byte [ecx], al
mov eax, dword [ebp - 8]
cmp edi, eax
jb 0x4dc220
mov dword [esi + 0x70], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4de310
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x80
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4de34b
cmp edi, dword [esi]
je 0x4de342
test eax, eax
je 0x4de4d1
test ebx, ebx
js 0x4de4d1
mov ecx, 1
mov dword [esi], edi
jmp 0x4de355
mov edi, dword [esi]
test edi, edi
je 0x4de4d1
test eax, eax
je 0x4de421
push edi
call fcn.0048f850
add esp, 4
mov dword [ebp + 0x14], eax
cmp eax, 0x80
jle 0x4de387
push 0x28
push str.........prog3rdPartyLibsopenssl_1.1cryptohmachmac.c
push str.assertion_failed:_j____int_sizeof_ctx__key_
call fcn.00478670
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp eax, ebx
jge 0x4de3db
mov eax, dword [ebp + 0x18]
push eax
push edi
push dword [esi + 4]
call fcn.00489110
add esp, 0xc
test eax, eax
je 0x4de4d1
mov eax, dword [ebp + 0xc]
push ebx
push eax
push dword [esi + 4]
call fcn.004892c0
add esp, 0xc
test eax, eax
je 0x4de4d1
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.00489070
add esp, 0xc
test eax, eax
je 0x4de4d1
lea eax, [esi + 0x10]
jmp 0x4de3fd
cmp ebx, 0x80
ja 0x4de4d1
mov eax, dword [ebp + 0xc]
push ebx
push eax
lea eax, [esi + 0x14]
push eax
call fcn.005849d0
lea eax, [esi + 0x10]
add esp, 0xc
mov dword [eax], ebx
mov ecx, dword [eax]
cmp ecx, 0x80
je 0x4de429
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [ecx + 0x14]
add eax, esi
push 0
push eax
call fcn.00584f50
add esp, 0xc
jmp 0x4de429
test ecx, ecx
je 0x4de4b3
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [ebp + ecx - 0x80], al
inc ecx
cmp ecx, 0x80
jl 0x4de430
push dword [ebp + 0x18]
push edi
push dword [esi + 8]
call fcn.00489110
add esp, 0xc
test eax, eax
je 0x4de4d1
push edi
call fcn.0048f850
push eax
lea eax, [ebp - 0x80]
push eax
push dword [esi + 8]
call fcn.004892c0
add esp, 0x10
test eax, eax
je 0x4de4d1
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [ebp + ecx - 0x80], al
inc ecx
cmp ecx, 0x80
jl 0x4de472
mov eax, dword [ebp + 0x18]
push eax
push edi
push dword [esi + 0xc]
call fcn.00489110
add esp, 0xc
test eax, eax
je 0x4de4d1
push edi
call fcn.0048f850
push eax
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0xc]
call fcn.004892c0
add esp, 0x10
test eax, eax
je 0x4de4d1
push dword [esi + 8]
push dword [esi + 4]
call fcn.004892f0
add esp, 8
test eax, eax
je 0x4de4d1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e06b0
Capabilities:
Generate random numbers via winapi
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea eax, [ebp - 4]
push 0xf0000040
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4e070b
lea eax, [ebp - 0x68]
push eax
push 0x40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4e0700
movsd xmm0, qword [0x5c2e90]
lea eax, [ebp - 0x68]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004716d0
add esp, 0x10
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4e0763
lea eax, [ebp - 0x68]
push eax
push 0x40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4e0758
movsd xmm0, qword [0x5c2e90]
lea eax, [ebp - 0x68]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004716d0
add esp, 0x10
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call fcn.004e07c0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
movsd xmm0, qword [0x591b88]
lea eax, [ebp - 0x28]
sub esp, 8
movsd qword [esp], xmm0
push 0x20
push eax
call fcn.004716d0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movsd xmm0, qword [0x591b88]
sub esp, 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
movsd qword [esp], xmm0
push 4
push eax
call fcn.004716d0
add esp, 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4e07c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x5fbea0], 0
je 0x4e0806
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4e07e4
mov dword [0x5fbea0], eax
jmp 0x4e0806
sub esp, 8
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 8
push eax
call fcn.004716d0
add esp, 0x10
cmp dword [0x5fbea0], 0
jne 0x4e0828
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esp, 8
mov dword [ebp - 4], eax
xorps xmm0, xmm0
lea eax, [ebp - 4]
movsd qword [esp], xmm0
push 4
push eax
call fcn.004716d0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4e7ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x4e7cf5
xor eax, eax
pop edi
pop ebp
ret
push ebx
push esi
push dword [edi]
call fcn.0048f350
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x4e7da9
mov ecx, dword [edi + 0x84]
cmp ecx, esi
jne 0x4e7d46
test esi, esi
jle 0x4e7d87
mov edx, ebx
lea ecx, [edi + 4]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x4e7d30
jmp 0x4e7d84
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x4e7d64
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.00584f50
add esp, 0xc
test esi, esi
jle 0x4e7d87
mov edx, ebx
lea ecx, [edi + 0x24]
mov ebx, esi
nop
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x4e7d70
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push ebx
push dword [edi]
call fcn.0048f7e0
add esp, 0x10
test eax, eax
jne 0x4e7da9
push esi
push ebx
call fcn.00401360
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ebp
ret
Function at 0x4e8a80
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x60], xmm1
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x70], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x51], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004eafe0
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xc0]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x28], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x24], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x20], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x1c], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xc], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 8], eax
lea eax, [edx + ecx]
sub edx, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], edx
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004e9160
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.004e9390
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.004ea830
lea eax, [ebp - 0x70]
push 0x20
push eax
call fcn.00401360
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x4f1340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00490060
add esp, 4
cmp eax, 0x72
jne 0x4f1498
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, eax
push edi
mov edi, dword [ebp + 0x20]
and eax, 1
push edi
push esi
push dword [ebp + 0x18]
shr ecx, 1
push dword [ebp + 0x14]
add eax, ecx
mov dword [ebp - 8], ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.0048f9d0
push eax
call fcn.004f1130
add esp, 0x1c
test eax, eax
jne 0x4f1399
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0xf8
push str.........prog3rdPartyLibsopenssl_1.1cryptokdf_tls1_prf.c
push edi
call fcn.00460080
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4f13eb
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
push edi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 4]
push eax
call fcn.00489820
push eax
call fcn.004f1130
add esp, 0x1c
test eax, eax
jne 0x4f13f4
push 0xfd
push str.........prog3rdPartyLibsopenssl_1.1cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.0045fec0
add esp, 0x10
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor edx, edx
test edi, edi
je 0x4f1478
cmp edi, 0x20
jb 0x4f1453
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x4f1411
cmp ecx, ebx
jae 0x4f1453
mov ecx, edi
mov eax, esi
mov edi, ebx
and ecx, 0xffffffe0
sub edi, esi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x4f1425
mov esi, dword [ebp + 0x1c]
cmp edx, edi
jae 0x4f1478
mov eax, ebx
lea ecx, [edx + esi]
sub eax, esi
mov esi, edi
mov dword [ebp - 8], eax
sub esi, edx
mov edi, eax
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4f1467
mov edi, dword [ebp + 0x20]
push 0x102
push str.........prog3rdPartyLibsopenssl_1.1cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.0045fec0
add esp, 0x10
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004f1130
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret