joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478120
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 0x4dfd79
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 0x4781d9
push str.get_file_content_GetFileSizeEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047e3f0
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x51d3f8
push eax
call fcn.004acc20
cmp dword [ebp - 0x1c], 0
jne 0x478247
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0043be40
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 0x47821d
push str.get_file_content_ReadFile
jmp 0x4781b8
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0043be40
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.00493bec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.get_file_content
push 0xdf
jmp 0x4781bf

Function at 0x478410
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 0x478466
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00493bec
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.0047e3f0
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x51d3f8
push eax
call fcn.004acc20
int3
Function at 0x478490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfe18
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 0x4784ff
mov eax, dword [esi]
jmp 0x478501
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 0x4785e7
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4785c1
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x47856e
push dword [ebp - 0x24]
push 0x400000
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [ebp - 0x1c]
push esi
call fcn.0043be40
push esi
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.004ad070
add esp, 0xc
jmp 0x478571
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.00417380
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.00493bec
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.0047e3f0
add esp, 0xc
lea eax, [ebp - 0x3c]
push 0x51d3f8
push eax
call fcn.004acc20
mov ecx, esi
call fcn.004159e0
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.0047e450
add esp, 0x14
lea eax, [ebp - 0x3c]
push 0x51d3f8
push eax
call fcn.004acc20
int3
Function at 0x478840
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfe48
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.00494103
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test edi, edi
je 0x47889a
mov eax, edi
jmp 0x4788a2
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 0x4788fb
test edi, edi
jne 0x4788d5
push 0x8000
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x4788fb
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.0047e3f0
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x51d3f8
push eax
call fcn.004acc20
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00415980
mov ecx, ebx
call fcn.00479360
add esp, 0x18
test esi, esi
je 0x47891d
push esi
call fcn.00493c71
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.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x4797c0
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 0x479860
test edx, edx
je 0x479860
cmp word [edx], 0
je 0x479860
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 0x479849
mov dword [ebp - 8], eax
push eax
mov ecx, edi
call fcn.0043be40
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 0x479841
test eax, eax
je 0x479841
test esi, esi
je 0x479812
cmp esi, 0xea
je 0x479812
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x479865
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
jmp 0x479865
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.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x479c80
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 0x479cf3
test edi, edi
je 0x479cf3
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 0x479cdc
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 0x479cf8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
jmp 0x479cf8
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.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x47bda0
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 0x52796c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5280c4]
test al, 1
jne 0x47bdf5
or eax, 1
mov dword [0x5280c4], eax
lea eax, [ebp - 0x158]
push eax
call fcn.0047bb10
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [0x5280c8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [0x5280d8], xmm0
xor eax, eax
lea edi, [ebp - 0x110]
mov ecx, 0x40
mov edx, 0x5280c8
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.0047e5f0
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.0047e5f0
add esp, 4
lea edx, [ebp - 0x138]
mov ecx, 0x5280c8
call fcn.0047e650
mov edi, dword [0x5280c8]
mov esi, dword [0x5280cc]
push 0x52796c
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.00493bec
mov esp, ebp
pop ebp
ret

Function at 0x47c430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8556
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.00472080
push dword [edi + 0x30]
call fcn.00493bfd
add esp, 4
lea ecx, [edi + 0x28]
call fcn.00472080
push dword [edi + 0x28]
call fcn.00493bfd
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 0x47c4b3
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x47c4b3
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.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x47d9b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x51b068
push 0x4af4c0
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.00493d15
add esp, 4
test al, al
jne 0x47d9fb
push 7
call fcn.004942cc
xor bl, bl
mov byte [ebp - 0x1d], bl
mov dword [ebp - 4], 0
call fcn.00493ce0
mov byte [ebp - 0x28], al
mov eax, dword [0x52530c]
cmp eax, 1
jne 0x47da20
push 7
call fcn.004942cc
test eax, eax
jne 0x47da73
mov dword [0x52530c], 1
push 0x4e3440
push 0x4e3420
call fcn.004c34bf
add esp, 8
test eax, eax
je 0x47da55
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x47db56
push 0x4e341c
push 0x4e3314
call fcn.004c3463
add esp, 8
mov dword [0x52530c], 2
jmp 0x47da78
mov bl, 1
mov byte [ebp - 0x1d], bl
push dword [ebp - 0x28]
call fcn.00493e6f
add esp, 4
call fcn.00494509
mov esi, eax
cmp dword [esi], 0
je 0x47daae
push esi
call fcn.00493de5
add esp, 4
test al, al
je 0x47daae
push 0
push 2
push 0
mov esi, dword [esi]
mov ecx, esi
call dword [0x4e3310]
call esi
call fcn.0049450f
mov esi, eax
cmp dword [esi], 0
je 0x47dad1
push esi
call fcn.00493de5
add esp, 4
test al, al
je 0x47dad1
push dword [esi]
call fcn.004c378b
add esp, 4
call fcn.004943e7
push ecx
call fcn.004c31fc
push eax
call fcn.0042b220
mov esi, eax
call fcn.0047dcd0
call fcn.0049441a
test al, al
jne 0x47daf8
push esi
call fcn.004c37c3
test bl, bl
jne 0x47db01
call fcn.004c3766
push 0
push 1
call fcn.00493e8c
add esp, 8
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x47db56
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.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x47e480
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 0x47e496
mov ebx, dword [ebp - 0x28]
mov edx, 0x503c50
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.incorrect_header_check
jl 0x47e517
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 0x47e650
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 0x47e68a
inc dword [esi + 4]
mov dword [esi], 0
test dword [esi], 0x1ff
jne 0x47e699
mov ecx, esi
call fcn.0047e480
mov eax, dword [esi]
and eax, 0x1ff
cmp eax, 0x1c0
je 0x47e6df
mov eax, dword [esi]
shr eax, 5
and eax, 0xf
shl dword [esi + eax*4 + 0x28], 8
add dword [esi], 8
jne 0x47e6c2
inc dword [esi + 4]
mov dword [esi], 0
test dword [esi], 0x1ff
jne 0x47e6d1
mov ecx, esi
call fcn.0047e480
mov eax, dword [esi]
and eax, 0x1ff
cmp eax, 0x1c0
jne 0x47e6a7
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
call fcn.0047e480
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 0x47e6f1
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 0x481020
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x48102b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00481040
Function at 0x4812e0
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.00481a30
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, esi
call fcn.00481b00
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00493bec
mov esp, ebp
pop ebp
ret

Function at 0x481f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
jne 0x481f2a
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.004c4ae5
add esp, 0xc
test eax, eax
jle 0x481f6f
mov ecx, dword [ebp + 8]
add ebx, eax
add ecx, eax
mov edx, 0x400000
mov dword [ebp + 8], ecx
sub esi, eax
jne 0x481f40
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x481f78
mov dword [eax], ebx
cmp dword [ebp + 0xc], ebx
pop esi
pop ebx
je 0x481f95
call fcn.004bf4dd
mov ecx, dword [eax]
call fcn.00482110
mov dword [edi + 0x18], eax
xor al, al
pop edi
pop ebp
ret 0xc
push 1
push 0
push dword [edi + 0x14]
call fcn.004c459a
add esp, 0xc
mov dword [edi + 4], eax
mov al, 1
pop edi
pop ebp
ret 0xc

Function at 0x482e60
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 0x482e76
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483190
Capabilities:
Encode data using xor

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

Function at 0x483220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
imul eax, ebx, 0x440
mov ecx, dword [ebp + 8]
mov esi, ebx
shl esi, 5
add esi, ecx
lea edx, [edi + 0x44]
add edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], edx
push eax
push edx
movzx edx, word [ecx]
mov ecx, esi
shr edx, 4
mov edx, dword [eax + edx*4]
call fcn.00483190
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ecx
movzx eax, word [edx]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ecx + eax*4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 0x20
push eax
movzx eax, word [edx + 0x10]
shr eax, 4
mov edx, dword [ecx + eax*4]
lea ecx, [esi + 0x10]
add edx, dword [ebp - 4]
call fcn.00483190
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
movzx eax, word [eax + 0x10]
xor eax, 0x7f0
shr eax, 4
add edx, dword [ecx + eax*4]
mov eax, dword [edi]
mov dword [edi + ebx*4 + 4], eax
mov edi, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
cmp eax, edi
jbe 0x48330b
mov ebx, ecx
lea eax, [edi - 0x10]
xor esi, esi
mov edi, dword [ebp + 8]
or eax, 0x100
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [edi + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [ebx + ecx*4]
cmp eax, 2
jae 0x4832d0
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, esi
mov dword [ecx + edi*4], eax
inc edi
mov dword [ebp - 0xc], edi
cmp edi, dword [ebp - 0x10]
jb 0x4832c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x489c30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx + 0x34], 0
lea esi, [ecx + 0x60]
mov word [ecx + 0x1e], 0
xor edx, edx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x489c70
pop esi
ret

Function at 0x48ac50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push edx
push 0
push 0
call fcn.004c230e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x48ac7a
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x49679a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret