joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404b00
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c58e0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x870
mov eax, dword [0x4f1040]
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 dword [ebp - 0x880], ecx
mov dword [ebp - 4], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x874], eax
cmp dword [ebp - 0x874], 0xffffffff
jne 0x404b5f
xor eax, eax
jmp 0x404c53
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004a0100
add esp, 0xc
mov dword [ebp - 0x870], 0x22c
mov dword [ebp - 0x644], 0x428
lea ecx, [ebp - 0x870]
push ecx
mov edx, dword [ebp - 0x874]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x87c], eax
cmp dword [ebp - 0x87c], 0
je 0x404c29
lea eax, [ebp - 0x84c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404cd0
add esp, 8
movzx edx, al
test edx, edx
je 0x404c0a
mov eax, dword [ebp - 0x868]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x878], 0
je 0x404c0a
push 0
mov ecx, dword [ebp - 0x878]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x878]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
jne 0x404c0a
jmp 0x404c29
lea eax, [ebp - 0x870]
push eax
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x87c], eax
jmp 0x404ba3
mov edx, dword [ebp - 0x874]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404c3e
mov dword [ebp - 4], 0xffffffff
jmp 0x404c4e
mov eax, 1
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.0040b76b
mov esp, ebp
pop ebp
ret 8
Function at 0x4055a0
Capabilities:
Get file size
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c598d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
mov eax, dword [0x4f1040]
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 dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x2c]
call fcn.00402300
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 0xc]
call fcn.00401b60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40561d
push 0x4e4624
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x405691
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add eax, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004ab750
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a0100
add esp, 0xc
mov dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a875f
add esp, 4
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4056a4
mov dword [ebp - 4], 0
jmp 0x4056b4
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004020c0
mov eax, dword [ebp - 0x3c]
or eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402030
mov eax, dword [ebp + 8]
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.0040b76b
mov esp, ebp
pop ebp
ret
Function at 0x405700
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c59cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1e
lea eax, [ebp - 0x4c]
push eax
call fcn.00404d30
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401e20
mov dword [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004058e0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov edx, 0x614
mov word [ebp - 0x3c], dx
mov dword [ebp - 0x36], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x32], 0
lea ecx, [ebp - 0x28]
call fcn.00401b60
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 3
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401be0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b76b
mov esp, ebp
pop ebp
ret

Function at 0x4057d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4f1040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x405804
or eax, 0xffffffff
jmp 0x4058ce
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4058be
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x40586e
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404cd0
add esp, 8
movzx edx, al
test edx, edx
je 0x40586c
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x4058ce
jmp 0x40589f
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401b60
push eax
call fcn.004ac5b8
add esp, 8
test eax, eax
jne 0x40589f
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x4058ce
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x405828
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b76b
mov esp, ebp
pop ebp
ret
Function at 0x406520
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5acd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4067c0
push 0
push 0
call fcn.004acffc
add esp, 0x18
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
lea ecx, [ebp - 0x30]
call fcn.00406330
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00406b60
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
add eax, 0x24
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406330
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00406b60
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x44
push edx
lea ecx, [ebp - 0x28]
call fcn.00406330
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.00406b60
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00406360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406360
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x406820
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5b3d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4f1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00406330
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00406bb0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00406be0
push eax
lea ecx, [ebp - 0x14]
call fcn.00406b20
movzx ecx, al
test ecx, ecx
je 0x4068d1
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x4068ac
push 0
lea ecx, [ebp - 0x14]
call fcn.00406b00
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x14]
call fcn.00406b00
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00406f40
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x24]
call fcn.00406330
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00406bb0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00406be0
push eax
lea ecx, [ebp - 0x18]
call fcn.00406b20
movzx edx, al
test edx, edx
je 0x406929
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00406f40
mov edx, dword [ebp - 0x10]
add edx, 0x44
push edx
lea ecx, [ebp - 0x20]
call fcn.00406330
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.00406bb0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.00406be0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406b20
movzx eax, al
test eax, eax
je 0x406981
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.00406f40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40abb0
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6006
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x4f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.004a0100
add esp, 0xc
push 0
push 0xb
lea ecx, [ebp - 0x810]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x85c], eax
cmp dword [ebp - 0x85c], 0
je 0x40ad34
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0x828]
call fcn.00401d30
mov dword [ebp - 4], 0
push 0x4e6334
lea ecx, [ebp - 0x828]
call fcn.00404c80
push 0x4e6338
lea ecx, [ebp - 0x828]
call fcn.00404c80
push 0x4e6344
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x858]
push ecx
call fcn.00405cb0
add esp, 0xc
mov byte [ebp - 4], 1
push 0x4e634c
lea ecx, [ebp - 0x858]
call fcn.00404c80
push 0x4e6358
lea ecx, [ebp - 0x858]
call fcn.00404c80
push 0x4e6364
lea edx, [ebp - 0x828]
push edx
lea eax, [ebp - 0x840]
push eax
call fcn.00405cb0
add esp, 0xc
mov byte [ebp - 4], 2
push 0x4e636c
lea ecx, [ebp - 0x840]
call fcn.00404c80
push str..lnk
lea ecx, [ebp - 0x840]
call fcn.00404c80
lea ecx, [ebp - 0x858]
call fcn.00401b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x840]
call fcn.00401b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x828]
call fcn.00401b60
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x840]
call fcn.00401be0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x858]
call fcn.00401be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00401be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b76b
mov esp, ebp
pop ebp
ret

Function at 0x40c1e3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c222
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c222
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c222
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40c222
cmp dword [ecx + 0x74], 0xe
jbe 0x40c222
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40f660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x40f681
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x40f699
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x40f6b1
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x40f6c7
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x40f6df
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x417d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x417e06
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x417e06
cmp dword [ebp - 0x20], 0x10
jne 0x417dd2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
jne 0x417dd2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x10], eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x24]
push eax
call fcn.004171d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x417df9
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x20], 0x12
jne 0x417e01
jmp 0x417e06
jmp 0x417d7d
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x20], 0x12
jne 0x417e2c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x41ef30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ef4c
mov dword [ebp - 4], 1
jmp 0x41ef53
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41fe10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x41fe2a
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
je 0x41fe34
mov eax, 0x1000000
jmp 0x41ff29
mov edx, dword [ebp - 8]
add edx, 0x244
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 8]
add eax, 0x244
push eax
call fcn.004b1676
add esp, 4
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2 + 0x242]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x41fea1
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x41fea1
mov ecx, 2
shl ecx, 0
mov edx, 0x2f
mov eax, dword [ebp - 0xc]
mov word [eax + ecx], dx
mov ecx, 2
shl ecx, 1
xor edx, edx
mov eax, dword [ebp - 0xc]
mov word [eax + ecx], dx
cmp dword [ebp + 0x10], 1
jne 0x41fee1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041fdf0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x41fec5
mov dword [ebp - 0x10], 1
jmp 0x41fecc
mov dword [ebp - 0x10], 0
mov dl, byte [ebp - 0x10]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x41fee1
mov eax, 0x2000000
jmp 0x41ff29
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00425080
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41ff07
mov eax, dword [ebp - 0x1c]
jmp 0x41ff29
mov edx, dword [ebp - 0x14]
push edx
call fcn.00425d60
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x41ff27
mov eax, 0x200
jmp 0x41ff29
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420910
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x4cc990]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x4cc990]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x425200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x42524f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x425245
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x4252a9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x42526f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a02a0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x425500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x425510
xor eax, eax
jmp 0x4256ad
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x42566e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cc990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4cc990]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4cc990]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cc990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4cc990]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4cc990]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cc990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4cc990]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x425519
cmp dword [ebp + 0x10], 0
je 0x4256a7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cc990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x425674
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret