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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [esi + 0x2c]
call fcn.005cca30
test al, al
je 0x43e1fb
mov al, 1
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43e22c
push ecx
mov ecx, esi
call fcn.0043e540
test eax, eax
jne 0x43e22c
push eax
lea ecx, [esi + 0x14f0]
call fcn.005b6be0
mov ecx, eax
call fcn.005c5730
test eax, eax
jne 0x43e22c
xor al, al
pop esi
pop ebp
ret 4
push edi
push 0
push 0
push eax
push 0x5c6c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x43e256
test eax, eax
je 0x43e256
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], edi
test edi, edi
jne 0x43e26c
mov dword [esi + 0x2c], 0xffffffff
pop edi
xor al, al
pop esi
pop ebp
ret 4
cmp edi, 0xffffffff
je 0x43e264
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x43e8f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ebx, ecx
push 0
push 0
push str.7za.exe
lea ecx, [ebx + 0x150]
call fcn.005dc190
push eax
lea ecx, [ebx + 0x149c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.UVK
push ecx
lea ecx, [ebx + 0x1290]
call fcn.0057c490
push eax
lea ecx, [ebx + 0x15c]
call fcn.005dc200
lea ecx, [ebx + 0x15c]
call fcn.005dc190
or edx, 0xffffffff
mov ecx, eax
call fcn.005e0f30
cmp byte [ebx + 0x11], 0
mov ecx, 0x6243cc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, str.x64.exe
cmove eax, ecx
lea ecx, [ebx + 0x150]
push eax
push str.RebootExec
call fcn.005dc190
push eax
lea ecx, [ebx + 0x1184]
call fcn.005dc200
cmp byte [ebp + 8], 0
je 0x43e9cc
push 0
push 1
mov ecx, ebx
call fcn.0043d720
mov al, byte [ebx + 0x11]
push ecx
lea ecx, [ebx + 0x1290]
mov byte [ebx + 0x28], al
call fcn.0057c540
push ecx
lea ecx, [ebx + 0x1290]
mov dword [ebx + 0x24], eax
call fcn.0057c4e0
push ecx
lea ecx, [ebx + 0x1290]
mov dword [ebx + 0x1c], eax
call fcn.0057c5d0
cmp byte [ebp + 8], 0
mov dword [ebx + 0x20], eax
je 0x43ea10
push 0
push 1
mov ecx, ebx
call fcn.0043d720
push 0
push 0
push 0x2e
lea ecx, [ebx + 0x18c]
call fcn.005dbbc0
movsd xmm0, qword [ebx + 8]
comisd xmm0, xmmword [0x6edab8]
jb 0x43ea35
mov eax, dword [ebx + 0x24]
jmp 0x43ea38
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Tasks
push eax
lea ecx, [ebx + 0x1a4]
call fcn.005dc200
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x80
push eax
push 0
push 0
push 0x80
lea ecx, [ebx + 0x198]
call fcn.005db9a0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp byte [ebp + 8], 0
je 0x43ea94
push 0
push 1
mov ecx, ebx
call fcn.0043d720
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
Function at 0x456669
Capabilities:
Check if file exists

Disassembly:
ret
Function at 0x463250
Capabilities:
Create thread
Shutdown system

Disassembly:
ret
Function at 0x467640
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 1
call esi
test ax, ax
js 0x467662
push 2
call esi
test ax, ax
jns 0x467668
push 0xa
call edi
jmp 0x467650
pop edi
pop esi
ret

Function at 0x468bf9
Capabilities:
Check if file exists
Copy file

Disassembly:
ret
Function at 0x46c2e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef96e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.Running_DeviceRescue_in_a_separate_thread...
push 0xffffffffffffffff
lea ecx, [edi + 0x14f0]
call fcn.005b66e0
push 0
push 0
push edi
push 0x469b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x14], esi
xor edx, edx
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.005cca30
test al, al
je 0x46c36b
push 0
push 0
mov ecx, edi
call fcn.0043d720
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x46c353
cmp esi, 0xffffffff
je 0x46c399
test esi, esi
je 0x46c399
push 0
push 0
push str._DeviceRescue_in_a_separate_thread
push 0x64c510
mov ecx, edi
call fcn.0045a700
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x46c3df
push 0
push 0
push str._DeviceRescue_in_a_separate_thread
push 0x64c53c
mov ecx, edi
call fcn.0045a700
cmp esi, 0xffffffff
je 0x46c3dd
test esi, esi
je 0x46c3c7
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x46c3df
cmp esi, 0xffffffff
je 0x46c3dd
xor edi, edi
test esi, esi
je 0x46c3d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x46c3df
xor eax, eax
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.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x46e070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efa8a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
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
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
push 0x12c
push 2
push ecx
push 0
push 0
push 0
push eax
push str.Uncompressing_archive:_r_n
mov dword [ebp - 0x1c], eax
call fcn.004397f0
push esi
push ecx
push ebx
lea ecx, [edi + 0x149c]
call fcn.005dc190
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.0059f440
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.005cca30
test al, al
je 0x46e120
nop
push 0
push 0
mov ecx, edi
call fcn.0043d720
test eax, eax
jne 0x46e1a2
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x46e100
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x46e141
push ecx
push ebx
push 5
push 2
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 0x14]
cmp byte [ebp + 0x10], 0
je 0x46e16b
push 0
push dword [ebp - 0x1c]
test ecx, ecx
mov edx, 0x638170
mov eax, 0x638140
mov ecx, edi
push str._archive:
cmovne eax, edx
push eax
call fcn.0045a700
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
test ecx, ecx
sete bl
cmp esi, 0xffffffff
je 0x46e182
test esi, esi
je 0x46e182
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.0041e1b5
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or ebx, 0xffffffff
jmp 0x46e172
Function at 0x46e510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0xc
push dword [ebp + 8]
call fcn.005c9e40
test eax, eax
jns 0x46e52b
xor al, al
pop ebp
ret 8
push 0xf000
push eax
push 0x102c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
and al, 1
pop ebp
ret 8
Function at 0x46ff40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efd25
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70f200]
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
mov esi, ecx
cmp byte [esi + 0x13d8], 0
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
je 0x470145
mov eax, dword [esi + 0x13dc]
test al, 4
jne 0x470145
test dword [esi + 0x1f68], 0x2000000
je 0x46ffa5
test al, 8
jne 0x470145
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.005dc570
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
call fcn.005dc5e0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005dbf40
push str.UVKSettings.ini
lea ecx, [ebp - 0x1c]
call fcn.005dc4c0
test al, al
je 0x470004
push edi
mov ecx, esi
call fcn.004702d0
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47012f
test byte [esi + 0x1f74], 0x80
je 0x470085
test byte [esi + 0x1f68], 3
jne 0x47012f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__to_the_cloud_using_CloudSync_
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push str.Do_you_wish_to_synchronize__
lea ecx, [ebp - 0x28]
call fcn.005dc200
sub esp, 8
lea ecx, [ebp - 0x28]
push 0x8c
push 0x190
push 0
push 0
push 1
call fcn.005dc190
push eax
mov ecx, esi
call fcn.0043e2e0
test eax, eax
jne 0x470085
or esi, 0xffffffff
jmp 0x470131
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x635758
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push str.Syncing
lea ecx, [ebp - 0x1c]
call fcn.005dc200
lea eax, [esi + 0x14f0]
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.005b6bd0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
push 0
push 0xffffffffffffffba
sub esp, 8
lea ecx, [ebp - 0x1c]
mov bl, al
push 0x46
push 0x1c2
push 0
call fcn.005dc190
push eax
mov ecx, esi
call fcn.0043da60
mov ecx, eax
call fcn.005b66e0
lea ecx, [esi + 0x14f0]
call fcn.005b6bd0
push eax
mov ecx, esi
call fcn.0043e1e0
push dword [ebp - 0x2c]
lea ecx, [esi + 0x114]
call fcn.005dc190
mov edx, edi
mov ecx, eax
call fcn.00590180
movzx esi, al
test bl, bl
jne 0x470131
mov ecx, dword [ebp - 0x30]
push 2
call fcn.005b6250
jmp 0x470131
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, esi
jmp 0x470147
xor eax, eax
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.0041e1b5
mov esp, ebp
pop ebp
ret 8
Function at 0x472040
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efe9c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x70f200]
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
mov ebx, ecx
lea ecx, [ebx + 0x150]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffd
lea ecx, [ebx + 0x150]
push eax
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
neg eax
mov dword [ebp - 0x18], 0
push 0x2001f
sbb esi, esi
lea ecx, [ebp - 0x18]
push str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer
neg esi
call fcn.005d6a80
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push str.InstallHiddenFlag
lea ecx, [ebp - 0x18]
call fcn.005d66b0
test al, al
jne 0x4720ea
mov eax, dword [ebx + 0x1f68]
and eax, 0x200
or eax, 0x1000
shr eax, 9
mov dword [ebp - 0x14], eax
jmp 0x4720ed
mov eax, dword [ebp - 0x14]
and dword [ebx + 0x1f68], 0xff7fffff
test al, 1
je 0x472107
mov ecx, ebx
call fcn.004727d0
add esi, eax
mov eax, dword [ebp - 0x14]
test al, 2
je 0x472117
mov ecx, ebx
call fcn.00472400
add esi, eax
mov eax, dword [ebp - 0x14]
test al, 4
je 0x472127
mov ecx, ebx
call fcn.00472960
add esi, eax
mov eax, dword [ebp - 0x14]
test al, 8
je 0x472144
push 1
mov edx, str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersionUninstallUVK___Ultra_virus_killer
mov ecx, str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer_backupsInstallInfo
call fcn.005d3c40
neg eax
sbb eax, eax
neg eax
add esi, eax
push str.InstallHidden
lea ecx, [ebp - 0x18]
call fcn.005d5df0
call fcn.00437df0
push str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersionUninstallUVK___Ultra_virus_killer
lea ecx, [ebx + 0x1490]
call fcn.005dc510
lea ecx, [ebp - 0x18]
call fcn.005d69e0
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.0041e1b5
mov esp, ebp
pop ebp
Function at 0x472190
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 2
lea ecx, [edi + 0x150]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
neg eax
mov ecx, edi
sbb esi, esi
neg esi
call fcn.00472250
test dword [edi + 0x1f68], 0x800000
mov ebx, eax
jne 0x4721d6
push 0
push ebx
push str.InstallHiddenFlag
push str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer
call fcn.004385d0
push 0
push 1
push str.InstallHidden
push str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer
call fcn.004385d0
test bl, 1
je 0x4721f9
push 0
mov ecx, edi
call fcn.00472d40
add esi, eax
test bl, 2
je 0x472205
call fcn.0046ed50
add esi, eax
test bl, 4
je 0x472215
push 0
mov ecx, edi
call fcn.004730d0
add esi, eax
test bl, 8
je 0x47222b
push 1
mov edx, str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer_backupsInstallInfo
mov ecx, str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersionUninstallUVK___Ultra_virus_killer
call fcn.005d3c40
or dword [edi + 0x1f68], 0x800000
call fcn.00437df0
push str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer_backupsInstallInfo
lea ecx, [edi + 0x1490]
call fcn.005dc510
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x472250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efee0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x20019
push str.HKLM64SOFTWARECarifredUVK___Ultra_Virus_Killer
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.005d6a80
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push str.DesktopShortcut
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.005d66b0
test al, al
je 0x4722c6
cmp dword [ebp - 0x14], 0
je 0x4722c6
mov dword [ebp - 0x14], 1
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.005dc5e0
push ecx
push 0x20019
push str.HKLMSOFTWAREClassesShellForce_Deletecommand
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005d6a30
lea eax, [ebp - 0x24]
push eax
push 0x62439c
lea ecx, [ebp - 0x18]
call fcn.005d6740
test al, al
je 0x472344
push 0
push 1
push 1
push 0
lea ecx, [esi + 0x150]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x24]
call fcn.005daa70
test eax, eax
je 0x472344
or dword [ebp - 0x14], 2
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00472770
push 0
push 0
push 0
push 0
push 0
push 0
push 0x630518
lea ecx, [ebp - 0x30]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x30]
call fcn.005dc190
push eax
push 0x624284
push ecx
lea ecx, [esi + 0x1290]
call fcn.0057bd60
push eax
lea ecx, [ebp - 0x24]
call fcn.005dc200
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4723a8
or dword [ebp - 0x14], 4
xor edx, edx
mov ecx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallUVK___Ultra_virus_killer
call fcn.005d3780
mov esi, dword [ebp - 0x14]
test al, al
je 0x4723c1
or esi, 8
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x30]
call fcn.005dc430
lea ecx, [ebp - 0x24]
call fcn.005dc430
lea ecx, [ebp - 0x18]
call fcn.005d69e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x475ad7
Capabilities:
Move file

Disassembly:
ret
Function at 0x47d810
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0855
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x20]
sub esp, 8
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6249f8
push eax
call fcn.005dc520
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x30], xmm0
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x30], edx
cmp edx, 0xffffffff
je 0x47d8df
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x2c], 1
call fcn.004011a0
mov edx, dword [ebp - 0x30]
xor edi, edi
cmp edx, 0xffffffff
je 0x47d9be
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x280]
test cl, 6
jne 0x47d905
inc edi
cmp edi, 3
jg 0x47d9a5
cmp edx, 0xffffffff
je 0x47d9be
lea eax, [ebp - 0x280]
push eax
push edx
call esi
test eax, eax
je 0x47d9ae
mov edx, dword [ebp - 0x30]
cmp edx, 0xffffffff
je 0x47d9be
nop dword [eax]
cmp word [ebp - 0x254], 0x2e
jne 0x47d956
mov ax, word [ebp - 0x252]
test ax, ax
je 0x47d992
cmp ax, 0x2e
jne 0x47d956
cmp word [ebp - 0x250], 0
je 0x47d992
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x280]
test eax, eax
je 0x47d8f6
test al, 1
je 0x47d96f
test ecx, 0x400
jne 0x47d992
test al, 2
je 0x47d97e
test cl, 0x10
je 0x47d8f6
jmp 0x47d992
test al, 4
je 0x47d8f6
test ecx, 0x10
jne 0x47d8f6
lea eax, [ebp - 0x280]
push eax
push edx
call esi
test eax, eax
je 0x47d9ae
mov edx, dword [ebp - 0x30]
jmp 0x47d930
mov byte [ebp - 0x281], 1
jmp 0x47d9c5
push dword [ebp - 0x30]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
or edx, 0xffffffff
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x281], 0
cmp edx, 0xffffffff
je 0x47d9d1
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov al, byte [ebp - 0x281]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x480b40
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0a93
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x70f200]
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
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x20], 0xffffffff
sub esp, 8
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6249f8
push eax
call fcn.005dc520
push 0x260
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x30], edx
cmp edx, 0xffffffff
je 0x480c25
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x2c], 1
call fcn.004011a0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
cmp edx, 0xffffffff
je 0x480c99
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
add dword [edi + 0x38], 1
lea eax, [ebp - 0x254]
push 0
adc dword [edi + 0x3c], 0
lea ecx, [ebp - 0x1c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x624284
push dword [ebp - 0x284]
call fcn.005dc200
test byte [ebp - 0x280], 0x10
je 0x480cd3
push edi
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov ecx, dword [ebp - 0x288]
push eax
call fcn.00480b40
test al, al
jne 0x480ceb
mov edx, dword [ebp - 0x30]
cmp dword [edi], 0
sete bl
cmp edx, 0xffffffff
je 0x480cab
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
call fcn.005dc430
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 - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x260]
add dword [edi + 0x50], eax
mov ecx, dword [ebp - 0x264]
adc dword [edi + 0x54], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
cmp dword [edi], 0
jne 0x480c96
mov edx, dword [ebp - 0x30]
cmp edx, 0xffffffff
je 0x480c99
lea eax, [ebp - 0x280]
push eax
push edx
call esi
test eax, eax
je 0x480d8b
mov edx, dword [ebp - 0x30]
cmp edx, 0xffffffff
je 0x480c99
cmp word [ebp - 0x254], 0x2e
jne 0x480d38
mov ax, word [ebp - 0x252]
test ax, ax
je 0x480d78
cmp ax, 0x2e
jne 0x480d38
cmp word [ebp - 0x250], 0
je 0x480d78
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x480c40
mov ecx, dword [ebp - 0x280]
test al, 1
je 0x480d55
test ecx, 0x400
jne 0x480d78
test al, 2
je 0x480d64
test cl, 0x10
je 0x480c40
jmp 0x480d78
test al, 4
je 0x480c40
test ecx, 0x10
jne 0x480c40
lea eax, [ebp - 0x280]
push eax
push edx
call esi
test eax, eax
je 0x480d8b
mov edx, dword [ebp - 0x30]
jmp 0x480d12
push dword [ebp - 0x30]
call ebx
or edx, 0xffffffff
mov dword [ebp - 0x30], edx
jmp 0x480c99