joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461a32
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
sub esp, 0x438
lea eax, [esp + 8]
push 0x228
push 0
push eax
call fcn.0041d750
add esp, 0xc
cmp dword [esp + 0x43c], 0
je 0x461b51
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x461b50
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x461b49
push ebp
push edi
push dword [esp + 0x18]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x461b33
push 0x104
lea eax, [esp + 0x240]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x461b2c
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push dword [esp + 0x448]
lea eax, [esp + 0x240]
push eax
call fcn.0041ca4e
pop ecx
pop ecx
test eax, eax
je 0x461b2c
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
jmp 0x461b17
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x18]
je 0x461b1f
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x461af3
jmp 0x461b2c
push 0
push 0
push 0x12
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x461a8e
pop edi
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x438
ret 4
Function at 0x461b60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88c
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0040338e
lea ecx, [esp + 0x680]
call fcn.0040338e
xor eax, eax
xor ebx, ebx
push 0x206
mov word [esp + 0x22c], ax
lea eax, [esp + 0x22e]
push ebx
push eax
call fcn.0041d750
add esp, 0xc
lea eax, [esp + 0x228]
push 0x103
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov esi, dword [ebp + 8]
test esi, esi
je 0x461cd2
cmp word [esi], bx
je 0x461cd2
push esi
lea eax, [esp + 0x684]
push str._s.exe
push eax
call fcn.00403732
add esp, 0xc
lea eax, [esp + 0x430]
push eax
push dword [esp + 0x688]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x461cd2
test byte [esp + 0x430], 0x10
jne 0x461cb4
lea eax, [esp + 0x45c]
push eax
push esi
lea eax, [esp + 0x18]
push 0x50e448
push eax
call fcn.00403732
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x461c8f
mov eax, dword [esp + 0x18]
inc eax
push eax
push ecx
call fcn.0042c28f
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x461c8f
lea edx, [esp + 0x228]
mov eax, ecx
mov bx, word [eax]
cmp bx, word [edx]
jne 0x461c88
test bx, bx
je 0x461c84
mov bx, word [eax + 2]
cmp bx, word [edx + 2]
jne 0x461c88
add eax, 4
add edx, 4
test bx, bx
jne 0x461c62
xor eax, eax
jmp 0x461c97
sbb eax, eax
or eax, 1
jmp 0x461c97
cmp dword [esp + 0x18], 1
sbb eax, eax
inc eax
test eax, eax
je 0x461cb4
push 0x50a834
push ecx
call fcn.0041ca4e
pop ecx
pop ecx
push eax
call fcn.00461a32
push esi
call fcn.004618dc
lea eax, [esp + 0x430]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461c12
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461da0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0x45c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x208
push esi
push eax
mov ebx, esi
call fcn.0041d750
mov edi, dword [esp + 0x47c]
add esp, 0xc
test edi, edi
je 0x461f7c
push 0x50e438
push edi
push 0x50e448
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00403ae6
add esp, 0x14
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x461f2b
test byte [esp + 0x218], 0x10
lea eax, [esp + 0x244]
je 0x461e89
push 0x50d26c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x461f0d
push 0x50e440
lea eax, [esp + 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x461f0d
lea eax, [esp + 0x244]
push eax
push edi
push 0x50e448
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00403ae6
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, 0x569a24
push 1
push 1
push 0x50e438
push eax
call fcn.00461da0
add ebx, eax
jmp 0x461f0d
push eax
push edi
push 0x50e448
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00403ae6
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x461f0c
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x461eb8
sub ecx, edx
sar ecx, 1
cmp ecx, dword [0x534640]
jae 0x461f0c
mov esi, dword [0x53463c]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0043e10c
add esp, 0xc
xor esi, esi
test eax, eax
je 0x461f0c
push 4
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [0x569a24], 1
inc ebx
lea eax, [esp + 0x218]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461e0a
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x461f39
inc ebx
jmp 0x461f78
mov ecx, edi
call fcn.00408f92
cmp eax, dword [0x534640]
jae 0x461f78
mov esi, dword [0x53463c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push esi
call fcn.0043e10c
add esp, 0xc
test eax, eax
je 0x461f78
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [0x569a24], 1
mov eax, ebx
jmp 0x461f7e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x45c
ret 0x10
Function at 0x461f8b
Capabilities:
Get file system object information
Query or enumerate registry value

Disassembly:
sub esp, 0x6bc
lea eax, [esp + 0x208]
push ebp
push esi
mov ebp, 0x2b4
push ebp
push 0
push eax
call fcn.0041d750
mov esi, dword [esp + 0x6d4]
add esp, 0xc
test esi, esi
je 0x4620fd
push edi
mov edi, dword [esp + 0x6d0]
test edi, edi
je 0x4620fc
push ebx
mov ebx, dword [esp + 0x6d8]
test ebx, ebx
je 0x4620fb
push 0x1000
xor eax, eax
mov word [edi], ax
lea eax, [esp + 0x21c]
or dword [ebx], 0xffffffff
push ebp
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x224]
push eax
call ebp
test eax, eax
jle 0x462038
push edi
call ebp
dec eax
shr eax, 1
je 0x46202c
push SysReAllocString
lea ecx, [esp + 0x228]
mov edx, eax
push ecx
push ecx
mov ecx, edi
call fcn.00461cf1
mov eax, dword [esp + 0x21c]
jmp 0x4620f9
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x200
push eax
lea eax, [esp + 0x4d0]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push eax
push closesocket
call esi
push str.DefaultIcon
mov edx, 0x200
lea ecx, [esp + 0x4d0]
call fcn.0041b1cd
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x104
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x4d4]
push eax
push closesocket
call esi
lea eax, [esp + 0x18]
push 0x50b45c
push eax
call fcn.0041ca4e
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
je 0x4620fb
push eax
call ebp
xor esi, esi
inc esi
sub esi, eax
lea eax, [esp + 0x18]
push eax
call ebp
push edi
add esi, eax
call ebp
shr eax, 1
je 0x4620eb
shr esi, 1
cmp esi, 0x7ffffffe
jbe 0x4620db
xor eax, eax
mov word [edi], ax
jmp 0x4620eb
push esi
lea ecx, [esp + 0x1c]
mov edx, eax
push ecx
push ecx
mov ecx, edi
call fcn.00461cf1
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.0042bc61
pop ecx
mov dword [ebx], eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x6bc
ret 0xc
Function at 0x462108
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
test esi, esi
je 0x462279
cmp dword [ebp + 0x10], ebx
je 0x462279
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x462279
cmp dword [ebp - 4], ebx
je 0x462279
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041d750
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x46226b
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
mov edi, 0x103
push eax
push str._s_s.lnk
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00403ae6
add esp, 0x14
mov dword [ebp + 0x10], ebx
lea eax, [ebp + 0x10]
push eax
push 0x4f1700
push 1
push ebx
push 0x4f1730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46226a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46226a
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
push edx
push 0x4f1740
push ecx
call dword [eax]
test eax, eax
js 0x46224a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46224a
mov eax, dword [ecx]
lea edx, [ebp - 0x414]
push ebx
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x462241
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x61c]
push edi
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
js 0x462241
lea eax, [ebp - 0x61c]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x462237
test cx, cx
je 0x46223c
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x462237
add esi, 4
add eax, 4
test cx, cx
jne 0x462213
jmp 0x46223c
sbb ebx, ebx
or ebx, 1
test ebx, ebx
sete bl
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x46226a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb al, al
and bl, al
pop edi
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
movzx eax, bl
jmp 0x46227b
xor eax, eax
pop esi
pop ebx
leave
ret 0xc
Function at 0x462281
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push ebp
push esi
xor eax, eax
push 0x208
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
call fcn.0041d750
add esp, 0xc
cmp dword [esp + 0x21c], 0
je 0x46237d
cmp dword [esp + 0x220], 0
je 0x46237d
cmp dword [esp + 0x228], 0
je 0x46237d
mov ebp, dword [esp + 0x22c]
test ebp, ebp
je 0x46237d
mov esi, dword [esp + 0x230]
test esi, esi
je 0x46237d
lea eax, [esp + 8]
push eax
push dword [esp + 0x21c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x46237d
cmp dword [esp + 8], 0
je 0x46237d
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [esp + 8]
test eax, eax
je 0x462377
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [esp + 0x224]
lea eax, [esp + 0x10]
push eax
push str._s_s.lnk
lea eax, [ebp - 1]
push eax
push dword [esp + 0x238]
call fcn.00403ae6
add esp, 0x14
xor eax, eax
cmp word [esi], ax
cmove esi, dword [esp + 0x220]
push eax
push esi
push ecx
push ecx
push dword [esp + 0x238]
push dword [esp + 0x234]
push dword [esp + 0x234]
call fcn.004626b2
jmp 0x46237f
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
pop esi
pop ebp
add esp, 0x20c
ret 0x1c

Function at 0x46238a
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push esi
mov esi, 0x208
lea eax, [ebp - 0x428]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.0041d750
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4624bb
cmp dword [ebp + 0x10], ebx
je 0x4624bb
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4624bb
cmp dword [ebp - 4], ebx
je 0x4624bb
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4624a9
push 0x50a834
mov edx, esi
lea ecx, [ebp - 0x428]
call fcn.0041b1cd
push dword [ebp + 0xc]
mov edx, esi
lea ecx, [ebp - 0x428]
call fcn.0041b1cd
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x462487
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x21c], 0x50a8cc
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x214], ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 0x210], 0x104
call fcn.004031f2
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x50a84c
call fcn.00410ab8
mov bl, al
jmp 0x462489
mov bl, 1
mov edx, dword [ebp + 0x14]
and edx, 0x7fffffff
je 0x4624a9
push SysReAllocString
lea eax, [ebp - 0x428]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00461cf1
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
test bl, bl
setne al
jmp 0x4624bd
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
Function at 0x4624c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x208]
push ebx
mov ebx, 0x208
push ebx
push 0
push eax
call fcn.0041d750
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x462540
mov ecx, dword [ebp + 0xc]
call fcn.00408f92
cmp eax, 1
jb 0x462540
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x462540
push 0x50a834
mov edx, ebx
lea ecx, [ebp - 0x208]
call fcn.0041b1cd
push dword [ebp + 0xc]
mov edx, ebx
lea ecx, [ebp - 0x208]
call fcn.0041b1cd
sub esp, 0xc
lea eax, [ebp - 0x208]
push eax
call fcn.00461da0
pop ebx
leave
ret 8

Function at 0x4625ad
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4625c5
xor eax, eax
jmp 0x46265c
push SysReAllocString
push esi
push ecx
mov edx, 0x208
lea ecx, [ebp - 0x410]
call fcn.00461cf1
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x412]
jmp 0x4625fb
cmp word [eax], 0x5c
je 0x462607
sub eax, 2
lea ecx, [ebp - 0x410]
cmp eax, ecx
ja 0x4625f2
jmp 0x462642
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x462642
push 0
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x462642
lea eax, [ebp - 0x410]
mov ecx, 0x569a24
push eax
call fcn.004625ad
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x462659
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x46265c
xor eax, eax
inc eax
pop esi
leave
ret 4
Function at 0x4626b2
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x4627ec
cmp dword [ebp + 0x10], 0
je 0x4627ec
push 0x200
xor edi, edi
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0041d750
add esp, 0xc
mov dword [ebp + 0xc], edi
lea eax, [ebp + 0xc]
push eax
push 0x4f1700
push 1
push edi
push 0x4f1730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4627ec
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4627ec
mov eax, dword [ebp + 0x20]
test eax, eax
jns 0x462734
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00461f8b
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
cmp word [ebp - 0x208], di
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x208]
cmove eax, dword [ebp + 0x1c]
push eax
push edx
call dword [ecx + 0x44]
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
push edx
push 0x100
mov dword [ebp - 8], edi
lea edx, [ebp - 0x208]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp + 0xc]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 0xc]
mov esi, 0x4f992c
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp + 0xc]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 0xc]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], edi
push 0x4f1740
mov eax, dword [ecx]
push ecx
call dword [eax]
mov esi, eax
test esi, esi
js 0x4627da
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4627da
mov eax, dword [ecx]
push 1
push dword [ebp + 0x10]
push ecx
call dword [eax + 0x18]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
not esi
shr esi, 0x1f
mov eax, esi
jmp 0x4627ee
xor eax, eax
pop edi
pop esi
leave
ret 0x1c

Function at 0x462ff0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
test ecx, ecx
je 0x463091
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x463004
sub edx, esi
mov dword [ebp - 0x18], 0
push edx
mov edx, ecx
mov dword [ebp - 0x2c], 0x67452301
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.004c0eb0
add esp, 4
pop esi
test eax, eax
jne 0x463091
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.004c1030
test eax, eax
jne 0x463091
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x12]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x13]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x14]
shl eax, 8
or eax, ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46a2b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
push esi
push edi
lea edi, [ebp - 0xc08]
test edx, edx
je 0x46a3d3
push 0x515720
push edx
call fcn.0042f28b
mov esi, eax
add esp, 8
test esi, esi
je 0x46a3d3
push ebx
push 2
push 0
push esi
call fcn.0042f990
add esp, 0xc
test eax, eax
jne 0x46a3be
push esi
call fcn.0042f1a4
push esi
mov ebx, eax
call fcn.0042fe4a
lea eax, [ebx - 1]
add esp, 8
cmp eax, 0x3fffff
ja 0x46a3be
cmp ebx, 0xc00
jle 0x46a340
mov ecx, ebx
call fcn.00472af0
mov edi, eax
test edi, edi
je 0x46a3be
mov dword [ebp - 8], 1
push esi
push ebx
push 1
push edi
call fcn.0043048e
add esp, 0x10
cmp eax, ebx
je 0x46a358
mov ebx, 0xfffffffc
jmp 0x46a39b
mov eax, dword [ebp + 0xc]
cmp eax, 5
je 0x46a383
cmp eax, 0xf
je 0x46a383
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov edx, edi
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push eax
push 1
push ebx
call fcn.0046a630
add esp, 0x1c
jmp 0x46a399
push dword [ebp + 0x1c]
mov edx, edi
push dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 4]
push ebx
call fcn.0046a590
add esp, 0x14
mov ebx, eax
push esi
call fcn.0042f677
add esp, 4
cmp dword [ebp - 8], 0
je 0x46a3b5
test edi, edi
je 0x46a3b5
mov ecx, edi
call fcn.00472b30
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0042f677
add esp, 4
mov eax, 0xfffffffc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xfffffffc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481720
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
movzx ebx, word [esi + 0x420]
test ebx, 0x1000
jne 0x48182d
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [eax]
mov dl, byte [ecx + 0xc99]
movzx ebx, word [eax]
mov eax, ebx
shr eax, 8
cmp bl, 3
jne 0x48175d
cmp al, 4
jb 0x48175d
mov edi, 1
jmp 0x48175f
xor edi, edi
test dword [esi + 0x410], 0x20000000
jne 0x4817b6
test edi, edi
je 0x4817b6
mov eax, dword [ecx + 0xc92]
mov edi, str.DOWNGRD
cmp eax, dword [edi]
jne 0x4818a3
movzx eax, word [ecx + 0xc96]
cmp ax, word [edi + 4]
jne 0x4818a3
movzx eax, byte [ecx + 0xc98]
cmp al, byte [edi + 6]
jne 0x4818a3
test dl, dl
je 0x481813
cmp dl, 1
je 0x481813
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.004d25a0
cmp bl, 3
jne 0x4818a3
cmp al, bl
jne 0x4818a3
test dword [esi + 0x410], 0x8000000
jne 0x4818a3
mov eax, dword [ecx + 0xc92]
mov edi, str.DOWNGRD
cmp eax, dword [edi]
jne 0x4818a3
movzx eax, word [ecx + 0xc96]
cmp ax, word [edi + 4]
jne 0x4818a3
movzx eax, byte [ecx + 0xc98]
cmp al, byte [edi + 6]
jne 0x4818a3
test dl, dl
jne 0x4818a3
push 0x2f
mov edx, 2
mov ecx, esi
call fcn.004928a0
add esp, 4
mov eax, 0xfffffeba
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x298]
cmp word [edx + 0x1b8], 0
ja 0x4818ad
test ebx, 0x4000
je 0x481896
mov ecx, dword [esi + 8]
add edx, 0x58
add ecx, 0xc9a
mov edi, 0x1c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48186b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x481856
xor eax, eax
jmp 0x481892
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48188d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48188d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48188d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x48188d
xor eax, eax
jmp 0x481892
sbb eax, eax
or eax, 1
test eax, eax
je 0x4818ad
and ebx, 0xefff
mov word [esi + 0x420], bx
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.004d25a0
mov ecx, esi
call fcn.004d25a0
test eax, eax
jne 0x48191f
mov ecx, dword [esi + 0x298]
mov eax, dword [esi + 8]
movups xmm0, xmmword [ecx + 0x79]
movups xmmword [eax + 0xceb], xmm0
movups xmm0, xmmword [ecx + 0x89]
movups xmmword [eax + 0xcfb], xmm0
movups xmm0, xmmword [ecx + 0x99]
mov ecx, esi
movups xmmword [eax + 0xd0b], xmm0
call fcn.0047b040
xor edx, edx
mov byte [esi + 0x42b], 8
test eax, eax
mov ecx, 0x40
mov edi, 0xffbf
cmove edx, ecx
mov cx, word [esi + 0x426]
and cx, di
or dx, cx
mov word [esi + 0x426], dx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 0xfffffe0c
pop ebx
ret