joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59a710
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fc1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0059a540
mov ebx, eax
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov esi, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
imul ecx, ecx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov edi, eax
shr edi, 0x10
xor edi, eax
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + edi]
and eax, 0x3fff
lea edx, [ebx + eax*8]
mov eax, dword [edx + 8]
test eax, eax
je 0x59a78f
cmp eax, esi
je 0x59a7a7
inc ecx
cmp ecx, 0x4000
jb 0x59a770
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
mov edi, 1
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], edi
je 0x59a7bd
mov edi, eax
mov dword [ebp - 0x10], edi
sub eax, edi
mov dword [edx + 0xc], eax
jne 0x59a7cb
mov dword [edx + 8], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x59a796
mov ecx, dword [0xf2db10]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
nop dword [eax + eax]
mov eax, dword [0xf0a748]
mov ebx, dword [ebx + 4]
cmp eax, dword [ecx + 0x5ac]
jg 0x59a82d
push 0
push 0
push esi
push ebx
call dword [0xf0a744]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
test eax, eax
js 0x59a7f0
sub dword [ebp - 0x10], 1
jne 0x59a7f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0xf0a748
call fcn.006bff11
add esp, 4
cmp dword [0xf0a748], 0xffffffff
jne 0x59a800
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.NtReleaseKeyedEvent
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xf0a748
mov dword [0xf0a744], esi
call fcn.006bfec7
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x59a800
Function at 0x5c6e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x9c
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov dword [ebp - 0x94], ecx
cmp edx, edi
jb 0x5c6fe7
cmp edi, 0x40
ja 0x5c6fe7
lea eax, [ebp - 0x84]
neg eax
lea ecx, [ebp - 0x84]
and eax, 0x3f
add ecx, eax
lea eax, [edi + 0x100]
mov dword [ebp - 0x98], ecx
cmp edx, eax
jbe 0x5c6e76
mov ebx, edx
sub ebx, edi
sub ebx, 0x100
push esi
push edi
xor esi, esi
mov dword [ebp - 0x8c], 0
push esi
push ecx
call fcn.006c2360
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x90], esi
cmp ebx, dword [eax + 0xc]
jae 0x5c6f46
mov ecx, ebx
sub ecx, dword [eax + 8]
mov dword [ebp - 0x88], ecx
nop dword [eax + eax]
mov edi, dword [ebp + 0xc]
mov eax, ebx
xor eax, dword [ebp - 0x94]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp + 0xc]
neg edx
xor ecx, dword [eax + 8]
mov eax, ebx
xor eax, dword [edi + 8]
or ecx, eax
mov eax, edx
or eax, dword [ebp - 0x8c]
xor ecx, ebx
and edx, dword [ebp - 0x90]
shr ecx, 0x1f
or esi, edx
mov edx, dword [ebp - 0x90]
neg ecx
and ecx, eax
mov eax, dword [edi + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x8c], ecx
mov al, byte [eax + ebx]
inc ebx
and al, cl
mov ecx, dword [ebp - 0x98]
or byte [edx + ecx], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
mov eax, dword [ebp + 0xc]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x88], ecx
cmp ebx, dword [eax + 0xc]
jb 0x5c6eb0
mov dword [ebp - 0x88], 0
test edi, edi
je 0x5c6fd1
mov ecx, dword [ebp - 0x98]
mov eax, esi
and eax, 0xffffffdf
mov bl, byte [eax + ecx]
mov eax, esi
or eax, 0x20
mov dl, byte [eax + ecx]
mov ecx, esi
and ecx, 0x20
inc esi
lea eax, [ecx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and al, cl
neg al
movzx eax, al
mov dword [ebp - 0x8c], eax
not eax
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
and cl, dl
mov edx, dword [ebp - 0x88]
and al, bl
or al, cl
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + edx], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
mov dword [ebp - 0x88], edx
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x5c6f54
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
Function at 0x5c8040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006bfd90
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 4]
mov edi, dword [ebp + 0x14]
inc edi
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x5c808a
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 8]
lea eax, [edi + ecx]
cmp eax, edx
jbe 0x5c807a
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [esi + 0x14], ecx
sub edx, ecx
add dword [esi + 0x18], ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], edx
jmp 0x5c808f
cmp edi, dword [esi + 8]
ja 0x5c8072
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push ebx
mov al, byte [ecx + eax - 1]
movzx ebx, al
mov byte [ebp + 0x17], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [eax + 0x3cc]
call fcn.0053e190
push eax
call fcn.0059af20
add esp, 8
test eax, 0x200000
je 0x5c80d5
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 8], eax
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
lea ecx, [ebx + edi]
mov ebx, edx
mov dword [ebp + 8], edx
sub ebx, ecx
mov eax, edx
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, edx
shr ebx, 0x1f
dec ebx
cmp edx, eax
cmovb eax, edx
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x5c8153
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 4]
mov edx, ecx
mov esi, dword [ebp + 8]
shr edx, 0x1f
dec esi
mov dword [ebp - 0xc], edx
add esi, eax
sub ecx, edi
lea esi, [esi - 1]
shr ecx, 0x1f
mov eax, edi
shr eax, 0x1f
inc edi
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esi + 1]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [ebp + 0x17]
xor ecx, eax
and edx, ecx
mov ecx, dword [ebp - 4]
not edx
and ebx, edx
mov edx, dword [ebp - 0xc]
cmp edi, dword [ebp - 8]
jb 0x5c8117
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
not ebx
movzx eax, bl
pop ebx
pop edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [ebp - 4]
neg ecx
inc eax
and eax, ecx
sub edx, eax
mov dword [esi + 8], edx
mov dword [ebp + 8], ecx
not ecx
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
and ecx, 1
or eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5d8140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
call fcn.00619780
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.006c2590
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x5d81f9
push 0x45
push str.crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.005e4620
push 0x75a170
push esi
push 0x764c70
push dword [ebp + 8]
push str.fopen_
push 5
call fcn.005e3dd0
add esp, 0x2c
call fcn.006cc762
cmp dword [eax], 2
je 0x5d81da
call fcn.006cc762
cmp dword [eax], 6
je 0x5d81da
push 0x4e
push str.crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x4c
push str.crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x764c18
call fcn.005d4fb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x5d821c
push edi
call fcn.006d2a7f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push esi
call fcn.005d4970
push edi
push ebx
push 0x6a
push esi
call fcn.005d49a0
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5e1c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x53c
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x538], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x53c], edi
test esi, esi
jne 0x5e1ca1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
push ebx
push 0x766150
push edi
call fcn.00619780
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5e1cce
push 0x62
push str.crypto_rand_randfile.c
push 0x79
push 0x6f
push 0x24
call fcn.005e4620
push edi
jmp 0x5e1e1e
lea eax, [ebp - 0x534]
push eax
push ebx
call fcn.006e14e2
add esp, 4
push eax
call fcn.006e0e80
add esp, 8
test eax, eax
jns 0x5e1d27
push 0x69
push str.crypto_rand_randfile.c
push 0x71
push 0x6f
push 0x24
call fcn.005e4620
push edi
push str.Filename
push 2
call fcn.005e3dd0
push ebx
call fcn.006d2a7f
add esp, 0x24
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x5e1d41
test dword [ebp - 0x52e], 0x8000
mov esi, 0x100
cmovne esi, dword [ebp - 0x520]
push 0
push ebx
call fcn.006e1803
add esp, 8
nop dword [eax]
test esi, esi
jle 0x5e1d64
cmp esi, 0x500
mov eax, 0x400
cmovle eax, esi
jmp 0x5e1d69
mov eax, 0x500
push ebx
push eax
lea eax, [ebp - 0x504]
push 1
push eax
call fcn.006d333a
push ebx
mov edi, eax
call fcn.006d3ec3
add esp, 0x14
test eax, eax
je 0x5e1da1
call fcn.006cc762
cmp dword [eax], 4
jne 0x5e1da1
push ebx
call fcn.006e1753
add esp, 4
test edi, edi
je 0x5e1d50
jmp 0x5e1da5
test edi, edi
je 0x5e1de0
movd xmm0, edi
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.006bfd90
lea eax, [ebp - 0x504]
movsd qword [esp], xmm0
push edi
push eax
call fcn.005e0f20
add dword [ebp - 0x538], edi
add esp, 0x10
test esi, esi
jle 0x5e1d64
sub esi, edi
test esi, esi
jg 0x5e1d54
lea eax, [ebp - 0x504]
push 0x500
push eax
call fcn.004029a0
push ebx
call fcn.006d2a7f
add esp, 0xc
call fcn.005e1110
test eax, eax
jne 0x5e1e41
push 0xa6
push str.crypto_rand_randfile.c
push 0x76
push 0x6f
push 0x24
call fcn.005e4620
push dword [ebp - 0x53c]
push str.Filename
push 2
call fcn.005e3dd0
add esp, 0x20
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x538]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
Function at 0x5ead10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006bfd90
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x5ead90
mov cl, byte [edi]
test cl, cl
je 0x5ead90
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [ebp - 4]
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 [ebp - 4], eax
test cl, cl
jne 0x5ead40
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x5eafb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006bfd90
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
je 0x5eb03f
mov al, byte [ebx]
test al, al
je 0x5eb03f
mov dword [ebp + 8], 0x100
push edi
nop dword [eax]
movsx eax, al
push eax
call fcn.00619950
movd xmm1, dword [ebp - 4]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, dword [ebp + 8]
add esp, 4
add dword [ebp + 8], 0x100
mov ecx, edi
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 [ebp - 4], esi
test al, al
jne 0x5eafe0
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
cmp dword [eax], 5
je 0x5f268d
push eax
push esi
call fcn.005f2d70
add esp, 8
test eax, eax
jle 0x5f26d3
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push esi
mov edi, eax
call fcn.005d4970
add esp, 8
test edi, edi
jg 0x5f26d0
push edi
call fcn.005e9fd0
add esp, 4
test eax, eax
je 0x5f26d0
push 0xa
push esi
call fcn.005d5320
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x5f9330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.006bfd90
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
cmp edx, ebx
je 0x5f94bb
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
push esi
lea esi, [eax - 1]
not eax
shr eax, 0x1f
shr esi, 0x1f
and esi, eax
mov eax, dword [ebx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp - 8], 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
movd xmm0, esi
and eax, esi
pshufd xmm3, xmm0, 0
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
mov esi, dword [ebp + 0x14]
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
test esi, esi
jle 0x5f94ba
push edi
cmp esi, 8
jb 0x5f9491
mov edi, dword [edx]
lea edx, [esi - 1]
mov ecx, dword [ebx]
lea edx, [ecx + edx*4]
mov dword [ebp + 0x10], edx
lea edx, [esi - 1]
lea edx, [edi + edx*4]
cmp ecx, edx
mov edx, dword [ebp + 0xc]
ja 0x5f93dd
cmp dword [ebp + 0x10], edi
jae 0x5f9491
cmp ecx, ebx
ja 0x5f93ea
cmp dword [ebp + 0x10], ebx
jae 0x5f9491
cmp ecx, edx
ja 0x5f93f7
cmp dword [ebp + 0x10], edx
jae 0x5f9491
lea ecx, [esi - 1]
lea ecx, [edi + ecx*4]
cmp edi, ebx
ja 0x5f9409
cmp ecx, ebx
jae 0x5f9491
cmp edi, edx
ja 0x5f9415
cmp ecx, edx
jae 0x5f9491
mov ecx, esi
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x5f9424
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dword [ebp + 0x10], esi
sub dword [ebp + 0x10], ecx
mov ecx, dword [ebx]
nop dword [eax]
movups xmm1, xmmword [edi + eax*4]
movups xmm0, xmmword [ecx + eax*4]
movaps xmm2, xmm1
pxor xmm2, xmm0
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + eax*4], xmm0
movups xmm0, xmmword [ecx + eax*4]
pxor xmm2, xmm0
movups xmmword [ecx + eax*4], xmm2
movups xmm1, xmmword [edi + eax*4 + 0x10]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movaps xmm2, xmm1
pxor xmm2, xmm0
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + eax*4 + 0x10], xmm0
movups xmm0, xmmword [ecx + eax*4 + 0x10]
pxor xmm2, xmm0
movups xmmword [ecx + eax*4 + 0x10], xmm2
add eax, 8
cmp eax, dword [ebp + 0x10]
jl 0x5f9430
cmp eax, esi
jge 0x5f94b9
mov ecx, dword [edx]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [ebp - 8]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
mov edx, dword [ebp + 0xc]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [ebp + 0x14]
jl 0x5f9495
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fad90
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.005a0d50
mov esi, eax
push esi
call fcn.0060c6f0
add esp, 8
test eax, eax
jne 0x5fadae
pop esi
pop ebp
ret
lea eax, [esi + 0x5c]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0060b330
Function at 0x601cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.006bfd90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + 0x60]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [edx + 0x70]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test esi, esi
je 0x601d38
test edi, edi
je 0x601d18
cmp esi, 0x40
jae 0x601d18
mov al, byte [esi + edx + 0x30]
inc esi
xor al, byte [ebx]
inc ebx
mov byte [ecx], al
inc ecx
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x601d00
mov dword [edx + 0x70], esi
test edi, edi
je 0x601de7
cmp esi, 0x40
jne 0x601d38
mov dword [edx + 0x70], 0
add dword [edx + 0x20], 1
jne 0x601d38
inc dword [edx + 0x24]
mov eax, edi
lea esi, [edx + 0x20]
and eax, 0x3f
mov dword [ebp - 0x10], esi
sub edi, eax
mov dword [ebp - 8], eax
mov eax, dword [esi]
cmp edi, 0x40
jb 0x601d9d
nop
mov esi, edi
shr esi, 6
add eax, esi
mov dword [ebp - 0xc], eax
cmp eax, esi
jae 0x601d67
sub esi, eax
mov dword [ebp - 0xc], 0
lea eax, [edx + 0x20]
shl esi, 6
push eax
push edx
push esi
push ebx
push ecx
call fcn.0040b300
mov ecx, dword [ebp + 8]
sub edi, esi
mov eax, dword [ebp - 0xc]
add ecx, esi
mov edx, dword [ebp - 4]
add ebx, esi
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp + 8], ecx
mov dword [esi], eax
test eax, eax
jne 0x601d98
inc dword [edx + 0x24]
cmp edi, 0x40
jae 0x601d50
cmp dword [ebp - 8], 0
je 0x601de7
push 0x40
lea edi, [edx + 0x30]
push 0
push edi
call fcn.006c2360
push esi
mov esi, dword [ebp - 4]
push esi
push 0x40
push edi
push edi
call fcn.0040b300
mov eax, dword [ebp - 8]
add esp, 0x20
xor edi, edi
test eax, eax
je 0x601de4
mov edx, dword [ebp + 8]
sub ebx, edx
nop
lea ecx, [edi + edx]
mov al, byte [ebx + ecx]
xor al, byte [esi + edi + 0x30]
inc edi
mov byte [ecx], al
mov eax, dword [ebp - 8]
cmp edi, eax
jb 0x601dd0
mov dword [esi + 0x70], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60a760
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20
call fcn.006bfd90
push esi
mov esi, dword [ebp + 0x14]
mov eax, esi
sub eax, 0
je 0x60a7a7
sub eax, 2
je 0x60a7a7
sub eax, 0x15
je 0x60a7a7
push 0x297
push str.crypto_bio_b_addr.c
push 0x83
push 0x8f
push 0x20
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00613150
cmp eax, 1
jne 0x60a7a0
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x20], xmm0
push edi
xor edi, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x10], xmm0
test ebx, ebx
je 0x60a7e7
test esi, esi
jne 0x60a7e7
mov eax, dword [ebp - 0x20]
or eax, 0x400
mov dword [ebp - 0x20], eax
jmp 0x60a7ea
mov eax, dword [ebp - 0x20]
cmp dword [ebp + 0x10], 1
jne 0x60a7f6
or eax, 1
mov dword [ebp - 0x20], eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x60a843
nop dword [eax]
cmp esi, 8
je 0x60a886
mov eax, dword [ebp - 0x20]
test eax, 0x400
je 0x60a84f
push dword [ebp + 0x20]
and eax, 0xfffffbff
mov edi, esi
or eax, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x60a810
mov eax, 1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0x2da
push str.crypto_bio_b_addr.c
push 2
push 0x8f
push 0x20
call fcn.005e4620
test edi, edi
cmovne esi, edi
push esi
call fcn.0060aca0
push eax
push 1
call fcn.005e3dd0
add esp, 0x20
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0x2cb
push str.crypto_bio_b_addr.c
push 0x41
push 0x8f
push 0x20
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x60aa80
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x42c
call fcn.006bfd90
mov eax, dword [0x7f5314]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
call fcn.00613150
cmp eax, 1
jne 0x60ab76
push 0x401
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.006c2360
mov edx, dword [ebp + 0xc]
add esp, 0xc
neg edx
mov byte [ebp - 0x24], 0
mov eax, 0x10
mov dword [ebp - 0xb], 0
sbb edx, edx
mov word [ebp - 7], 0
and edx, 0xa
mov byte [ebp - 5], 0
cmp word [ebx], 2
mov ecx, 0x1c
push edx
push 0x20
cmove ecx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
movq qword [ebp - 0x13], xmm0
push eax
push 0x401
lea eax, [ebp - 0x428]
push eax
push ecx
push ebx
movups xmmword [ebp - 0x23], xmm0
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x60ab89
push 0xdb
push str.crypto_bio_b_addr.c
push 2
push 0x86
push 0x20
call fcn.005e4620
add esp, 0x14
push 0
push 0x400
push 0xf2e940
push 0x400
push dword [ebp - 0x42c]
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0xf2e940
push 1
call fcn.005e3dd0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x24], 0
jne 0x60abc8
movzx eax, word [ebx]
cmp eax, 2
jne 0x60ab9d
movzx eax, word [ebx + 2]
jmp 0x60abaa
cmp eax, 0x17
jne 0x60aba8
movzx eax, word [ebx + 2]
jmp 0x60abaa
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push 0x75a200
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.005d82b0
add esp, 0x10
test edi, edi
je 0x60abe7
push 0xed
lea eax, [ebp - 0x428]
push str.crypto_bio_b_addr.c
push eax
call fcn.005e92e0
add esp, 0xc
mov dword [edi], eax
test esi, esi
je 0x60ac03
push 0xef
lea eax, [ebp - 0x24]
push str.crypto_bio_b_addr.c
push eax
call fcn.005e92e0
add esp, 0xc
mov dword [esi], eax
test edi, edi
je 0x60ac0c
cmp dword [edi], 0
je 0x60ac15
test esi, esi
je 0x60ac7f
cmp dword [esi], 0
jne 0x60ac7f
test edi, edi
je 0x60ac33
push 0xfe
push str.crypto_bio_b_addr.c
push dword [edi]
call fcn.005d3c50
add esp, 0xc
mov dword [edi], 0
test esi, esi
je 0x60ac51
push 0x102
push str.crypto_bio_b_addr.c
push dword [esi]
call fcn.005d3c50
add esp, 0xc
mov dword [esi], 0
push 0x105
push str.crypto_bio_b_addr.c
push 0x41
push 0x86
push 0x20
call fcn.005e4620
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006c0fe0
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.006c0fe0
mov esp, ebp
pop ebp
ret

Function at 0x60b330
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.006c2360
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret