Function at 0x49e0bc
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2d4
mov eax, 0x55d021
call fcn.00503694
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x57cc7c
push eax
mov dword [ebp - 0x2cc], eax
mov esi, ebx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2d4], esi
push eax
mov dword [ebp - 0x2d0], esi
call fcn.0049d273
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push 7
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
inc eax
cmp dword [ebp - 0x48], ecx
mov dword [ebp - 0x2d8], eax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], al
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2e0], edi
cmp edi, 0xffffffff
je 0x49e2d1
mov byte [ebp - 4], 2
test byte [ebp - 0x2c4], 0x10
je 0x49e297
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044b93e
push 0x57cc84
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0049f842
test eax, eax
je 0x49e28b
push 0x57cc88
lea ecx, [ebp - 0x44]
call fcn.0049f842
test eax, eax
je 0x49e28b
cmp dword [ebp - 0x34], 8
jbe 0x49e28b
push str.Resource
push 8
push ebx
lea ecx, [ebp - 0x44]
call fcn.0049f7e6
test eax, eax
jne 0x49e28b
cmp dword [ebp - 0x1c], eax
je 0x49e1c9
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0049f7b8
test eax, eax
jns 0x49e23a
push 0x57cb70
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x74]
push eax
call fcn.0049d273
add esp, 0xc
mov ecx, eax
sub esp, 0x18
mov byte [ebp - 4], 4
or esi, 1
mov dword [ebp - 0x2dc], esp
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2d0], esi
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.0044d96d
mov ecx, dword [ebp - 0x2dc]
push eax
call fcn.0049da81
or esi, 2
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d0], esi
call fcn.0049efdf
add esp, 0x18
mov byte [ebp - 0x2c5], 1
test al, al
jne 0x49e240
mov byte [ebp - 0x2c5], bl
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 4], 3
test al, 1
je 0x49e262
and eax, 0xfffffffe
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x2d4], eax
call fcn.0044d7e3
cmp byte [ebp - 0x2c5], 0
je 0x49e277
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0049dd36
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0044d7e3
mov esi, dword [ebp - 0x2d4]
jmp 0x49e297
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0044d7e3
lea eax, [ebp - 0x2c4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49e148
inc eax
jmp 0x49e2c7
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x1c], 0
jbe 0x49e364
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push 0x57cb70
push eax
call fcn.0049d2cb
add esp, 0xc
mov ecx, dword [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 6
call fcn.0049f6b9
lea ecx, [ebp - 0x74]
call fcn.0044d7e3
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, 7
jbe 0x49e3c0
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 7
cmp eax, 0x1000
jb 0x49e359
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.0044d116
mov eax, dword [ebp - 0x2d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2cc]
push eax
push ecx
call fcn.00503276
pop ecx
pop ecx
jmp 0x49e3c0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, 7
jbe 0x49e3ba
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 8
cmp eax, 0x1000
jb 0x49e3b1
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.0044d116
mov eax, dword [ebp - 0x2d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2cc]
push eax
push ecx
call fcn.00503276
pop ecx
pop ecx
mov byte [ebp - 0x2d8], bl
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0044d7e3
mov al, byte [ebp - 0x2d8]
call fcn.005035e6
ret