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

Disassembly:
sub esp, 0x69c
cmp byte [esp + 0x6b4], 0
push ebx
mov ebx, dword [0x4e4b24]
push ebp
push esi
mov esi, dword [esp + 0x6ac]
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
jne 0x45cd60
cmp word [esi], 0
jne 0x45cd44
mov eax, ebx
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x45cd24
mov eax, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf81c
push eax
call fcn.004a2810
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x18
push 0x4bd2c4
push 0
push 0x4bf81c
call fcn.00449890
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x18
cmp dword [esp + 0x6b4], 0
jne 0x45cd59
mov dword [esp + 0x6b4], 1
mov dword [ebx + 0x30], 0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45cd65
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x45cdb1
test byte [ebx + 0x100], 1
mov dword [ebx + 0x30], 0x6f
jne 0x45cd24
mov ecx, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf81c
push ecx
call fcn.004a2810
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x18
lea edx, [esp + 0x4a0]
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45cdc0
lea edx, [esp + 0x298]
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45cde0
mov esi, dword [sym.imp.MSVCR100.dll_wcsrchr]
lea edx, [esp + 0x298]
push 0x5c
push edx
call esi
add esp, 8
test eax, eax
je 0x45ce31
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x298]
lea edx, [eax + 2]
jmp 0x45ce20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ce20
sub eax, edx
sar eax, 1
jmp 0x45ce3d
xor edx, edx
mov word [esp + 0x298], dx
xor eax, eax
mov ebp, 0x103
lea edx, [esp + 0x4a0]
lea ecx, [esp + eax*2 + 0x298]
sub ebp, eax
push 0x5c
push edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebp
call esi
add esp, 8
test eax, eax
je 0x45ce6b
add eax, 2
jmp 0x45ce72
lea eax, [esp + 0x4a0]
mov ebx, 0x4daa60
mov dword [esp + 0x18], eax
call fcn.00405590
test eax, eax
jne 0x45ce8f
mov dword [esp + 0x6b4], 3
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x4a4]
xor edi, edi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword fs:[0x24]
mov esi, eax
mov dword [esp + 0x28], ebx
cmp esi, 0xffffffff
je 0x45cfe2
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4eace4]
mov edx, dword [0x4e4b24]
cmp eax, dword [edx + 0xd8]
jbe 0x45cf10
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 0x45cf05
cmp dword [0x4ea158], ebx
jne 0x45cf05
push 1
push 0xffffffffffffffff
call fcn.00401510
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eace4], eax
test byte [esp + 0x48], 0x10
je 0x45cf4b
cmp word [esp + 0x74], 0x2e
jne 0x45cf3f
mov ax, word [esp + 0x76]
test ax, ax
je 0x45cfc3
cmp ax, 0x2e
jne 0x45cf3f
cmp word [esp + 0x78], 0
je 0x45cfc3
cmp dword [esp + 0x6b4], 1
jne 0x45cf55
jmp 0x45cfc3
cmp dword [esp + 0x6b4], 2
je 0x45cfc3
lea eax, [esp + 0x74]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45cf60
sub eax, edx
sar eax, 1
cmp eax, ebp
jbe 0x45cf82
mov ecx, dword [0x4e4b24]
mov dword [ecx + 0x30], 0x6f
jmp 0x45cfc2
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45cf90
mov edx, dword [esp + 0x6c0]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2a0]
push ecx
call dword [esp + 0x6c8]
add esp, 0xc
test eax, eax
jne 0x45cfc3
inc edi
lea edx, [esp + 0x48]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45cec0
push esi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x6b8]
test bl, bl
je 0x45d161
cmp dword [esp + 0x24], 2
jbe 0x45d161
mov edx, dword [esp + 0x1c]
mov eax, 0x4d8214
sub edx, eax
jmp 0x45d010
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45d010
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x29c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45d161
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d044
mov esi, dword [sym.imp.MSVCR100.dll__swprintf]
sub eax, edx
sar eax, 1
mov edi, eax
jmp 0x45d060
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4eace4]
mov edx, dword [0x4e4b24]
cmp eax, dword [edx + 0xd8]
jbe 0x45d0b4
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 0x45d0a9
mov ecx, dword [esp + 0x28]
cmp dword [0x4ea158], ecx
jne 0x45d0a9
push 1
push 0xffffffffffffffff
call fcn.00401510
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eace4], eax
test byte [esp + 0x48], 0x10
je 0x45d146
cmp word [esp + 0x74], 0x2e
jne 0x45d0df
mov ax, word [esp + 0x76]
test ax, ax
je 0x45d146
cmp ax, 0x2e
jne 0x45d0df
cmp word [esp + 0x78], 0
je 0x45d146
lea eax, [esp + 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d0e6
sub eax, edx
sar eax, 1
add eax, edi
cmp eax, dword [esp + 0x24]
jae 0x45d146
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
push 0x4d821c
push ecx
call esi
mov edx, dword [esp + 0x6d0]
mov eax, dword [esp + 0x6cc]
mov ecx, dword [esp + 0x6c4]
add esp, 0x10
push 1
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2ac]
push edx
call fcn.0045ccc0
add dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d060
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x6c4], 0
jne 0x45d178
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
call fcn.004499d0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x18