joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447fc6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4a85d6], 0
test edi, edi
je 0x44800b
mov byte [0x4a85d7], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x447ea0
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00413f9f
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x44803e
push 0xffffffffffffffff
push esi
mov byte [0x4a85d7], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4a85d6], 1
jne 0x448050
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4481a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0044818b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
pop ebp
ret 0xc
Function at 0x449edf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x449efb
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 1
jne 0x449f56
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x449f13
mov edi, 0x7fff
push ebx
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412a89
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
push esi
push ebx
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebx
test eax, eax
jg 0x449f61
push esi
call fcn.00411076
add esp, 4
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
mov edi, dword [ebp + 8]
cmp byte [edi + 0xc], cl
jne 0x449f7a
push esi
call fcn.00412941
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.004136e7
add esp, 8
push esi
test eax, eax
je 0x449f4e
mov byte [edi + 0xe8], 1
call fcn.00411076
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x44a4c1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.0044a116
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
shl eax, 0x10
or eax, 1
cmp dword [ebp + 0xc], 0
push eax
jge 0x44a522
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x44a555
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.0044a116
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x44ed55
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x44ed7e
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call fcn.0044ec28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 0x70]
mov ecx, dword [edi + 0x54]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x10]
push 0
push 0
push ebx
push eax
movzx eax, word [esi + 0x78]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, dword [edi + 4]
push eax
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
push 0
test eax, eax
jne 0x44edc5
push 0xdeadbeef
push 0x15
push edi
call fcn.00446667
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x60]
push edx
push bind
push esi
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov esi, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
jne 0x44edf4
push esi
push 0xdeadbeef
push 0x16
jmp 0x44ee3c
lea edx, [ebp + 0x10]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
xor eax, eax
or eax, dword [ebp + 0xc]
xor edx, edx
or ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
cmp byte [ebp + 0x14], dl
je 0x44ee36
push esi
push edi
call fcn.0044688f
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.00435747
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push edi
call fcn.00446667
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00435747
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f3c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.00446ff3
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00446f4d
xor esi, esi
test edi, edi
je 0x44f409
lea eax, [ebp - 0xdc]
push eax
call fcn.00446fc2
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44f3f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44f6d6
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x4a3104]
jne 0x44f6e7
call fcn.004471a5
mov ecx, dword [0x4b8624]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4b8624], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44f72e
fadd qword [0x49d918]
fmul qword [0x49d928]
mov esp, ebp
pop ebp
ret

Function at 0x44f936
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.00426630
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x34]
push 0x1f5
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 0xffff
mov dword [esi + 0x10], 0xffff
call fcn.00412a89
mov edx, dword [esi + 0x2c]
add esp, 4
push 0
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push 0xffff
lea ecx, [ebp - 0x10010]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44fa5f
push ebx
cmp dword [ebp - 4], 0
jbe 0x44fa5e
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 4]
cmp dword [esi + 0x10], eax
jae 0x44fa13
mov ecx, dword [esi + 0xc]
add ecx, dword [ebp - 4]
mov edi, dword [esi + 8]
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
jns 0x44f9cc
fadd qword [0x49d918]
fmul qword [0x49d950]
fnstcw word [ebp + 0xa]
movzx eax, word [ebp + 0xa]
or eax, 0xc00
mov dword [ebp - 8], eax
fldcw word [ebp - 8]
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov dword [esi + 0x10], eax
fldcw word [ebp + 0xa]
call fcn.00412a89
mov edx, dword [esi + 0xc]
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push edi
push eax
call fcn.004125e0
push edi
call fcn.00411076
mov edi, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
add eax, dword [esi + 8]
push ecx
lea edx, [ebp - 0x10010]
push edx
push eax
call fcn.004125e0
mov ecx, dword [ebp - 4]
add dword [esi + 0xc], ecx
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [esi + 0x2c]
push 0
lea edx, [ebp - 4]
push edx
push 0xffff
lea eax, [ebp - 0x10010]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x44f996
pop ebx
push 0x1f6
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
pop edi
mov eax, 0x1f6
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44fae8
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 0x44fb52
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 0x44fb51
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.004364de
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 0x44fb58
Capabilities:
Create thread

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

Function at 0x44fffb
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.004480a0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0043adc5
test al, al
jne 0x450030
lea edx, [ebp - 0x10]
push edx
call fcn.0044a9a2
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
cmp ebx, 0x20
je 0x450099
cmp ebx, 0x40
je 0x4500a0
test bl, 0xb
jne 0x45005c
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044a9a2
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test bl, 0x14
je 0x450068
mov ecx, 1
xor eax, eax
test bl, 2
je 0x450074
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.0044a9a2
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x4500a2
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.0044a9a2
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4500be
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.004100c0
lea eax, [ebp - 0x22c]
push eax
call fcn.0043779e
add esp, 4
test al, al
jne 0x4500ec
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
jne 0x45010b
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.00412941
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 0x450160
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.004100c0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
call fcn.004100c0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x4501da
test bl, bl
je 0x450204
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.00413366
add esp, 8
test eax, eax
je 0x4501d3
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.0043779e
add esp, 4
test al, al
je 0x450204
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0043779e
add esp, 4
test al, al
je 0x45020b
test bl, bl
jne 0x450231
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x22c]
push edx
call fcn.004373d3
add esp, 4
test al, al
je 0x450204
lea eax, [ebp - 0x22c]
push eax
call fcn.0043779e
add esp, 4
test al, al
je 0x450204
lea ecx, [ebp - 0x438]
push str..
push ecx
call fcn.00412967
lea edx, [ebp - 0x438]
push edx
call fcn.00412941
lea edx, [ebp - 0x22c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x436], cx
call fcn.00412941
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 0x4502b5
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.00426630
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.004100c0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.004100c0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.0043770e
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.0043779e
add esp, 0xc
test al, al
je 0x45032a
lea eax, [esp + 0x438]
push str..
push eax
call fcn.00412967
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.0043779e
add esp, 4
test al, al
je 0x450353
lea edx, [esp + 0x648]
push str..
push edx
call fcn.00412967
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.00413c2e
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 0x450509
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x450509
test byte [esp + 0x858], 0x10
jne 0x4504e9
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.0043758a
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412998
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00412967
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00412967
lea eax, [esp + 0x240]
push eax
call fcn.00437800
add esp, 0x1c
test al, al
je 0x450467
cmp byte [ebp + 0x10], 0
je 0x4504c0
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x4504d0
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x4504ab
cmp byte [esp + 0xf], 0
jne 0x450489
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x4504bc
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x4504c0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x4504bc
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x4504e7
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 0x4504c0
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4503ac
mov byte [esp + 0xe], al
jmp 0x4503ac
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 0x450519
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.004100c0
lea eax, [esp + 0x18]
push eax
call fcn.0043779e
add esp, 4
test al, al
je 0x45055b
lea ecx, [esp + 0x18]
push str..
push ecx
call fcn.00412967
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.00413c2e
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 0x450620
cmp bl, 1
jne 0x450620
test byte [esp + 0x228], 0x10
jne 0x4505fa
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00412998
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00412967
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00412967
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x450611
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4505a1
xor bl, bl
jmp 0x4505a1
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 0x457010
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.00401d80
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, 0x49b770
mov eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.0040d650
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 0x457179
nop
mov edx, dword [ebp - 0x14]
push edx
call fcn.00446e1c
cmp eax, 1
je 0x457177
cmp eax, 0xb
jne 0x457091
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x457070
lea eax, [ebp - 0x24c]
push 0x495738
push eax
call fcn.00413366
add esp, 8
test eax, eax
je 0x45715c
lea ecx, [ebp - 0x24c]
push 0x49b778
push ecx
call fcn.00413366
add esp, 8
test eax, eax
je 0x45715c
lea edx, [ebp - 0x24]
push edx
lea esi, [ebp - 0x10]
call fcn.0040e580
lea edi, [ebp - 0x24c]
mov eax, esi
call fcn.0040d650
test byte [ebp - 0x278], 0x10
je 0x457133
cmp byte [ebp + 0x18], 0
mov esi, dword [ebp + 0x14]
je 0x4570fb
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x45715c
mov edi, 0x49626c
lea eax, [ebp - 0x10]
call fcn.0040d650
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push esi
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00457010
mov bl, al
test bl, bl
je 0x457179
jmp 0x45715c
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp + 0xc]
xor edx, edx
or edx, dword [ebp - 0x258]
xor esi, esi
or ecx, esi
add dword [eax], edx
adc dword [eax + 4], ecx
cmp byte [ebp + 0x18], 0
je 0x45715c
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 0x457070
jmp 0x457179
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x24]
call fcn.004023b0
lea ecx, [ebp - 0x10]
call fcn.004023b0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4583f4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xa54
lea eax, [ebp - 0x440]
call fcn.004100c0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x234]
call fcn.004100c0
lea eax, [ebp - 0x440]
push eax
call fcn.0043779e
add esp, 4
test al, al
jne 0x458430
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x234]
push ebx
push ecx
call fcn.0043779e
add esp, 4
xor ebx, ebx
test al, al
je 0x458515
cmp byte [ebp + 0x10], bl
je 0x458574
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x4584aa
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.00413366
add esp, 8
test eax, eax
je 0x4584a3
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.00413c2e
lea ecx, [ebp - 0x234]
push 0x49626c
push ecx
call fcn.00412967
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00412967
add esp, 0x24
cmp word [ebp - 0x644], bx
je 0x458515
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.00412967
add esp, 8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.0043770e
add esp, 8
test al, al
lea edx, [ebp - 0x234]
lea eax, [ebp - 0x440]
je 0x458566
push 1
push edx
push eax
call fcn.00450160
add esp, 0xc
test al, al
je 0x458574
lea ecx, [ebp - 0x440]
push 1
push ecx
call fcn.004500be
add esp, 8
test al, al
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.00413366
add esp, 8
test eax, eax
jne 0x45857b
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x440]
push ecx
call fcn.00412941
xor edx, edx
mov word [ebp + eax*2 - 0x43e], dx
lea eax, [ebp - 0x234]
push eax
call fcn.00412941
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