Function at 0x43f380
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x71c
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x20], ecx
jne 0x43f3e9
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49e30c
call fcn.0046dd60
cmp word [esi], 0
jne 0x43f3cf
mov eax, dword [0x4bd41c]
mov dword [eax + 0x30], 0x57
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x43f3dc
mov dword [ebp + 0x10], 1
mov ecx, dword [0x4bd41c]
mov dword [ecx + 0x30], 0
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f3f0
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x43f41e
mov edx, dword [0x4bd41c]
mov dword [edx + 0x30], 0x6f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
push 0x3f
push eax
lea ecx, [esp + 0x2a0]
push ecx
call fcn.00488d24
xor edx, edx
mov word [esp + 0x322], dx
lea edx, [esp + 0x52c]
add esp, 0xc
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 0x43f450
lea edx, [esp + 0x318]
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 0x43f470
lea eax, [esp + 0x318]
push 0x5c
push eax
call fcn.00487df0
add esp, 8
test eax, eax
je 0x43f4b6
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x318]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f4a5
sub eax, edx
sar eax, 1
jmp 0x43f4c2
xor edx, edx
mov word [esp + 0x318], dx
xor eax, eax
mov edi, 0x103
lea edx, [esp + 0x520]
lea ecx, [esp + eax*2 + 0x318]
sub edi, eax
push 0x5c
push edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
call fcn.00487df0
add esp, 8
test eax, eax
je 0x43f4f3
add eax, 2
jmp 0x43f4fa
lea eax, [esp + 0x520]
mov ebx, 0x4a53e0
mov dword [esp + 0x18], eax
call fcn.00409070
test eax, eax
jne 0x43f513
mov dword [ebp + 0x10], 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x524]
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x43f82e
jmp 0x43f54b
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x14]
call esi
sub eax, dword [0x4c3c2c]
mov edx, dword [0x4bd41c]
cmp eax, dword [edx + 0xd0]
jbe 0x43f58e
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43f587
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call esi
mov dword [0x4c3c2c], eax
test byte [esp + 0x28], 0x10
je 0x43f5c8
cmp word [esp + 0x54], 0x2e
jne 0x43f5bd
mov ax, word [esp + 0x56]
test ax, ax
je 0x43f80f
cmp ax, 0x2e
jne 0x43f5bd
cmp word [esp + 0x58], 0
je 0x43f80f
cmp dword [ebp + 0x10], 1
jne 0x43f5d2
jmp 0x43f80f
cmp dword [ebp + 0x10], 3
je 0x43f80f
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f5e0
sub eax, edx
sar eax, 1
cmp eax, edi
jbe 0x43f605
mov ecx, dword [0x4bd41c]
mov dword [ecx + 0x30], 0x6f
jmp 0x43f80b
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43f611
lea edi, [esp + 0x298]
cmp word [esp + 0x298], cx
je 0x43f7e5
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x43f652
push 2
push esi
call fcn.0048757e
add esp, 8
test eax, eax
je 0x43f652
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x43f668.44
movzx edx, byte [eax + 0x43f9d8]
jmp dword [edx*4 + 0x43f9ac]
mov ebx, 1
jmp case.0x43f668.44
mov ebx, 2
jmp case.0x43f668.44
mov ebx, 3
jmp case.0x43f668.44
mov eax, 1
cmp ebx, eax
jne 0x43f69f
or dword [esp + 0x28], eax
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f6ae
and dword [esp + 0x28], 0xfffffffe
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], eax
jmp case.0x43f668.44
cmp ebx, 1
jne 0x43f6cf
or dword [esp + 0x28], 0x20
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f6de
and dword [esp + 0x28], 0xffffffdf
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], 0x20
jmp case.0x43f668.44
cmp ebx, 1
jne 0x43f700
or dword [esp + 0x28], 4
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f70f
and dword [esp + 0x28], 0xfffffffb
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], 4
jmp case.0x43f668.44
cmp ebx, 1
jne 0x43f731
or dword [esp + 0x28], 2
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f740
and dword [esp + 0x28], 0xfffffffd
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], 2
jmp case.0x43f668.44
cmp ebx, 1
jne 0x43f762
or dword [esp + 0x28], 0x80
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f771
and dword [esp + 0x28], 0xffffff7f
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], 0x80
jmp case.0x43f668.44
cmp ebx, 1
jne 0x43f78f
or dword [esp + 0x28], 0x1000
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f79e
and dword [esp + 0x28], 0xffffefff
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], 0x1000
jmp case.0x43f668.44
cmp ebx, 1
jne 0x43f7bc
or dword [esp + 0x28], 0x100
jmp case.0x43f668.44
cmp ebx, 2
jne 0x43f7cb
and dword [esp + 0x28], 0xfffffeff
jmp case.0x43f668.44
cmp ebx, 3
jne case.0x43f668.44
xor dword [esp + 0x28], 0x100
add edi, 2
cmp word [edi], 0
jne 0x43f635
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43f80f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4bd41c]
mov dword [edx + 0x30], eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43f541
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x43f984
cmp dword [esp + 0x14], 2
jbe 0x43f984
mov edx, dword [esp + 0x1c]
mov eax, 0x4a26b4
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43f850
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x31c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f984
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f884
sub eax, edx
sar eax, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c3c2c]
mov ecx, dword [0x4bd41c]
cmp eax, dword [ecx + 0xd0]
jbe 0x43f8e0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43f8d5
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c3c2c], eax
test byte [esp + 0x28], 0x10
je 0x43f969
cmp word [esp + 0x54], 0x2e
jne 0x43f90b
mov ax, word [esp + 0x56]
test ax, ax
je 0x43f969
cmp ax, 0x2e
jne 0x43f90b
cmp word [esp + 0x58], 0
je 0x43f969
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f912
sub eax, edx
sar eax, 1
add eax, esi
cmp eax, dword [esp + 0x14]
jae 0x43f969
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x49f3dc
push edx
call fcn.00486743
mov eax, dword [ebp + 0x10]
add esp, 0x10
push 1
push ebx
push eax
lea ecx, [esp + 0x324]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x2a8]
push edx
call fcn.0043f380
add dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43f895
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x18], 0
jne 0x43f99d
mov eax, dword [esp + 0x10]
cdq
push 0x18
push edx
push eax
mov eax, dword [0x4c17f0]
call fcn.004010e0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14