joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483c40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
push esi
push edi
push ecx
lea edi, [ebp - 0x1b4]
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x67a114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00409580
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xff
mov ecx, 0x202
mov word [ebp - 0x1c], cx
mov esi, esp
lea edx, [ebp - 0x1b0]
push edx
movzx eax, word [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp esi, esp
call fcn.0048678d
test eax, eax
je 0x483d3b
mov ecx, 0x698644
call fcn.00409340
test eax, eax
je 0x483d37
call fcn.005b93a5
mov ecx, dword [eax]
push ecx
call fcn.005bdc74
add esp, 4
push eax
push 0x5e9ca4
push 0x8c
push str.net_client_t
mov ecx, 0x698644
call fcn.00409340
mov edx, 0xd0
imul ecx, edx, 0
add eax, ecx
push eax
call fcn.004835a0
add esp, 0x14
xor edx, edx
jne 0x483cec
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x483d80]
call fcn.00486739
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004862cc
add esp, 0x1b4
cmp ebp, esp
call fcn.0048678d
mov esp, ebp
pop ebp
ret

Function at 0x484020
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jae 0x48403c
or eax, 0xffffffff
jmp 0x48405b
mov esi, esp
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.0048678d
pop esi
add esp, 4
cmp ebp, esp
call fcn.0048678d
mov esp, ebp
pop ebp
ret 8

Function at 0x484070
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jae 0x48408c
or eax, 0xffffffff
jmp 0x4840ab
mov esi, esp
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.0048678d
pop esi
add esp, 4
cmp ebp, esp
call fcn.0048678d
mov esp, ebp
pop ebp
ret 8
Function at 0x493870
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x698a08], 0
jne 0x493909
push 0x190
push 0
push 0x698a10
mov dword [0x698a08], 1
call fcn.005aab10
add esp, 0xc
push 0x698a10
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x493909
call fcn.00493aa0
push str.BIO_sock_init
push 0x94
push str.crypto_bio_bio_sock.c
call fcn.00493ba0
add esp, 0xc
push str.calling_wsastartup__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.00493c50
call fcn.00493aa0
push str.BIO_sock_init
push 0x96
push str.crypto_bio_bio_sock.c
call fcn.00493ba0
push 0
push 0x7a
push 0x20
call fcn.00493c50
add esp, 0x24
or eax, 0xffffffff
ret
mov eax, 1
ret

Function at 0x493910
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x493965
call fcn.00493aa0
push str.BIO_socket_ioctl
push 0xd1
push str.crypto_bio_bio_sock.c
call fcn.00493ba0
add esp, 0xc
push str.calling_ioctlsocket__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.00493c50
add esp, 0xc
xor eax, eax
test esi, esi
pop esi
sete al
ret

Function at 0x493970
Capabilities:
Get socket status

Disassembly:
mov eax, 0x110
call fcn.00486420
mov eax, dword [0x67a114]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
mov ebp, dword [esp + 0x11c]
push edi
mov edi, dword [esp + 0x11c]
cmp edi, 0x3f
ja 0x493a5d
push esi
mov esi, dword [esp + 0x128]
mov eax, esi
or eax, dword [esp + 0x12c]
jne 0x4939d1
pop esi
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004862cc
add esp, 0x110
ret
push 0
call fcn.005ae953
add esp, 4
cmp dword [esp + 0x12c], edx
jg 0x493a04
jl 0x4939ea
cmp esi, eax
jae 0x493a04
pop esi
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004862cc
add esp, 0x110
ret
sub esi, eax
mov dword [esp + 0x18], edi
xor ecx, ecx
mov dword [esp + 0x14], 1
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
push eax
test ebp, ebp
mov dword [esp + 0x10], esi
push 0
lea eax, [esp + 0x1c]
cmovne eax, ecx
test ebp, ebp
push eax
lea eax, [esp + 0x20]
cmove eax, ecx
push eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004862cc
add esp, 0x110
ret
mov ecx, dword [esp + 0x114]
or eax, 0xffffffff
pop edi
pop ebp
xor ecx, esp
call fcn.004862cc
add esp, 0x110
ret
Function at 0x495a40
Capabilities:
Get common file path

Disassembly:
mov eax, 0x230
call fcn.00486420
mov eax, dword [0x67a114]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x698cc8], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x495450
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x4957f0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00495400
jne 0x495b9b
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x495b91
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.005b9c25
push str.ws2_32
lea eax, [esp + 0x38]
push 0x10c
push eax
call fcn.005c06fd
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x40]
add esp, 0x18
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x495b0f
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x495b56
push edi
call ebp
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.005b9c25
push str.wship6
lea eax, [esp + 0x38]
push 0x10c
push eax
call fcn.005c06fd
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call esi
mov edi, eax
test edi, edi
je 0x495b8d
push str.getaddrinfo
push edi
call ebx
test eax, eax
je 0x495b8a
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x495b8a
inc esi
cmp esi, 3
jl 0x495b58
mov eax, dword [esp + 0x14]
mov dword [0x67a430], eax
mov eax, dword [esp + 0x1c]
mov dword [0x67a438], eax
mov eax, dword [esp + 0x24]
mov dword [fcn.00495400], eax
jmp 0x495b8d
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x698cc8], 1
movzx eax, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov eax, dword [eax*8 + 0x67a430]
call fcn.004862cc
add esp, 0x230
ret 4
Function at 0x495bd0
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x820
call fcn.00486420
mov eax, dword [0x67a114]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
mov ebx, dword [esp + 0x83c]
lea eax, [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x830]
push edi
push 0x401
push 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0
call fcn.005aab10
push 0x401
lea eax, [esp + 0x438]
push 0
push eax
call fcn.005aab10
push 0x400
push esi
lea eax, [esp + 0x44]
push 0x401
push eax
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0x450]
call fcn.005c0dc7
add esp, 0x28
push esi
mov edi, ebx
mov dword [ebx], 0
mov byte [ebp], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x495da5
cmp word [ebx + 8], 2
jne 0x495cc2
cmp word [ebx + 0xa], 4
jne 0x495cc2
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x495cc2
nop word [eax + eax]
push dword [eax]
push dword [esp + 0x844]
push dword [esp + 0x844]
push dword [esp + 0x844]
call fcn.00495e00
mov dword [edi], eax
test eax, eax
je 0x495d50
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x495c90
push 0x400
push dword [ebx]
push 0x401
push ebp
call fcn.005c0dc7
mov ebx, dword [esp + 0x28]
xor esi, esi
add esp, 0x10
cmp dword [ebx], esi
jne 0x495d57
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495ce6
sub ecx, edx
je case.0x495db5.11003
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495d20
test dl, dl
je 0x495d1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495d20
add eax, 2
add ecx, 2
test dl, dl
jne 0x495d00
xor eax, eax
jmp 0x495d25
sbb eax, eax
or eax, 1
test eax, eax
je case.0x495db5.11003
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x10
je case.0x495db5.11003
mov esi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x14], ebp
mov ebp, eax
jmp 0x495c52
mov esi, 8
jmp 0x495dcf
cmp dword [esp + 0x844], esi
je 0x495dcf
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495d65
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.005b9db2
mov edi, eax
add esp, 8
test edi, edi
je 0x495d8d
push ebp
push ebx
push edi
call fcn.005b9c25
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
mov ecx, 8
cmp dword [eax + 0x14], esi
cmove esi, ecx
jmp 0x495dcf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x495db5.11001
jmp dword [eax*4 + 0x495dec]
mov esi, 0x2afa
jmp 0x495dcf
mov esi, 0x2afb
jmp 0x495dcf
mov esi, 0x2af9
mov ecx, dword [esp + 0x82c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004862cc
add esp, 0x820
ret 0x18
Function at 0x4a8000
Capabilities:
Hash data using sha1

Disassembly:
mov eax, 0x40
call fcn.00486420
mov eax, dword [0x67a114]
xor eax, esp
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x48], 0x1d
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x58]
je 0x4a803c
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004862cc
add esp, 0x40
ret
test esi, esi
je 0x4a814b
cmp dword [esp + 0x54], 0x30
jne 0x4a814b
push 0x30
push edi
push esi
call fcn.004a7f20
add esp, 0xc
test eax, eax
jle 0x4a814b
movaps xmm0, xmmword [str.6666666666666666_]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.004a7f20
add esp, 0xc
test eax, eax
je 0x4a814b
lea eax, [esp + 0x30]
push esi
push eax
call fcn.004a7d80
add esp, 8
test eax, eax
je 0x4a814b
push 0x4c
lea eax, [esi + 0x14]
push 0
push eax
call fcn.005aab10
push 0x30
push edi
push esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
call fcn.004a7f20
add esp, 0x18
test eax, eax
jle 0x4a814b
movaps xmm0, xmmword [0x601c60]
lea eax, [esp + 8]
push 0x28
push eax
push esi
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.004a7f20
add esp, 0xc
test eax, eax
je 0x4a814b
push 0x14
lea eax, [esp + 0x34]
push eax
push esi
call fcn.004a7f20
add esp, 0xc
test eax, eax
je 0x4a814b
lea eax, [esp + 0x30]
push 0x14
push eax
call fcn.0049f710
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004862cc
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004862cc
add esp, 0x40
ret
Function at 0x4acc40
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.004e0270
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.005acb50
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x4accf9
call fcn.00493aa0
push str.BIO_new_file
push 0x43
push str.crypto_bio_bss_file.c
call fcn.00493ba0
add esp, 0xc
push esi
push dword [esp + 0x14]
push str.calling_fopen__s___s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
call fcn.00493c50
add esp, 0x14
call fcn.005b93a5
cmp dword [eax], 2
je 0x4accc9
call fcn.005b93a5
cmp dword [eax], 6
je 0x4accc9
mov esi, 0x80002
mov edi, 0x4d
jmp 0x4accd1
mov esi, 0x80
lea edi, [esi - 0x35]
call fcn.00493aa0
push str.BIO_new_file
push edi
push str.crypto_bio_bss_file.c
call fcn.00493ba0
push 0
push esi
push 0x20
call fcn.00493c50
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x6020bc
call fcn.00488b60
mov esi, eax
add esp, 4
test esi, esi
jne 0x4acd1b
push edi
call fcn.005b201b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.00488430
push edi
push ebx
push 0x6a
push esi
call fcn.00488460
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4c1e20
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov eax, 4
call fcn.00486420
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 1
cmp edi, 0xffffffff
jne 0x4c1e68
call fcn.00493aa0
push str.BIO_connect
push 0x54
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
push 0
push 0x87
push 0x20
call fcn.00493c50
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x18]
mov eax, ebx
shr eax, 3
push esi
and eax, 1
push eax
push edi
call fcn.00493910
add esp, 8
test eax, eax
je 0x4c1ef7
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
test bl, 4
je 0x4c1efe
push 4
lea eax, [esp + 0x10]
push eax
push 8
push 0xffff
push edi
call esi
test eax, eax
je 0x4c1efe
call fcn.00493aa0
push str.BIO_connect
push 0x5e
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.00493c50
call fcn.00493aa0
push str.BIO_connect
push 0x60
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
push 0
push 0x89
push 0x20
call fcn.00493c50
add esp, 0x24
pop esi
pop ebx
xor eax, eax
pop edi
pop ecx
ret
test bl, 0x10
je 0x4c1f6f
push 4
lea eax, [esp + 0x10]
push eax
push 1
push 6
push edi
call esi
test eax, eax
je 0x4c1f6f
call fcn.00493aa0
push str.BIO_connect
push 0x68
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.00493c50
call fcn.00493aa0
push str.BIO_connect
push 0x6a
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
push 0
push 0x8a
push 0x20
call fcn.00493c50
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ecx
ret
mov esi, dword [esp + 0x18]
push esi
call fcn.00495040
add esp, 4
push eax
push esi
call fcn.00495030
add esp, 4
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4c1ffb
push eax
call fcn.004c1d30
add esp, 4
test eax, eax
jne 0x4c1ef7
call fcn.00493aa0
push str.BIO_connect
push 0x72
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
add esp, 0xc
push str.calling_connect__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.00493c50
call fcn.00493aa0
push str.BIO_connect
push 0x74
push str.crypto_bio_bio_sock2.c
call fcn.00493ba0
push 0
push 0x67
push 0x20
call fcn.00493c50
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ecx
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ecx
ret
Function at 0x4c2cf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00486420
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x4c2d70
mov cl, byte [edi]
test cl, cl
je 0x4c2d70
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x4c2d20
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x4c2e60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00486420
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
test ebx, ebx
je 0x4c2ee5
mov al, byte [ebx]
test al, al
je 0x4c2ee5
push ebp
push edi
mov ebp, 0x100
movsx eax, al
push eax
call fcn.004d5690
movd xmm1, dword [esp + 0x14]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, ebp
add esp, 4
mov ecx, edi
add ebp, 0x100
shr ecx, 2
xor ecx, edi
imul edi, edi
and ecx, 0xf
sub edx, ecx
shl esi, cl
movd xmm0, edx
psrlq xmm1, xmm0
movd eax, xmm1
or eax, esi
xor eax, edi
mov esi, eax
mov al, byte [ebx]
mov dword [esp + 0x10], esi
test al, al
jne 0x4c2e87
mov eax, esi
pop edi
shr eax, 0x10
pop ebp
xor eax, esi
pop esi
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4cb1a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x4cb269
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4cb1c1
cmp al, 0x6b
jne 0x4cb269
inc ecx
cmp al, 0x6b
jne 0x4cb222
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4cb1e2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4cb1e2
cmp dl, 0xbb
jne 0x4cb1f6
inc eax
cmp eax, esi
jl 0x4cb1d0
sub esi, eax
test eax, eax
jne 0x4cb225
call fcn.00493aa0
push str.RSA_padding_check_X931
push 0x56
jmp 0x4cb202
call fcn.00493aa0
push str.RSA_padding_check_X931
push 0x4e
push str.crypto_rsa_rsa_x931.c
call fcn.00493ba0
push 0
push 0x8a
push 4
call fcn.00493c50
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x4cb257
call fcn.00493aa0
push str.RSA_padding_check_X931
push 0x5f
push str.crypto_rsa_rsa_x931.c
call fcn.00493ba0
push 0
push 0x8b
push 4
call fcn.00493c50
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.005abd00
add esp, 0xc
mov eax, esi
pop esi
ret
call fcn.00493aa0
push str.RSA_padding_check_X931
push 0x43
push str.crypto_rsa_rsa_x931.c
call fcn.00493ba0
push 0
push 0x89
push 4
call fcn.00493c50
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
Function at 0x4ec030
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, byte [esp + 0x10]
movzx eax, cl
push esi
mov esi, dword [esp + 0x10]
and eax, 1
test esi, esi
je 0x4ec072
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
add edi, esi
add ebx, esi
movzx edx, byte [edi - 1]
lea edi, [edi - 1]
movzx ecx, cl
lea ebx, [ebx - 1]
xor edx, ecx
mov cl, byte [esp + 0x1c]
add eax, edx
mov byte [ebx], al
shr eax, 8
sub esi, 1
jne 0x4ec051
pop edi
pop ebx
pop esi
ret
Function at 0x4f70f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x4f7117
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x4f7106
pop edi
movzx eax, dl
pop esi
ret
Function at 0x4fe040
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.00486420
mov eax, dword [0x67a114]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
push ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xcc]
push edi
mov edi, dword [esp + 0xc0]
push ecx
mov ebp, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
call fcn.00497e50
push ebp
push 0
push ebx
mov dword [esp + 0x2c], eax
call fcn.00533790
add esp, 0x10
test eax, eax
je 0x4fe241
mov ebx, dword [esp + 0xcc]
inc ebp
test ebx, ebx
mov ebx, dword [esp + 0x10]
je 0x4fe0f4
push 0
push esi
push ebx
push dword [esp + 0x28]
call fcn.004f4c50
add esp, 0x10
test eax, eax
jle 0x4fe242
push esi
push ebx
push edi
call fcn.005abd00
push esi
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.005abd00
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
js 0x4fe11d
add byte [edi + eax], 1
jne 0x4fe11d
sub eax, 1
jns 0x4fe112
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push 0
push eax
push esi
push ebx
call fcn.0048b310
add esp, 0x18
test eax, eax
je 0x4fe242
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x74]
push 0
push eax
push esi
push edi
call fcn.0048b310
add esp, 0x18
test eax, eax
je 0x4fe242
xor eax, eax
test esi, esi
jle 0x4fe1ed
cmp esi, 0x40
jb 0x4fe1d9
mov ecx, esi
and ecx, 0x8000003f
jns 0x4fe179
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, esi
sub edx, ecx
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0x2c]
movups xmm1, xmmword [esp + eax + 0x6c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x2c], xmm1
movups xmm0, xmmword [esp + eax + 0x3c]
movups xmm1, xmmword [esp + eax + 0x7c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x3c], xmm1
movups xmm0, xmmword [esp + eax + 0x4c]
movups xmm1, xmmword [esp + eax + 0x8c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x4c], xmm1
movups xmm0, xmmword [esp + eax + 0x5c]
movups xmm1, xmmword [esp + eax + 0x9c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x5c], xmm1
add eax, 0x40
cmp eax, edx
jl 0x4fe180
cmp eax, esi
jge 0x4fe1ed
nop dword [eax]
mov cl, byte [esp + eax + 0x6c]
xor byte [esp + eax + 0x2c], cl
inc eax
cmp eax, esi
jl 0x4fe1e0
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
or byte [esp + 0x2c], 0x80
or byte [esp + esi + 0x2b], 1
push ebx
push esi
push eax
call fcn.004967d0
add esp, 0xc
test eax, eax
je 0x4fe242
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebx
call fcn.005337e0
add esp, 0xc
test eax, eax
jg 0x4fe263
jne 0x4fe242
push ebp
push 0
push dword [esp + 0x20]
mov ebx, 1
call fcn.00533790
add esp, 0xc
test eax, eax
jne 0x4fe0d3
inc ebp
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], ebp
mov ecx, dword [esp + 0xa4]
pop ebp
pop ebx
xor ecx, esp
call fcn.004862cc
add esp, 0xa0
ret
mov eax, 1
jmp 0x4fe244