joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dce00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5dce17
add esp, 0xfffffff0
call fcn.00408a74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c6564
mov eax, dword [0x628454]
cmp byte [eax], 0
jne 0x5dce44
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x6287cc]
cmp word [eax + 2], 0
jne 0x5dce5e
mov eax, dword [0x6287cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005df2c4
mov eax, dword [0x628908]
cmp word [eax + 2], 0
jne 0x5dce78
mov eax, dword [0x628908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005df6dc
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x508468]
call fcn.00510a08
mov esi, eax
mov dword [ebx + 0x54], esi
mov byte [esi + 0x25], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5dfc88
mov dl, 1
mov eax, dword [0x485a70]
call fcn.00408454
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x485a70]
call fcn.00408454
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x50d810]
call fcn.0051b21c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5dd06c
mov eax, dword [0x628660]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051b814
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5dff74
mov dl, 1
mov eax, dword [0x485a70]
call fcn.00408454
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x628660]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426510
test eax, eax
je 0x5dcf8f
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00426314
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004264f4
test eax, eax
je 0x5dcfa7
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040ad58
push ebx
push 0x5dec9c
call fcn.005ccc48
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x628454]
cmp byte [eax], 0
jne 0x5dcff8
mov eax, ebx
call fcn.005dd234
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005e031c
mov eax, ebx
call fcn.005e0e54
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5dd063
call fcn.00408acc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dd564
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5dd606
cmp dword [ebx + 0xac], 0
jne 0x5dd600
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5dd4a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5dd600
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5dd5c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5dd600
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b06e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5dd5d5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5dd93c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x62fbf4]
cmp dword [eax + 0x190], 0
je 0x5ddaa1
test bl, bl
jne 0x5dd9f6
cmp dword [esi + 0xb4], 0
jne 0x5dd9eb
mov eax, esi
call fcn.005e0ca4
push eax
push 0x5dd844
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5dd9bc
mov eax, dword [0x62fbf4]
cmp byte [eax + 0xeb], 0
je 0x5dd9bc
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5dd99d
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5dd9bc
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5dd9a5
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5dd9eb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b06e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5dd9cb
inc dword [esi + 0xb4]
jmp 0x5ddaa1
cmp dword [esi + 0xb4], 0
jle 0x5ddaa1
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5ddaa1
cmp dword [esi + 0x58], 0
je 0x5dda56
mov eax, dword [0x62fbf4]
cmp byte [eax + 0xeb], 0
je 0x5dda56
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5dda37
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5dda56
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5dda3f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5dda85
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b06e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5dda65
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5c965c]
call fcn.0040d2e4
pop edi
pop esi
pop ebx
ret
Function at 0x5de8a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5de903
cmp byte [ebx + 0xeb], 0
jne 0x5de903
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a3f4
mov eax, dword [esi]
test eax, eax
je 0x5de8f0
mov eax, dword [eax - 4]
test eax, eax
jne 0x5de910
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a64c
jmp 0x5de910
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a64c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5e0530
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5e05a1
mov eax, esi
call fcn.0054b79c
test al, al
je 0x5e05a1
mov eax, dword [ebx + 0x98]
call fcn.0054b334
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e05a1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x5e0592
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054b334
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00541038
jmp 0x5e05a1
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005e033c
pop esi
pop ebx
ret
Function at 0x5e6170
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x5e61f6
mov eax, dword [ebx + 8]
call fcn.0054b334
mov ecx, eax
mov dl, 1
mov eax, dword [0x55994c]
call fcn.00544c24
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
xor edx, edx
mov eax, esi
call fcn.0055f150
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5e5a40
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054b334
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054b334
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa8], 0
jne 0x5e6278
mov eax, dword [ebx + 8]
call fcn.0054b334
mov ecx, eax
mov dl, 1
mov eax, dword [0x55994c]
call fcn.00544c24
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xa8]
mov dl, 1
mov eax, esi
call fcn.0055f150
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5e5a8c
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa8]
call fcn.0054b334
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa8]
call fcn.0054b334
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5e62f6
mov eax, dword [ebx + 8]
call fcn.0054b334
mov ecx, eax
mov dl, 1
mov eax, dword [0x55a490]
call fcn.00544c24
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov byte [esi + 0x2c8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0054b334
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0054b334
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5eb8a8
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov ecx, edx
mov dword [ebp - 4], eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [ebp - 0x10], edx
mov ebx, ecx
mov eax, 0x10624dd3
mul ebx
shr edx, 6
imul edx, edx, 0x3e8
sub ebx, edx
imul eax, ebx, 0x3e8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x5eb8ec
mov eax, dword [eax - 4]
mov ebx, eax
mov esi, ebx
shl esi, 2
lea eax, [esi + 0x24]
call fcn.00406e3c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5eb994
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 4]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00407240
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.ws2_32.dll_select
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
test ebx, ebx
jbe 0x5eb96e
push ebx
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x5eb4a4]
call fcn.0040d1c0
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
shl ecx, 2
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
add eax, 4
call fcn.00407240
jmp 0x5eb97c
mov eax, dword [ebp - 8]
mov edx, dword [0x5eb4a4]
call fcn.0040d2e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eb99b
mov eax, dword [ebp - 0x14]
call fcn.00406e58
pop eax
jmp eax
Function at 0x5ebb80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ebd30
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x5ebcfa
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x20
call fcn.00407c74
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 6
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.00425844
mov eax, dword [ebp - 0x2c]
call fcn.0040acbc
push eax
mov eax, ebx
call fcn.0040acbc
lea ecx, [ebp - 0x28]
pop edx
call fcn.005eb9a4
xor edx, edx
push ebp
push 0x5ebce9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.ws2_32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
inc eax
jne 0x5ebc5a
call sub.ws2_32.dll_WSAGetLastError
lea ecx, [ebp - 0x30]
xor edx, edx
call fcn.0042af20
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x5eb4dc]
call fcn.0042ce7c
call fcn.00409944
xor edx, edx
push ebp
push 0x5ebcba
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
call sub.ws2_32.dll_connect
inc eax
jne 0x5ebca8
call sub.ws2_32.dll_WSAGetLastError
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042af20
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x5eb4dc]
call fcn.0042ce7c
call fcn.00409944
mov eax, dword [ebp - 4]
call fcn.005ebdcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ebcd1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ebcf0
mov eax, dword [ebp - 8]
call fcn.005eba84
pop eax
jmp eax

Function at 0x5ebffc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
push ebp
push 0x5ec047
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec04e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 4]
pop eax
jmp eax
Function at 0x5ec058
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
push ebp
push 0x5ec0a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec0a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 4]
pop eax
jmp eax

Function at 0x5f01f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5f0215
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5f0202
pop edi
pop esi
pop ebx
ret

Function at 0x5f49d4
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x5f4a65
movzx ebx, byte [ebx + 0x61f97c]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x61f87c]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x61f87c]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x61f97c]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x5f4abf
movzx ebx, byte [ebx + 0x61f97c]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x61f97c]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x61f87c]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x61f87c]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x61f87c]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x61f87c]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x62fdc0]
movzx ecx, byte [ecx + 0x61f97c]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x61f87c]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x6301c0]
movzx eax, byte [eax + 0x61f87c]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x61f97c]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x6305c0]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x61f97c]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x61f97c]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x6309c0]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x5f4b7c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
movzx ecx, cl
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jb 0x5f4b89
pop esi
pop ebx
ret

Function at 0x5f59b8
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x61f87c
mov ebx, 0x62fdc0
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.005f48bc
mov dword [esp + 8], eax
mov eax, edi
call fcn.005f48cc
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.005f48bc
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.005f48cc
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5f59d1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5f86cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jb 0x5f8715
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
mov esi, dword [esi*4 + 0x624d84]
movzx edi, byte [eax + ecx + 1]
xor esi, dword [edi*4 + 0x625184]
movzx edi, byte [eax + ecx + 2]
xor esi, dword [edi*4 + 0x625584]
movzx edi, byte [eax + ecx + 3]
xor esi, dword [edi*4 + 0x625984]
mov dword [eax + ecx], esi
inc edx
dec ebx
jne 0x5f86da
pop edi
pop esi
pop ebx
ret
Function at 0x5fcd48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x630dc8
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, 1
and esi, ebp
mov eax, 0x200
and eax, ebp
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x627058]
mov eax, dword [esi*4 + 0x627098]
xor eax, dword [esp]
call fcn.005fccec
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005fcd28
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x627068]
mov eax, dword [esi*4 + 0x6270a8]
xor eax, dword [esp]
call fcn.005fccec
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005fcd28
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x627078]
mov eax, dword [esi*4 + 0x6270b8]
xor eax, dword [esp]
call fcn.005fccec
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005fcd28
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x627088]
mov eax, dword [esi*4 + 0x6270c8]
xor eax, dword [esp]
call fcn.005fccec
mov edi, eax
mov eax, edi
call fcn.005fcd28
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5fcd54
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5fceb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x64]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jne 0x5fceea
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + ecx*4]
xor edx, edx
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 3
mov ebx, dword [ebp - 8]
lea eax, [ebx + eax*2]
movzx ebx, word [eax]
and bx, 1
movzx ebx, bx
mov esi, dword [ecx]
add esi, esi
or esi, ebx
mov dword [ecx], esi
movzx esi, word [eax]
shr esi, 1
xor bx, 1
shl ebx, 0xf
or si, bx
mov word [eax], si
inc edx
cmp edx, 4
jne 0x5fcf1c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x5fcf03
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5fcec6
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4