joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477800
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
xor edi, edi
nop dword [eax]
push 2
lea eax, [edi + 1]
mov ecx, esi
push eax
push 0x4f40d8
call fcn.00417060
mov edi, eax
cmp edi, 0xffffffff
je 0x477862
lea ecx, [edi + 1]
push ecx
push 0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00416d40
cmp dword [eax + 0x14], 8
jb 0x477842
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 4]
cmp eax, 8
jb 0x477810
inc eax
lea ecx, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
call fcn.004155f0
jmp 0x477810
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x14], 8
jb 0x477874
mov eax, dword [esi]
jmp 0x477876
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x477887
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47789f
test al, 0x10
je 0x47789f
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x477b20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df9a3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x28], eax
mov edi, ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x477b99
push 0x5035fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x51d458
push eax
call fcn.004ac830
push ebx
call fcn.00493d46
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push esi
push ebx
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x477be3
push 0x5035e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x51d458
push eax
call fcn.004ac830
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4f407c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x477c21
push 0x503638
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x68]
push 0x51d458
push eax
call fcn.004ac830
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 0xfeef04bd
je 0x477c52
push str.VerQueryValueW_signature_is_invalid
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x7c]
push 0x51d458
push eax
call fcn.004ac830
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov eax, ecx
shr eax, 0x10
mov word [edi], ax
mov eax, edx
shr eax, 0x10
mov word [edi + 2], cx
mov word [edi + 4], ax
mov word [edi + 6], dx
test esi, esi
je 0x477c7e
push esi
call fcn.004938d1
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
Function at 0x477db0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfa19
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [ebp - 0x50], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push edi
mov dword [ebp - 0x38], 1
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x477e69
push str.get_file_content_GetFileSizeEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x51d458
push eax
call fcn.004ac830
cmp dword [ebp - 0x1c], 0
jne 0x477ed7
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0043bae0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push eax
push dword [ebp - 0x20]
xorps xmm0, xmm0
push dword [esi]
movups xmmword [ebp - 0x34], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x477ead
push str.get_file_content_ReadFile
jmp 0x477e48
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0043bae0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.get_file_content
push 0xdf
jmp 0x477e4f

Function at 0x4780a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
mov edi, ecx
mov dword [ebp - 8], 0
push 0
push edi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4780f6
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049384c
mov esp, ebp
pop ebp
ret
push str.set_file_content
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x51d458
push eax
call fcn.004ac830
int3
Function at 0x478120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfab8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x47818f
mov eax, dword [esi]
jmp 0x478191
mov eax, esi
mov ebx, dword [ebp + 8]
push eax
movzx eax, bx
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x478277
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x478251
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4781fe
push dword [ebp - 0x24]
push 0x400000
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [ebp - 0x1c]
push esi
call fcn.0043bae0
push esi
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.004acc80
add esp, 0xc
jmp 0x478201
mov esi, dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi], esi
mov dword [edi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00416f60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
push str.resource_was_not_properly_loaded
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x3c]
push 0x51d458
push eax
call fcn.004ac830
mov ecx, esi
call fcn.004155c0
push eax
push ebx
push str.resource__d_of_type__s_was_not_found
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0047e0e0
add esp, 0x14
lea eax, [ebp - 0x3c]
push 0x51d458
push eax
call fcn.004ac830
int3
Function at 0x4784d0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 0x10000
mov dword [ebp - 0x18], 0
call fcn.00493d46
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test edi, edi
je 0x47852a
mov eax, edi
jmp 0x478532
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x8000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetMappedFileNameW]
test eax, eax
jne 0x47858b
test edi, edi
jne 0x478565
push 0x8000
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x47858b
push str.Unable_to_retrieve_the_path_of_the_module_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0047e080
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x51d458
push eax
call fcn.004ac830
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00415560
mov ecx, ebx
call fcn.00478ff0
add esp, 0x18
test esi, esi
je 0x4785ad
push esi
call fcn.004938d1
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
Function at 0x479450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x4794f0
test edx, edx
je 0x4794f0
cmp word [edx], 0
je 0x4794f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x14]
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4794d9
mov dword [ebp - 8], eax
push eax
mov ecx, edi
call fcn.0043bae0
lea eax, [ebp - 8]
push eax
push dword [edi]
push dword [ebp - 0x10]
push 0
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 0
mov esi, eax
mov eax, dword [ebp - 8]
jne 0x4794d1
test eax, eax
je 0x4794d1
test esi, esi
je 0x4794a2
cmp esi, 0xea
je 0x4794a2
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4794f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
jmp 0x4794f5
mov esi, 0x57
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0049384c
mov esp, ebp
pop ebp
ret
Function at 0x479910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
test edx, edx
je 0x479983
test edi, edi
je 0x479983
push 0
lea eax, [ebp - 8]
push eax
push 0
push 2
push 0
push 0
push 0
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x47996c
push 4
push edi
push 4
push eax
push str.SfxInstProgress
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x479988
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
jmp 0x479988
mov esi, 0x57
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.0049384c
mov esp, ebp
pop ebp
ret
Function at 0x47ba30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x52737c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x527ad4]
test al, 1
jne 0x47ba85
or eax, 1
mov dword [0x527ad4], eax
lea eax, [ebp - 0x158]
push eax
call fcn.0047b7a0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [0x527ad8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [0x527ae8], xmm0
xor eax, eax
lea edi, [ebp - 0x110]
mov ecx, 0x40
mov edx, 0x527ad8
rep stosd dword es:[edi], eax
push 0x20
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x130], 0x6a09e667
mov dword [ebp - 0x12c], 0xbb67ae85
mov dword [ebp - 0x128], 0x3c6ef372
mov dword [ebp - 0x124], 0xa54ff53a
mov dword [ebp - 0x120], 0x510e527f
mov dword [ebp - 0x11c], 0x9b05688c
mov dword [ebp - 0x118], 0x1f83d9ab
mov dword [ebp - 0x114], 0x5be0cd19
call fcn.0047e280
rdtsc
add esp, 4
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x138]
push 8
call fcn.0047e280
add esp, 4
lea edx, [ebp - 0x138]
mov ecx, 0x527ad8
call fcn.0047e2e0
mov edi, dword [0x527ad8]
mov esi, dword [0x527adc]
push 0x52737c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov edx, esi
xor ecx, ebp
pop esi
call fcn.0049384c
mov esp, ebp
pop ebp
ret

Function at 0x47c0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d81b6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x30]
call fcn.00471d10
push dword [edi + 0x30]
call fcn.0049385d
add esp, 4
lea ecx, [edi + 0x28]
call fcn.00471d10
push dword [edi + 0x28]
call fcn.0049385d
add esp, 4
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0
mov edi, dword [edi + 8]
test edi, edi
je 0x47c143
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x47c143
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
Function at 0x47d640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x51b0c0
push 0x4af0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x520078]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push 1
call fcn.00493958
add esp, 4
test al, al
jne 0x47d68b
push 7
call fcn.00493f0c
xor bl, bl
mov byte [ebp - 0x1d], bl
mov dword [ebp - 4], 0
call fcn.00493923
mov byte [ebp - 0x28], al
mov eax, dword [0x524d1c]
cmp eax, 1
jne 0x47d6b0
push 7
call fcn.00493f0c
test eax, eax
jne 0x47d703
mov dword [0x524d1c], 1
push 0x4e3440
push 0x4e3420
call fcn.004c306f
add esp, 8
test eax, eax
je 0x47d6e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x47d7e6
push 0x4e341c
push 0x4e3314
call fcn.004c3013
add esp, 8
mov dword [0x524d1c], 2
jmp 0x47d708
mov bl, 1
mov byte [ebp - 0x1d], bl
push dword [ebp - 0x28]
call fcn.00493ab2
add esp, 4
call fcn.00494109
mov esi, eax
cmp dword [esi], 0
je 0x47d73e
push esi
call fcn.00493a28
add esp, 4
test al, al
je 0x47d73e
push 0
push 2
push 0
mov esi, dword [esi]
mov ecx, esi
call dword [0x4e3310]
call esi
call fcn.0049410f
mov esi, eax
cmp dword [esi], 0
je 0x47d761
push esi
call fcn.00493a28
add esp, 4
test al, al
je 0x47d761
push dword [esi]
call fcn.004c337f
add esp, 4
call fcn.00494027
push ecx
call fcn.004c2dac
push eax
call fcn.0042adf0
mov esi, eax
call fcn.0047d960
call fcn.004c328e
test al, al
jne 0x47d788
push esi
call fcn.004c33b7
test bl, bl
jne 0x47d791
call fcn.004c335a
push 0
push 1
call fcn.00493acf
add esp, 8
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x47d7e6
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
Function at 0x47e110
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x28], ebx
push edi
lea eax, [ebx + 0x2c]
mov ebx, 0x30
mov edx, dword [eax + 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x47e126
mov ebx, dword [ebp - 0x28]
mov edx, 0x503c98
mov dword [ebp - 0x24], edx
mov eax, dword [ebx + 8]
mov edi, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x28]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x14]
add esi, ecx
add dword [ebp - 0x14], 4
add esi, dword [eax]
mov eax, edi
add esi, dword [edx]
mov edx, edi
add esi, dword [ebp - 0x20]
rol eax, 0xa
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x18]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x24]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], edx
cmp edx, str.unknown_compression_method
jl 0x47e1a7
mov eax, dword [ebp - 0x2c]
add eax, edi
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x28]
pop edi
pop esi
add dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x18], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
add dword [ebx + 0x24], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e2e0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov eax, dword [esi + 4]
mov ebx, dword [esi]
mov dword [ebp - 4], eax
mov eax, ebx
shr eax, 5
and eax, 0xf
lea ecx, [esi + eax*4]
mov eax, dword [ecx + 0x28]
shl eax, 8
or eax, 0x80
mov dword [ecx + 0x28], eax
add dword [esi], 8
jne 0x47e31a
inc dword [esi + 4]
mov dword [esi], 0
test dword [esi], 0x1ff
jne 0x47e329
mov ecx, esi
call fcn.0047e110
mov eax, dword [esi]
and eax, 0x1ff
cmp eax, 0x1c0
je 0x47e36f
mov eax, dword [esi]
shr eax, 5
and eax, 0xf
shl dword [esi + eax*4 + 0x28], 8
add dword [esi], 8
jne 0x47e352
inc dword [esi + 4]
mov dword [esi], 0
test dword [esi], 0x1ff
jne 0x47e361
mov ecx, esi
call fcn.0047e110
mov eax, dword [esi]
and eax, 0x1ff
cmp eax, 0x1c0
jne 0x47e337
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
call fcn.0047e110
xor edx, edx
mov eax, edx
mov ecx, 3
and eax, 3
sub ecx, eax
mov eax, edx
shr eax, 2
shl ecx, 3
mov eax, dword [esi + eax*4 + 8]
shr eax, cl
mov byte [edx + edi], al
inc edx
cmp edx, 0x20
jl 0x47e381
xor eax, eax
lea edi, [esi + 0x28]
mov ecx, 0x40
rep stosd dword es:[edi], eax
pop edi
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], 0x6a09e667
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0x3c6ef372
mov dword [esi + 0x14], 0xa54ff53a
mov dword [esi + 0x18], 0x510e527f
mov dword [esi + 0x1c], 0x9b05688c
mov dword [esi + 0x20], 0x1f83d9ab
mov dword [esi + 0x24], 0x5be0cd19
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480cb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x480cbb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00480cd0
Function at 0x480f70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
mov dword [ebp - 0x60], 0
push 0x3ff0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.004816c0
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, esi
call fcn.00481790
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0049384c
mov esp, ebp
pop ebp
ret

Function at 0x481ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
jne 0x481bba
mov dword [edi + 0x18], 6
xor al, al
pop edi
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov edx, 0x400000
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov byte [edi + 0xd], 0
nop dword [eax]
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ecx
push dword [edi + 0x14]
call fcn.004c46d9
add esp, 0xc
test eax, eax
jle 0x481bff
mov ecx, dword [ebp + 8]
add ebx, eax
add ecx, eax
mov edx, 0x400000
mov dword [ebp + 8], ecx
sub esi, eax
jne 0x481bd0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x481c08
mov dword [eax], ebx
cmp dword [ebp + 0xc], ebx
pop esi
pop ebx
je 0x481c25
call fcn.004bf08d
mov ecx, dword [eax]
call fcn.00481da0
mov dword [edi + 0x18], eax
xor al, al
pop edi
pop ebp
ret 0xc
push 1
push 0
push dword [edi + 0x14]
call fcn.004c418e
add esp, 0xc
mov dword [edi + 4], eax
mov al, 1
pop edi
pop ebp
ret 0xc

Function at 0x482af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x482b06
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret