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

Disassembly:
mov eax, 4
call fcn.0055bc20
mov eax, dword [esp + 0xc]
push edi
mov edi, ecx
cmp ebx, 2
je 0x48572e
test eax, eax
je 0x4856f0
push eax
push 0
lea eax, [esp + 0xc]
push eax
push 0
call fcn.004b6a80
add esp, 0x10
cmp dword [esp + 4], 0xffffffff
je 0x4856f0
call fcn.004671d0
push str.ecx_key_op
push 0x39
push str.cryptoececx_meth.c
call fcn.00467260
push 0
push 0x66
push 0x10
call fcn.004673f0
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
cmp dword [esp + 0x14], 0
je 0x485720
cmp esi, 0x40a
je 0x485717
cmp esi, 0x43f
je 0x485717
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x48571c
mov eax, 0x20
cmp edi, eax
je 0x48572e
call fcn.004671d0
push str.ecx_key_op
push 0x3f
jmp 0x4856d3
cmp esi, 0x40a
je 0x48574e
cmp esi, 0x43f
je 0x48574e
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x485753
mov eax, 0x20
push 1
push eax
call fcn.004b6870
add esp, 8
mov dword [esp + 4], eax
test eax, eax
jne 0x48578f
call fcn.004671d0
push str.ecx_key_op
push 0x46
push str.cryptoececx_meth.c
call fcn.00467260
push 0
push 0x41
push 0x10
call fcn.004673f0
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push ebp
lea ebp, [eax + 4]
test ebx, ebx
jne 0x4857a8
mov ecx, dword [esp + 0x18]
push edi
push ecx
push ebp
call fcn.0055bc50
jmp 0x4858da
push eax
call fcn.004b6960
mov edi, eax
add esp, 4
test edi, edi
jne 0x4857ed
call fcn.004671d0
push str.ecx_key_op
push 0x50
push str.cryptoececx_meth.c
call fcn.00467260
push edi
push 0x41
push 0x10
call fcn.004673f0
mov edx, dword [esp + 0x20]
add esp, 0x18
push edx
call fcn.004b68f0
add esp, 4
pop ebp
xor eax, eax
pop edi
pop ecx
ret
cmp ebx, 2
jne 0x485860
cmp esi, 0x40a
je 0x485812
cmp esi, 0x43f
je 0x485812
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x485817
mov eax, 0x20
push eax
push edi
call fcn.00469bc0
add esp, 8
test eax, eax
jg 0x485838
mov edx, dword [esp + 8]
push edx
call fcn.004b68f0
add esp, 4
pop ebp
xor eax, eax
pop edi
pop ecx
ret
cmp esi, 0x40a
jne 0x48584f
mov al, byte [edi + 0x1f]
and byte [edi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
jmp 0x485894
cmp esi, 0x40b
jne 0x485894
and byte [edi], 0xfc
or byte [edi + 0x37], 0x80
jmp 0x485894
cmp esi, 0x40a
je 0x485880
cmp esi, 0x43f
je 0x485880
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x485885
mov eax, 0x20
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
call fcn.0055bc50
add esp, 0xc
lea eax, [esi - 0x40a]
cmp eax, 0x36
ja case.0x4858a6.1036
movzx edx, byte [eax + 0x485910]
jmp dword [edx*4 + 0x4858fc]
push edi
push ebp
call fcn.004b6650
add esp, 8
jmp case.0x4858a6.1036
push edi
push ebp
call fcn.004b6580
add esp, 8
jmp case.0x4858a6.1036
push edi
push ebp
call fcn.004a9280
add esp, 8
jmp case.0x4858a6.1036
push edi
push ebp
push 0
call fcn.004a74b0
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.0048d740
add esp, 0xc
pop ebp
mov eax, 1
pop edi
pop ecx
ret
Function at 0x494f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, edx
test ebp, ebp
je 0x494f97
test esi, esi
je 0x494f97
push edi
mov edi, dword [ecx + 0xc]
cmp esi, edi
jae 0x494f5a
mov edi, esi
xor eax, eax
test edi, edi
jbe 0x494f6c
mov dl, byte [eax + ebp]
xor byte [ecx + eax + 0x10], dl
inc eax
cmp eax, edi
jb 0x494f60
mov eax, dword [ecx + 0xc]
pop edi
cmp esi, eax
jbe 0x494f97
sub esi, eax
cmp esi, 0x10
jbe 0x494f80
mov esi, 0x10
xor eax, eax
test esi, esi
jbe 0x494f97
mov edx, dword [ecx + 0xc]
add edx, eax
mov dl, byte [edx + ebp]
xor byte [ecx + eax + 0x30], dl
inc eax
cmp eax, esi
jb 0x494f86
pop esi
pop ebp
ret

Function at 0x494fa0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0055bc20
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
lea ecx, [esi + 2]
mov dword [esp + 0xc], 0x10
mov eax, ebp
sub esi, ebp
mov edi, 4
jmp 0x494fd0
movzx edx, byte [esi + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub edi, 1
jne 0x494fd0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push 0x10
push ebp
lea eax, [esp + 0x14]
push eax
push ebp
push edx
call fcn.00463370
add esp, 0x14
pop edi
pop esi
pop ebp
test eax, eax
je 0x495022
cmp dword [esp], 0x10
jne 0x495022
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x4953c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 4
call fcn.0055bc20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
add esi, 0x78
push edi
mov ebp, 0x10
lea edi, [esi + 0x3f]
mov dword [esp + 0x10], ebp
mov eax, edi
xor ecx, ecx
mov dl, byte [eax]
add dl, 1
mov byte [eax], dl
jne 0x4953f4
inc ecx
dec eax
cmp ecx, ebp
jl 0x4953e5
mov edx, dword [esi]
push ebp
lea ebx, [esi + 0x30]
push ebx
lea ecx, [esp + 0x18]
push ecx
lea eax, [esi + 0x10]
push eax
push edx
call fcn.00463370
add esp, 0x14
test eax, eax
je 0x495558
cmp dword [esp + 0x10], ebp
jne 0x495558
cmp dword [esi + 0xc], ebp
je 0x49545f
mov eax, edi
xor edx, edx
mov cl, byte [eax]
add cl, 1
mov byte [eax], cl
jne 0x495437
inc edx
dec eax
cmp edx, ebp
jl 0x495428
mov edx, dword [esi]
push ebp
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x20]
push ecx
push edx
call fcn.00463370
add esp, 0x14
test eax, eax
je 0x495558
cmp dword [esp + 0x10], ebp
jne 0x495558
mov eax, edi
xor edx, edx
mov cl, byte [eax]
add cl, 1
mov byte [eax], cl
jne 0x495472
inc edx
dec eax
cmp edx, ebp
jl 0x495463
mov ecx, dword [esi]
push ebp
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call fcn.00463370
add esp, 0x14
test eax, eax
je 0x495558
cmp dword [esp + 0x10], ebp
jne 0x495558
cmp dword [esi + 0xc], 0x18
jne 0x4954b3
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x38], edx
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x3c], eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov edi, dword [esp + 0x18]
test byte [edi + 0x18], 1
jne 0x495512
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4954d1
cmp dword [esp + 0x2c], eax
jne 0x4954d1
cmp dword [esp + 0x24], eax
je 0x4954f8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
mov edx, esi
call fcn.00495220
add esp, 0x14
test eax, eax
je 0x495558
cmp dword [esp + 0x20], 0
je 0x495533
mov edx, dword [edi + 0x68]
lea eax, [esi + 0x54]
push eax
mov ecx, esi
call fcn.00494f40
add esp, 4
jmp 0x495533
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00494f40
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
call fcn.00494f40
add esp, 8
mov ecx, dword [esi]
push 1
push 0
lea eax, [esi + 0x10]
push eax
mov eax, dword [esi + 8]
push 0
push eax
push ecx
call fcn.00463a40
add esp, 0x18
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4965d0
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x428
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0x424], eax
push ebp
mov ebp, dword [esp + 0x434]
call fcn.00496ac0
cmp eax, 1
je 0x496612
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0055a67a
add esp, 0x428
ret
push 0x400
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.0055bfc0
xor eax, eax
add esp, 0xc
mov byte [esp + 4], 0
mov dword [esp + 5], eax
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
cmp dword [esp + 0x430], eax
je 0x496665
mov eax, 0xa
movzx ecx, word [edi]
cmp cx, 2
mov ecx, 0x10
je 0x496678
mov ecx, 0x1c
push esi
push eax
push 0x20
lea edx, [esp + 0x10]
push edx
push 0x401
lea eax, [esp + 0x38]
push eax
push ecx
push edi
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov esi, eax
test esi, esi
je 0x4966e7
call fcn.004671d0
push str.addr_strings
push 0xd8
push str.crypto_bio_b_addr.c
call fcn.00467260
push 0
push 2
push 0x20
call fcn.004673f0
push esi
call fcn.004962c0
push eax
push 1
call fcn.00473bc0
add esp, 0x24
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0055a67a
add esp, 0x428
ret
cmp byte [esp + 8], 0
jne 0x496719
push edi
call fcn.004962f0
movzx ecx, ax
add esp, 4
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
push edx
push 0x5dbc88
lea eax, [esp + 0x10]
push 0x20
push eax
call fcn.004750c0
add esp, 0x10
test ebp, ebp
je 0x496737
push 0xea
lea ecx, [esp + 0x2c]
push str.crypto_bio_b_addr.c
push ecx
call fcn.00476300
add esp, 0xc
mov dword [ebp], eax
test ebx, ebx
je 0x496754
push 0xec
lea edx, [esp + 0xc]
push str.crypto_bio_b_addr.c
push edx
call fcn.00476300
add esp, 0xc
mov dword [ebx], eax
test ebp, ebp
je 0x49675e
cmp dword [ebp], 0
je 0x49676f
test ebx, ebx
je 0x4967ef
cmp dword [ebx], 0
jne 0x4967ef
test ebp, ebp
je 0x496790
mov eax, dword [ebp]
push 0xfb
push str.crypto_bio_b_addr.c
push eax
call fcn.00466c10
add esp, 0xc
mov dword [ebp], 0
test ebx, ebx
je 0x4967af
mov ecx, dword [ebx]
push 0xff
push str.crypto_bio_b_addr.c
push ecx
call fcn.00466c10
add esp, 0xc
mov dword [ebx], 0
call fcn.004671d0
push str.addr_strings
push 0x102
push str.crypto_bio_b_addr.c
call fcn.00467260
push 0
push 0x41
push 0x20
call fcn.004673f0
add esp, 0x18
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0055a67a
add esp, 0x428
ret
mov ecx, dword [esp + 0x42c]
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0055a67a
add esp, 0x428
ret
Function at 0x496890
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x24
call fcn.0055bc20
push esi
mov esi, dword [esp + 0x38]
push edi
xor edi, edi
mov eax, esi
sub eax, edi
mov dword [esp + 8], edi
je 0x4968e7
sub eax, 2
je 0x4968e7
sub eax, 0x15
je 0x4968e7
call fcn.004671d0
push str.BIO_lookup_ex
push 0x294
push str.crypto_bio_b_addr.c
call fcn.00467260
push edi
push 0x83
push 0x20
call fcn.004673f0
add esp, 0x18
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret
call fcn.00496ac0
cmp eax, 1
jne 0x4968df
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
cmp esi, edi
jne 0x496938
or eax, 0x400
mov dword [esp + 0xc], eax
cmp dword [esp + 0x38], 1
jne 0x496946
or eax, 1
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x38]
push edi
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x4969a8
jmp 0x496970
cmp esi, 8
je 0x496a0a
mov eax, dword [esp + 0x14]
test eax, 0x400
je 0x4969bc
push edi
lea ecx, [esp + 0x18]
push ecx
and eax, 0xfffffbff
push ebx
or eax, 4
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x496970
pop ebp
pop ebx
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x24
ret
call fcn.004671d0
push str.BIO_lookup_ex
push 0x2d8
push str.crypto_bio_b_addr.c
call fcn.00467260
push 0
push 2
push 0x20
call fcn.004673f0
mov eax, dword [esp + 0x5c]
add esp, 0x18
test eax, eax
je 0x4969ed
mov esi, eax
push esi
call fcn.004962c0
push eax
push 1
call fcn.00473bc0
mov eax, dword [esp + 0x1c]
add esp, 0xc
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret
call fcn.004671d0
push str.BIO_lookup_ex
push 0x2c9
push str.crypto_bio_b_addr.c
call fcn.00467260
push 0
push 0x41
push 0x20
call fcn.004673f0
mov eax, dword [esp + 0x28]
add esp, 0x18
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x496ac0
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x5e8288], 0
jne 0x496b59
push 0x190
push 0
push 0x5e80f8
mov dword [0x5e8288], 1
call fcn.0055bfc0
add esp, 0xc
push 0x5e80f8
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x496b59
call fcn.004671d0
push str.BIO_sock_init
push 0x8a
push str.crypto_bio_b_sock.c
call fcn.00467260
add esp, 0xc
push str.calling_wsastartup__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.004673f0
call fcn.004671d0
push str.BIO_sock_init
push 0x8c
push str.crypto_bio_b_sock.c
call fcn.00467260
push 0
push 0x7a
push 0x20
call fcn.004673f0
add esp, 0x24
or eax, 0xffffffff
ret
mov eax, 1
ret
Function at 0x496b80
Capabilities:
Set socket configuration

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jge 0x496bd6
call fcn.004671d0
push str.BIO_socket_ioctl
push 0xc7
push str.crypto_bio_b_sock.c
call fcn.00467260
add esp, 0xc
push str.calling_ioctlsocket__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.004673f0
add esp, 0xc
xor eax, eax
test esi, esi
sete al
pop esi
ret

Function at 0x497ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.0047b840
mov ebp, eax
add esp, 4
test ebp, ebp
jg 0x497ada
xor eax, eax
jmp 0x497add
lea eax, [ebp - 1]
push 0x13b
lea eax, [eax + eax*2]
lea ecx, [eax*8 + 0x20]
push str.cryptopropertyproperty_parse.c
push ecx
call fcn.00466b70
mov edi, eax
add esp, 0xc
test edi, edi
je 0x497b63
push ebx
push esi
call fcn.0047b8b0
and dword [edi + 4], 0xfffffffe
add esp, 4
xor ebx, ebx
test ebp, ebp
jle 0x497b60
lea esi, [edi + 0x14]
mov edx, dword [esp + 0x14]
push ebx
push edx
call fcn.0047b850
mov ecx, dword [eax]
mov dword [esi - 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esi - 8], edx
mov ecx, dword [eax + 8]
mov dword [esi - 4], ecx
mov edx, dword [eax + 0xc]
mov dword [esi], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 4], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 8], edx
mov eax, dword [edi + 4]
mov ecx, dword [esi]
or ecx, eax
xor ecx, eax
and ecx, 1
xor ecx, eax
inc ebx
add esp, 8
add esi, 0x18
cmp ebx, ebp
mov dword [edi + 4], ecx
jl 0x497b17
mov dword [edi], ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4a0ea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [esp + 0x10]
mov eax, edi
and eax, 1
add esi, ecx
add edx, ecx
test ecx, ecx
je 0x4a0ed5
push ebx
lea esp, [esp]
movzx ebx, byte [edx - 1]
dec edx
xor ebx, edi
add eax, ebx
dec esi
dec ecx
mov byte [esi], al
shr eax, 8
test ecx, ecx
jne 0x4a0ec0
pop ebx
pop edi
pop esi
ret

Function at 0x4a7760
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push ebp
lea ecx, [ebx + 0xc]
push esi
lea eax, [edx + 4]
sub ebx, edx
mov ebp, 4
mov esi, dword [eax - 4]
mov edx, dword [ecx - 0xc]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax - 4], esi
xor dword [ecx - 0xc], edx
mov esi, dword [eax]
mov edx, dword [ebx + eax]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax], esi
xor dword [ebx + eax], edx
mov esi, dword [eax + 4]
mov edx, dword [ecx - 4]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 4], esi
xor dword [ecx - 4], edx
mov esi, dword [eax + 8]
mov edx, dword [ecx]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 8], esi
xor dword [ecx], edx
add eax, 0x10
add ecx, 0x10
sub ebp, 1
jne 0x4a7772
pop esi
pop ebp
pop ebx
ret
Function at 0x4b5f90
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x178
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x188]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x198]
push edi
mov edi, dword [esp + 0x190]
push 0
push str.SHA512
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
call fcn.00475db0
add esp, 0xc
mov ebp, eax
call fcn.00475120
mov ebx, eax
mov dword [esp + 0x18], 0
test ebp, ebp
je 0x4b6192
test ebx, ebx
je 0x4b6192
push 0
push ebp
push ebx
call fcn.00475de0
add esp, 0xc
test eax, eax
je 0x4b6192
push 0x20
push esi
push ebx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4b6192
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc8]
push eax
push ebx
call fcn.00475240
add esp, 0xc
test eax, eax
je 0x4b6192
mov cl, byte [esp + 0xe3]
and byte [esp + 0xc4], 0xf8
push 0
and cl, 0x3f
or cl, 0x40
push ebp
push ebx
mov byte [esp + 0xef], cl
call fcn.00475de0
add esp, 0xc
test eax, eax
je 0x4b6192
push 0x20
lea edx, [esp + 0xe8]
push edx
push ebx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4b6192
mov eax, dword [esp + 0x194]
push eax
push edi
push ebx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4b6192
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x108]
push edx
push ebx
call fcn.00475240
add esp, 0xc
test eax, eax
je 0x4b6192
lea esi, [esp + 0x104]
call fcn.004af7b0
mov ecx, esi
lea edx, [esp + 0x24]
call fcn.004add30
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x24]
call fcn.004ad190
push 0
push ebp
push ebx
call fcn.00475de0
add esp, 0xc
test eax, eax
je 0x4b6192
push 0x20
mov edi, esi
push edi
push ebx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4b6192
mov eax, dword [esp + 0x20]
push 0x20
push eax
push ebx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4b6192
mov ecx, dword [esp + 0x194]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4b6192
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x148]
push ecx
push ebx
call fcn.00475240
add esp, 0xc
test eax, eax
je 0x4b6192
lea esi, [esp + 0x144]
call fcn.004af7b0
mov edx, esi
push edx
add edi, 0x20
push edi
lea edx, [esp + 0x10c]
lea ecx, [esp + 0xcc]
call fcn.004b19e0
add esp, 8
mov dword [esp + 0x18], 1
lea eax, [esp + 0x104]
push 0x40
push eax
call fcn.0046b340
lea ecx, [esp + 0xcc]
push 0x40
push ecx
call fcn.0046b340
push ebp
call fcn.004754f0
push ebx
call fcn.00475650
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x30]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a67a
add esp, 0x178
ret
Function at 0x4b6580
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0xe4
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xec]
push esi
mov esi, dword [esp + 0xec]
push edi
lea ecx, [esp + 0xa8]
push ecx
push 0x20
push eax
call fcn.004f4240
mov dl, byte [esp + 0xd3]
and byte [esp + 0xb4], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esp + 0xd3], dl
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x14]
call fcn.004add30
lea edi, [esp + 0x14]
call fcn.004ad190
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.0046b340
mov ecx, dword [esp + 0xfc]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.0055a67a
add esp, 0xe4
ret
Function at 0x4b6650
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
mov byte [esp + 0x14b], cl
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.004add30
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
add edx, eax
sub eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x90]
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xbc]
add esi, edx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc0]
add edi, esi
sub ecx, dword [esp + 0x90]
sub edx, dword [esp + 0x94]
sub esi, dword [esp + 0x98]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xc4]
add ebx, edi
sub edi, dword [esp + 0x9c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xc8]
add ebx, ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xcc]
add ebx, ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xd0]
add ebx, ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xd4]
add ebx, ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd4]
add ebp, ebx
sub eax, dword [esp + 0xac]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], eax
sub ebx, dword [esp + 0xb0]
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], ebx
call fcn.004abd70
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edx
call fcn.004a9af0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.004a9790
lea ecx, [esp + 0x13c]
push 0x20
push ecx
call fcn.0046b340
mov ecx, dword [esp + 0x164]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a67a
add esp, 0x140
ret
Function at 0x4b89a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x68
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
push ebp
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov ebp, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], 0
call fcn.00467c20
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
call fcn.004c60b0
push ebp
push 0
push ebx
mov dword [esp + 0x3c], eax
call fcn.004f74c0
add esp, 0x14
test eax, eax
je 0x4b8af5
jmp 0x4b8a24
mov esi, dword [esp + 0x1c]
inc ebp
cmp dword [esp + 0x80], 0
je 0x4b8a4e
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.00469be0
add esp, 0xc
test eax, eax
jl 0x4b8b09
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
push 0
push esi
push 0
lea eax, [esp + 0x38]
push eax
push ecx
push edx
call fcn.00476250
add esp, 0x18
test eax, eax
je 0x4b8b09
mov eax, dword [esp + 0x14]
cmp eax, edi
jle 0x4b8a82
sub eax, edi
lea esi, [esp + eax + 0x2c]
jmp 0x4b8a86
lea esi, [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp eax, edi
jge 0x4b8aa2
mov ecx, edi
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x30]
push 0
push edx
call fcn.0055bfc0
add esp, 0xc
mov eax, dword [esp + 0x10]
or byte [esi], 0x80
or byte [edi + esi - 1], 1
push eax
push edi
push esi
call fcn.00479a20
add esp, 0xc
test eax, eax
je 0x4b8b09
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ebx
push ecx
push edx
call fcn.004f8200
add esp, 0xc
test eax, eax
jg 0x4b8af8
cmp dword [esp + 0x80], 0
je 0x4b8b02
test eax, eax
jne 0x4b8b09
push ebp
push eax
push ebx
call fcn.004f74c0
add esp, 0xc
test eax, eax
jne 0x4b8a20
inc ebp
jmp 0x4b8b09
mov dword [esp + 8], 1
jmp 0x4b8b09
mov eax, dword [esp + 0x20]
or dword [eax], 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ebp
mov eax, dword [esp + 8]
pop esi
pop ebp
xor ecx, esp
call fcn.0055a67a
add esp, 0x68
ret