joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ab90
Capabilities:
Delete file
Enumerate files on windows
Get disk information

Disassembly:
sub esp, 0x644
push ebp
push esi
lea eax, [esp + 0x10c]
push edi
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x110]
lea esi, [esp + 0x110]
test al, al
mov byte [esp + 0x450], 0
je 0x46abf8
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push esi
call edi
cmp eax, 3
jne 0x46abe5
lea ecx, [esp + 0x450]
push esi
push ecx
call fcn.004712c0
add esp, 8
push 0
push esi
call fcn.0047e290
add esp, 8
inc eax
mov esi, eax
cmp byte [esi], 0
jne 0x46abcc
lea edx, [esp + 0x450]
push 0x4ff10c
push edx
call fcn.004712c0
mov cl, byte [esp + 0x458]
add esp, 8
xor eax, eax
lea ebp, [esp + 0x450]
test cl, cl
mov dword [esp + 0xc], eax
je 0x46ad6b
push ebx
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4ae1a4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..tmp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x314]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46ad4e
mov dword [esp + 0x10], 1
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x340]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x314]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46accd
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebp
call fcn.0047e290
add esp, 8
inc eax
mov ebp, eax
cmp byte [ebp], 0
jne 0x46ac2a
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x644
ret
Function at 0x46e830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
test eax, eax
je 0x46e95d
cmp byte [eax], 0
je 0x46e95d
lea ecx, [esp]
lea edx, [esp + 4]
push ecx
push edx
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x46e95d
mov eax, dword [esp]
test eax, eax
je 0x46e95d
cmp byte [eax], 0
je 0x46e95d
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46e896
test al, 0x10
jne 0x46e95d
push esi
push edi
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jb 0x46e8d2
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0xc]
dec ecx
sub edx, 3
push 0x4a00ac
add ecx, edx
push ecx
call fcn.0047e7f0
add esp, 8
test eax, eax
je 0x46e929
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xb], 0x2e
jne 0x46e8f9
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0xb], al
mov edi, 0x4a00ac
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret
Function at 0x470e90
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
push 0x4c
xor ebx, ebx
call fcn.0047e5d8
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x470eb4
pop edi
pop esi
mov eax, 0x19
pop ebx
add esp, 0x18
ret
mov ecx, 0x13
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 4], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 8], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xc], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x10], eax
call edi
push 0x30000
push esi
lea ecx, [esp + 0x18]
push 0x470c20
push ecx
lea edx, [esi + 0x44]
push 0xffffffffffffffff
mov dword [esi + 0x14], eax
push edx
mov word [esp + 0x28], 1
mov dword [esp + 0x2c], 0xac44
mov word [esp + 0x36], 0x10
mov word [esp + 0x2a], 2
mov word [esp + 0x34], 4
mov dword [esp + 0x30], 0x2b110
mov word [esp + 0x38], bx
call dword [sym.imp.WINMM.dll_waveOutOpen]
test eax, eax
je 0x470f9b
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov ebx, 0x15
call edi
mov ecx, dword [esi + 4]
push ecx
call edi
mov edx, dword [esi + 8]
push edx
call edi
mov eax, dword [esi + 0xc]
push eax
call edi
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
push esi
call fcn.0047e3be
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 0xc]
push edx
push ebx
push esi
push 0x470cc0
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x470fdc
mov dword [eax], esi
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x471370
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x471b00
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 0x10
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x18]
mov esi, eax
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and al, 0xfb
add eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 5
push 0
mov ecx, dword [eax + 0xc]
push 0
sub ecx, edx
mov edx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
sub edx, eax
add edx, ecx
push edx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
add esp, 0x10
ret

Function at 0x472340
Capabilities:
Get disk information

Disassembly:
sub esp, 0x240
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push esi
push edi
mov edi, dword [esp + 0x24c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov dl, byte [esp + 9]
not ecx
dec ecx
cmp ecx, 2
jne 0x4723da
cmp dl, 0x3a
jne 0x4723da
mov edi, 0x49f898
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, 1
pop ebx
cmp ecx, eax
pop edi
sbb eax, eax
pop esi
and eax, 3
add esp, 0x240
ret
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jne 0x472419
cmp dl, 0x3a
jne 0x472419
cmp byte [esp + 0xa], 0x5c
jne 0x472419
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, 1
pop edi
cmp ecx, eax
pop esi
sbb eax, eax
and eax, 3
add esp, 0x240
ret
lea edx, [esp + 8]
push edx
call fcn.004732a0
add esp, 4
test eax, eax
je 0x47243c
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 7], al
lea eax, [esp + 0x108]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x47245f
pop edi
xor eax, eax
pop esi
add esp, 0x240
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x108]
pop edi
and al, 0x10
pop esi
neg al
sbb eax, eax
neg eax
inc eax
add esp, 0x240
ret
Function at 0x4724c0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push esi
call edi
cmp eax, 0xffffffff
je 0x4724f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call edi
cmp eax, 0xffffffff
jne 0x472514
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, 1
pop esi
ret
Function at 0x4726a0
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
xor ebx, ebx
cmp edi, ebx
je 0x4726da
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4726de
mov byte [esp + 0x28], bl
mov esi, dword [sym.imp.USER32.dll_CharLowerA]
lea ecx, [esp + 0x28]
push ecx
call esi
mov al, byte [esp + 0x28]
mov dl, byte [esp + 0x29]
cmp al, 0x61
jb 0x472740
mov cl, byte [esp + 0x2a]
cmp al, 0x7a
ja 0x472708
cmp dl, 0x3a
jne 0x472708
cmp cl, bl
je 0x47277b
cmp al, 0x7a
ja 0x472740
cmp dl, 0x3a
jne 0x472740
cmp cl, 0x5c
jne 0x472740
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4727c7
cmp al, 0x5c
jne 0x4727b0
cmp dl, al
jne 0x4727b0
lea ecx, [esp + 0x2b]
push 0x5c
push ecx
call fcn.0047fdcd
add esp, 8
cmp eax, ebx
jne 0x472769
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x218
ret
add eax, 2
push 0x5c
push eax
call fcn.0047fdcd
add esp, 8
cmp eax, ebx
jne 0x4727ab
mov edi, 0x49f898
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4727cb
mov byte [eax + 1], bl
jmp 0x4727cb
lea eax, [esp + 0x28]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x28]
push ecx
call esi
mov byte [esp + 0x2b], bl
mov edx, dword [esp + 0x230]
cmp edx, ebx
je 0x4727f7
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x472823
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x218
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, 0xa
call fcn.0047e4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
Function at 0x472840
Capabilities:
Get disk information

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x64
xor eax, eax
lea edx, [esp]
mov al, byte [ecx]
push esi
push eax
push str.._c:
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 4]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4728a9
lea ecx, [esp + 0x6c]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x90020
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
pop esi
add esp, 0x64
ret
Function at 0x472c20
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x304
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x110]
push eax
push ecx
push str..htm
push 0x80000000
mov dword [esp + 0x1c], pe_nt_image_headers32
call ebx
test eax, eax
je 0x472c60
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x304
ret
mov edi, str._shellopencommand
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], pe_nt_image_headers32
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x114]
push ecx
push edx
push 0x80000000
call ebx
test eax, eax
je 0x472cc2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x304
ret
lea eax, [esp + 0x10]
push 0x4ae510
push eax
call fcn.0047e200
add esp, 8
test eax, eax
je 0x472cf0
lea ecx, [esp + 0x10]
push 0x4ae510
push ecx
call fcn.0047e200
add esp, 8
mov byte [eax + 1], 0x73
jmp 0x472d1e
mov edi, 0x4a091c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x314]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x214]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x210]
push 3
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
add esp, 0x304
ret
Function at 0x475360
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
test eax, eax
je 0x47538f
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1dc]
mov eax, edi
cdq
idiv ecx
mov esi, eax
mov eax, edi
cdq
idiv ecx
shl edx, 4
mov dword [esp + 0x14], edx
jmp 0x475393
mov esi, dword [esp + 0x1c]
xor ebx, ebx
lea eax, [ebp + 0x1e8]
cmp dword [eax], esi
je 0x4753a8
inc ebx
add eax, 4
cmp ebx, 0x40
jl 0x47539b
cmp ebx, 0x40
jne 0x4754b4
xor ebx, ebx
or edx, 0xffffffff
or edi, 0xffffffff
lea eax, [ebp + 0x2e8]
cmp dword [eax - 0x100], 0xffffffff
je 0x4753db
mov ecx, dword [eax]
cmp edx, ecx
jbe 0x4753d2
mov edx, ecx
mov edi, ebx
inc ebx
add eax, 4
cmp ebx, 0x40
jl 0x4753bf
cmp ebx, 0x40
jne 0x4753e2
mov ebx, edi
mov dword [ebp + ebx*4 + 0x1e8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + ebx*4 + 0x2e8], eax
mov dword [ebp + ebx*4 + 0x3e8], 1
mov eax, dword [ebp + 0x1b8]
test eax, eax
je 0x47546a
mov eax, dword [ebp + 0x1d4]
mov ecx, dword [ebp + 0x1bc]
imul eax, esi
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, ebx
mov ecx, dword [ebp + 0x1d4]
shl eax, 4
add eax, ebx
push 0
lea edx, [eax + eax*8]
lea eax, [esp + 0x20]
shl edx, 4
push eax
push ecx
lea edi, [edx + ebp + 0x4e8]
mov edx, dword [ebp + 0x1bc]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47549d
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1d4]
cmp eax, ecx
je 0x4754b4
jmp 0x47549d
mov eax, ebx
mov edx, dword [ebp + 0x1cc]
shl eax, 4
add eax, ebx
add edx, esi
push 1
push edx
lea ecx, [eax + eax*8]
mov eax, dword [ebp + 0x1c0]
shl ecx, 4
lea edi, [ecx + ebp + 0x4e8]
push edi
push eax
call fcn.00439ab0
add esp, 0x10
test eax, eax
je 0x4754b4
mov ecx, 0x264
mov eax, 0xcdcdcdcd
rep stosd dword es:[edi], eax
mov dword [ebp + ebx*4 + 0x3e8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x475501
mov eax, ebx
pop edi
shl eax, 4
add eax, ebx
pop esi
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0xc]
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [ecx + ebp + 0x4e8]
mov ecx, dword [ecx + ebp + 0x4e8]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + ebx*4 + 0x3e8]
pop ebp
pop ebx
ret
mov ecx, dword [ebp + 0x1d4]
mov eax, ebx
shl eax, 4
add eax, ebx
mov edi, dword [esp + 0x20]
mov edx, ecx
lea eax, [eax + eax*8]
shl eax, 4
shr ecx, 2
lea esi, [eax + ebp + 0x4e8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + ebx*4 + 0x3e8]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x477ca0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x404
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push esi
mov al, byte [ebx + 0x874]
lea ebp, [ebx + 0x874]
test al, al
push edi
je 0x477e29
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x477ce3
push ebp
call fcn.00445110
add esp, 4
test eax, eax
jne 0x477de0
lea eax, [esp + 0x14]
push eax
push str.Type
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x477de0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0x49f190
push edx
call fcn.0047e1c0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 0x26
je 0x477d2b
mov dword [esp + 0x10], 0x199
jmp 0x477de8
lea eax, [esp + 0x14]
push eax
push str.Folder
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x477de0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x100
ja 0x477de0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x6e8]
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4af
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1a0]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push str.Volume
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x477de0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x20
ja 0x477de0
mov ecx, dword [ebx + 0x1a0]
lea eax, [esp + 0x14]
push eax
push 0x4a6
push ecx
call esi
push ebx
call fcn.0045ff60
add esp, 4
test eax, eax
jne 0x477e5a
mov dword [esp + 0x10], 0x19a
mov edx, dword [ebx + 0x1b0]
push 0
push 0
push 0x402
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [esp + 0x10]
push 0x30
push 0x4d44b8
push ebp
push eax
call fcn.0046b4e0
mov ecx, dword [ebx + 0x18]
add esp, 8
push eax
push ecx
call fcn.0046b480
add esp, 0x10
mov byte [ebp], 0
mov edx, dword [ebx + 0x1a0]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebx + 0x6e8]
push eax
push 0x4af
push edx
mov byte [eax], 0
call esi
mov eax, dword [ebx + 0x1a0]
push 0x4b32f0
push 0x4a6
push eax
call esi
mov ecx, dword [ebx + 0x1a0]
push 0
push 0x104af
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
call fcn.0045b0a0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x477e90
Capabilities:
Delete file

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov edi, dword [esp + 0x814]
mov ebp, eax
lea esi, [edi + 0x874]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00444ee0
add esp, 4
test eax, eax
jne 0x477fa9
mov eax, dword [0x4d44b4]
mov ecx, dword [0x4d44b0]
mov edx, dword [0x4d44ac]
push eax
push ecx
push edx
push 0x4d44b8
lea eax, [esp + 0x20]
push str._s__d._d._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x28]
push ecx
push str.Version
push esi
call fcn.00444bf0
add esp, 0x24
test eax, eax
jne 0x477fa9
mov edx, dword [edi + 4]
lea eax, [esp + 0x10]
push edx
push str._02d__Zulu_VideoTS_Document_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x1c]
push ecx
push str.Type
push esi
call fcn.00444bf0
add esp, 0x18
test eax, eax
jne 0x477fa9
lea edx, [edi + 0x6e8]
push edx
push str.Folder
push esi
call fcn.00444bf0
add esp, 0xc
test eax, eax
jne 0x477fa9
mov ecx, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
push 0x20
push eax
push 0x4a6
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea edx, [esp + 0x10]
push edx
push str.Volume
push esi
call fcn.00444bf0
add esp, 0xc
test eax, eax
jne 0x477fa9
push edi
call fcn.00460570
add esp, 4
test eax, eax
je 0x477fa9
push esi
call fcn.00445090
add esp, 4
test eax, eax
je 0x477fe5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call ebx
push 0x30
push 0x4d44b8
push esi
push 0x198
call fcn.0046b4e0
add esp, 8
push eax
mov eax, dword [edi + 0x1a0]
push eax
call fcn.0046b480
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret
push 0
push edi
call fcn.0045b0a0
add esp, 8
push ebp
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x800
ret