joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471570
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x258], ebx
mov edi, dword [ebx + 4]
test edi, edi
je 0x47169c
cmp word [edi], 0
je 0x47169c
push 0x400
call fcn.004a3de3
mov esi, eax
add esp, 4
test esi, esi
je 0x47169c
push 0
push esi
push 0x200
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4715da
mov edi, 1
cmp eax, 0x200
jb 0x4715dc
xor edi, edi
test eax, eax
je 0x4715f2
cmp word [esi + eax*2 - 2], 0x5c
je 0x4715f2
mov ecx, 0x5c
mov word [esi + eax*2], cx
inc eax
mov dword [esi + eax*2], 0x2a
xor ecx, ecx
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x471674
cmp esi, 0xffffffff
je 0x471674
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
cmp word [ebp - 0x228], 0x2e
jne 0x471663
mov ax, word [ebp - 0x226]
test ax, ax
je 0x471646
cmp ax, 0x2e
jne 0x471663
cmp word [ebp - 0x224], 0
jne 0x471663
lea eax, [ebp - 0x254]
push eax
push esi
call ebx
test eax, eax
jne 0x471620
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x258]
jmp 0x471676
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x258]
jmp 0x471676
xor edi, edi
test edi, edi
je 0x47169c
mov eax, dword [ebx + 4]
push ecx
sub eax, 0x10
mov esi, esp
push eax
mov dword [ebp - 0x258], esi
call fcn.00417940
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004706c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a408b
mov esp, ebp
pop ebp
ret 4

Function at 0x4716b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x471726
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47171f
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0054dd61
add esp, 8
test eax, eax
je 0x47171d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4716f6
jmp 0x47171f
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a408b
mov esp, ebp
pop ebp
ret
Function at 0x4718f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b430
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor bl, bl
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 0x19], bl
jb 0x471937
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, 0xffffffff
jne 0x47195e
xor al, al
jmp 0x4719f2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x4719e9
test edi, edi
jne 0x471976
mov bl, 1
jmp 0x4719e9
push 0x610b3a
push edi
call fcn.004a4984
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4719e9
push 0
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4719dd
cmp dword [ebp - 0x18], edi
jne 0x4719dd
mov ecx, dword [ebp - 0x28]
push edi
mov edi, dword [ebp - 0x20]
push edi
mov dword [ebp - 4], 0
call fcn.00434740
mov bl, 1
jmp 0x4719e0
mov edi, dword [ebp - 0x20]
push edi
call fcn.004a3dec
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
Function at 0x471a10
Capabilities:
Check if file exists
Clear file content
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x10], eax
mov eax, esi
mov byte [ebp - 9], bl
cmp dword [esi + 0x14], 8
jb 0x471a3a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x471a66
test al, 1
je 0x471a66
cmp dword [esi + 0x14], 8
mov ecx, esi
mov byte [ebp - 9], 1
jb 0x471a5b
mov ecx, dword [esi]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x471a70
mov eax, dword [esi]
push edi
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x471ad7
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0x10
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
jb 0x471aa9
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push dword [ecx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x471ad0
mov eax, dword [ebp - 0x10]
mov ecx, 1
movzx ebx, bl
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
cmove ebx, ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 9], 0
pop edi
je 0x471af0
cmp dword [esi + 0x14], 8
jb 0x471ae6
mov esi, dword [esi]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004a408b
mov esp, ebp
pop ebp
ret
Function at 0x4733d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.0053c7b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x473446
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473462
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00413b10
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a408b
mov esp, ebp
pop ebp
ret

Function at 0x473560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - 0x198], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4735d3
lea eax, [ebp - 0x19c]
push eax
push 0
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x4735c7
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x19c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x198]
push dword [ebp - 0x19c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x194]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4735f0
sub ecx, edx
lea eax, [ebp - 0x194]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00413b10
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a408b
mov esp, ebp
pop ebp
ret 4
Function at 0x473c00
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b81b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne byte [ebp - 0x421]
test eax, eax
je 0x473d9e
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x473d9e
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
je 0x473d9e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor esi, esi
mov dword [ebp - 0x42c], eax
test eax, eax
jle 0x473d9e
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
push dword [ebp - 0x428]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor eax, eax
mov dword [ebp - 0x434], 0
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x430], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473d05
sub eax, edx
lea ecx, [ebp - 0x444]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00413b10
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
cmp dword [edi + 8], eax
je 0x473d70
movups xmm0, xmmword [ebp - 0x444]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x434]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
jmp 0x473d7f
lea ecx, [ebp - 0x444]
push ecx
push eax
mov ecx, edi
call fcn.0041de40
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c130
inc esi
cmp esi, dword [ebp - 0x42c]
jl 0x473cb0
cmp byte [ebp - 0x421], 0
je 0x473dad
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
Function at 0x4766d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f1ee0
push 0x53cae0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x604654]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x14], eax
jae 0x476800
mov edi, dword [ebp + 0x18]
push edi
push esi
push dword [ebp + 8]
call fcn.004739b0
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x476800
mov eax, edi
lea ecx, [eax + 0x2c]
mov dword [ebp - 0x28], ecx
nop
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, 1
mov dword [ebp - 0x24], edi
test dword [eax], 0x10
jne 0x476759
mov ebx, edi
jmp 0x476775
cmp word [ecx], 0x2e
jne 0x476773
movzx eax, word [ecx + 2]
test ax, ax
je 0x47677d
cmp eax, 0x2e
jne 0x476773
cmp word [ecx + 4], bx
je 0x47677d
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x476785
test edi, edi
jne 0x4767e5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x28]
push esi
push esi
push dword [ebp + 8]
call fcn.004766a0
test ebx, ebx
je 0x4767c1
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov word [esi + eax*2], cx
jmp 0x4767e8
test edi, edi
jne 0x4767b3
mov edi, dword [ebp + 0x18]
push edi
mov eax, dword [ebp + 0x14]
inc eax
push eax
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.004766d0
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov word [esi + eax*2], cx
jmp 0x4767e8
mov edi, dword [ebp + 0x18]
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp + 0x18]
lea ecx, [eax + 0x2c]
jne 0x476740
mov dword [ebp - 4], 0xfffffffe
call fcn.00476823
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x476823
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x476832
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
ret

Function at 0x476850
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x47689a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47689a
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x476888
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x47689a
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x476c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], 0x100
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
Function at 0x477070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bdfb
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x27c], eax
push 0x210
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x5ab970
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x278]
push 0x5b229c
push eax
call fcn.0046fa40
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00429780
mov edx, dword [ebp - 0x278]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47711d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0x44
lea eax, [ebp - 0x264]
movlpd qword [ebp - 0x260], xmm0
push eax
movlpd qword [ebp - 0x258], xmm0
movlpd qword [ebp - 0x250], xmm0
movlpd qword [ebp - 0x248], xmm0
movlpd qword [ebp - 0x240], xmm0
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x10]
xorps xmm0, xmm0
or dword [ebp - 0x238], 1
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
movups xmmword [ebp - 0x274], xmm0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov dword [ebp - 0x278], edi
test edi, edi
je 0x47720e
push dword [ebp - 0x270]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp + 0x14], 0
je 0x4771ec
push 0xffffffffffffffff
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x27c]
test ecx, ecx
je 0x477200
mov eax, dword [ebp - 0x274]
mov dword [ecx], eax
jmp 0x477208
push dword [ebp - 0x274]
call edi
mov edi, dword [ebp - 0x278]
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477228
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x477240
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x477550
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59be68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], esi
jbe 0x4776dd
cmp dword [0x610548], esi
jne 0x4775aa
push 0x610548
push 0x5b3a90
push 1
call dword [sym.imp.SHELL32.dll_SHGetImageList]
lea eax, [ebp + 8]
xor esi, esi
push eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], esi
push eax
mov ecx, 0x610560
call fcn.0045dd70
mov eax, dword [ebp - 0x2c8]
cmp eax, dword [0x610564]
je 0x4775dd
mov esi, dword [eax + 0x20]
jmp 0x4776cc
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x2c4]
push 0x4110
push 0x2b4
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4776cc
mov esi, dword [ebp - 0x2c0]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0
push eax
mov ecx, 0x610560
and esi, 0xffffff
call fcn.0045dd70
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [0x610564]
cmp eax, ecx
jne 0x4776bd
mov edi, dword [ecx]
lea eax, [ebp + 8]
mov dword [ebp - 0x2c8], eax
mov ecx, 0x610564
lea eax, [ebp - 0x2cd]
push eax
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x2c8]
push eax
push 0x5ab8f8
push ebx
push edi
call fcn.004406f0
mov edx, dword [0x610568]
mov ecx, eax
mov eax, 0x71c71c6
sub eax, edx
cmp eax, 1
jb 0x477731
lea eax, [edx + 1]
mov dword [0x610568], eax
mov dword [edi + 4], ecx
mov dword [ebx], ecx
mov ecx, 0x610560
mov eax, dword [0x610564]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00440e90
mov eax, dword [ebp - 0x2cc]
mov dword [eax + 0x20], esi
push dword [ebp - 0x2c4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 1
push esi
push dword [0x610548]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x477713
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477709
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47773b
push edx
push ecx
call fcn.004a3dd5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0047e67e
call fcn.0053fae3
int3
Function at 0x477f20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x477f44
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x477f61
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x477f50
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x477f9a
cmp eax, edi
jne 0x477f92
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x477fa2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x477fa2
cmp eax, edi
jne 0x477fa2
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00478140
push 0x50
push edi
call fcn.004a3dd5
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47b320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x47b33c
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x47b361
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x47b350
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x47b38b
mov eax, ebx
jmp 0x47b38f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x47b406
cmp dword [edi + 0x14], 8
lea eax, [esi + 8]
mov ecx, edi
jb 0x47b3a0
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x47b3b6
mov eax, dword [eax]
cmp edx, dword [edi + 0x10]
jne 0x47b3ca
push edx
push ecx
push eax
call fcn.00413cb0
add esp, 0xc
test eax, eax
je 0x47b3d4
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x47b383
cmp dword [ebp - 0x10], 8
lea eax, [esi + 8]
jb 0x47b3df
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x47b3e9
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0x14]
jne 0x47b400
push edx
push eax
push ecx
call fcn.00413cb0
add esp, 0xc
test eax, eax
je 0x47b402
mov esi, ebx
mov eax, esi
jmp 0x47b40a
mov esi, ebx
mov eax, ebx
cmp eax, ebx
jne 0x47b46a
mov esi, dword [ebx]
lea eax, [ebp + 0xf]
mov ebx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 4]
push eax
push 0x5ab8f8
push edi
push esi
lea ecx, [ebx + 4]
call fcn.0047b2d0
mov edx, eax
mov ecx, 0x3333332
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x47b47c
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.00477ca0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.0047e67e
int3

Function at 0x47e460
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x378], 8
lea ecx, [esi + 0x314]
mov eax, dword [ecx]
push edi
mov edi, dword [esi + 0x374]
mov edx, dword [eax + 0x70]
lea eax, [esi + 0x364]
jb 0x47e486
mov eax, dword [eax]
push 0
push edi
push eax
call edx
pop edi
mov byte [esi + 0x3a4], 1
mov ecx, esi
pop esi
jmp fcn.0047aec0