Function at 0x402371
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d75b
mov eax, dword fs:[0]
push eax
mov eax, 0x1918
call fcn.004363a0
mov eax, dword [0x44d404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x182c], ebx
mov dword [ebp - 0x1828], eax
mov dword [ebp - 0x1838], edi
mov dword [ebp - 0x1834], edi
mov dword [ebp - 0x1830], edi
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 4], edi
call fcn.00403fa0
push str._scd_
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.00404001
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406c44
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x40240e
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1820], eax
je 0x402511
lea eax, [ebp - 0x84]
lea esi, [ebp - 0x4c]
call fcn.00403fcc
lea eax, [ebp - 0x2a8]
push eax
mov eax, esi
push eax
mov byte [ebp - 4], 3
call fcn.00404001
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1824], edi
jae 0x40245e
lea eax, [ebp - 0x48]
push 0x444374
push eax
lea eax, [ebp - 0x1824]
push eax
call fcn.00421ec1
mov eax, dword [ebp - 0x1824]
add esp, 0xc
cmp eax, edi
je 0x4024db
lea esi, [ebp - 0x181c]
call fcn.00418e10
lea eax, [ebp - 0x1800]
push eax
call fcn.0042239a
test eax, eax
pop ecx
jne 0x4024cf
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x1858]
call fcn.00403fa0
lea eax, [ebp - 0x1858]
push eax
lea esi, [ebp - 0x183c]
mov byte [ebp - 4], 4
call fcn.00404079
push edi
push 1
lea esi, [ebp - 0x1858]
call fcn.00401375
push dword [ebp - 0x1824]
call fcn.00421915
pop ecx
push edi
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401375
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x1820]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40242b
push dword [ebp - 0x1820]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x189c]
call fcn.00409400
push dword [ebp - 0x1828]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00403fa0
push str._scdlist.ini
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call fcn.00404001
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40254c
lea eax, [ebp - 0x2c]
push ebx
mov ebx, eax
lea esi, [ebp - 0x189c]
call fcn.00409750
lea eax, [ebp - 0x1924]
push eax
call fcn.004040d8
mov byte [ebp - 4], 7
mov dword [ebp - 0x1820], edi
mov ebx, 0x44439c
push 0x444398
lea eax, [ebp - 0x1858]
call fcn.00403fa0
lea eax, [ebp - 0x1858]
lea ecx, [ebp - 0x1924]
mov byte [ebp - 4], 8
call fcn.004041c6
push edi
push 1
lea esi, [ebp - 0x1858]
mov byte [ebp - 4], 7
call fcn.00401375
push dword [ebp - 0x1820]
lea eax, [ebp - 0x191c]
push ecx
push ebx
push eax
call fcn.00406c8b
add esp, 0xc
push eax
call fcn.00403b67
lea eax, [ebp - 0x1858]
push eax
lea ecx, [ebp - 0x1924]
call fcn.004041ac
cmp dword [eax + 0x18], 8
jb 0x4025e6
mov eax, dword [eax + 4]
jmp 0x4025e9
add eax, 4
push eax
lea eax, [ebp - 0x189c]
call fcn.004095c0
push edi
push 1
lea esi, [ebp - 0x1858]
mov dword [ebp - 0x1828], eax
call fcn.00401375
cmp dword [ebp - 0x1828], edi
je 0x40261c
inc dword [ebp - 0x1820]
jmp 0x402575
lea eax, [ebp - 0x183c]
mov dword [ebp - 0x1824], edi
call fcn.00404044
test eax, eax
jbe 0x40271f
lea eax, [ebp - 0x1858]
push eax
lea ecx, [ebp - 0x1924]
call fcn.004041ac
mov dword [ebp - 0x1828], eax
mov byte [ebp - 4], 9
push dword [ebp - 0x1824]
lea esi, [ebp - 0x183c]
call fcn.0040405a
cmp dword [eax + 0x18], 8
jb 0x40266d
mov eax, dword [eax + 4]
jmp 0x402670
add eax, 4
mov ecx, dword [ebp - 0x1828]
cmp dword [ecx + 0x18], 8
jb 0x402681
mov ecx, dword [ecx + 4]
jmp 0x402684
add ecx, 4
push eax
push str.filename
push ecx
lea eax, [ebp - 0x189c]
call fcn.00409620
push edi
push 1
lea esi, [ebp - 0x1858]
mov byte [ebp - 4], 7
call fcn.00401375
push 0x444398
lea eax, [ebp - 0x1858]
call fcn.00403fa0
lea eax, [ebp - 0x1858]
lea ecx, [ebp - 0x1924]
mov byte [ebp - 4], 0xa
call fcn.004041c6
push edi
push 1
lea esi, [ebp - 0x1858]
mov byte [ebp - 4], 7
call fcn.00401375
inc dword [ebp - 0x1820]
push dword [ebp - 0x1820]
lea eax, [ebp - 0x191c]
push ecx
push ebx
push eax
call fcn.00406c8b
add esp, 0xc
push eax
call fcn.00403b67
inc dword [ebp - 0x1824]
lea eax, [ebp - 0x183c]
call fcn.00404044
cmp dword [ebp - 0x1824], eax
jb 0x402635
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40272b
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x182c]
lea eax, [ebp - 0x189c]
push eax
call fcn.004097f0
lea eax, [ebp - 0x1924]
mov byte [ebp - 4], 6
call fcn.004027a6
push edi
push 1
lea esi, [ebp - 0x30]
call fcn.00401375
lea eax, [ebp - 0x189c]
push eax
mov byte [ebp - 4], 2
call fcn.00409490
push edi
push 1
lea esi, [ebp - 0x68]
call fcn.00401375
push edi
push 1
lea esi, [ebp - 0x84]
call fcn.00401375
lea esi, [ebp - 0x183c]
call fcn.0040401f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00421402
leave
ret