Function at 0x402490
Capabilities:
Create thread
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17fc
call fcn.00404ad0
mov eax, dword [0x417114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x17fc], eax
mov eax, dword [ebp + 0x10]
push 1
mov dword [ebp - 0x17f0], esi
mov dword [ebp - 0x17f8], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00406140
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x414]
add esp, 0xc
push esi
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
push 0x4103f0
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc34]
push eax
call edi
push dword [ebp - 0x17fc]
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0xe84]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov dword [ebp - 0x17f4], eax
test eax, eax
je 0x4028fc
push esi
call fcn.00403030
add esp, 4
test eax, eax
jne 0x4028fc
test byte [ebp - 0xe84], 0x10
jne 0x402866
push 0x4103f4
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x402866
push 0x4103fc
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x402866
lea eax, [ebp - 0xe58]
push str..CIop
push eax
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x402866
lea eax, [ebp - 0xe58]
push str.CIopReadMe.txt
push eax
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x402866
lea eax, [ebp - 0xe58]
push eax
call fcn.00402b70
add esp, 4
test eax, eax
jne 0x402866
lea eax, [ebp - 0xe58]
push eax
call fcn.00402ca0
add esp, 4
test eax, eax
jne 0x402866
mov edi, dword [ebp - 0xe68]
xor esi, esi
or esi, dword [ebp - 0xe64]
push 0xd
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x968
lea eax, [ebp - 0x17ec]
push 0
push eax
call fcn.00406140
add esp, 0xc
lea eax, [ebp - 0x17ec]
push dword [ebp - 0x17f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0x128e]
push eax
call ebx
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x168e]
push eax
call ebx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8c], esi
mov dword [ebp - 0xe88], edi
push 0
push 0
cmp ebx, eax
jne 0x4026a5
lea eax, [ebp - 0x17ec]
mov ebx, 1
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4013f0
push 0
push 0
call eax
push 0xffffffffffffffff
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
jmp 0x4026cf
inc ebx
cmp ebx, eax
lea eax, [ebp - 0x17ec]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4013f0
push 0
push 0
jne 0x4026cd
call eax
push 0xffffffffffffffff
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
jmp 0x4026cf
call eax
mov esi, dword [ebp - 0x17f0]
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4026e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xc8
jae 0x402702
push esi
call fcn.004047a0
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0xe84]
push eax
push dword [ebp - 0x17f4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4028e8
test byte [ebp - 0xe84], 0x10
jne 0x4028c7
push 0x410400
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x4028c7
push 0x410408
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x4028c7
lea eax, [ebp - 0xe58]
push str..CIop
push eax
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x4028c7
lea eax, [ebp - 0xe58]
push str.CIopReadMe.txt
push eax
call fcn.00402f90
add esp, 8
test eax, eax
jne 0x4028c7
lea eax, [ebp - 0xe58]
push eax
call fcn.00402b70
add esp, 4
test eax, eax
jne 0x4028c7
lea eax, [ebp - 0xe58]
push eax
call fcn.00402ca0
add esp, 4
test eax, eax
jne 0x4028c7
mov edi, dword [ebp - 0xe68]
xor esi, esi
or esi, dword [ebp - 0xe64]
push 0xd
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x968
lea eax, [ebp - 0x17ec]
push 0
push eax
call fcn.00406140
add esp, 0xc
lea eax, [ebp - 0x17ec]
push dword [ebp - 0x17f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0x128e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x168e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8c], esi
mov dword [ebp - 0xe88], edi
push 0
push 0
cmp ebx, eax
jne 0x40286e
lea eax, [ebp - 0x17ec]
mov ebx, 1
push eax
push 0x4013f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40289a
mov ebx, dword [ebp + 0x18]
jmp 0x402708
inc ebx
cmp ebx, eax
lea eax, [ebp - 0x17ec]
push eax
push 0x4013f0
push 0
push 0
jne 0x402894
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40289a
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [ebp - 0x17f0]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4028a5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0xc8
jae 0x4028c7
push esi
call fcn.004047a0
add esp, 4
lea eax, [ebp - 0xe84]
push eax
push dword [ebp - 0x17f4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x402723
push dword [ebp - 0x17f4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4028ff
mov ebx, dword [ebp + 0x18]
push dword [ebp - 0x17f4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41040c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xe84]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x402aa2
push dword [ebp - 0x17f0]
call fcn.00403030
add esp, 4
test eax, eax
jne 0x402aa2
test byte [ebp - 0xe84], 0x10
je 0x4029e4
push 0x410418
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x4029e4
push 0x410420
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x4029e4
push dword [ebp - 0x17f0]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x410424
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x824]
push dword [ebp - 0x17f8]
push dword [ebp - 0x17fc]
push eax
call fcn.00402490
add esp, 0x14
lea eax, [ebp - 0xe84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x402a9b
nop word [eax + eax]
test byte [ebp - 0xe84], 0x10
je 0x402a85
push 0x410428
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x402a85
push 0x410430
lea eax, [ebp - 0xe58]
push eax
call edi
test eax, eax
je 0x402a85
push dword [ebp - 0x17f0]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x410434
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x824]
push dword [ebp - 0x17f8]
push dword [ebp - 0x17fc]
push eax
call fcn.00402490
add esp, 0x14
lea eax, [ebp - 0xe84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402a00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404ab6
mov esp, ebp
pop ebp
ret