Function at 0x43a940
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, 0x3cc
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x24], ecx
jne 0x43a9a8
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
cmp byte [esi], 0
jne 0x43a98e
mov eax, dword [0x49d3c8]
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 0x43a99b
mov dword [ebp + 0x10], 1
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], 0
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a9b0
sub eax, edx
cmp eax, 0x104
jb 0x43a9d8
mov edx, dword [0x49d3c8]
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 + 0x170]
push ecx
call fcn.0047a8e0
lea edx, [esp + 0x2dc]
add esp, 0xc
mov byte [esp + 0x1a7], 0
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43aa01
lea edx, [esp + 0x1c8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43aa16
lea edx, [esp + 0x1c8]
push 0x5c
push edx
call fcn.00478bf7
add esp, 8
test eax, eax
je 0x43aa4f
mov byte [eax + 1], 0
lea eax, [esp + 0x1c8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43aa44
sub eax, edx
jmp 0x43aa59
mov byte [esp + 0x1c8], 0
xor eax, eax
mov ebx, 0x103
lea edx, [esp + 0x2d0]
lea ecx, [esp + eax + 0x1c8]
sub ebx, eax
push 0x5c
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
call fcn.00478bf7
add esp, 8
test eax, eax
je 0x43aa88
inc eax
jmp 0x43aa8f
lea eax, [esp + 0x2d0]
mov edi, 0x495114
mov dword [esp + 0x1c], eax
call fcn.00408bf0
test eax, eax
jne 0x43aaa8
mov dword [ebp + 0x10], 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x2d4]
xor edi, edi
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x43adb8
jmp 0x43aaea
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x18]
call esi
sub eax, dword [0x4a3104]
mov edx, dword [0x49d3c8]
cmp eax, dword [edx + 0xb0]
jbe 0x43ab2d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43ab26
push 1
push 0xffffffffffffffff
call fcn.00401340
add esp, 8
call esi
mov dword [0x4a3104], eax
test byte [esp + 0x28], 0x10
je 0x43ab61
cmp byte [esp + 0x54], 0x2e
jne 0x43ab56
mov al, byte [esp + 0x55]
test al, al
je 0x43ad99
cmp al, 0x2e
jne 0x43ab56
cmp byte [esp + 0x56], 0
je 0x43ad99
cmp dword [ebp + 0x10], 1
jne 0x43ab6b
jmp 0x43ad99
cmp dword [ebp + 0x10], 3
je 0x43ad99
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ab72
sub eax, edx
cmp eax, ebx
jbe 0x43ab91
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], 0x6f
jmp 0x43ad95
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x54]
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43aba0
lea ebx, [esp + 0x168]
cmp byte [esp + 0x168], cl
je 0x43ad6f
mov edi, edi
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x43abdd
push 2
push esi
call fcn.0047814e
add esp, 8
test eax, eax
je 0x43abdd
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x43abf5.44
movzx edx, byte [eax + 0x43af4c]
jmp dword [edx*4 + 0x43af20]
mov edi, 1
jmp case.0x43abf5.44
mov edi, 2
jmp case.0x43abf5.44
mov edi, 3
jmp case.0x43abf5.44
mov eax, 1
cmp edi, eax
jne 0x43ac2c
or dword [esp + 0x28], eax
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43ac3b
and dword [esp + 0x28], 0xfffffffe
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], eax
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43ac5c
or dword [esp + 0x28], 0x20
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43ac6b
and dword [esp + 0x28], 0xffffffdf
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 0x20
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43ac8d
or dword [esp + 0x28], 4
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43ac9c
and dword [esp + 0x28], 0xfffffffb
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 4
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43acbe
or dword [esp + 0x28], 2
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43accd
and dword [esp + 0x28], 0xfffffffd
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 2
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43acef
or dword [esp + 0x28], 0x80
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43acfe
and dword [esp + 0x28], 0xffffff7f
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 0x80
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43ad1c
or dword [esp + 0x28], 0x1000
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43ad2b
and dword [esp + 0x28], 0xffffefff
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 0x1000
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43ad49
or dword [esp + 0x28], 0x100
jmp case.0x43abf5.44
cmp edi, 2
jne 0x43ad58
and dword [esp + 0x28], 0xfffffeff
jmp case.0x43abf5.44
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 0x100
inc ebx
cmp byte [ebx], 0
jne 0x43abc0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1cc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x43ad99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43aae0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x43aef7
cmp dword [esp + 0x18], 2
jbe 0x43aef7
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1cc]
push eax
mov dword [ecx], 0x2a2e2a
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x43aef7
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ae00
mov edi, dword [esp + 0x10]
sub eax, edx
mov esi, eax
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a3104]
mov ecx, dword [0x49d3c8]
cmp eax, dword [ecx + 0xb0]
jbe 0x43ae5b
push 0
push 0
push 0
push 0
lea edx, [esp + 0x1bc]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43ae50
push 1
push 0xffffffffffffffff
call fcn.00401340
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a3104], eax
test byte [esp + 0x28], 0x10
je 0x43aed2
cmp byte [esp + 0x54], 0x2e
jne 0x43ae7c
mov al, byte [esp + 0x55]
test al, al
je 0x43aed2
cmp al, 0x2e
jne 0x43ae7c
cmp byte [esp + 0x56], 0
je 0x43aed2
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ae83
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x18]
jae 0x43aed2
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x49202c
push edx
call fcn.00477162
mov eax, dword [ebp + 0x10]
add esp, 0x10
push 1
push ebx
push eax
lea ecx, [esp + 0x1d4]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x178]
push edx
call fcn.0043a940
add edi, eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43ae10
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x43aefb
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x18], 0
jne 0x43af12
mov eax, edi
cdq
push 0x18
push edx
push eax
mov eax, dword [0x4a13a4]
call fcn.004010d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14