Function at 0x477550
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ac95
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4b98d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], 0
mov ecx, dword [ebp - 0x49c]
add ecx, 8
call fcn.0045dce0
movzx eax, al
test eax, eax
jne 0x477774
mov ecx, dword [0x4cb7e4]
push ecx
lea ecx, [ebp - 0x370]
call fcn.0045e170
mov dword [ebp - 4], 0
lea edx, [ebp - 0x370]
push edx
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0x49c]
add ecx, 8
call fcn.0045e360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x370]
call fcn.0045deb0
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x314]
call fcn.0045dda0
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0xffffffff
je 0x477755
lea edx, [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x380]
call fcn.0045e170
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4a4]
push ecx
lea edx, [ebp - 0x390]
push edx
mov ecx, dword [ebp - 0x49c]
add ecx, 8
call fcn.0045e360
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4ac]
call fcn.0045dda0
mov edx, eax
mov ecx, dword [ebp - 0x49c]
call fcn.00477120
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x390]
call fcn.0045deb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x380]
call fcn.0045deb0
lea ecx, [ebp - 0x304]
push ecx
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x477755
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.0045e170
mov dword [ebp - 0x4b0], eax
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4b4]
push edx
lea eax, [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x49c]
add ecx, 8
call fcn.0045e360
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4bc]
call fcn.0045dda0
mov edx, eax
mov ecx, dword [ebp - 0x49c]
call fcn.00477120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3b0]
call fcn.0045deb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a0]
call fcn.0045deb0
jmp 0x4776a4
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0045deb0
lea ecx, [ebp - 0xb4]
call fcn.0045c0f0
mov dword [ebp - 4], 7
push 0x4ae6c8
lea ecx, [ebp - 0x3d8]
call fcn.0045e170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c8]
call fcn.00492860
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3d8]
push ecx
lea edx, [ebp - 0x3e8]
push edx
mov ecx, dword [ebp - 0x4c4]
call fcn.0045e360
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4cc], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4cc]
call fcn.0045dd10
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x3b8], esp
push eax
call fcn.0045d100
mov dword [ebp - 0x4d0], eax
lea ecx, [ebp - 0xb4]
call fcn.0045c3b0
mov byte [ebp - 0x4d1], al
mov cl, byte [ebp - 0x4d1]
mov byte [ebp - 0x3b1], cl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3e8]
call fcn.0045deb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c8]
call fcn.0045deb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3d8]
call fcn.0045deb0
movzx edx, byte [ebp - 0x3b1]
test edx, edx
je 0x477b22
lea ecx, [ebp - 0xb4]
call fcn.0045b4d0
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x320], 0
jmp 0x477891
mov eax, dword [ebp - 0x320]
add eax, 1
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
cmp ecx, dword [ebp - 0x31c]
jge 0x477b17
mov edx, dword [ebp - 0x320]
push edx
lea edx, [ebp - 0x340]
lea ecx, [ebp - 0xb4]
call fcn.0045b9b0
mov byte [ebp - 4], 0xb
push 0x4ae6e4
lea ecx, [ebp - 0x408]
call fcn.0045d100
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x340]
call fcn.0045ce00
push eax
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x340]
call fcn.0045ce40
push eax
lea edx, [ebp - 0x360]
lea ecx, [ebp - 0x340]
call fcn.0045d170
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x408]
call fcn.0045d090
mov ecx, dword [0x4cb7e8]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0045d100
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x498]
or edx, 1
mov dword [ebp - 0x498], edx
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x360]
call fcn.0045ce90
movzx ecx, al
test ecx, ecx
je 0x4779bd
lea ecx, [ebp - 0x340]
call fcn.0045ce70
push eax
lea ecx, [ebp - 0x43c]
call fcn.0045e1c0
mov dword [ebp - 0x4d8], eax
mov edx, dword [ebp - 0x4d8]
mov dword [ebp - 0x4dc], edx
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x498]
or eax, 2
mov dword [ebp - 0x498], eax
mov ecx, dword [ebp - 0x4dc]
call fcn.0045dda0
mov ecx, dword [ebp - 0x49c]
add ecx, 0x18
mov edx, eax
call fcn.00476870
movzx ecx, al
test ecx, ecx
jne 0x4779bd
mov dword [ebp - 0x4e0], 1
jmp 0x4779c7
mov dword [ebp - 0x4e0], 0
mov dl, byte [ebp - 0x4e0]
mov byte [ebp - 0x409], dl
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x498]
and eax, 2
je 0x4779f7
and dword [ebp - 0x498], 0xfffffffd
lea ecx, [ebp - 0x43c]
call fcn.0045deb0
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x498]
and ecx, 1
je 0x477a1b
and dword [ebp - 0x498], 0xfffffffe
lea ecx, [ebp - 0x42c]
call fcn.0045d090
movzx edx, byte [ebp - 0x409]
test edx, edx
je 0x477af4
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x440], esp
lea eax, [ebp - 0x340]
push eax
call fcn.0045cf80
mov dword [ebp - 0x4e4], eax
lea ecx, [ebp - 0xb4]
call fcn.0045cce0
lea ecx, [ebp - 0x340]
call fcn.0045ce70
push eax
lea ecx, [ebp - 0x450]
call fcn.0045e1c0
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x490]
lea ecx, [ebp - 0xb4]
call fcn.004061d0
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4f4], edx
mov byte [ebp - 4], 0x12
push 1
mov ecx, dword [ebp - 0x4ec]
call fcn.0045dda0
push eax
mov ecx, dword [ebp - 0x49c]
add ecx, 0x18
mov eax, dword [ebp - 0x4f4]
mov edx, dword [eax + 0x20]
call fcn.00476e70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x490]
call fcn.00406290
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x450]
call fcn.0045deb0
lea ecx, [ebp - 0xb4]
call fcn.0045b8f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x360]
call fcn.0045d090
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x340]
call fcn.0045d090
jmp 0x477882
lea ecx, [ebp - 0xb4]
call fcn.0045c390
mov ecx, dword [ebp - 0x49c]
add ecx, 0x18
call fcn.00476a10
mov byte [ebp - 0x491], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0045c040
mov al, byte [ebp - 0x491]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a435
mov esp, ebp
pop ebp
ret