joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cdc10
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689547
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x740184]
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 esi, dword [ebp + 0xc]
mov eax, esi
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x4cdc4e
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push eax
call edi
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4cdc66
mov edx, dword [esi]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x4cdc70
mov ecx, dword [ebx]
movzx eax, byte [ebp + 0x10]
xor eax, 1
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4cdcb0
cmp dword [esi + 0x14], 8
jb 0x4cdc8c
mov esi, dword [esi]
push 0x80
push esi
call 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.0048b49a
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0047e550
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.0047d770
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0045f8a0
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.0045f8a0
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push str.Cannot_copy_file__
push eax
call fcn.0045f300
push str.__to__
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 4
push eax
call fcn.00456080
push esi
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
call fcn.004560d0
add esp, 0x48
push str.__:
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
call fcn.00456080
push edi
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
call fcn.004560d0
add esp, 0x18
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 8
call fcn.0044c020
push 0x73d15c
lea eax, [ebp - 0xf4]
push eax
call fcn.004a18e8
int3
Function at 0x4cdd90
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6895a6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x740184]
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 esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4cddcb
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
nop
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4cddea
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4cde19
call ebx
cmp eax, 0x91
jne 0x4cde8b
cmp edi, 0x64
je 0x4cde8b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jle 0x4cdde0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4cde23
mov eax, dword [esi]
push 0
push eax
push 0x1005
push 0x10
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4cde4a
mov eax, dword [esi]
push 0
push 0x2000080
push 3
push 0
push 7
push closesocket
push eax
call ebx
cmp eax, 0xffffffff
je 0x4cde69
push eax
call edi
jmp 0x4cde40
call dword [sym.imp.KERNEL32.dll_GetLastError]
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.0048b49a
mov esp, ebp
pop ebp
ret
push 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0047e550
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.0047d770
add esp, 0x14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0044d800
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0047d770
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push str.Cannot_delete_directory__
push eax
call fcn.0045f300
push str.__:
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
call fcn.00456080
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0046d810
add esp, 0x2c
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
call fcn.0044c020
push 0x73d15c
lea eax, [ebp - 0xac]
push eax
call fcn.004a18e8
int3

Function at 0x4cdf30
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4cdf41
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x4cdf55
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4cdf72
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x4cdf72
call esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4ce9c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6897f3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x4ce9fa
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x4cea02
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4cea28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 3
lea ecx, [ebp - 0xe8]
mov esi, eax
call fcn.00452f50
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
push str.Could_not_rename_file__error_:
push eax
call fcn.00456150
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xe8]
push eax
call fcn.00452f30
push esi
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0x38]
push eax
call fcn.004a18e8
int3

Function at 0x4cebd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689878
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x740184]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x4ceca6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4cec24
push str.Cant_get_file_size_for
jmp 0x4cecab
push ebx
push edi
mov ecx, ebx
call fcn.0045cd70
test edi, edi
je 0x4cec8a
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push edi
push dword [ebx]
push esi
call fcn.004cecd0
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x4cec5a
cmp dword [ebp - 0x2c], edi
je 0x4cec8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cant_read_file
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044dac0
push esi
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0x48]
jmp 0x4cecbb
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.0048b49a
mov esp, ebp
pop ebp
ret
push str.Cant_open_file
lea ecx, [ebp - 0x38]
call fcn.0045f360
push 0x738cd4
lea eax, [ebp - 0x38]
push eax
call fcn.004a18e8
int3
Function at 0x4cecd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx], 0
cmp esi, 0x100000
jbe 0x4ced38
nop word [eax + eax]
push 0
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push edx
push 0x100000
push edi
push eax
call ecx
mov ecx, dword [ebp + 0x10]
add edi, ecx
add dword [ebx], ecx
sub esi, ecx
test eax, eax
je 0x4ced61
cmp ecx, 0x100000
jne 0x4ced6b
mov eax, dword [ebp + 8]
cmp esi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
ja 0x4ced00
mov dword [ebp + 0x10], 0
test esi, esi
je 0x4ced6b
push 0
lea edx, [ebp + 0x10]
push edx
push esi
push edi
push eax
call ecx
mov ecx, dword [ebp + 0x10]
add dword [ebx], ecx
test eax, eax
jne 0x4ced6b
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4cefa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx], 0
cmp esi, 0x100000
jbe 0x4cf008
nop word [eax + eax]
push 0
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push edx
push 0x100000
push edi
push eax
call ecx
mov ecx, dword [ebp + 0x10]
add edi, ecx
add dword [ebx], ecx
sub esi, ecx
test eax, eax
je 0x4cf031
cmp ecx, 0x100000
jne 0x4cf03b
mov eax, dword [ebp + 8]
cmp esi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
ja 0x4cefd0
mov dword [ebp + 0x10], 0
test esi, esi
je 0x4cf03b
push 0
lea edx, [ebp + 0x10]
push edx
push esi
push edi
push eax
call ecx
mov ecx, dword [ebp + 0x10]
add dword [ebx], ecx
test eax, eax
jne 0x4cf03b
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4cf420
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6899c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x740184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x18]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
and edx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax + edx*8]
cmp esi, ecx
je 0x4cf4f2
mov esi, dword [eax + edx*8 + 4]
mov esi, dword [esi]
cmp esi, ecx
je 0x4cf4f2
mov esi, dword [esi + 4]
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne 0x4cf4a7
mov edx, dword [ebp + 0x10]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0048af59
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4cf522
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4cf53a
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x4cf55d
cmp eax, esi
jne 0x4cf542
mov dword [ecx], edi
jmp 0x4cf55d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4cf55d
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004d0e10
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cfc80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686560
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x740184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 8], 0
je 0x4cfce9
mov esi, dword [edi + 4]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x4cfce9
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4cfce9
cmp dword [ebp - 0x10], 0x103
jne 0x4cfce0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4cfce9
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi], vtable.utils::CHandleGuardImpl_struct_utils::DebugBreaker_.0
test eax, eax
je 0x4cfd18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4cfd18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
jne 0x4cfd18
call fcn.0044e7f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cfe50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x688f58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ecx + 4]
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x4cfebd
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4cfebd
cmp dword [ebp - 0x2c], 0x103
jne 0x4cfeb3
push 2
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4cfeb3
cmp byte [ebp + 0xc], al
je 0x4cfed9
jmp 0x4cfebd
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cant_terminate_process
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044dac0
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0x3c]
push eax
call fcn.004a18e8
int3
Function at 0x4d0a20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689c10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push 0x104
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0048aecd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x104
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x4d0ab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0044d800
test esi, esi
je 0x4d0b33
mov eax, esi
jmp 0x4d0b7a
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00455de0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.004ccbf0
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004cbf60
add esp, 0x10
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
push dword [esi + 4]
call fcn.00453d70
mov eax, dword [ebp - 0x30]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], esi
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0
call fcn.0048af59
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044d800
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0046db90
mov esi, eax
add esp, 8
cmp edi, esi
je 0x4d0b70
mov ecx, edi
call fcn.0044d800
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.0044d800
xor eax, eax
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.0048b49a
mov esp, ebp
pop ebp
ret
Function at 0x4d0c90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689c50
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], 0
test esi, esi
je 0x4d0cfa
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4d0cfa
cmp dword [ebp - 0x44], 0x103
jne 0x4d0cec
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4d0d14
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4d0d48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cant_terminate_process
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044dac0
push esi
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0x54]
push eax
call fcn.004a18e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Process_termination_failed
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0044dac0
push esi
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0x64]
push eax
call fcn.004a18e8
int3

Function at 0x4d10b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x4d1123
cmp eax, edi
jne 0x4d111b
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4d112b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4d112b
cmp eax, edi
jne 0x4d112e
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0048af59
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4d23c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], 0x104
push ecx
push 0x104
mov dword [ebp - 0x3c], 0
call fcn.004d1300
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jne 0x4d24d6
xor ecx, ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push ecx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x4d24ab
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
lea eax, [edx + ecx*2]
cmp edx, eax
je 0x4d2481
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0044eb60
movups xmm0, xmmword [ebp - 0x28]
lea ecx, [ebp - 0x28]
movups xmm1, xmmword [edi]
movq xmm2, qword [edi + 0x10]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
movups xmmword [ebp - 0x28], xmm1
movq qword [ebp - 0x18], xmm2
call fcn.0044d800
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4d24eb
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4d24e1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d2508
jmp 0x4d24e1
sub eax, ecx
sar eax, 1
je 0x4d250d
jmp 0x4d243c
push ecx
push edx
call fcn.0048af59
add esp, 8
mov eax, 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.0048b49a
mov esp, ebp
pop ebp
ret
call fcn.004aae7a
call fcn.00453f30
int3
Function at 0x4d26e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689f88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x740184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xd]
push eax
push 0x100
lea ecx, [ebp - 0x24]
call fcn.004d1400
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ecx
cmp edx, dword [ebp - 0x20]
jne 0x4d2741
xor edx, edx
jmp 0x4d2749
test ecx, ecx
je 0x4d2842
lea eax, [ebp - 0x14]
push eax
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4d277e
cmp esi, 0xea
jne 0x4d27fe
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov ecx, eax
call fcn.0045cd70
jmp 0x4d2726
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4d2797
cmp eax, 2
je 0x4d2797
cmp eax, 7
je 0x4d2797
mov esi, 0xd
jmp 0x4d27fe
mov ecx, dword [ebp - 0x14]
test cl, 1
je 0x4d27a6
mov esi, 0xd
jmp 0x4d27fe
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp esi, eax
jne 0x4d27df
xor esi, esi
mov edi, ecx
shr edi, 1
cmp edi, 1
jbe 0x4d27e5
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, eax
call fcn.0045cd70
cmp word [esi + edi*2 - 2], 0
lea eax, [edi - 1]
mov ecx, dword [ebp + 0x10]
cmovne eax, edi
push eax
push esi
call fcn.0044eb60
jmp 0x4d27fc
sub eax, esi
je 0x4d2842
jmp 0x4d27b2
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4d27f7
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
xor esi, esi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4d282e
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d2824
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d2847
push edx
push ecx
call fcn.0048af59
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00453f30
call fcn.004aae7a
int3