Function at 0x4eaf20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x600711
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [esp + 0x290]
mov ebp, dword [esp + 0x294]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
call fcn.00409dd0
xor ebx, ebx
mov dword [esp + 0x288], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4eaff3
lea edx, [eax - 1]
cmp edx, ebx
jl 0x4eb1bc
cmp edx, eax
jg 0x4eb1bc
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
jne 0x4eaff3
mov ecx, dword [ecx - 0xc]
lea eax, [ecx - 1]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
call fcn.0041a270
lea edi, [esp + 0x18]
mov byte [esp + 0x288], 1
call fcn.0040ab90
mov byte [esp + 0x288], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eaff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 2
push 0x6355ac
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aee0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x4eb162
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x2c]
push ecx
push esi
mov byte [esp + 0x290], 2
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4eb133
test byte [esp + 0x2c], 0x10
jne 0x4eb11f
lea eax, [esp + 0x58]
lea edx, [eax + 2]
jmp 0x4eb070
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4eb070
sub eax, edx
sar eax, 1
lea edx, [esp + 0x58]
mov ebx, eax
push edx
lea eax, [esp + 0x20]
call fcn.004037a0
test ebp, ebp
je 0x4eb0f2
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4eb0a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4eb0a0
lea ecx, [esp + 0x1c]
sub eax, edx
push ecx
sar eax, 1
lea ecx, [esp + 0x2c]
call fcn.004a4b30
mov eax, dword [eax]
push ebp
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4eb0ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4eb11f
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call fcn.0044a410
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.0041a490
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x24]
mov dword [eax], edi
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4eb056
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x288], 0
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 0x4eb162
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eb18d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.005d28b3
add esp, 0x278
ret 8
push 0x80070057
call fcn.00403650
int3