joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54ecf4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x54ed23
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x54eda2
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0054d744
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x54ed70
mov cx, word [esp]
sub cx, si
jmp 0x54ed72
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x54ed59
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x54ed98
mov cx, word [esp]
sub cx, si
jmp 0x54ed9a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x54ed81
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x54ee87
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0054ea60
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x54edee
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x54ee04
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x54ecfe
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x54ee87
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x54ee46
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x54ee2b
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.0054d72c
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x54ee87
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x54ee87
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x54ee6c
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x16c0]
push eax
call fcn.0054d72c
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5566dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x556721
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x5566fe
mov esp, ebp
pop ebp
ret 4
Function at 0x558f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00402f58
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x55905f
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x5fbab4]
mov edx, 8
call fcn.00556540
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x5fbab4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5fbab4]
mov edx, 0x10
call fcn.00556540
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x5fbab4]
mov edx, 0x18
call fcn.00556540
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x558fe2
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x55c218
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x55c272
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5fdc3c]
cmp byte [eax], 0
je 0x55c242
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x55c25c
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405284
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c279
lea eax, [ebp - 4]
call fcn.0040504c
ret

Function at 0x55c280
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55c2df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5fdc3c]
cmp byte [eax], 0
je 0x55c2ae
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov ebx, eax
jmp 0x55c2c9
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405284
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_SetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c2e6
lea eax, [ebp - 4]
call fcn.0040504c
ret
Function at 0x55c360
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55c3d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5fdc3c]
cmp byte [eax], 0
je 0x55c390
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x55c3bd
lea eax, [ebp - 4]
mov edx, esi
call fcn.00405284
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405284
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c3df
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405070
ret

Function at 0x55c688
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.0040897c
cmp ax, 0xffff
jne 0x55c6a9
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x55c72a
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x55c72a
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x55c6f0
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x55c6e3
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x55c72a
cmp dword [ebp + 8], 0
jle 0x55c72a
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00427134
mov esi, eax
test esi, esi
jle 0x55c721
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00408990
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x55d22c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x55d290
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004052cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040aa50
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d297
lea eax, [ebp - 0xc]
call fcn.0040504c
ret

Function at 0x55d2ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
and al, 8
Function at 0x562d50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x562dc7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00405300
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040b3e4
mov eax, dword [ebp - 4]
call fcn.00562c90
test al, al
je 0x562d97
mov byte [ebp - 5], 1
jmp 0x562dac
mov eax, dword [ebp - 0xc]
call fcn.00405538
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x562dce
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405070
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x56311e
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x5fc8ec]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5630ec
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x5632d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x56332d
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.00563220
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.00563188
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5632f2
mov esp, ebp
pop ebp
ret
Function at 0x563388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00405338
dec eax
test eax, eax
jl 0x5633fe
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.00405538
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.00563188
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x5633e1
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00563220
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.00563188
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x563403
mov esp, ebp
pop ebp
ret
Function at 0x570084
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x570145
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x113]
mov edx, 0x570158
call fcn.0040b7e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor edx, edx
call fcn.00405b04
je 0x5700ec
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00405300
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
call fcn.0040b7e0
jmp 0x5700fd
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x113]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x105
call fcn.00405928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57014c
lea eax, [ebp - 0x21c]
call fcn.0040504c
ret

Function at 0x576378
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57649c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00569220
mov eax, dword [ebp - 4]
call fcn.00569280
mov eax, dword [ebp - 4]
call fcn.00574fc0
mov dl, 1
mov eax, dword [0x5596a0]
call fcn.00559cb4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x57647f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
xor eax, eax
call fcn.0056352c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x576443
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov al, byte [eax + 5]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 4]
call fcn.00571ccc
mov eax, dword [ebp - 4]
call fcn.005750a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x576469
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576486
mov eax, dword [ebp - 8]
call fcn.0040411c
ret
Function at 0x577870
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], eax
lea esi, [esp + 8]
mov edi, 0x5fccfc
mov eax, dword [esp]
mov cl, byte [eax + 0x40]
xor eax, eax
mov al, cl
mov ebx, eax
add ebx, 0x10
mov ebp, dword [esp]
mov byte [ebp + ebx], dl
xor ebx, ebx
mov bl, cl
mov ebp, dword [esp]
mov bl, byte [ebp + ebx]
xor bl, dl
push ebx
add eax, 0x20
mov ebx, dword [esp + 4]
add ebx, eax
pop eax
mov byte [ebx], al
xor eax, eax
mov al, cl
mov ebx, dword [esp]
lea eax, [ebx + eax + 0x30]
push eax
mov eax, dword [esp + 4]
xor dl, byte [eax + 0x41]
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
pop edx
xor byte [edx], al
xor eax, eax
mov al, cl
mov edx, dword [esp]
mov al, byte [edx + eax + 0x30]
mov edx, dword [esp]
mov byte [edx + 0x41], al
lea eax, [ecx + 1]
and al, 0xf
mov edx, dword [esp]
mov byte [edx + 0x40], al
mov ecx, eax
test cl, cl
jne 0x577980
xor edx, edx
mov byte [esp + 4], 0
mov eax, dword [esp]
mov dword [esi], eax
mov cl, 8
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov dl, byte [eax]
inc dword [esi]
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov dl, byte [eax]
inc dword [esi]
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov dl, byte [eax]
inc dword [esi]
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov dl, byte [eax]
inc dword [esi]
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov dl, byte [eax]
inc dword [esi]
xor eax, eax
mov al, dl
mov al, byte [edi + eax]
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov dl, byte [eax]
inc dword [esi]
dec cl
jne 0x577907
add dl, byte [esp + 4]
inc byte [esp + 4]
cmp byte [esp + 4], 0x12
jne 0x577900
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x577b1c
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x578d54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea8
mov dword [esp], eax
lea edi, [esp + 4]
mov edx, edi
mov eax, dword [esp]
mov ecx, 0x14
call fcn.00402f58
xor esi, esi
lea ebx, [esp + 0x18]
mov eax, dword [esp]
add eax, 0x30
mov edx, esi
shl edx, 2
add eax, edx
mov eax, dword [eax]
call fcn.005776f4
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x10
jne 0x578d7a
mov esi, 0x40
lea ebx, [esp + 0x4c]
mov eax, dword [ebx]
xor eax, dword [ebx - 0x14]
xor eax, dword [ebx - 0x2c]
xor eax, dword [ebx - 0x34]
mov dl, 1
call fcn.0057769c
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x578da2
xor esi, esi
lea ebp, [esp + 0x18]
mov eax, dword [edi + 0xc]
push eax
mov ebx, esi
mov eax, ebx
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
call fcn.00578cec
push eax
mov dl, 5
mov eax, dword [edi]
call fcn.0057769c
pop edx
add edx, eax
add edx, dword [edi + 0x10]
push edx
mov eax, ebx
call fcn.00578d30
pop edx
add edx, eax
add edx, dword [ebp]
mov ebx, edx
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov dl, 0x1e
mov eax, dword [edi + 4]
call fcn.0057769c
mov dword [edi + 8], eax
mov eax, dword [edi]
mov dword [edi + 4], eax
mov dword [edi], ebx
inc esi
add ebp, 4
cmp esi, 0x50
jne 0x578dc3
mov esi, 5
mov eax, edi
mov edx, dword [esp]
mov ecx, dword [eax]
add dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0x578e29
add esp, 0x158
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x579138
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x579178
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret

Function at 0x5791cc
Capabilities:
Hash data using sha224

Disassembly:
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
ret
Function at 0x579258
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
ret

Function at 0x579bac
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov ebx, eax
or esi, 0xffffffff
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00405538
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x579be6
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, esi
pop esi
pop ebx
ret

Function at 0x579bec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405528
xor eax, eax
push ebp
push 0x579d27
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x579d11
push 0
push 0
push ebx
push edi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
jne 0x579c60
push edi
call sub.kernel32.dll_CloseHandle_1
jmp 0x579d11
mov eax, dword [ebp + 8]
sub eax, ebx
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x579c7e
cmp dword [ebp - 0x20], 0
jae 0x579c84
jmp 0x579d11
jl 0x579d11
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x579ceb
cmp dword [ebp - 0xc], 1
jae 0x579ca2
push edi
call sub.kernel32.dll_CloseHandle_1
jmp 0x579d11
mov eax, dword [ebp - 0xc]
xor edx, edx
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jne 0x579cb9
cmp eax, dword [ebp - 0x20]
jb 0x579cd0
jmp 0x579cbb
jl 0x579cd0
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1020]
mov eax, esi
call fcn.00579854
jmp 0x579d07
lea edx, [ebp - 0x1020]
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00579854
mov eax, dword [ebp - 0xc]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1020]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x579c94
push edi
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579d2e
lea eax, [ebp - 4]
call fcn.0040504c
ret
Function at 0x57caf4
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x5fe0a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret