joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e8d
Capabilities:
Compare security identifiers

Disassembly:
push 0x28
mov eax, 0x597b20
call fcn.00546339
mov esi, ecx
and dword [ebp - 0x20], 0
mov edi, dword [ebp + 8]
and dword [edi], 0
and dword [edi + 4], 0
and dword [edi + 8], 0
and dword [ebp - 4], 0
push 0
mov dword [ebp - 0x20], 1
call fcn.00441207
test al, al
je 0x440fc4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x440fc4
xor ecx, ecx
xor edx, edx
cmp cx, word [eax + 4]
jmp 0x440fbb
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x440fae
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x440fae
mov al, byte [ebx]
test al, al
jne 0x440f5a
push dword [ebx + 4]
lea eax, [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call dword [eax + 4]
mov byte [ebp - 0xd], al
test al, al
je 0x440fae
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x30]
mov dword [ebp - 0x24], eax
cmp ebx, eax
je 0x440fae
push dword [ebp - 0x14]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x440f4a
add ebx, 8
cmp ebx, dword [ebp - 0x24]
jne 0x440f30
jmp 0x440fae
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x2c], al
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
jmp 0x440fa6
cmp al, 1
jne 0x440fae
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
cmp eax, ecx
mov dword [ebp - 0x24], ecx
jmp 0x440f82
push edx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x440f8c
mov eax, dword [ebp - 0x14]
add eax, 8
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea edx, [ebx + 8]
jne 0x440f6b
jmp 0x440fae
mov eax, dword [esi]
mov ecx, esi
push dword [ebx + 4]
call dword [eax + 4]
or al, 0x80
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.0041f471
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x1c]
inc edx
movzx ecx, word [eax + 4]
cmp edx, ecx
mov dword [ebp - 0x1c], edx
jb 0x440edf
mov eax, edi
call fcn.00546302
ret 4
Function at 0x44194d
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x441974
mov eax, dword [ebp + 8]
or dword [eax + 4], esi
mov byte [eax], 0
jmp 0x441a29
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, 0x4000
push 4
pop ebx
cmp eax, 0xffffffff
je 0x4419d4
test eax, eax
mov dword [ebp - 4], 4
mov ebx, edi
cmovne ebx, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x1002
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
push 4
cmp dword [ebp - 8], ebx
je 0x4419d3
mov dword [ebp - 8], ebx
lea eax, [ebp - 8]
pop ebx
push ebx
push eax
push 0x1002
push 0xffff
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x4419d4
pop ebx
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x441a1e
test eax, eax
mov dword [ebp - 4], ebx
cmovne edi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [ebp - 8], edi
je 0x441a1e
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 0x1001
push 0xffff
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov byte [eax], 1
mov dword [eax + 4], esi
pop esi
leave
ret

Function at 0x441cc4
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea eax, [ebp - 4]
push esi
push edi
xor esi, esi
push esi
push 5
push 2
push esi
push eax
push esi
mov dword [ebp - 4], esi
call ebx
or dword [ebp - 8], 0xffffffff
mov edi, esi
jmp 0x441d0b
push edi
call fcn.0056237b
push dword [ebp - 4]
call fcn.0056de72
pop ecx
pop ecx
push esi
push 5
push 2
mov edi, eax
lea eax, [ebp - 4]
push esi
push eax
push edi
call ebx
cmp eax, 0x7a
je 0x441cec
test eax, eax
jne 0x441d6b
lea ebx, [edi + 0x10]
cmp esi, dword [edi]
jae 0x441d6b
push dword [ebx - 8]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x7f000001
jne 0x441d59
push dword [ebx]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x7f000001
jne 0x441d59
mov eax, dword [ebp + 8]
movzx eax, word [eax + 2]
cmp dword [ebx - 4], eax
jne 0x441d59
movzx eax, word [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
cmp eax, dword [ebp + 0xc]
je 0x441d5f
inc esi
add ebx, 0x18
jmp 0x441d17
lea eax, [esi + 1]
imul eax, eax, 0x18
mov eax, dword [eax + edi]
mov dword [ebp - 8], eax
push edi
call fcn.0056237b
mov eax, dword [ebp - 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4575bf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
add ebx, esi
push edi
mov edi, dword [ebp + 8]
movzx edx, al
add edi, esi
and edx, 1
test esi, esi
je 0x4575f8
dec ebx
movzx eax, al
movzx ecx, byte [ebx]
xor ecx, eax
mov al, byte [ebp + 0x14]
add edx, ecx
dec edi
mov byte [edi], dl
shr edx, 8
sub esi, 1
jne 0x4575df
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45f8c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
cmp edx, ebx
je 0x45f94b
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
push esi
push edi
lea esi, [eax - 1]
xor edi, edi
not eax
shr esi, 0x1f
shr eax, 0x1f
and esi, eax
mov eax, dword [ebx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp + 0x10], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
and eax, esi
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
cmp dword [ebp + 0x14], edi
jle 0x45f949
mov esi, dword [edx]
mov eax, dword [ebx]
mov ecx, dword [esi + edi*4]
mov edx, dword [eax + edi*4]
xor edx, ecx
and edx, dword [ebp + 0x10]
xor ecx, edx
mov dword [esi + edi*4], ecx
mov eax, dword [ebx]
xor dword [eax + edi*4], edx
inc edi
mov edx, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
jl 0x45f927
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4660f8
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.0055f7f0
add esp, 0xc
mov dword [esi], 0x67452301
xor eax, eax
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
inc eax
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret
Function at 0x4674c3
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.0055f7f0
add esp, 0xc
mov dword [esi], 0xc1059ed8
xor eax, eax
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
inc eax
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x467661
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.0055f7f0
add esp, 0xc
mov dword [esi], 0x6a09e667
xor eax, eax
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
inc eax
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x4686cd
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
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], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
xor eax, eax
inc eax
pop ebp
ret

Function at 0x468aa2
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
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], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
xor eax, eax
inc eax
pop ebp
ret
Function at 0x46b884
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x46b89b
xor eax, eax
jmp 0x46b93c
push ebx
push esi
push dword [edi]
call fcn.00465b45
mov ebx, dword [ebp + 0xc]
mov esi, eax
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
test ebx, ebx
je 0x46b937
mov ecx, dword [edi + 0x84]
cmp ecx, esi
jne 0x46b8df
test esi, esi
jle 0x46b919
mov edx, ebx
lea ecx, [edi + 4]
mov ebx, esi
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
sub ebx, 1
jne 0x46b8cc
mov ebx, dword [ebp + 0xc]
jmp 0x46b919
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x46b8fd
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.0055f7f0
add esp, 0xc
test esi, esi
jle 0x46b919
lea ecx, [edi + 0x24]
mov edx, ebx
mov edi, esi
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
sub edi, 1
jne 0x46b908
mov edi, dword [ebp + 8]
push esi
push ebx
push ebx
push dword [edi]
call fcn.00465ea8
add esp, 0x10
test eax, eax
jne 0x46b937
push esi
push ebx
call fcn.0045d09e
pop ecx
pop ecx
xor eax, eax
jmp 0x46b93a
xor eax, eax
inc eax
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x47ba32
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
test esi, esi
je 0x47ba78
mov al, byte [esi]
test al, al
je 0x47ba78
push ebx
mov ebx, 0x100
push edi
mov edi, ebx
movsx eax, al
or eax, edi
add edi, ebx
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
xor edx, eax
inc esi
mov al, byte [esi]
test al, al
jne 0x47ba4e
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop ebx
jmp 0x47ba7a
xor eax, eax
pop esi
pop ebp
ret

Function at 0x47bc92
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x47bce0
mov al, byte [edi]
test al, al
je 0x47bce0
push ebx
mov ebx, 0x100
movsx eax, al
push eax
call fcn.0046f406
or eax, ebx
add ebx, 0x100
pop ecx
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol esi, cl
xor esi, eax
inc edi
mov al, byte [edi]
test al, al
jne 0x47bcac
mov eax, esi
shr eax, 0x10
xor eax, esi
pop ebx
jmp 0x47bce2
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x482121
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x48219a
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x48213a
cmp al, 0x6b
jne 0x48219a
inc ecx
cmp al, 0x6b
jne 0x482172
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x48215a
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x48215a
cmp dl, 0xbb
jne 0x482164
inc eax
cmp eax, esi
jl 0x482148
sub esi, eax
test eax, eax
jne 0x482175
push 0x50
jmp 0x482166
push 0x48
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x4821a6
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x482189
push 0x59
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x4821a6
push esi
push ecx
push dword [ebp + 8]
call fcn.0055ecf0
add esp, 0xc
mov eax, esi
jmp 0x4821b8
push 0x3d
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.0045b227
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x484da2
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 2
push ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x20
pop ebx
je 0x484e23
cmp dword [ebp + 0x10], 0
je 0x484df2
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push 0
push eax
push 0
call fcn.0046e116
add esp, 0x10
cmp dword [ebp - 4], 0xffffffff
je 0x484df2
push 0x3b
push str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.0045b227
add esp, 0x14
xor eax, eax
jmp 0x484fce
cmp dword [ebp + 0x14], 0
je 0x484e1f
cmp edi, 0x40a
je 0x484e18
cmp edi, 0x43f
je 0x484e18
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x484e1a
mov eax, ebx
cmp dword [ebp + 0x18], eax
je 0x484e23
push 0x41
jmp 0x484dd5
push esi
push 0x46
mov esi, str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push esi
push 0x40
call fcn.0045ab86
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x484e56
push 0x48
push esi
push 0x41
push 0x10a
push 0x10
call fcn.0045b227
add esp, 0x14
jmp 0x484f1d
cmp dword [ebp + 0x1c], 0
jne 0x484e70
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.0055ecf0
add esp, 0xc
jmp 0x484fbb
cmp edi, 0x40a
je 0x484e90
cmp edi, 0x43f
je 0x484e90
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x484e92
mov eax, ebx
push 0x50
push esi
push eax
call fcn.00479276
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], esi
test esi, esi
jne 0x484ec8
push 0x52
mov edi, str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push edi
push 0x41
push 0x10a
push 0x10
call fcn.0045b227
mov eax, dword [ebp - 4]
add esp, 0x14
jmp 0x484f11
cmp dword [ebp + 0x1c], 2
jne 0x484f4c
cmp edi, 0x40a
je 0x484eec
cmp edi, 0x43f
je 0x484eec
xor ebx, ebx
cmp edi, 0x40b
setne bl
add ebx, 0x38
push ebx
push esi
call fcn.00499f8c
pop ecx
pop ecx
test eax, eax
jg 0x484f24
push 0x57
mov edi, str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push edi
push esi
call fcn.00479271
mov eax, dword [ebp - 4]
add esp, 0xc
and dword [eax + 0x3c], 0
push 0x79
push edi
push eax
call fcn.0045aa27
add esp, 0xc
xor eax, eax
jmp 0x484fcd
cmp edi, 0x40a
jne 0x484f3b
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x484f77
cmp edi, 0x40b
jne 0x484f77
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x484f77
cmp edi, 0x40a
je 0x484f6a
cmp edi, 0x43f
je 0x484f6a
xor ebx, ebx
cmp edi, 0x40b
setne bl
add ebx, 0x38
push ebx
push dword [ebp + 0x14]
push esi
call fcn.0055ecf0
add esp, 0xc
mov eax, edi
sub eax, 0x40a
je 0x484fb0
sub eax, 1
je 0x484fa5
sub eax, 0x34
je 0x484f9a
sub eax, 1
jne 0x484fbb
push esi
push dword [ebp - 4]
call fcn.004acf2b
jmp 0x484fb9
push esi
push dword [ebp - 4]
call fcn.004a3e81
jmp 0x484fb9
push esi
push dword [ebp - 4]
call fcn.004ab69f
jmp 0x484fb9
push esi
push dword [ebp - 4]
call fcn.004a421a
pop ecx
pop ecx
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.004582e1
xor eax, eax
add esp, 0xc
inc eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x486f08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0045673f
pop ecx
cmp eax, 0x72
jne 0x486ff5
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, eax
push esi
push edi
push dword [ebp + 0x18]
shr ecx, 1
and eax, 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.00475b83
push eax
call fcn.00486d0b
add esp, 0x1c
test eax, eax
je 0x486f89
push 0x104
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push esi
call fcn.0045a9f5
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x486f90
push 0x105
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.0045b227
add esp, 0x14
xor eax, eax
jmp 0x48701d
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
push esi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 4]
push eax
call fcn.004582b7
push eax
call fcn.00486d0b
add esp, 0x1c
test eax, eax
jne 0x486fca
push 0x10a
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push esi
push ebx
call fcn.0045aa9e
add esp, 0x10
jmp 0x486f89
test esi, esi
je 0x486fdf
mov ecx, ebx
mov edx, esi
sub ecx, edi
mov al, byte [ecx + edi]
xor byte [edi], al
inc edi
sub edx, 1
jne 0x486fd4
push 0x10f
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push esi
push ebx
call fcn.0045aa9e
add esp, 0x10
jmp 0x48701a
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 dword [ebp + 8]
call fcn.00486d0b
add esp, 0x1c
test eax, eax
je 0x486f89
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4888dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push ebx
xor bl, bl
test edx, edx
je 0x488901
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub esi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
or bl, al
inc ecx
sub edx, 1
jne 0x4888f3
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x488a19
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
test edi, edi
je 0x488a88
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x488a88
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push esi
push dword [ebp + 8]
mov ebx, 0x200
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00488be4
add esp, 0x14
lea ecx, [ebp - 0x208]
test eax, eax
cmovs eax, ebx
push esi
push ecx
push eax
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x488bcf
mov ecx, dword [ebp + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x488a8e
sub ecx, edx
lea edi, [ecx + 1]
lea eax, [edi + edi]
call fcn.005475e0
mov ebx, esp
xor esi, esi
test ebx, ebx
jne 0x488ab4
mov ebx, str.no_stack_
jmp 0x488b53
push edi
push ebx
push edi
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x488add
mov ecx, esi
test edi, edi
je 0x488add
mov eax, dword [ebp + 8]
movsx ax, byte [ecx + eax]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edi
jb 0x488acc
mov ecx, esi
test edi, edi
je 0x488b53
push 0x43
mov dword [ebp - 0x208], 0x73
pop esi
cmp word [ebx + ecx*2], 0x25
jne 0x488b4c
lea edx, [ecx + 1]
lea edx, [ebx + edx*2]
movzx eax, word [edx]
cmp eax, esi
ja 0x488b27
je 0x488b23
cmp eax, 0x2a
je 0x488b1d
cmp eax, 0x2c
jbe 0x488b4c
cmp eax, 0x2e
jbe 0x488b1d
add eax, 0xffffffd0
cmp eax, 9
ja 0x488b4c
inc ecx
add edx, 2
jmp 0x488afd
push 0x63
jmp 0x488b48
cmp eax, 0x53
je 0x488b46
cmp eax, 0x63
je 0x488b41
movzx eax, word [edx]
cmp ax, word [ebp - 0x208]
jne 0x488b4c
push 0x53
jmp 0x488b48
mov word [edx], si
jmp 0x488b4c
push 0x73
pop eax
mov word [edx], ax
inc ecx
cmp ecx, edi
jb 0x488af0
xor esi, esi
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.00488c16
add esp, 0x14
xor eax, eax
mov word [ebp - 6], ax
call fcn.0048892f
test eax, eax
jle 0x488bba
push str.OpenSSL
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
test edi, edi
je 0x488bcf
push esi
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push esi
push 1
push esi
push esi
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x488bcf
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005462f1
leave
ret

Function at 0x4956d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.0055f7f0
add esp, 0xc
mov dword [esi], 0x67452301
xor eax, eax
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
inc eax
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x499df0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
push edi
test eax, eax
je 0x499e0d
test byte [eax + 0x5c], 2
mov edi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x499e12
mov edi, 0x5cd480
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
test esi, esi
jle 0x499ed5
push ebx
mov ebx, dword [ebp + 0x10]
inc ebx
movzx ecx, byte [ebx - 1]
cmp esi, 3
jl 0x499e70
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + edi]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + edi]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
and ecx, 0x3f
mov al, byte [eax + edi]
mov byte [edx + 2], al
lea eax, [edx + 3]
mov cl, byte [ecx + edi]
jmp 0x499eb8
shl ecx, 0x10
cmp esi, 2
jne 0x499e80
movzx eax, byte [ebx]
shl eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + edi]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
inc edx
and eax, 0x3f
mov dword [ebp + 0xc], edx
mov al, byte [eax + edi]
mov byte [edx], al
cmp esi, 1
jne 0x499ea4
mov al, 0x3d
jmp 0x499ead
shr ecx, 6
and ecx, 0x3f
mov al, byte [ecx + edi]
mov byte [edx + 1], al
mov cl, 0x3d
mov eax, dword [ebp + 0xc]
add eax, 2
mov byte [eax], cl
lea edx, [eax + 1]
mov ecx, dword [ebp - 4]
sub esi, 3
add ecx, 4
add ebx, 3
mov dword [ebp - 4], ecx
test esi, esi
jg 0x499e25
pop ebx
pop edi
mov byte [edx], 0
mov eax, ecx
pop esi
leave
ret