Function at 0x45b640
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov eax, 0x7fff
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [edi + 0x10208]
sub eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x14], ecx
call esi
mov ecx, dword fs:[0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp eax, 0xffffffff
je 0x45b7c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x4e30f4]
sub eax, dword [0x4e868c]
cmp eax, dword [esi + 0xd8]
jbe 0x45b6f2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45b6e1
mov eax, dword [esp + 0x18]
cmp dword [0x4e72e4], eax
jne 0x45b6e1
mov edx, 1
or ecx, 0xffffffff
call fcn.004019f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x4e30f4]
mov dword [0x4e868c], eax
test byte [esp + 0x40], 0x10
je 0x45b728
cmp word [esp + 0x6c], 0x2e
jne 0x45b71d
mov ax, word [esp + 0x6e]
test ax, ax
je 0x45b79c
cmp ax, 0x2e
jne 0x45b71d
cmp word [esp + 0x70], 0
je 0x45b79c
cmp dword [edi + 0x10218], 1
jne 0x45b731
jmp 0x45b79c
cmp dword [edi + 0x10218], 2
je 0x45b79c
lea ecx, [esp + 0x6c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b740
sub ecx, edx
sar ecx, 1
cmp ecx, dword [esp + 0x14]
jbe 0x45b75e
mov dword [esi + 0x30], 0x6f
jmp 0x45b79b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x6c]
mov eax, ecx
lea edx, [edi + edx*2]
sub edx, eax
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45b770
push dword [edi + 0x10214]
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi + 0x10210]
push edi
call eax
add esp, 0xc
test eax, eax
jne 0x45b79c
inc ebx
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b697
push esi
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp byte [edi + 0x1021c], 0
je 0x45b90b
cmp dword [esp + 0x14], 1
jbe 0x45b90b
mov ecx, dword [esp + 0xc]
lea eax, [edi + ecx*2]
mov dword [eax], 0x2a
lea eax, [esp + 0x40]
push eax
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45b8f8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x4e30f4]
sub eax, dword [0x4e868c]
cmp eax, dword [ecx + 0xd8]
jbe 0x45b850
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45b849
mov eax, dword [esp + 0x18]
cmp dword [0x4e72e4], eax
jne 0x45b849
mov edx, 1
or ecx, 0xffffffff
call fcn.004019f0
call esi
mov dword [0x4e868c], eax
test byte [esp + 0x40], 0x10
je 0x45b8dd
cmp word [esp + 0x6c], 0x2e
jne 0x45b87b
mov ax, word [esp + 0x6e]
test ax, ax
je 0x45b8dd
cmp ax, 0x2e
jne 0x45b87b
cmp word [esp + 0x70], 0
je 0x45b8dd
lea esi, [esp + 0x6c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45b882
mov eax, dword [edi + 0x1020c]
sub esi, ecx
sar esi, 1
add eax, esi
cmp eax, dword [esp + 0x14]
jae 0x45b8d7
mov ecx, dword [esp + 0xc]
lea eax, [edi + 0x10000]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [edi + ecx*2]
push str._s_s
push eax
call fcn.00405e50
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [esp + 0x20]
inc eax
add eax, esi
mov dword [edi + 0x10208], eax
push edi
call fcn.0045b640
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b803
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add dword [edi + 0x10220], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add dword [edi + 0x10220], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4