Function at 0x40dfa0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x476522
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.00433e70
mov edi, dword [esp + 0x2b8]
lea ecx, [esp + 0x18]
push edi
mov dword [esp + 0x2b4], 0
call fcn.0046323a
mov eax, dword [0x4967f0]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0045d8b4
mov dword [esp + 0x2c], 0x47c5c0
mov ecx, dword [0x4967f0]
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x2c0]
mov eax, dword [esp + 0x2bc]
cmp eax, 0xffff0000
mov byte [esp + 0x2b0], 4
mov esi, dword [ebp + 0x120]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], esi
jne 0x40e06c
push edi
call fcn.0040da20
mov edx, dword [0x498eac]
mov eax, dword [0x498eb0]
add esp, 4
mov ecx, esi
push 0xffff0002
push 0xffff0000
push edx
push eax
push edi
call fcn.0044af30
mov dword [esp + 0x28], eax
call fcn.0040dab0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045bb85
mov eax, dword [eax]
push 0x494648
push eax
call fcn.0043ca7a
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.004631cc
test bl, bl
je 0x40e0cc
push 0x494648
lea ecx, [esp + 0x1c]
call fcn.00463534
lea edx, [esp + 0x18]
push 0x494644
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00463461
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b4], 5
call fcn.00463305
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b0], 4
call fcn.004631cc
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x64]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e287
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [esp + 0x64], 0x10
je 0x40e1ef
mov esi, 0x49473c
lea eax, [esp + 0x90]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40e169
test cl, cl
je 0x40e165
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40e169
add eax, 2
add esi, 2
test cl, cl
jne 0x40e145
xor eax, eax
jmp 0x40e16e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e1ef
mov esi, 0x494738
lea eax, [esp + 0x90]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40e1a2
test cl, cl
je 0x40e19e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40e1a2
add eax, 2
add esi, 2
test cl, cl
jne 0x40e17e
xor eax, eax
jmp 0x40e1a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e1ef
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
push ecx
lea edx, [esp + 0x2c]
push fcn.00494730
push edx
call fcn.0045bfdc
mov edx, dword [ebp + 0x114]
mov ecx, dword [esp + 0x44]
add esp, 0x10
lea eax, [esp + 0x24]
inc edx
push eax
push ecx
lea ecx, [esp + 0x34]
mov dword [ebp + 0x114], edx
call fcn.0045dabc
jmp 0x40e273
mov edx, dword [esp + 0x80]
push 1
push 0
push 0
push edx
call fcn.0043c680
mov ecx, dword [esp + 0x84]
xor esi, esi
add eax, ecx
mov ecx, dword [esp + 0x10]
adc edx, esi
mov esi, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x128]
adc esi, edx
add ecx, eax
mov dword [ebp + 0x128], ecx
mov eax, dword [ebp + 0x12c]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x110]
adc eax, edx
inc esi
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x110], esi
call edi
sub eax, dword [0x498e9c]
cmp eax, 0x64
jbe 0x40e273
call edi
mov dword [0x498e9c], eax
mov edx, dword [ebp]
push 0
push 0
push 0x40e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x64]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e12e
lea ecx, [esp + 0x2c]
call fcn.004300f0
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
jle 0x40e363
cmp dword [ebp + 4], 2
je 0x40e3d9
lea ecx, [esp + 0x1c]
push ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.00409f10
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1a4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004631cc
lea ecx, [esp + 0x1a4]
push ecx
call fcn.0040da20
mov edx, dword [esp + 0x2c]
mov eax, dword [0x498eac]
mov ecx, dword [0x498eb0]
add esp, 4
push 0xffff0002
push edx
push eax
lea edx, [esp + 0x1b0]
push ecx
push edx
call fcn.0040dae0
mov ecx, dword [esp + 0x54]
add esp, 4
push eax
call fcn.0044af30
mov esi, eax
call fcn.0040dab0
push ebp
lea eax, [esp + 0x1a8]
push esi
push eax
call fcn.0040dfa0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add esp, 0xc
add edi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edi
adc esi, edx
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], esi
jl 0x40e29e
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x1a8]
push ebx
push edx
call fcn.0040de10
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
add esp, 0xc
lea eax, [esp + 0x1a4]
mov ecx, ebp
push 1
push eax
push edi
call fcn.0044ee50
test esi, esi
jg 0x40e44d
jl 0x40e3ad
cmp ebx, 0x3b9aca00
ja 0x40e44d
push 0
push 0x1f
push esi
push ebx
call fcn.0043c680
push 0
push 0x3b9aca00
push edx
push eax
call fcn.0043c5d0
sub al, 0x20
and eax, 0xff
or eax, 0xe0ff00
mov esi, eax
jmp 0x40e48f
mov ecx, dword [ebp]
push 0
push 0
push 0x40e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b0], 3
call fcn.004631cc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0045d8e7
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 1
call fcn.004631cc
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 0
call fcn.004631cc
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00433ead
xor eax, eax
xor edx, edx
jmp 0x40e522
push 0
push 0x20
push esi
push ebx
call fcn.0043c680
push 0x17
push 0x4876e800
push edx
push eax
call fcn.0043c5d0
test edx, edx
jl 0x40e47e
jg 0x40e471
cmp eax, 0x1f
jbe 0x40e47e
mov eax, 0x1f
mov dword [esp + 0x44], 0
or cl, 0xff
xor edx, edx
sub cl, al
mov dh, cl
or edx, 0xe000ff
mov esi, edx
mov ebx, dword [esp + 0x2bc]
push 0
push esi
push ebx
mov ecx, ebp
call fcn.0044e1f0
push 1
push esi
push ebx
mov ecx, ebp
call fcn.0044e1f0
cmp ebx, 0xffff0000
jne 0x40e4c2
mov eax, dword [ebp]
push 2
push edi
mov ecx, ebp
call dword [eax + 0xbc]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b0], 3
call fcn.004631cc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0045d8e7
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 1
call fcn.004631cc
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 0
call fcn.004631cc
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.00433ead
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a4
ret