Function at 0x45b040
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x69c
cmp byte [ebp + 0x1c], 0
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [0x4e211c]
push edi
mov dword [esp + 0x24], ecx
jne 0x45b099
cmp word [edx], 0
jne 0x45b083
mov eax, esi
push 1
mov dword [eax + 0x30], 0x57
call fcn.00447440
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
mov ebx, 1
test eax, eax
mov dword [esi + 0x30], 0
cmovne ebx, eax
jmp 0x45b09c
mov ebx, dword [ebp + 0xc]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b0a1
sub ecx, edi
sar ecx, 1
cmp ecx, 0x104
jb 0x45b0d5
mov ecx, dword [esp + 0x24]
push 1
mov dword [esi + 0x30], 0x6f
call fcn.00447440
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea esi, [esp + 0x4a0]
mov ecx, edx
sub esi, edx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x45b0e0
lea ecx, [esp + 0x298]
sub ecx, edx
nop dword [eax]
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x45b100
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea eax, [esp + 0x298]
push 0x5c
push eax
call esi
add esp, 8
test eax, eax
je 0x45b151
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [esp + 0x298]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b140
sub ecx, edx
sar ecx, 1
jmp 0x45b15d
xor eax, eax
xor ecx, ecx
mov word [esp + 0x298], ax
lea eax, [esp + 0x298]
lea eax, [eax + ecx*2]
mov dword [esp + 0x1c], eax
mov eax, 0x103
sub eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4a0]
push 0x5c
push eax
call esi
add esp, 8
test eax, eax
je 0x45b18e
add eax, 2
jmp 0x45b195
lea eax, [esp + 0x4a0]
mov edx, 0x4d7998
mov dword [esp + 0x18], eax
mov ecx, eax
call fcn.00406460
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
test eax, eax
lea eax, [esp + 0x48]
mov ecx, 3
push eax
cmove ebx, ecx
lea eax, [esp + 0x4a4]
xor edi, edi
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x18], edi
call esi
mov ebx, eax
mov eax, dword fs:[0x24]
mov dword [esp + 0x28], eax
cmp ebx, 0xffffffff
je 0x45b300
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4e211c]
sub eax, dword [0x4e786c]
cmp eax, dword [edx + 0xd8]
jbe 0x45b23e
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45b22d
mov eax, dword [esp + 0x28]
cmp dword [0x4e6ce0], eax
jne 0x45b22d
mov edx, 1
or ecx, 0xffffffff
call fcn.00401a30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4e211c]
mov dword [0x4e786c], eax
test byte [esp + 0x48], 0x10
je 0x45b272
cmp word [esp + 0x74], 0x2e
jne 0x45b269
mov ax, word [esp + 0x76]
test ax, ax
je 0x45b2db
cmp ax, 0x2e
jne 0x45b269
cmp word [esp + 0x78], 0
je 0x45b2db
cmp dword [esp + 0x20], 1
jne 0x45b279
jmp 0x45b2db
cmp dword [esp + 0x20], 2
je 0x45b2db
lea ecx, [esp + 0x74]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b280
sub ecx, esi
sar ecx, 1
cmp ecx, dword [esp + 0x14]
jbe 0x45b29e
mov dword [edx + 0x30], 0x6f
jmp 0x45b2da
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x74]
mov eax, ecx
sub edx, eax
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45b2b0
push dword [ebp + 0x18]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x2a0]
push eax
call dword [ebp + 0x14]
add esp, 0xc
test eax, eax
jne 0x45b2db
inc edi
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b1e3
push ebx
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [ebp + 0x10]
test bl, bl
je 0x45b45a
cmp dword [esp + 0x14], 2
jbe 0x45b45a
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x4d541c]
mov dword [ecx], eax
mov eax, dword [0x4d5420]
mov dword [ecx + 4], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x29c]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x45b456
mov esi, dword [esp + 0x18]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45b350
sub esi, ecx
sar esi, 1
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4e211c]
sub eax, dword [0x4e786c]
cmp eax, dword [ecx + 0xd8]
jbe 0x45b3b5
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45b3aa
mov eax, dword [esp + 0x28]
cmp dword [0x4e6ce0], eax
jne 0x45b3aa
mov edx, 1
or ecx, 0xffffffff
call fcn.00401a30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4e786c], eax
test byte [esp + 0x48], 0x10
je 0x45b43b
cmp word [esp + 0x74], 0x2e
jne 0x45b3e0
mov ax, word [esp + 0x76]
test ax, ax
je 0x45b43b
cmp ax, 0x2e
jne 0x45b3e0
cmp word [esp + 0x78], 0
je 0x45b43b
lea ecx, [esp + 0x74]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b3e7
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x14]
jae 0x45b43b
push dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
push 0x4d5424
push dword [esp + 0x28]
call fcn.00405b50
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x2a8]
add esp, 0x10
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [esp + 0x30]
push eax
call fcn.0045b040
add dword [esp + 0x10], eax
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b360
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x1c], 0
jne 0x45b46a
mov ecx, dword [esp + 0x24]
push edi
call fcn.004474f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18