Function at 0x54d8c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9a75
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x72b01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor cl, cl
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x274], 0
cmp dword [edi + 0x18], 0xffffffff
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x288], esi
jne 0x54db15
cmp byte [edi + 0x28], cl
jne 0x54db15
xor eax, eax
mov byte [ebp - 0x261], 1
cmp byte [edi + 0x30], al
mov ecx, edi
push 2
push 0
setne al
push eax
lea eax, [ebp - 0x260]
push eax
push 1
call fcn.00496d70
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x54db0f
push 1
push str._UNC_
push 8
mov ecx, edi
call fcn.00495ed0
test al, al
je 0x54db0f
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push 1
push ecx
mov dword [ebp - 0x26c], eax
mov eax, esp
mov dword [ebp - 0x268], ecx
push ecx
mov ecx, 0x5c
mov dword [eax], 1
mov eax, esp
mov word [eax], cx
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00495de0
cmp dword [ebp - 0x27c], 4
mov dword [ebp - 4], 0
jne 0x54da69
mov esi, dword [ebp - 0x280]
mov dword [ebp - 0x26c], 2
mov dword [ebp - 0x268], 0x664bc4
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x294]
add eax, 2
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0048d840
mov eax, dword [ebp - 0x290]
mov ecx, 0x5e2da0
test eax, eax
cmovne ecx, eax
push ecx
push 0x664bc4
push 2
mov dword [ebp - 0x270], ecx
call fcn.0048eb90
mov ecx, dword [ebp - 0x270]
mov eax, 2
add eax, eax
add esp, 0xc
add ecx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x54da3a
add eax, eax
push eax
push dword [esi + 0x14]
push ecx
call fcn.00597bd0
add esp, 0xc
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x274], 3
push eax
call fcn.00511c90
add esp, 8
mov byte [ebp - 0x262], 1
test al, al
jne 0x54da70
mov byte [ebp - 0x262], 0
test byte [ebp - 0x274], 1
mov dword [ebp - 4], 0
je 0x54da8b
lea ecx, [ebp - 0x294]
call fcn.004019e0
cmp byte [ebp - 0x262], 0
je 0x54dad5
cmp dword [edi + 0x24], 0
jne 0x54dad1
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x54dc01
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x54dc01
push 4
push 8
push dword [ebp - 0x284]
call fcn.0045fe90
add esp, 0xc
xor al, al
jmp 0x54de4a
mov byte [edi + 0x28], 1
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x54db09
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x54db09
push 4
push 8
push dword [ebp - 0x284]
call fcn.0045fe90
add esp, 0xc
mov esi, dword [ebp - 0x288]
mov cl, byte [ebp - 0x261]
mov eax, dword [edi + 0x18]
cmp eax, 0xffffffff
jne 0x54db27
cmp byte [edi + 0x28], 0
je 0x54dc01
test cl, cl
jne 0x54db43
cmp byte [edi + 0x28], cl
je 0x54dbeb
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x24]
jge 0x54dc01
cmp byte [edi + 0x28], 0
lea edx, [edi + 0xc]
je 0x54dc08
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x26c], edx
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x20]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x26c]
lea eax, [ebp - 0x284]
push eax
call fcn.004d67f0
lea eax, [ebp - 0x284]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00508760
mov ecx, dword [ebp - 0x278]
push eax
call fcn.004e2d20
lea ecx, [ebp - 0x2b4]
call fcn.004af750
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x54dbd2
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x54dbd2
push 4
push 2
push dword [ebp - 0x284]
call fcn.0045fe90
add esp, 0xc
mov dword [esi + 0x10], 0x10
or dword [esi + 4], 0x440000
or dword [esi], 0x560000
jmp 0x54de48
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x54db43
xor al, al
jmp 0x54de4a
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004b4d80
add esp, 0xc
lea eax, [edi + 0xc]
mov dword [ebp - 4], 4
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x26c]
lea eax, [ebp - 0x294]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x284]
push eax
call fcn.004d67f0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00508760
mov ecx, dword [ebp - 0x278]
push eax
call fcn.004e2d20
lea ecx, [ebp - 0x2b4]
call fcn.004af750
mov ecx, dword [ebp - 0x284]
or edi, 0xffffffff
mov byte [ebp - 4], 4
test ecx, ecx
je 0x54dca9
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x54dca9
push 4
push 2
push dword [ebp - 0x284]
call fcn.0045fe90
add esp, 0xc
mov dword [ebp - 0x2cc], 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xffffffff
mov dword [ebp - 0x2c0], 0xffffffff
movups xmm0, xmmword [ebp - 0x2cc]
push 1
push 0x664fec
movups xmmword [esi], xmm0
push 4
movups xmm0, xmmword [ebp - 0x2bc]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x2ac]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [ebp - 0x29c]
movq qword [esi + 0x30], xmm0
call fcn.004911f0
test al, al
jne 0x54de23
mov eax, dword [ebp - 0x260]
mov dword [esi + 0x10], eax
test al, 2
je 0x54dd2e
or dword [esi + 4], 0x100000
mov ecx, dword [ebp - 0x258]
test al, 0x10
mov eax, 0x40000
mov edx, 0x20000
cmovne edx, eax
mov eax, dword [esi]
or edx, dword [esi + 4]
or eax, 0x560000
mov dword [ebp - 0x270], eax
or edx, 0x400000
mov eax, dword [ebp - 0x25c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x254]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x248]
mov dword [esi + 0x30], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x278], eax
and eax, 0x10
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x24c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x1c], ecx
mov dword [ebp - 0x274], eax
je 0x54ddbc
xorps xmm0, xmm0
movlpd qword [ebp - 0x26c], xmm0
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x26c]
jmp 0x54ddcd
mov eax, dword [ebp - 0x244]
xor ecx, ecx
add ecx, dword [ebp - 0x240]
adc eax, 0
mov dword [esi + 8], ecx
and edx, 0xfffeffff
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x270]
or eax, 0x2210000
test dword [ebp - 0x278], 0x400
mov dword [esi], eax
mov dword [esi + 4], edx
je 0x54de23
mov eax, dword [ebp - 0x23c]
cmp eax, 0xa000000c
jne 0x54de0a
or edx, 0x10000
jmp 0x54de20
cmp dword [ebp - 0x274], 0
je 0x54de23
cmp eax, 0xa0000003
jne 0x54de23
or edx, 0x4000000
mov dword [esi + 4], edx
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x54de48
lock xadd dword [eax], edi
cmp edi, 1
jne 0x54de48
push 4
push 2
push dword [ebp - 0x294]
call fcn.0045fe90
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00594d69
mov esp, ebp
pop ebp
ret 8