Function at 0x472200
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x878
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [esp + 0x87c]
push ebx
mov ebx, dword [esp + 0x888]
push ebp
mov ebp, dword [esp + 0x888]
push esi
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x47e]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov word [esp + 0x480], cx
call fcn.004e5fc0
lea edx, [esp + 0x480]
add esp, 0xc
mov eax, ebp
sub edx, ebp
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x472260
lea edi, [esp + 0x474]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x472280
mov eax, dword [0x5bda1c]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472297
lea edi, [esp + 0x474]
sub eax, edx
add edi, 0xfffffffe
mov edi, edi
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4722b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x474]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4722d6
mov ecx, dword [0x5c93d4]
mov dx, word [0x5c93d8]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x472680
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x47266e
mov ecx, 0x5bf340
lea eax, [esp + 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47235a
test dx, dx
je 0x472356
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47235a
add eax, 4
add ecx, 4
test dx, dx
jne 0x472334
xor eax, eax
jmp 0x47235f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x472317
mov ecx, 0x5bf338
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x472396
test dx, dx
je 0x472392
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x472396
add eax, 4
add ecx, 4
test dx, dx
jne 0x472370
xor eax, eax
jmp 0x47239b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x472317
test byte [esp + 0x1c], 0x10
push 0x206
push 0
je 0x472493
lea ecx, [esp + 0x276]
xor eax, eax
push ecx
mov word [esp + 0x278], ax
call fcn.004e5fc0
mov eax, ebx
add esp, 0xc
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4723d3
lea edi, [esp + 0x26c]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4723f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x26c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x472416
mov edx, dword [0x5bda1c]
lea eax, [esp + 0x48]
mov dword [edi], edx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472430
lea edi, [esp + 0x26c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x472450
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x472450
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x26c]
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ebp
push ecx
call fcn.00472200
add esp, 0xc
test eax, eax
je 0x472680
mov esi, dword [esp + 0x10]
jmp 0x472317
lea eax, [esp + 0x276]
xor edx, edx
push eax
mov word [esp + 0x278], dx
call fcn.004e5fc0
lea edx, [esp + 0x278]
add esp, 0xc
mov eax, ebp
sub edx, ebp
jmp 0x4724c0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4724c0
lea edi, [esp + 0x26c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4724e0
mov ebp, dword [0x5bda1c]
mov eax, ebx
mov dword [edi], ebp
mov edx, eax
jmp 0x472500
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472500
lea edi, [esp + 0x26c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x472520
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x472520
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x26c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x472546
lea eax, [esp + 0x48]
mov dword [edi], ebp
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472560
lea edi, [esp + 0x26c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x472580
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x472580
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x686]
push edx
mov word [esp + 0x688], cx
call fcn.004e5fc0
lea edx, [esp + 0x688]
add esp, 0xc
mov eax, ebx
sub edx, ebx
jmp 0x4725d0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4725d0
lea edi, [esp + 0x67c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4725f0
lea eax, [esp + 0x48]
mov dword [edi], ebp
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472604
lea edi, [esp + 0x67c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x472620
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x472620
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 2
and ecx, 3
push 0
lea eax, [esp + 0x274]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x688]
push ecx
push edx
call fcn.00472020
add esp, 0x14
test eax, eax
jne 0x472680
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
jmp 0x472317
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
je 0x472684
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x47268f
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x878
ret