Function at 0x545960
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605677
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x6c2d9c]
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, dword [ebp + 0x38]
mov dword [ebp - 0x294], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
push 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0055d382
lea ecx, [ebp - 0x24]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
lea eax, [edx + 1]
cmp ecx, eax
ja 0x545a0c
push 1
lea ecx, [ebp - 0x24]
call fcn.004da5d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and ecx, eax
lea esi, [ecx*4]
mov ecx, dword [ebp - 0x20]
cmp dword [esi + ecx], 0
jne 0x545a3c
push 0x18
call fcn.0055d382
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [esi + ecx]
lea eax, [ebp + 8]
push eax
call fcn.00438a60
inc dword [ebp - 0x14]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.0044fda0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x545eee
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
add eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2a0], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x545aa1
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x545a95
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.0044e500
push 0x630160
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004da1d0
add esp, 0xc
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00452c10
or dword [ebp - 0x294], 1
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x28]
movq qword [ebp - 0x29c], xmm1
movups xmmword [ebp - 0x2ac], xmm0
cmp edx, 8
jb 0x545b4d
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545b34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
movups xmm0, xmmword [ebp - 0x2ac]
add esp, 8
movq xmm1, qword [ebp - 0x29c]
mov edx, dword [ebp - 0x2e0]
movq qword [ebp - 0x2c], xmm1
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x545b9a
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545b90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
push dword [eax + edx*4]
lea eax, [ebp - 0x24]
push eax
call fcn.004da490
mov eax, dword [ebp - 0x18]
add esp, 8
sub dword [ebp - 0x14], 1
mov ecx, 0
cmove eax, ecx
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
mov esi, eax
cmp eax, 0xffffffff
je 0x545ec8
nop word [eax + eax]
mov edx, 0x62f8c8
lea ecx, [ebp - 0x260]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x545c36
test ax, ax
je 0x545c32
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x545c36
add ecx, 4
add edx, 4
test ax, ax
jne 0x545c10
xor eax, eax
jmp 0x545c3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x545eb2
mov eax, 0x630390
lea ecx, [ebp - 0x260]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x545c76
test dx, dx
je 0x545c72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x545c76
add ecx, 4
add eax, 4
test dx, dx
jne 0x545c50
xor eax, eax
jmp 0x545c7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x545eb2
test byte [ebp - 0x28c], 0x10
lea eax, [ebp + 8]
push 0x630160
push eax
lea eax, [ebp - 0x2dc]
push eax
je 0x545d88
call fcn.004da1d0
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x545cb7
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00452c10
or dword [ebp - 0x294], 2
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2ec], xmm0
movups xmmword [ebp - 0x30c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a4], xmm0
movq qword [ebp - 0x2fc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
lea eax, [edx + 1]
cmp ecx, eax
ja 0x545d36
push 1
lea ecx, [ebp - 0x24]
call fcn.004da5d0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov eax, dword [ebp - 0x20]
cmp dword [esi + eax], 0
jne 0x545d66
push 0x18
call fcn.0055d382
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x2ec]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2a4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x14]
jmp 0x545e68
call fcn.004da1d0
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x545da0
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00452c10
or dword [ebp - 0x294], 4
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x2c4], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x2b4], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [edi + 4]
mov byte [ebp - 4], 9
cmp eax, dword [edi + 8]
je 0x545e15
movups xmmword [eax], xmm0
lea edx, [ecx + 7]
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x2c4], ax
jmp 0x545e2a
lea ecx, [ebp - 0x2c4]
push ecx
push eax
mov ecx, edi
call fcn.004da290
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x545e68
mov ecx, dword [ebp - 0x2c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545e5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp - 0x2c8]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x545eac
mov ecx, dword [ebp - 0x2dc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545ea2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x545c00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x545edf
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x545a5e
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x28d], 0
jmp 0x545ef5
mov byte [ebp - 0x28d], 1
lea ecx, [ebp - 0x24]
call fcn.004da4f0
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x545f37
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545f2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x545f81
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545f77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x545fcb
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x545fc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x545fee
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov al, byte [ebp - 0x28d]
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.0055d371
mov esp, ebp
pop ebp
ret 0x34
call fcn.0057bc5b
int3