joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbabd0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push ebx
mov ebx, edx
push esi
push edi
test ecx, ecx
je 0xbaca7
test ebx, ebx
je 0xbaca7
push 2
push 0
push 0
push 0x401
push ebx
lea esi, [ecx + 0x234]
push 0x1c
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0xbac35
push str.failed_to_get_resolve_local_address
push 0x17bec4
push 0x780
push str.mg_getlocaladdr
push 0x188be0
call fcn.000c0810
add esp, 0x14
mov dword [ebp - 4], eax
cmp word [esi], 0x17
jne 0xbac9d
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0xbac40
sub edi, ecx
cmp byte [esi + 8], al
jne 0xbac9d
cmp byte [esi + 9], al
jne 0xbac9d
cmp byte [esi + 0xa], al
jne 0xbac9d
cmp byte [esi + 0xb], al
jne 0xbac9d
cmp byte [esi + 0xc], al
jne 0xbac9d
cmp byte [esi + 0xd], al
jne 0xbac9d
cmp byte [esi + 0xe], al
jne 0xbac9d
cmp byte [esi + 0x11], al
jne 0xbac9d
cmp byte [esi + 0x10], al
jne 0xbac9d
cmp byte [esi + 0x12], 0xff
jne 0xbac9d
cmp byte [esi + 0x13], 0xff
jne 0xbac9d
cmp edi, 7
jbe 0xbac9d
lea eax, [edi - 7]
push eax
lea eax, [ebx + 7]
push eax
push ebx
call fcn.00152e40
add esp, 0xc
mov byte [ebx + edi - 7], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_civetweb_connection_or_buffer_object
push 0x17bec4
push 0x770
push str.mg_getlocaladdr
push 0x188be0
call fcn.000c0810
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebp - 8]
mov esi, 3
nop dword [eax]
push 2
push esi
push edi
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0xbb8ac
sub esi, eax
add edi, eax
test esi, esi
jg 0xbb850
lea ecx, [ebp - 8]
movzx eax, word [ecx]
cmp ax, 0x4547
jne 0xbb894
movzx eax, byte [ecx + 2]
cmp al, 0x54
jne 0xbb894
pop edi
xor al, al
mov byte [ebx + 0x44], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
mov byte [ebx + 0x44], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
Function at 0xbd2f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], edx
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov ebx, 1
mov dword [ebp - 0x38], 0x17
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0xbd434
mov eax, dword [ebp + ecx*4 - 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push edx
push 0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x1c], 1
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0xbd3a8
push 0
push 0x400
push 0x1ab260
push 0x400
push eax
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x1ab260
push str.failed_get_wildcard_addresses___s
push 0xce9
push str.fr_listen_init
push 0x188be0
call fcn.000c0810
add esp, 0x14
mov ebx, eax
jmp 0xbd421
mov esi, dword [ebp - 0x28]
mov ebx, 1
test esi, esi
je 0xbd41a
test ebx, ebx
je 0xbd417
mov eax, dword [esi + 0x10]
mov dword [edi + 0x20], eax
lea eax, [edi + 4]
push dword [esi + 0x10]
push dword [esi + 0x18]
push eax
call fcn.00153810
add esp, 0xc
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
test eax, eax
je 0xbd410
xor edx, edx
mov ecx, edi
cmp dword [esi + 4], 0x17
push 1
sete dl
call fcn.000bd450
add esp, 4
test eax, eax
je 0xbd40e
push dword [edi]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
jmp 0xbd410
xor ebx, ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0xbd3b4
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 2
jb 0xbd327
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
Function at 0xbd450
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xf000
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
test edx, edx
je 0xbd49b
cmp dword [ebp + 8], 0
push 4
je 0xbd533
lea eax, [ebp - 0xc]
push eax
push 0x1b
push 0x29
push dword [esi]
call edi
cmp dword [ebp + 8], 0
lea eax, [ebp - 8]
jne 0xbd4a7
lea eax, [ebp - 0xc]
push 4
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi]
call edi
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1001
push 0xffff
push dword [esi]
call edi
test eax, eax
jne 0xbd51e
push eax
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0xbd501
push str.failed_to_set_cloexec_flag_on_socket
push 0x17bec4
push 0x348
push str.set_fd_cloexec
push 0x188be0
call fcn.000c0810
add esp, 0x14
test eax, eax
jne 0xbd51e
push dword [esi + 0x20]
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0xbd54a
mov dword [0x1aa1fc], 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 8]
push eax
push 0x1b
push 0x29
push dword [esi]
call edi
jmp 0xbd4a4
push 0x40
push dword [esi]
call dword [sym.imp.WS2_32.dll_listen]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
and eax, 1
pop esi
call fcn.00150cb2
mov esp, ebp
pop ebp
ret

Function at 0xbd570
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
push edx
je 0xbd5f6
mov eax, 0x17
mov dword [esi + 0x20], 0x1c
mov word [esi + 4], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 0x17
mov word [esi + 6], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
test eax, eax
je 0xbd5e5
push 0
mov edx, 1
mov ecx, esi
call fcn.000bd450
add esp, 4
test eax, eax
je 0xbd5e0
push dword [esi]
call dword [sym.imp.WS2_32.dll_closesocket]
push str.failed_to_bind_ipv6_socket
push 0x17bec4
mov dword [esi], 0xffffffff
push 0xd5d
jmp 0xbd662
xor eax, eax
pop esi
pop ebp
ret
push str.failed_to_create_ipv6_socket
push 0x17bec4
push 0xd64
jmp 0xbd662
mov eax, 2
mov dword [esi + 0x20], 0x10
mov word [esi + 4], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esi + 6], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
test eax, eax
je 0xbd653
push 0
xor edx, edx
mov ecx, esi
call fcn.000bd450
add esp, 4
test eax, eax
je 0xbd5e0
push dword [esi]
call dword [sym.imp.WS2_32.dll_closesocket]
push str.failed_to_bind_ipv4_socket
push 0x17bec4
mov dword [esi], 0xffffffff
push 0xd6f
jmp 0xbd662
push str.failed_to_create_ipv4_socket
push 0x17bec4
push 0xd76
push str.fr_listen_addr
push 0x188be0
call fcn.000c08e0
add esp, 0x14
pop esi
pop ebp
ret
Function at 0xbdc70
Capabilities:
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 1
push esi
push edi
mov edi, ecx
cmp eax, 0xffffffff
jne 0xbdca7
push str.invalid_socket_file_descriptor
push 0x17bec4
push 0xe79
jmp 0xbdd99
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 8]
push 4
push ecx
push 1
push 6
push eax
call esi
test eax, eax
je 0xbdced
push dword [ebp + 8]
push str.failed_to_disable_nagles_algorithm_for_socket__d
push 0xe7b
push str.fr_worker_start
push 0x188be0
call fcn.000c08e0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 8]
push eax
push 8
push 0xffff
push dword [ebp + 8]
call esi
test eax, eax
je 0xbdd32
push dword [ebp + 8]
push str.failed_to_enable_tcp_keepalive_for_socket__d
push 0xe7d
push str.fr_worker_start
push 0x188be0
call fcn.000c08e0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xea60
push eax
push 0x1005
push 0xffff
push dword [ebp + 8]
call esi
test eax, eax
jns 0xbdd61
push dword [ebp + 8]
push str.failed_to_set_send_timeout_for_socket__d
push 0xe7f
jmp 0xbdd99
mov ecx, dword [ebp + 8]
call fcn.000b9680
test eax, eax
je 0xbdd7c
push dword [ebp + 8]
push str.failed_to_set_close_on_exec_flag_for_socket__d
push 0xe81
jmp 0xbdd99
mov edx, dword [edi]
lea ecx, [edi + 8]
call fcn.000ba2f0
test eax, eax
je 0xbddbb
push str.failed_to_create_connection_object
push 0x17bec4
push 0xe83
push str.fr_worker_start
push 0x188be0
call fcn.000c0810
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
movups xmm0, xmmword [ebp + 8]
push 0
push 0
movups xmmword [eax + 0x230], xmm0
push edi
movups xmm0, xmmword [ebp + 0x18]
push 0xbc7b0
push 0
movups xmmword [eax + 0x240], xmm0
push 0
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [eax + 0x250], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [eax + 0x260], xmm0
movq xmm0, qword [ebp + 0x48]
movq qword [eax + 0x270], xmm0
mov esi, dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0xbde28
push str.failed_to_start_the_worker_thread
push 0x17bec4
push 0xe8b
jmp 0xbdd99
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
Function at 0xbdf50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
push edi
mov edi, ecx
test ebx, ebx
je 0xbe04f
cmp dword [ebx], 0
jne 0xbe04f
test edi, edi
je 0xbe04f
test eax, eax
je 0xbe04f
push 1
push 0x8a
call fcn.001591ee
mov esi, eax
add esp, 8
test esi, esi
je 0xbe04c
push 0x18a6fc
lea eax, [ebp - 8]
push edi
push eax
call fcn.0015ca70
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
je 0xbe018
push eax
push 0x8a
push 1
push esi
call fcn.0015cc83
add esp, 0x10
cmp eax, 0x8a
jne 0xbe008
push dword [ebp - 8]
call fcn.0015c92f
mov eax, dword [ebp - 0xc]
add esp, 4
mov dword [eax], 0x8a
xor eax, eax
mov dword [ebx], esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
test eax, eax
je 0xbe018
push eax
call fcn.0015c92f
add esp, 4
push esi
call fcn.00158d47
add esp, 4
push edi
push str.failed_to_load_certificate_on__s
push 0x68
push str.fr_dh_load
push str.fr_crypt.c
call fcn.000c0810
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push eax
push ebx
push edi
push str.invalid_path__p_or_certificate___p___zu_
push 0x5b
push str.fr_dh_load
push str.fr_crypt.c
call fcn.000c0810
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret

Function at 0xc3760
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x14], 0x67452301
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x10], 0xefcdab89
mov dword [ebp - 0xc], 0x98badcfe
mov dword [ebp - 8], 0x10325476
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.000e02b0
add esp, 4
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x60]
call fcn.000e0330
movzx eax, byte [ebp - 0xa0]
movzx ecx, byte [ebp - 0x9f]
shl eax, 8
or eax, ecx
mov dword [esi], 0
movzx ecx, byte [ebp - 0x9e]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x9d]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
Function at 0xc3c40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x88], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
mov edi, ecx
push 3
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x18]
push 0x18b2dc
push 0x18b2dc
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x24], 0x67452301
mov dword [ebp - 0x20], 0xefcdab89
mov dword [ebp - 0x1c], 0x98badcfe
mov dword [ebp - 0x18], 0x10325476
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
call fcn.00159a40
add esp, 0xc
test eax, eax
je 0xc3cc6
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
push ebx
push 7
push str.DES_CBC
push edi
call fcn.00159a40
add esp, 0xc
test eax, eax
jne 0xc3ce4
mov ecx, 8
mov ebx, ecx
jmp 0xc3d58
push 0xc
push str.DES_EDE3_CBC
push edi
call fcn.00159a40
add esp, 0xc
test eax, eax
jne 0xc3d00
lea ecx, [eax + 0x18]
lea ebx, [eax + 8]
jmp 0xc3d58
push 0xb
push str.AES_128_CBC
push edi
call fcn.00159a40
add esp, 0xc
test eax, eax
jne 0xc3d1d
mov ecx, 0x10
mov ebx, ecx
jmp 0xc3d58
push 0xb
push str.AES_192_CBC
push edi
call fcn.00159a40
add esp, 0xc
test eax, eax
jne 0xc3d36
lea ecx, [eax + 0x18]
jmp 0xc3d53
push 0xb
push str.AES_256_CBC
push edi
call fcn.00159a40
add esp, 0xc
test eax, eax
jne 0xc3e28
mov ecx, 0x20
mov ebx, 0x10
lea eax, [ebx + ecx]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], eax
test eax, eax
jle 0xc3e0f
nop dword [eax]
mov edi, 0x10
test esi, esi
je 0xc3d88
push edi
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.000e02b0
add esp, 4
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x70]
call fcn.000e02b0
mov eax, dword [ebp - 0x88]
add esp, 4
test eax, eax
je 0xc3db5
push 8
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.000e02b0
add esp, 4
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.000e0330
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0xc3df2
mov esi, edi
lea eax, [ebp - 0x14]
cmp ecx, esi
cmovl esi, ecx
push esi
push eax
mov eax, dword [ebp - 0x8c]
sub eax, ecx
add eax, dword [ebp - 0x74]
push eax
call fcn.00153810
add dword [ebp - 0x78], esi
add esp, 0xc
sub dword [ebp - 0x7c], esi
sub edi, esi
mov esi, dword [ebp - 0x78]
test ebx, ebx
je 0xc3e06
test edi, edi
je 0xc3e06
cmp ebx, edi
cmovl edi, ebx
add esi, edi
sub ebx, edi
mov dword [ebp - 0x78], esi
cmp esi, dword [ebp - 0x80]
jl 0xc3d70
xor eax, eax
cmp esi, dword [ebp - 0x80]
pop ebx
pop edi
cmove eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
Function at 0xc4050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x18], esi
test edx, edx
je 0xc4134
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edx, 0x20
jb 0xc410f
lea eax, [ebx - 1]
add eax, edx
cmp esi, eax
ja 0xc4090
lea eax, [edx - 1]
add eax, esi
cmp eax, ebx
jae 0xc410f
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0xc40a2
lea eax, [edx - 1]
add eax, esi
cmp eax, edi
jae 0xc410f
mov ebx, esi
mov dword [ebp - 4], edx
sub ebx, edi
mov eax, edx
mov dword [ebp - 8], ebx
and eax, 0x1f
mov ebx, dword [ebp + 0xc]
mov edx, ebx
sub dword [ebp - 4], eax
sub edx, edi
mov dword [ebp - 0xc], edx
mov eax, edi
mov edx, esi
mov esi, dword [ebp - 0xc]
sub edx, ebx
lea edi, [ebx + 0x10]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 8]
movups xmm0, xmmword [eax]
mov ebx, dword [ebp - 0x10]
add ecx, 0x20
lea eax, [eax + 0x20]
lea edi, [edi + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [edx + eax - 0x20], xmm1
movups xmm1, xmmword [eax - 0x10]
movups xmm0, xmmword [edi - 0x20]
pxor xmm1, xmm0
movups xmmword [ebx + edi - 0x20], xmm1
mov ebx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 4]
jb 0xc40d0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
cmp ecx, edx
jae 0xc4132
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
nop dword [eax]
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0xc4120
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xc4940
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x18], 0x67452301
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x14], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
mov dword [ebp - 8], 0xc3d2e1f0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.000c9010
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, esi
call fcn.000c90c0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00150cb2
mov esp, ebp
pop ebp
ret

Function at 0xc49c0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x64], 0x6a09e667
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0xbb67ae85
mov dword [ebp - 0x5c], 0x3c6ef372
mov dword [ebp - 0x58], 0xa54ff53a
mov dword [ebp - 0x54], 0x510e527f
mov dword [ebp - 0x50], 0x9b05688c
mov dword [ebp - 0x4c], 0x1f83d9ab
mov dword [ebp - 0x48], 0x5be0cd19
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.000e5a70
add esp, 4
test eax, eax
jne 0xc4a3d
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.000e5b20
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
Function at 0xc7b40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ecx + 0x150]
mov dword [ebp - 4], ecx
lea ebx, [ecx + 0xd0]
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x14], ebx
call fcn.000c7ad0
test eax, eax
jne 0xc7d42
movzx eax, byte [ecx + 0x210]
cmp eax, 4
ja case.0xc7b7b.3
jmp dword [eax*4 + 0xc7d4c]
mov esi, dword [ebp + 0xc]
mov edi, 0x40
push esi
cmp esi, edi
jbe 0xc7c1e
mov edx, dword [ebp + 8]
call fcn.000e02b0
mov ecx, dword [ebp - 4]
add esp, 4
mov edx, ebx
call fcn.000e0330
lea esi, [edi - 0x30]
jmp 0xc7c5a
mov esi, dword [ebp + 0xc]
mov edi, 0x40
push esi
cmp esi, edi
jbe 0xc7c1e
mov edx, dword [ebp + 8]
call fcn.000c9010
mov ecx, dword [ebp - 4]
add esp, 4
mov edx, ebx
call fcn.000c90c0
lea esi, [edi - 0x2c]
jmp 0xc7c5a
mov esi, dword [ebp + 0xc]
mov edi, 0x40
push esi
cmp esi, edi
jbe 0xc7c1e
mov edx, dword [ebp + 8]
call fcn.000e5a70
add esp, 4
test eax, eax
jne 0xc7d42
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.000e5b20
test eax, eax
jne 0xc7d42
lea esi, [edi - 0x20]
jmp 0xc7c5a
mov esi, dword [ebp + 0xc]
mov edi, 0x80
push esi
cmp esi, edi
ja 0xc7c30
push dword [ebp + 8]
push ebx
call fcn.00153810
add esp, 0xc
cmp esi, edi
jae 0xc7c6d
jmp 0xc7c5a
mov edx, dword [ebp + 8]
call fcn.000c78a0
add esp, 4
test eax, eax
jne 0xc7d42
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.000c79a0
test eax, eax
jne 0xc7d42
mov esi, 0x40
mov eax, edi
sub eax, esi
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00153d90
add esp, 0xc
xor esi, esi
test edi, edi
je 0xc7d34
mov edx, dword [ebp - 8]
cmp edi, 0x20
jb 0xc7d10
lea eax, [edx - 1]
lea ecx, [ebx - 1]
add eax, edi
add ecx, edi
cmp ebx, eax
ja 0xc7c95
cmp ecx, edx
jae 0xc7d10
movaps xmm1, xmmword [0x19f060]
mov eax, edi
movaps xmm2, xmmword [0x19f040]
and eax, 0x1f
mov ecx, edi
sub ecx, eax
mov eax, ebx
mov dword [ebp - 4], ecx
mov ecx, edx
sub ecx, ebx
mov dword [ebp - 0xc], ecx
lea ecx, [edx + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
pxor xmm0, xmm1
movups xmmword [edx + eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm1
movups xmmword [ebx + esi], xmm0
add esi, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm2
movups xmmword [eax - 0x10], xmm0
cmp esi, ecx
jb 0xc7cd0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cmp esi, edi
jae 0xc7d34
sub edx, ebx
lea ecx, [esi + ebx]
sub edi, esi
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
xor al, 0x5c
mov byte [ecx + edx - 1], al
xor byte [ecx - 1], 0x36
sub edi, 1
jne 0xc7d20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc90c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
mov ecx, dword [esi + 4]
lea ebx, [esi + 0xc]
mov edi, dword [esi]
lea eax, [edi + ecx]
mov dword [esi + 4], eax
cmp eax, ecx
jae 0xc90e1
inc dword [esi + 8]
mov byte [edi + ebx], 0x80
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
cmp ecx, 0x38
jbe 0xc913d
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ecx + ebx]
push 0
push eax
call fcn.00153d90
add esp, 0xc
mov dword [esi], 0x40
mov edx, ebx
mov edi, 0x10
mov eax, dword [edx]
lea edx, [edx + 4]
mov ecx, eax
rol eax, 8
ror ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff00
or ecx, eax
mov dword [edx - 4], ecx
sub edi, 1
jne 0xc9112
mov ecx, esi
call fcn.000c8090
mov dword [esi], edi
mov ecx, dword [esi]
mov eax, 0x38
sub eax, ecx
push eax
push 0
lea eax, [ecx + ebx]
push eax
call fcn.00153d90
mov edx, dword [esi + 4]
add esp, 0xc
mov eax, dword [esi + 8]
mov ecx, edx
shr ecx, 0x1d
mov edi, 0x10
lea eax, [ecx + eax*8]
mov dword [esi + 8], eax
lea eax, [edx*8]
mov dword [esi + 4], eax
mov edx, ebx
mov eax, dword [edx]
lea edx, [edx + 4]
mov ecx, eax
rol eax, 8
ror ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff00
or ecx, eax
mov dword [edx - 4], ecx
sub edi, 1
jne 0xc9177
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x3c], eax
call fcn.000c8090
mov eax, dword [esi + 0x4c]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x4c], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x50], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x58]
mov dword [esi + 0x54], ecx
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], ecx
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [esi + 0x5c], ecx
movups xmm0, xmmword [esi + 0x4c]
mov ecx, dword [ebp - 4]
movups xmmword [ecx], xmm0
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x10], eax
xor eax, eax
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov dword [esi + 0x5c], 0xc3d2e1f0
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret