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

Disassembly:
sub esp, 0x284
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov eax, 0x7fff
push edi
mov edi, dword [esp + 0x298]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
mov ecx, dword [edi + 0x10208]
sub eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x1c], ecx
call esi
mov ebp, dword [0x62271c]
mov ebx, eax
mov eax, dword fs:[0x24]
mov dword [esp + 0x1c], eax
cmp ebx, 0xffffffff
je 0x496510
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword fs:[0x2c]
mov esi, eax
mov ecx, dword [edx + ebp*4]
cmp byte [ecx + 0x2198], 0
jne 0x496357
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ebp*4]
mov eax, dword [ecx + 0x298]
sub esi, dword [eax + 0x6f0]
cmp byte [ecx + 0x2198], 0
jne 0x49637b
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ebp*4]
mov eax, dword [eax + 0x29c]
cmp esi, dword [eax + 0x5c]
jbe 0x496419
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 0x4963de
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + ebp*4]
cmp byte [eax + 0x2198], 0
jne 0x4963c3
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x250], ecx
jne 0x4963de
push 1
push 0xffffffffffffffff
call fcn.00415b90
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ebp*4]
cmp byte [ecx + 0x2198], 0
jne 0x496403
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov eax, dword [eax + 0x298]
mov dword [eax + 0x6f0], esi
mov edx, dword fs:[0x2c]
test byte [esp + 0x40], 0x10
je 0x496456
cmp word [esp + 0x6c], 0x2e
jne 0x496448
mov ax, word [esp + 0x6e]
test ax, ax
je 0x4964ef
cmp ax, 0x2e
jne 0x496448
cmp word [esp + 0x70], 0
je 0x4964ef
cmp dword [edi + 0x10218], 1
jne 0x496463
jmp 0x4964ef
cmp dword [edi + 0x10218], 2
je 0x4964ef
lea ecx, [esp + 0x6c]
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496470
sub ecx, esi
sar ecx, 1
cmp ecx, dword [esp + 0x18]
jbe 0x4964af
mov eax, dword [edx + ebp*4]
cmp byte [eax + 0x2198], 0
jne 0x49649d
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ebp*4]
mov eax, dword [eax + 0x29c]
mov dword [eax + 0x3c], 0x6f
jmp 0x4964eb
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
mov eax, ecx
lea edx, [edi + edx*2]
sub edx, eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4964c0
push dword [edi + 0x10214]
mov eax, dword [edi + 0x10210]
lea ecx, [esp + 0x44]
push ecx
push edi
call eax
add esp, 0xc
test eax, eax
jne 0x4964ef
inc dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x496330
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp byte [edi + 0x1021c], 0
je 0x4966d0
cmp dword [esp + 0x18], 1
jbe 0x4966d0
mov ecx, dword [esp + 0x14]
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 0x4966d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword fs:[0x2c]
mov esi, eax
mov ecx, dword [edx + ebp*4]
cmp byte [ecx + 0x2198], 0
jne 0x49656f
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ebp*4]
mov eax, dword [ecx + 0x298]
sub esi, dword [eax + 0x6f0]
cmp byte [ecx + 0x2198], 0
jne 0x496593
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ebp*4]
mov eax, dword [eax + 0x29c]
cmp esi, dword [eax + 0x5c]
jbe 0x49662a
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 0x4965f6
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + ebp*4]
cmp byte [eax + 0x2198], 0
jne 0x4965db
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x250], ecx
jne 0x4965f6
push 1
push 0xffffffffffffffff
call fcn.00415b90
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ebp*4]
cmp byte [ecx + 0x2198], 0
jne 0x49661b
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov eax, dword [eax + 0x298]
mov dword [eax + 0x6f0], esi
test byte [esp + 0x40], 0x10
je 0x4966b5
cmp word [esp + 0x6c], 0x2e
jne 0x496655
mov ax, word [esp + 0x6e]
test ax, ax
je 0x4966b5
cmp ax, 0x2e
jne 0x496655
cmp word [esp + 0x70], 0
je 0x4966b5
lea esi, [esp + 0x6c]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x496660
mov eax, dword [edi + 0x1020c]
sub esi, ecx
sar esi, 1
add eax, esi
cmp eax, dword [esp + 0x18]
jae 0x4966b5
mov ecx, dword [esp + 0x14]
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.0043c2f0
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [esp + 0x20]
inc eax
add eax, esi
mov dword [edi + 0x10208], eax
push edi
call fcn.004962c0
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x496548
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add dword [edi + 0x10220], eax
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x284
ret 4