joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461672
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 8], esi
je 0x4617c1
push 4
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x4617c1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 3
push 0x30
push ebx
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
jne 0x4616d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4617ba
mov eax, dword [ebp - 8]
xor edx, edx
push 0x4f086c
push 0x24
pop edi
div edi
xor ecx, ecx
inc eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b7ed
mov edi, eax
mov dword [ebp - 0x18], edi
pop ecx
pop ecx
test edi, edi
je 0x4617ba
mov eax, dword [ebp - 8]
xor edx, edx
push 0x24
pop ecx
div ecx
inc eax
imul eax, eax, 0x24
push eax
push esi
push edi
call fcn.0041d6f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push 3
push 0x30
push ebx
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
je 0x4617b3
cmp dword [ebp - 0xc], esi
jbe 0x4617b3
push 0x24
pop ebx
lea ecx, [ebp - 0x234]
call fcn.0040337a
cmp dword [edi], 0
je 0x4617a5
mov eax, ecx
push eax
push dword [edi]
call fcn.0046143f
test al, al
je 0x4617a5
mov ecx, dword [ebp + 8]
call fcn.00408f92
cmp dword [ebp - 0x230], 0
je 0x46178a
push eax
push dword [ebp + 8]
push dword [ebp - 0x230]
call fcn.0042d9ee
add esp, 0xc
jmp 0x461794
cmp dword [ebp - 0x22c], 1
sbb eax, eax
inc eax
test eax, eax
jne 0x4617a5
cmp dword [edi + 0xc], 1
je 0x4617a5
push dword [edi]
call fcn.0046159e
inc esi
add edi, ebx
cmp esi, dword [ebp - 0xc]
jb 0x461747
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push edi
call fcn.0041b7e8
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4617c8
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
sub esp, 0x438
lea eax, [esp + 8]
push 0x228
push 0
push eax
call fcn.0041d6f0
add esp, 0xc
cmp dword [esp + 0x43c], 0
je 0x4618e7
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4618e6
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4618df
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 0x4618c9
push 0x104
lea eax, [esp + 0x240]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x4618c2
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.0041c9ee
pop ecx
pop ecx
test eax, eax
je 0x4618c2
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
jmp 0x4618ad
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 0x4618b5
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x461889
jmp 0x4618c2
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 0x461824
pop edi
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x438
ret 4
Function at 0x4618f6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88c
lea ecx, [esp + 4]
push ebx
push esi
push edi
call fcn.0040337a
lea ecx, [esp + 0x680]
call fcn.0040337a
push 0x208
xor ebx, ebx
lea eax, [esp + 0x22c]
push ebx
push eax
call fcn.0041d6f0
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 0x461a5e
cmp word [esi], bx
je 0x461a5e
push esi
lea eax, [esp + 0x684]
push str._s.exe
push eax
call fcn.0040371e
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 0x461a5e
test byte [esp + 0x430], 0x10
jne 0x461a40
lea eax, [esp + 0x45c]
push eax
push esi
lea eax, [esp + 0x18]
push 0x50d448
push eax
call fcn.0040371e
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x461a1b
mov eax, dword [esp + 0x18]
inc eax
push eax
push ecx
call fcn.0042c22f
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x461a1b
lea edx, [esp + 0x228]
mov eax, ecx
mov bx, word [eax]
cmp bx, word [edx]
jne 0x461a14
test bx, bx
je 0x461a10
mov bx, word [eax + 2]
cmp bx, word [edx + 2]
jne 0x461a14
add eax, 4
add edx, 4
test bx, bx
jne 0x4619ee
xor eax, eax
jmp 0x461a23
sbb eax, eax
or eax, 1
jmp 0x461a23
cmp dword [esp + 0x18], 1
sbb eax, eax
inc eax
test eax, eax
je 0x461a40
push 0x509834
push ecx
call fcn.0041c9ee
pop ecx
pop ecx
push eax
call fcn.004617c8
push esi
call fcn.00461672
lea eax, [esp + 0x430]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46199e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461b2c
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.0041d6f0
mov edi, dword [esp + 0x47c]
add esp, 0xc
test edi, edi
je 0x461d08
push 0x50d438
push edi
push 0x50d448
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00403ad2
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 0x461cb7
test byte [esp + 0x218], 0x10
lea eax, [esp + 0x244]
je 0x461c15
push 0x50c26c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x461c99
push 0x50d440
lea eax, [esp + 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x461c99
lea eax, [esp + 0x244]
push eax
push edi
push 0x50d448
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00403ad2
add esp, 0x14
lea eax, [esp + 0x10]
mov ecx, 0x55b82c
push 1
push 1
push 0x50d438
push eax
call fcn.00461b2c
add ebx, eax
jmp 0x461c99
push eax
push edi
push 0x50d448
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00403ad2
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x461c98
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x461c44
sub ecx, edx
sar ecx, 1
cmp ecx, dword [0x533640]
jae 0x461c98
mov esi, dword [0x53363c]
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.0043e0ac
add esp, 0xc
xor esi, esi
test eax, eax
je 0x461c98
push 4
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [0x55b82c], 1
inc ebx
lea eax, [esp + 0x218]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461b96
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x461cc5
inc ebx
jmp 0x461d04
mov ecx, edi
call fcn.00408f92
cmp eax, dword [0x533640]
jae 0x461d04
mov esi, dword [0x53363c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push esi
call fcn.0043e0ac
add esp, 0xc
test eax, eax
je 0x461d04
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [0x55b82c], 1
mov eax, ebx
jmp 0x461d0a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x45c
ret 0x10
Function at 0x461d17
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.0041d6f0
mov esi, dword [esp + 0x6d4]
add esp, 0xc
test esi, esi
je 0x461e89
push edi
mov edi, dword [esp + 0x6d0]
test edi, edi
je 0x461e88
push ebx
mov ebx, dword [esp + 0x6d8]
test ebx, ebx
je 0x461e87
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 0x461dc4
push edi
call ebp
dec eax
shr eax, 1
je 0x461db8
push SysReAllocString
lea ecx, [esp + 0x228]
mov edx, eax
push ecx
push ecx
mov ecx, edi
call fcn.00461a7d
mov eax, dword [esp + 0x21c]
jmp 0x461e85
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.0041b172
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 0x50a45c
push eax
call fcn.0041c9ee
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
je 0x461e87
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 0x461e77
shr esi, 1
cmp esi, 0x7ffffffe
jbe 0x461e67
xor eax, eax
mov word [edi], ax
jmp 0x461e77
push esi
lea ecx, [esp + 0x1c]
mov edx, eax
push ecx
push ecx
mov ecx, edi
call fcn.00461a7d
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.0042bc01
pop ecx
mov dword [ebx], eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x6bc
ret 0xc
Function at 0x461e94
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 0x462005
cmp dword [ebp + 0x10], ebx
je 0x462005
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x462005
cmp dword [ebp - 4], ebx
je 0x462005
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041d6f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x461ff7
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.00403ad2
add esp, 0x14
mov dword [ebp + 0x10], ebx
lea eax, [ebp + 0x10]
push eax
push 0x4f0700
push 1
push ebx
push 0x4f0730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x461ff6
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x461ff6
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
push edx
push 0x4f0740
push ecx
call dword [eax]
test eax, eax
js 0x461fd6
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x461fd6
mov eax, dword [ecx]
lea edx, [ebp - 0x414]
push ebx
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x461fcd
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 0x461fcd
lea eax, [ebp - 0x61c]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x461fc3
test cx, cx
je 0x461fc8
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x461fc3
add esi, 4
add eax, 4
test cx, cx
jne 0x461f9f
jmp 0x461fc8
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 0x461ff6
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 0x462007
xor eax, eax
pop esi
pop ebx
leave
ret 0xc
Function at 0x46200d
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.0041d6f0
add esp, 0xc
cmp dword [esp + 0x21c], 0
je 0x462109
cmp dword [esp + 0x220], 0
je 0x462109
cmp dword [esp + 0x228], 0
je 0x462109
mov ebp, dword [esp + 0x22c]
test ebp, ebp
je 0x462109
mov esi, dword [esp + 0x230]
test esi, esi
je 0x462109
lea eax, [esp + 8]
push eax
push dword [esp + 0x21c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x462109
cmp dword [esp + 8], 0
je 0x462109
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 0x462103
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.00403ad2
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.0046243e
jmp 0x46210b
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
pop esi
pop ebp
add esp, 0x20c
ret 0x1c

Function at 0x462116
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.0041d6f0
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x462247
cmp dword [ebp + 0x10], ebx
je 0x462247
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x462247
cmp dword [ebp - 4], ebx
je 0x462247
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x462235
push 0x509834
mov edx, esi
lea ecx, [ebp - 0x428]
call fcn.0041b172
push dword [ebp + 0xc]
mov edx, esi
lea ecx, [ebp - 0x428]
call fcn.0041b172
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x462213
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x21c], 0x5098cc
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.004031de
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x50984c
call fcn.00410a4b
mov bl, al
jmp 0x462215
mov bl, 1
mov edx, dword [ebp + 0x14]
and edx, 0x7fffffff
je 0x462235
push SysReAllocString
lea eax, [ebp - 0x428]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00461a7d
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
test bl, bl
setne al
jmp 0x462249
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
Function at 0x46224f
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.0041d6f0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x4622cc
mov ecx, dword [ebp + 0xc]
call fcn.00408f92
cmp eax, 1
jb 0x4622cc
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 0x4622cc
push 0x509834
mov edx, ebx
lea ecx, [ebp - 0x208]
call fcn.0041b172
push dword [ebp + 0xc]
mov edx, ebx
lea ecx, [ebp - 0x208]
call fcn.0041b172
sub esp, 0xc
lea eax, [ebp - 0x208]
push eax
call fcn.00461b2c
pop ebx
leave
ret 8

Function at 0x462339
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 0x462351
xor eax, eax
jmp 0x4623e8
push SysReAllocString
push esi
push ecx
mov edx, 0x208
lea ecx, [ebp - 0x410]
call fcn.00461a7d
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x412]
jmp 0x462387
cmp word [eax], 0x5c
je 0x462393
sub eax, 2
lea ecx, [ebp - 0x410]
cmp eax, ecx
ja 0x46237e
jmp 0x4623ce
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4623ce
push 0
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4623ce
lea eax, [ebp - 0x410]
mov ecx, 0x55b82c
push eax
call fcn.00462339
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4623e5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4623e8
xor eax, eax
inc eax
pop esi
leave
ret 4
Function at 0x46243e
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 0x462578
cmp dword [ebp + 0x10], 0
je 0x462578
push 0x200
xor edi, edi
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0041d6f0
add esp, 0xc
mov dword [ebp + 0xc], edi
lea eax, [ebp + 0xc]
push eax
push 0x4f0700
push 1
push edi
push 0x4f0730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x462578
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x462578
mov eax, dword [ebp + 0x20]
test eax, eax
jns 0x4624c0
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00461d17
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, 0x4f8934
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 0x4f0740
mov eax, dword [ecx]
push ecx
call dword [eax]
mov esi, eax
test esi, esi
js 0x462566
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x462566
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 0x46257a
xor eax, eax
pop edi
pop esi
leave
ret 0x1c

Function at 0x462da0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
test ecx, ecx
je 0x462e41
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x462db4
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.004c0c30
add esp, 4
pop esi
test eax, eax
jne 0x462e41
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.004c0db0
test eax, eax
jne 0x462e41
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 0x46a060
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 0x46a183
push 0x514710
push edx
call fcn.0042f22b
mov esi, eax
add esp, 8
test esi, esi
je 0x46a183
push ebx
push 2
push 0
push esi
call fcn.0042f930
add esp, 0xc
test eax, eax
jne 0x46a16e
push esi
call fcn.0042f144
push esi
mov ebx, eax
call fcn.0042fdea
lea eax, [ebx - 1]
add esp, 8
cmp eax, 0x3fffff
ja 0x46a16e
cmp ebx, 0xc00
jle 0x46a0f0
mov ecx, ebx
call fcn.00472840
mov edi, eax
test edi, edi
je 0x46a16e
mov dword [ebp - 8], 1
push esi
push ebx
push 1
push edi
call fcn.0043042e
add esp, 0x10
cmp eax, ebx
je 0x46a108
mov ebx, 0xfffffffc
jmp 0x46a14b
mov eax, dword [ebp + 0xc]
cmp eax, 5
je 0x46a133
cmp eax, 0xf
je 0x46a133
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.0046a3e0
add esp, 0x1c
jmp 0x46a149
push dword [ebp + 0x1c]
mov edx, edi
push dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 4]
push ebx
call fcn.0046a340
add esp, 0x14
mov ebx, eax
push esi
call fcn.0042f617
add esp, 4
cmp dword [ebp - 8], 0
je 0x46a165
test edi, edi
je 0x46a165
mov ecx, edi
call fcn.00472860
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0042f617
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 0x481430
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
movzx ebx, word [esi + 0x420]
test ebx, 0x1000
jne 0x48153d
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 0x48146d
cmp al, 4
jb 0x48146d
mov edi, 1
jmp 0x48146f
xor edi, edi
test dword [esi + 0x410], 0x20000000
jne 0x4814c6
test edi, edi
je 0x4814c6
mov eax, dword [ecx + 0xc92]
mov edi, str.DOWNGRD
cmp eax, dword [edi]
jne 0x4815b1
movzx eax, word [ecx + 0xc96]
cmp ax, word [edi + 4]
jne 0x4815b1
movzx eax, byte [ecx + 0xc98]
cmp al, byte [edi + 6]
jne 0x4815b1
test dl, dl
je 0x481523
cmp dl, 1
je 0x481523
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.004d2330
cmp bl, 3
jne 0x4815b1
cmp al, bl
jne 0x4815b1
test dword [esi + 0x410], 0x8000000
jne 0x4815b1
mov eax, dword [ecx + 0xc92]
mov edi, str.DOWNGRD
cmp eax, dword [edi]
jne 0x4815b1
movzx eax, word [ecx + 0xc96]
cmp ax, word [edi + 4]
jne 0x4815b1
movzx eax, byte [ecx + 0xc98]
cmp al, byte [edi + 6]
jne 0x4815b1
test dl, dl
jne 0x4815b1
push 0x2f
mov edx, 2
mov ecx, esi
call fcn.004925c0
add esp, 4
mov eax, 0xfffffeba
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x298]
cmp word [edx + 0x1b8], 0
ja 0x4815bb
test ebx, 0x4000
je 0x4815a4
mov ecx, dword [esi + 8]
add edx, 0x58
add ecx, 0xc9a
mov edi, 0x1c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48157b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x481566
xor eax, eax
jmp 0x4815a0
cmp al, byte [edx]
jne 0x48159b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48159b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48159b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x48159b
xor eax, eax
jmp 0x4815a0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4815bb
and ebx, 0xefff
mov word [esi + 0x420], bx
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.004d2330
mov ecx, esi
call fcn.004d2330
test eax, eax
jne 0x48162d
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.0047ad70
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