Function at 0x53de40
Capabilities:
Access peb ldr_data
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x86b31e
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28c]
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x30], ebx
call fcn.00802690
push 0x40e3a0
lea ecx, [esp + 0x298]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004af3d0
mov eax, dword [eax]
add esp, 0x18
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53dee9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, 0xffffffff
je 0x53e086
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a8f10
test byte [esp + 0x24], 0x10
mov esi, dword [esp + 0x18]
mov byte [esp + 0x280], 1
je 0x53e048
mov ecx, 0x410468
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x53df46
cmp dx, bx
je 0x53df42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x53df46
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x53df20
xor eax, eax
jmp 0x53df4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x53e048
mov ecx, 0x4123d8
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x53df86
cmp dx, bx
je 0x53df82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x53df86
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x53df60
xor eax, eax
jmp 0x53df8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x53e048
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004ac680
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
mov byte [esp + 0x280], 2
cmp eax, ebx
jl 0x53e0dc
cmp eax, ecx
jg 0x53e0dc
cmp word [edx + eax*2], 0x5c
je 0x53dfe6
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004d41a0
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.004b34a0
mov eax, dword [esp + 0x14]
push edi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0053de40
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x280], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53e03f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x53e04b
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x280], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53e06b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x53def2
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x288]
add eax, 0xfffffff0
mov dword [esp + 0x280], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53e0b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0080262b
add esp, 0x270
ret
push 0x80070057
call fcn.004a8210
int3