joyce8/EMBER2024-capa huggingface dataset:
Function at 0x559110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x84]
test dword [edi + 0x64], 0x400
je 0x5591d0
mov edi, dword [ebp + 0xc]
xor eax, eax
movzx ebx, word [edi + 0x1e]
mov word [edi + 0x1e], ax
mov ecx, dword [esi + 0x84]
test dword [ecx + 0x60], 0x2000
je 0x55914f
mov eax, dword [ecx + 0x270]
jmp 0x559170
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x559170
push 0x10
lea eax, [ecx + 0x68]
push eax
push 0xffffffffffffffff
call dword [0x644e78]
add esp, 0xc
mov dword [esi + 0xac], eax
push 4
lea ecx, [ebp + 8]
push ecx
push eax
call dword [0x644e78]
mov ecx, dword [esi + 0x84]
add esp, 0xc
test byte [ecx + 0x60], 0x80
je 0x5591b4
movzx ecx, word [ecx + 0xfe]
test cx, cx
jne 0x5591b9
mov ecx, 1
push ecx
push edi
push eax
call dword [0x644e78]
add esp, 0xc
mov word [edi + 0x1e], bx
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, 0x20
push ecx
push edi
push eax
call dword [0x644e78]
add esp, 0xc
mov word [edi + 0x1e], bx
pop edi
pop esi
pop ebx
pop ebp
ret 8
lea edx, [edi + 0x68]
mov ecx, 0xffff
mov esi, 0x10
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 4]
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 3]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 2]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 1]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx ecx, cx
sub esi, 4
jne 0x5591e0
mov edx, dword [ebp + 8]
mov esi, 0x1e
movzx eax, dl
xor eax, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, al
shr cx, 8
xor cx, word [eax*2 + 0x601cc8]
movzx ecx, cx
movzx eax, dh
lea edx, [ebx + 2]
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [ebp + 0xa]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [ebp + 0xb]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx ecx, cx
movzx eax, byte [edx - 2]
lea edx, [edx + 6]
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 7]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 6]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 5]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 4]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx eax, byte [edx - 3]
movzx ecx, cx
xor eax, ecx
shr cx, 8
movzx eax, al
xor cx, word [eax*2 + 0x601cc8]
movzx ecx, cx
sub esi, 6
jne 0x5592b3
test byte [edi + 0x60], 0x80
mov eax, ecx
je 0x55937b
movzx edx, word [edi + 0xfe]
mov esi, 0x20
cmp si, dx
jae 0x55937b
sub edx, esi
lea eax, [ebx + 0x20]
push edx
push eax
push ecx
call fcn.00559390
movzx eax, ax
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x559390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x5593c3
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr ax, 8
movzx ecx, cl
xor ax, word [ecx*2 + 0x601cc8]
movzx eax, ax
sub edx, 1
jne 0x5593a1
pop esi
pop ebp
ret
mov ax, word [ebp + 8]
pop ebp
ret

Function at 0x55d900
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x55d92e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x55d92b
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x560450
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x56045e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
test esi, esi
je 0x56048a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6037f8]
sub esi, 1
jne 0x560470
not eax
pop esi
pop ebp
ret

Function at 0x560490
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
shr edi, 2
test edi, edi
je 0x5604e5
xor eax, dword [edx]
add edx, 4
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6037f8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6037f8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6037f8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6037f8]
sub edi, 1
jne 0x5604a7
and esi, 3
je 0x56050a
nop word [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6037f8]
sub esi, 1
jne 0x5604f0
pop edi
pop esi
pop ebp
ret
Function at 0x564d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp ebx, 4
jb 0x564df0
mov ecx, ebx
shr ecx, 2
mov dword [ebp + 0xc], ecx
nop
movzx edx, byte [edi + 3]
sub ebx, 4
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi]
shl edx, 8
add edi, 4
or edx, ecx
add esi, edx
xor eax, esi
rol esi, 0x14
add esi, eax
rol eax, 9
xor eax, esi
rol esi, 0x1b
add esi, eax
rol eax, 0x13
sub dword [ebp + 0xc], 1
jne 0x564db0
mov edx, 0x80
sub ebx, 1
je 0x564e17
sub ebx, 1
je 0x564e0e
sub ebx, 1
jne 0x564e1f
movzx edx, byte [edi + 2]
or edx, 0x8000
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
add esi, edx
xor edx, edx
xor eax, esi
rol esi, 0x14
pop edi
lea ecx, [esi + eax]
rol eax, 9
xor eax, ecx
rol ecx, 0x1b
add ecx, eax
rol eax, 0x13
xor eax, ecx
rol ecx, 0x14
add ecx, eax
rol eax, 9
xor eax, ecx
rol ecx, 0x1b
add ecx, eax
rol eax, 0x13
pop esi
or edx, eax
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x566cc0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp cx, ax
jae 0x566e64
push ebx
mov ebx, dword [ebp + 8]
movzx eax, ax
push esi
mov dword [ebp + 0xc], eax
or eax, 0xffffffff
push edi
nop dword [eax]
movsx cx, byte [ebx]
movzx edx, cx
add dx, dx
test eax, eax
lea ecx, [edx + 0x100]
movzx esi, cx
movzx ecx, dx
cmovns esi, ecx
lea ecx, [eax + eax]
movzx edx, si
mov esi, ecx
xor esi, 0x4c11db7
mov eax, edx
and eax, 0x100
cmove esi, ecx
lea ecx, [edx + edx]
test esi, esi
lea eax, [ecx + 0x100]
movzx edx, ax
movzx eax, cx
cmovns edx, eax
lea ecx, [esi + esi]
movzx edx, dx
mov esi, ecx
xor esi, 0x4c11db7
mov eax, edx
and eax, 0x100
cmove esi, ecx
lea ecx, [edx + edx]
test esi, esi
lea eax, [ecx + 0x100]
movzx edx, ax
movzx eax, cx
cmovns edx, eax
lea ecx, [esi + esi]
movzx edx, dx
mov esi, ecx
xor esi, 0x4c11db7
mov eax, edx
and eax, 0x100
cmove esi, ecx
lea ecx, [edx + edx]
test esi, esi
lea eax, [ecx + 0x100]
movzx edx, ax
movzx eax, cx
cmovns edx, eax
lea ecx, [esi + esi]
movzx edx, dx
mov esi, ecx
xor esi, 0x4c11db7
mov eax, edx
and eax, 0x100
cmove esi, ecx
lea ecx, [edx + edx]
lea eax, [ecx + 0x100]
test esi, esi
movzx edx, ax
movzx eax, cx
cmovns edx, eax
lea ecx, [esi + esi]
movzx edx, dx
mov esi, ecx
mov eax, edx
xor esi, 0x4c11db7
and eax, 0x100
cmove esi, ecx
lea ecx, [edx + edx]
lea eax, [ecx + 0x100]
test esi, esi
movzx edx, ax
movzx eax, cx
cmovns edx, eax
lea ecx, [esi + esi]
movzx edx, dx
mov edi, ecx
mov eax, edx
xor edi, 0x4c11db7
and eax, 0x100
cmove edi, ecx
lea ecx, [edx + edx]
lea eax, [ecx + 0x100]
test edi, edi
movzx edx, ax
movzx eax, cx
lea ecx, [edi + edi]
cmovns edx, eax
mov edi, ecx
movzx esi, dx
xor edi, 0x4c11db7
mov eax, esi
and eax, 0x100
cmove edi, ecx
add esi, esi
test edi, edi
lea ecx, [esi + 0x100]
movzx edx, cx
lea eax, [edi + edi]
movzx ecx, si
cmovns edx, ecx
mov dword [ebp - 4], eax
mov ecx, 0x100
test cx, dx
je 0x566e56
xor eax, 0x4c11db7
mov dword [ebp - 4], eax
inc ebx
sub dword [ebp + 0xc], 1
jne 0x566cf0
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x568b80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push dword [ebp + 8]
test ecx, ecx
je 0x568b9c
call fcn.00507c20
neg eax
sbb eax, eax
inc eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret

Function at 0x569f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0
push 0x8000
push esi
call fcn.005d3cd3
mov edi, eax
add esp, 0xc
test edi, edi
js 0x56a025
push 2
push 0
push edi
call fcn.005de1e0
push 0
push 0
push edi
mov dword [ebp - 4], eax
call fcn.005de1e0
push dword [ebx + 0x1c]
call fcn.0058bb5f
mov eax, dword [ebp - 4]
add esp, 0x1c
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
test eax, eax
jle 0x56a03c
lea esi, [eax + 4]
push 0
mov dword [ebp - 8], esi
call fcn.0058bb5f
push esi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
call fcn.00479f2b
mov esi, eax
add esp, 8
mov dword [ebx + 0x1c], esi
test esi, esi
je 0x56a01c
mov eax, dword [ebp - 8]
push 0x200
push esi
push edi
mov dword [ebx + 0x20], eax
call fcn.005de6f6
add esp, 0xc
test eax, eax
js 0x56a01c
nop dword [eax]
add esi, eax
cmp eax, 0x200
jl 0x56a030
push 0x200
push esi
push edi
call fcn.005de6f6
add esp, 0xc
test eax, eax
jns 0x56a000
push edi
call fcn.005dd20d
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
mov byte [esi], 0
mov esi, dword [ebp + 8]
mov dword [ebx + 0x20], eax
push edi
call fcn.005dd20d
push 0x5c
push esi
call fcn.005ca7d0
add esp, 0xc
test eax, eax
jne 0x56a066
mov eax, esi
mov ecx, ebx
push eax
call fcn.0056a3c0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
inc eax
mov ecx, ebx
push eax
call fcn.0056a3c0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x56b9b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 4]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
add edi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ecx
mov dword [ebp - 8], edx
cmp dword [eax + 8], ecx
jle 0x56bab0
cmp esi, edi
jae 0x56bab0
mov eax, dword [eax + 4]
mov bh, byte [edx + eax]
lea eax, [esi + 1]
mov dword [ebp - 0xc], eax
mov eax, 0x55555556
imul edx
movzx edi, bh
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 8], edx
lea eax, [eax + eax*2]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, 0
je 0x56ba5f
sub eax, 1
movzx eax, bl
je 0x56ba50
mov ecx, edi
shr ecx, 6
or ecx, eax
mov eax, dword [0x647060]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [esi], al
mov esi, dword [ebp - 0xc]
cmp esi, dword [ebp + 0xc]
jae 0x56ba77
mov eax, dword [0x647060]
and edi, 0x3f
mov al, byte [edi + eax]
mov byte [esi], al
inc esi
inc ecx
jmp 0x56ba77
shr edi, 4
mov bl, bh
and bl, 0xf
or edi, eax
shl bl, 2
jmp 0x56ba6a
mov bl, bh
shr edi, 2
and bl, 3
shl bl, 4
mov eax, dword [0x647060]
mov al, byte [edi + eax]
mov byte [esi], al
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
inc ecx
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
cmp byte [eax + 0x10], 0
je 0x56baa3
cmp ecx, 0x4c
jl 0x56baa3
lea eax, [esi + 2]
cmp eax, edi
mov eax, dword [ebp - 4]
ja 0x56baa3
mov word [esi], 0xa0d
add esi, 2
xor ecx, ecx
mov dword [ebp + 8], ecx
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [eax + 8]
jl 0x56b9e2
mov ecx, dword [ebp - 8]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
mov dword [ebp + 0xc], edx
sub eax, edx
je 0x56bafd
cmp esi, edi
jae 0x56bafd
mov edx, dword [0x647060]
movzx eax, bl
mov al, byte [eax + edx]
mov byte [esi], al
inc esi
mov eax, dword [ebp + 0xc]
sub eax, ecx
add eax, 3
lea ebx, [eax + esi]
cmp ebx, edi
ja 0x56bafd
push eax
push 0x3d
push esi
call fcn.005c9220
add esp, 0xc
mov esi, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 0
je 0x56bb1b
cmp dword [ebp + 8], 0
je 0x56bb1b
lea eax, [esi + 2]
cmp eax, edi
ja 0x56bb1b
mov word [esi], 0xa0d
add esi, 2
sub esi, dword [ebp - 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5798d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.00543110
mov esi, dword [ebp + 8]
mov word [esi], ax
lea eax, [edi + 2]
push eax
call fcn.00543110
mov word [esi + 2], ax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
lea eax, [edi + 6]
push eax
call fcn.00543110
mov word [esi + 6], ax
lea eax, [edi + 8]
push eax
call fcn.00543130
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.00543130
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00543130
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push eax
call fcn.00543110
mov word [esi + 0x14], ax
lea eax, [edi + 0x1e]
push eax
call fcn.00543110
mov word [esi + 0x1e], ax
lea eax, [edi + 0x78]
push eax
call fcn.00543160
add esp, 0x24
mov dword [esi + 0x78], eax
cmp byte [esi + 4], 3
mov dword [esi + 0x7c], edx
jl 0x57996f
and eax, 8
or eax, 0
je 0x57996f
mov al, 1
jmp 0x579971
xor al, al
lea ecx, [edi + 0x20]
lea ebx, [edi + 0x28]
push ecx
test al, al
je 0x5799a7
call fcn.00543160
push ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
call fcn.00543160
mov dword [esi + 0x28], eax
lea eax, [edi + 0x30]
push eax
mov dword [esi + 0x2c], edx
call fcn.00543160
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
jmp 0x5799eb
call fcn.00543130
mov dword [esi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call fcn.00543130
push ebx
mov dword [esi + 0x24], eax
call fcn.00543130
mov dword [esi + 0x28], eax
lea eax, [edi + 0x2c]
push eax
call fcn.00543130
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
call fcn.00543130
mov dword [esi + 0x30], eax
lea eax, [edi + 0x34]
push eax
call fcn.00543130
add esp, 0x18
mov dword [esi + 0x34], eax
lea eax, [edi + 0x38]
push eax
call fcn.00543160
mov dword [esi + 0x38], eax
lea eax, [edi + 0x40]
push eax
mov dword [esi + 0x3c], edx
call fcn.00543160
mov dword [esi + 0x40], eax
lea eax, [edi + 0x48]
push eax
mov dword [esi + 0x44], edx
call fcn.00543130
mov dword [esi + 0x48], eax
lea eax, [edi + 0x4c]
push eax
call fcn.00543130
mov dword [esi + 0x4c], eax
lea eax, [edi + 0x50]
push eax
call fcn.00543110
mov word [esi + 0x50], ax
movzx eax, byte [edi + 0x52]
mov byte [esi + 0x52], al
movzx eax, byte [edi + 0x53]
mov byte [esi + 0x53], al
lea eax, [edi + 0x54]
push eax
call fcn.00543130
mov dword [esi + 0x54], eax
lea eax, [edi + 0x58]
push eax
call fcn.00543110
mov word [esi + 0x58], ax
lea eax, [edi + 0x5a]
push eax
call fcn.00543110
mov word [esi + 0x5a], ax
lea eax, [edi + 0x5c]
push eax
call fcn.00543130
add esp, 0x24
mov dword [esi + 0x5c], eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x57cd10
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
cdq
and edx, 3
add edx, eax
sar edx, 2
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edi, [ecx + edx*4]
neg edx
je 0x57cd63
nop dword [eax]
nop word [eax + eax]
imul eax, dword [edi + edx*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
add edx, 1
jne 0x57cd40
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x57cd89
sub eax, 1
je 0x57cd80
sub eax, 1
jne 0x57cd9f
movzx ecx, byte [edi + 2]
shl ecx, 0x10
movzx eax, byte [edi + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edi]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
pop ebp
ret

Function at 0x57d3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
je 0x57d3e3
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, ax
shr edx, 8
xor edx, ecx
shl eax, 8
xor ax, word [edx*2 + 0x6472e0]
movzx eax, ax
sub esi, 1
jne 0x57d3c1
pop edi
pop esi
pop ebp
ret
Function at 0x5805c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 4
mov ecx, dword [edx]
nop dword [eax]
xor ecx, dword [eax + edx]
add eax, 4
cmp eax, 0x1fc
jb 0x5805d0
cmp ecx, 0xffffffff
jne 0x5805e9
lea eax, [ecx - 1]
pop ebp
ret 4
mov eax, 1
test ecx, ecx
cmove ecx, eax
mov eax, ecx
pop ebp
ret 4

Function at 0x580600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
add edi, 0x101f
and edi, 0xfffff000
push edi
call fcn.00563fb0
test eax, eax
jne 0x580744
push dword [esi + 0x3c]
push eax
push dword [esi + 0x38]
call fcn.005c9220
mov eax, dword [esi + 0x38]
add esp, 0xc
mov dword [eax], 0x6e696268
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x68]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], edi
lea eax, [edi - 0x20]
mov ecx, dword [esi + 0x38]
add ecx, 0x20
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x58065f
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x58066e
mov eax, dword [esi + 0x68]
add eax, 0x20
mov dword [ecx], eax
push ebx
mov ecx, esi
call fcn.00581a80
mov ebx, eax
test ebx, ebx
jne 0x580741
add dword [esi + 0x68], edi
push 0x200
call fcn.00479f2b
mov edi, eax
add esp, 4
test edi, edi
je 0x58073c
mov eax, dword [esi]
push ebx
push 0x200
push edi
push dword [esi + 8]
call eax
add esp, 0x10
cmp eax, 0x200
jne 0x580723
inc dword [esi + 0x44]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x48], eax
mov eax, 4
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x60]
and dword [edi + 0x90], 0xfffffffe
movups xmmword [edi + 0x20], xmm0
mov ecx, dword [edi]
xor ecx, dword [eax + edi]
add eax, 4
cmp eax, 0x1fc
jb 0x5806e0
cmp ecx, 0xffffffff
jne 0x5806f9
mov ecx, 0xfffffffe
jmp 0x580703
test ecx, ecx
mov eax, 1
cmove ecx, eax
push 0
push 0x200
mov dword [edi + 0x1fc], ecx
mov eax, dword [esi + 4]
push edi
push dword [esi + 8]
call eax
add esp, 0x10
cmp eax, 0x200
je 0x580728
mov ebx, 0x12
push 1
push edi
call fcn.0058bb51
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
mov ebx, 2
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x580750
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x200
mov edi, ecx
xor ebx, ebx
call fcn.00479f2b
mov esi, eax
add esp, 4
test esi, esi
je 0x58080d
mov eax, dword [edi]
push ebx
push 0x200
push esi
push dword [edi + 8]
call eax
add esp, 0x10
cmp eax, 0x200
jne 0x5807f7
inc dword [edi + 0x44]
mov eax, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov eax, 4
movups xmm0, xmmword [edi + 0x40]
movups xmmword [esi], xmm0
movups xmm0, xmmword [edi + 0x50]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [edi + 0x60]
and dword [esi + 0x90], 0xfffffffe
movups xmmword [esi + 0x20], xmm0
mov ecx, dword [esi]
xor ecx, dword [eax + esi]
add eax, 4
cmp eax, 0x1fc
jb 0x5807b4
cmp ecx, 0xffffffff
jne 0x5807cd
mov ecx, 0xfffffffe
jmp 0x5807d7
test ecx, ecx
mov eax, 1
cmove ecx, eax
push 0
push 0x200
mov dword [esi + 0x1fc], ecx
mov eax, dword [edi + 4]
push esi
push dword [edi + 8]
call eax
add esp, 0x10
cmp eax, 0x200
je 0x5807fc
mov ebx, 0x12
push 1
push esi
call fcn.0058bb51
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 2
pop ebx
ret

Function at 0x580f80
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x1b4], 0
je 0x580f9f
mov eax, dword [ebp + 8]
test eax, eax
je 0x580f99
mov dword [eax], 0x2736
xor eax, eax
pop ebp
ret 8
pop ebp
jmp fcn.00537720

Function at 0x581990
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x5819b3
mov esi, 1
jmp 0x5819bd
mov eax, 0x10000
cmp esi, eax
cmova esi, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
shr eax, 0xb
cmp eax, 0x10000
jbe 0x5819e2
mov eax, 0x10000
jmp 0x5819ec
mov ecx, 0x4000
cmp eax, ecx
cmovb eax, ecx
cmp eax, esi
cmovbe esi, eax
push esi
call fcn.005716c0
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x581a1e
cmp esi, 0x555
jb 0x581a33
mov eax, esi
shr eax, 2
sub esi, eax
push esi
call fcn.005716c0
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x581a00
shl esi, 0xa
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0058bb64
mov esp, ebp
pop ebp
ret