joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4515d6
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x30], 0
lea esi, [edi + 0x30]
je 0x451640
mov eax, dword [edi + 0x34]
push ebx
lea ebx, [edi + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 0x1f6
je 0x45163f
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi]
push 0x1f6
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.004380a0
add esp, 4
push 0x1f6
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x451646
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x30], 0
jne 0x45166c
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x451566
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop esi
pop ebp
ret 4

Function at 0x451ae9
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push str.SeShutdownPrivilege
lea eax, [ebp - 0x10]
push eax
call fcn.00449a79
lea ecx, [ebp - 0x10]
push ecx
call fcn.0043c856
test al, al
jne 0x451b1e
lea edx, [ebp - 0x10]
push edx
call fcn.0044c37b
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
cmp ebx, 0x20
je 0x451b87
cmp ebx, 0x40
je 0x451b8e
test bl, 0xb
jne 0x451b4a
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044c37b
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test bl, 0x14
je 0x451b56
mov ecx, 1
xor eax, eax
test bl, 2
je 0x451b62
mov eax, 1
mov edx, dword [ebp + 0xc]
push edx
push eax
push ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044c37b
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x451b90
xor eax, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
lea ecx, [ebp - 0x10]
push ecx
mov esi, eax
call fcn.0044c37b
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451bac
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x22c
lea eax, [ebp - 0x22c]
call fcn.00411040
lea eax, [ebp - 0x22c]
push eax
call fcn.0043934f
add esp, 4
test al, al
jne 0x451bda
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
jne 0x451bf9
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x22c]
push edx
call fcn.00413501
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
add esp, 4
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x22c]
mov eax, 0x614
push ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451c4e
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x438
push ebx
mov bl, byte [ebp + 0x10]
lea eax, [ebp - 0x438]
call fcn.00411040
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
call fcn.00411040
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x451cc8
test bl, bl
je 0x451cf2
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.00413f26
add esp, 8
test eax, eax
je 0x451cc1
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x438]
push eax
call fcn.0043934f
add esp, 4
test al, al
je 0x451cf2
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0043934f
add esp, 4
test al, al
je 0x451cf9
test bl, bl
jne 0x451d1f
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x22c]
push edx
call fcn.00438f84
add esp, 4
test al, al
je 0x451cf2
lea eax, [ebp - 0x22c]
push eax
call fcn.0043934f
add esp, 4
test al, al
je 0x451cf2
lea ecx, [ebp - 0x438]
push str..
push ecx
call fcn.00413527
lea edx, [ebp - 0x438]
push edx
call fcn.00413501
lea edx, [ebp - 0x22c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x436], cx
call fcn.00413501
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], edx
add esp, 0x10
mov dword [ebp - 0x14], eax
xor eax, eax
lea edx, [ebp - 0x20]
mov ecx, 0x614
push edx
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451da3
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10b4
call fcn.004271f0
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.00411040
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.00411040
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.004392bf
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.0043934f
add esp, 0xc
test al, al
je 0x451e18
lea eax, [esp + 0x438]
push str..
push eax
call fcn.00413527
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.0043934f
add esp, 4
test al, al
je 0x451e41
lea edx, [esp + 0x648]
push str..
push edx
call fcn.00413527
add esp, 8
lea eax, [esp + 0xcb0]
push eax
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x448]
push ecx
call fcn.004147fe
add esp, 0x14
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov byte [esp + 0xe], 1
cmp esi, 0xffffffff
je 0x451ff7
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x451ff7
test byte [esp + 0x858], 0x10
jne 0x451fd7
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x64c]
push edx
lea eax, [esp + 0xcb8]
push eax
lea ecx, [esp + 0xec4]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.0043913b
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00413558
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00413527
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00413527
lea eax, [esp + 0x240]
push eax
call fcn.004393b1
add esp, 0x1c
test al, al
je 0x451f55
cmp byte [ebp + 0x10], 0
je 0x451fae
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x451fbe
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x451f99
cmp byte [esp + 0xf], 0
jne 0x451f77
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x451faa
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x451fae
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x451faa
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x451fd5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x451fae
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x451e9a
mov byte [esp + 0xe], al
jmp 0x451e9a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452007
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa88
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 0
call fcn.00411040
lea eax, [esp + 0x18]
push eax
call fcn.0043934f
add esp, 4
test al, al
je 0x452049
lea ecx, [esp + 0x18]
push str..
push ecx
call fcn.00413527
add esp, 8
lea edx, [esp + 0x680]
push edx
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004147fe
add esp, 0x14
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x45210e
cmp bl, 1
jne 0x45210e
test byte [esp + 0x228], 0x10
jne 0x4520e8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00413558
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00413527
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00413527
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4520ff
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45208f
xor bl, bl
jmp 0x45208f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4523f6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x20], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov al, byte [edi]
mov cl, byte [edi + 7]
movzx esi, word [edi + 8]
mov byte [ebp + 0xc], al
mov byte [ebp + 8], cl
je 0x452503
cmp al, 0x14
je 0x452503
cmp al, 0x90
je 0x452503
cmp al, 0x91
je 0x452503
push edi
call fcn.0043a1c5
test al, al
je 0x452581
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x452478
movzx eax, byte [ebp + 0xc]
xor byte [ebp + eax - 0x11c], 0x80
lea eax, [ebp + eax - 0x11c]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
movzx esi, byte [ebp + 8]
shl esi, 0x10
push edi
or esi, 0xc0000001
call fcn.0044a6aa
cmp al, 1
jne 0x452495
or esi, 0x1000000
cmp byte [ebx + 0x17], 0
jne 0x4524cb
cmp byte [ebx + 0x1d], 0
jne 0x4524cb
mov al, byte [ebp + 0xc]
cmp al, 0x12
je 0x4524ce
mov ecx, dword [ebx + 0x20]
push esi
movzx eax, al
push eax
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.0043a0f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
cmp byte [ebx + 0x16], 0
jne 0x4524a8
cmp byte [ebx + 0x1c], 0
jne 0x4524a8
mov edx, dword [ebx + 0x20]
movzx ecx, al
or esi, 0x20000000
push esi
push ecx
push 0x105
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.0043a0f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.0043a1c5
test al, al
je 0x452555
push edi
call fcn.0044a6aa
cmp al, 1
jne 0x452536
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 3
push edx
push eax
push ebx
call fcn.0043a066
push ebx
call fcn.0043a0f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 2
push ecx
push edx
push ebx
call fcn.0043a066
push ebx
call fcn.0043a0f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x1c
lea ecx, [ebp - 0x1c]
xor eax, eax
push ecx
push 1
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], si
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendInput]
push ebx
call fcn.0043a0f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x452772
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 7], bl
mov word [esi], 0xff
mov dword [esi + 2], ebx
mov byte [esi + 6], bl
push esi
mov byte [esi + 0xa], bl
mov word [esi + 8], di
call fcn.0043a1b2
test al, al
je 0x4527af
push edi
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
jne 0x4527b8
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx edx, al
mov ecx, eax
push ebx
sar ecx, 8
push edx
mov byte [esi], al
mov byte [ebp + 0xf], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov cl, byte [ebp + 0xf]
mov byte [esi + 7], al
mov al, 1
test al, cl
je 0x4527dc
mov byte [esi + 1], al
test cl, 2
je 0x4527e4
mov byte [esi + 3], al
test cl, 4
je 0x4527b1
pop edi
mov byte [esi + 4], al
pop esi
pop ebx
pop ebp
ret 8
Function at 0x458b10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call fcn.00401ec0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
inc dword [eax]
mov dword [ebp - 0x18], eax
mov edi, 0x49e7c0
mov eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.0040dfa0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x278]
push eax
push ecx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x458c78
nop
mov edi, dword [ebp - 0x14]
call fcn.00403770
cmp eax, 1
je 0x458c76
cmp eax, 0xb
jne 0x458b90
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x458b70
lea edx, [ebp - 0x24c]
push 0x498738
push edx
call fcn.00413f26
add esp, 8
test eax, eax
je 0x458c5b
lea eax, [ebp - 0x24c]
push 0x49e7c8
push eax
call fcn.00413f26
add esp, 8
test eax, eax
je 0x458c5b
lea ecx, [ebp - 0x24]
push ecx
lea esi, [ebp - 0x10]
call fcn.0040ef10
lea edi, [ebp - 0x24c]
mov eax, esi
call fcn.0040dfa0
test byte [ebp - 0x278], 0x10
je 0x458c32
cmp byte [ebp + 0x18], 0
mov esi, dword [ebp + 0x14]
je 0x458bfa
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x458c5b
mov edi, 0x499270
lea eax, [ebp - 0x10]
call fcn.0040dfa0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push esi
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
call fcn.00458b10
mov bl, al
test bl, bl
je 0x458c78
jmp 0x458c5b
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
or ecx, dword [ebp - 0x258]
xor esi, esi
or edx, esi
add dword [eax], ecx
adc dword [eax + 4], edx
cmp byte [ebp + 0x18], 0
je 0x458c5b
mov eax, dword [ebp + 0x10]
add dword [eax], 1
adc dword [eax + 4], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x278]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x458b70
jmp 0x458c78
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.00402610
lea ecx, [ebp - 0x10]
call fcn.00402610
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x458d96
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
push 4
mov edi, 1
lea ecx, [ebp - 0xc]
push edi
push ecx
call fcn.00415e4b
add esp, 0x10
push 0x18ee
push 4
lea edx, [ebp - 0xc]
push edx
call fcn.00450d9a
lea eax, [ebp - 0xc]
push str.FILE
push eax
mov byte [ebp - 8], 0
call fcn.00415e70
add esp, 8
test eax, eax
jne 0x458f2c
mov ecx, dword [esi]
add dword [ebp - 4], edi
push ecx
push edi
lea edx, [ebp + 8]
push 4
push edx
call fcn.00415e4b
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [ebp - 0x220]
push 1
push ecx
call fcn.00415e4b
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [ebp - 0x220]
push edx
call fcn.00450d9a
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x430]
xor eax, eax
push edx
mov word [ebp + ebx - 0x220], ax
call fcn.00413558
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.00415e4b
mov edi, dword [ebp + 8]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.00415e4b
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [ebp - 0x220]
push ecx
call fcn.00450d9a
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
xor edx, edx
push ecx
mov word [ebp + ebx - 0x220], dx
call fcn.00413558
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x430]
push edi
push edx
call fcn.00413f26
add esp, 0x10
test eax, eax
je 0x458f21
push 0x49bd94
push edi
call fcn.00413f26
add esp, 8
test eax, eax
jne 0x458ee1
cmp dword [ebp - 4], eax
je 0x458f21
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.00416211
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0x10]
push 4
push edx
call fcn.00415e4b
mov eax, dword [ebp - 0x10]
xor eax, 0x87bc
mov dword [ebp - 0x10], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.00416211
add esp, 0x1c
jmp 0x458dac
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458f3a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
xor ecx, ecx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov word [ebp - 0x44c], cx
mov ecx, dword [esi]
push eax
xor edx, edx
push ecx
mov word [ebp - 0x242], dx
mov dword [ebp - 4], 1
call fcn.00416211
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x680]
push edx
push eax
push esi
call fcn.00458d96
test eax, eax
je 0x458fd3
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push ecx
push 1
lea edx, [ebp + 0x17]
push 1
push edx
call fcn.00415e4b
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.00415e4b
mov edx, dword [esi]
mov edi, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
push 4
push eax
xor edi, 0x87bc
call fcn.00415e4b
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
xor ecx, 0x87bc
push 4
push eax
mov dword [ebx], ecx
call fcn.00415e4b
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
add esp, 0x40
push 1
xor eax, 0xa685
push 0x10
push ecx
mov dword [ebp - 8], eax
call fcn.00416211
mov edx, dword [ebx]
add esp, 0xc
push edx
call fcn.004143ab
add esp, 4
push edi
mov dword [ebp + 0xc], eax
call fcn.004143ab
add esp, 4
mov ebx, eax
mov eax, dword [esi]
push eax
push 1
push edi
push ebx
call fcn.00415e4b
mov ecx, dword [esi + 8]
add esp, 0x10
add ecx, 0x2477
push ecx
push edi
push ebx
call fcn.00450d9a
push edi
push ebx
lea edx, [ebp - 4]
push edx
call fcn.00437cbf
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x4590b3
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00414538
add esp, 4
push ebx
call fcn.00414538
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x17], 1
jne 0x459122
xor eax, eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
xor edx, edx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov word [ebp - 0x44c], dx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x470]
xor ecx, ecx
push eax
mov word [ebp - 0x242], cx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x470], edx
call fcn.00450f54
push ebx
call fcn.00414538
jmp 0x45912e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00414538
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
pop edi
pop esi
mov dword [edx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x459eb1
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xa54
lea eax, [ebp - 0x440]
call fcn.00411040
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x234]
call fcn.00411040
lea eax, [ebp - 0x440]
push eax
call fcn.0043934f
add esp, 4
test al, al
jne 0x459eed
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x234]
push ebx
push ecx
call fcn.0043934f
add esp, 4
xor ebx, ebx
test al, al
je 0x459fd2
cmp byte [ebp + 0x10], bl
je 0x45a031
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x459f67
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.00413f26
add esp, 8
test eax, eax
je 0x459f60
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x644]
push edx
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x440]
push eax
call fcn.004147fe
lea ecx, [ebp - 0x234]
push 0x499270
push ecx
call fcn.00413527
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00413527
add esp, 0x24
cmp word [ebp - 0x644], bx
je 0x459fd2
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.00413527
add esp, 8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.004392bf
add esp, 8
test al, al
lea edx, [ebp - 0x234]
lea eax, [ebp - 0x440]
je 0x45a023
push 1
push edx
push eax
call fcn.00451c4e
add esp, 0xc
test al, al
je 0x45a031
lea ecx, [ebp - 0x440]
push 1
push ecx
call fcn.00451bac
add esp, 8
test al, al
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.00413f26
add esp, 8
test eax, eax
jne 0x45a038
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x440]
push ecx
call fcn.00413501
xor edx, edx
mov word [ebp + eax*2 - 0x43e], dx
lea eax, [ebp - 0x234]
push eax
call fcn.00413501
xor ecx, ecx
lea edx, [ebp - 0x440]
mov word [ebp + eax*2 - 0x232], cx
mov dword [ebp - 0x18], edx
add esp, 8
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x234]
mov ecx, 0x614
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret