Function at 0x547830
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633e5f
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x954], ecx
mov dword [ebp - 0x950], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e4b0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040e4b0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2bc]
push eax
call fcn.0043a030
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.0043a560
add esp, 4
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x914]
push eax
call fcn.00439f10
add esp, 8
mov dword [ebp - 0x958], eax
mov ecx, dword [ebp - 0x958]
mov dword [ebp - 0x95c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x95c]
push edx
lea ecx, [ebp - 0x48]
call fcn.0040e550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x914]
call fcn.0040e530
push 0x655cd0
lea ecx, [ebp - 0x2c]
call fcn.0040e5b0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2a0], 0
cmp dword [ebp - 0x2c0], 0xffffffff
je 0x547c81
lea ecx, [ebp - 0x29c]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x547966
jmp 0x547c81
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x8f8]
call fcn.0040e4b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f8]
push ecx
lea edx, [ebp - 0x930]
push edx
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x960], eax
mov eax, dword [ebp - 0x960]
mov dword [ebp - 0x964], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x964]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.0040e400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x930]
call fcn.0040e3e0
lea edx, [ebp - 0x2bc]
push edx
call fcn.0043a560
add esp, 4
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x94c]
push ecx
call fcn.00439f10
add esp, 8
mov dword [ebp - 0x968], eax
mov edx, dword [ebp - 0x968]
mov dword [ebp - 0x96c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x96c]
push eax
lea ecx, [ebp - 0x8f8]
call fcn.0040e550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94c]
call fcn.0040e530
movzx ecx, word [ebp - 0x270]
cmp ecx, 0x2e
jne 0x547a45
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x547931
movzx edx, word [ebp - 0x26e]
test edx, edx
jne 0x547a64
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x547931
movzx eax, word [ebp - 0x26e]
cmp eax, 0x2e
jne 0x547a8f
movzx ecx, word [ebp - 0x26c]
test ecx, ecx
jne 0x547a8f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x547931
mov edx, dword [ebp - 0x29c]
and edx, 0x10
je 0x547aae
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x547931
xor eax, eax
mov word [ebp - 0x8dc], ax
push 0x206
push 0
lea ecx, [ebp - 0x8da]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x6d4], dx
push 0x206
push 0
lea eax, [ebp - 0x6d2]
push eax
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0x8f8]
call fcn.0040e5d0
push eax
push 0x655cd8
lea ecx, [ebp - 0x6d4]
push ecx
call fcn.005b50ec
add esp, 0xc
lea edx, [ebp - 0x8dc]
push edx
lea eax, [ebp - 0x6d4]
push eax
call fcn.00438aa0
add esp, 8
push 0x655ce0
lea ecx, [ebp - 0x8dc]
push ecx
call fcn.005b51f3
add esp, 8
test eax, eax
je 0x547b4e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x547931
xor edx, edx
mov word [ebp - 0x4cc], dx
push 0x206
push 0
lea eax, [ebp - 0x4ca]
push eax
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0x4cc]
push ecx
lea edx, [ebp - 0x6d4]
push edx
call fcn.004389f0
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.0040e5d0
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.0043e170
add esp, 8
test eax, eax
je 0x547c6d
lea ecx, [ebp - 0x4cc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.005b51f3
add esp, 8
test eax, eax
je 0x547c16
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov ecx, dword [ebp - 0x950]
or ecx, 1
mov dword [ebp - 0x950], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2bc]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x547cc7
push 0x655cec
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x950]
or edx, 1
mov dword [ebp - 0x950], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2bc]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x547cc7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x547931
push 0x655cf0
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov eax, dword [ebp - 0x950]
or eax, 1
mov dword [ebp - 0x950], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2bc]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 0xc