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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45df1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4612008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x284], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x280], eax
test ebx, ebx
je 0x457cfe3
cmp word [ebx], 0
je 0x457cfe3
mov ecx, 0x115
call fcn.045723f0
mov esi, eax
mov ecx, 0x8b
xor eax, eax
mov dword [ebp - 0x27c], esi
mov edi, esi
mov dword [ebp - 0x1c], esi
rep stosd dword es:[edi], eax
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 0xc], 0x105
mov dword [esi + 8], eax
mov dword [esi], 0
mov ecx, 0x115
mov dword [ebp - 4], 0
call fcn.045723f0
mov edx, eax
mov ecx, 0x8b
xor eax, eax
mov dword [ebp - 0x18], edx
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [edx + 0x10]
mov dword [edx + 4], 1
mov dword [edx + 0xc], 0x105
mov dword [edx + 8], ecx
mov dword [edx], eax
push eax
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.04571e70
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x457cfff
mov edx, dword [edi]
test edx, edx
je 0x457cfff
mov eax, dword [edi + 8]
cmp word [eax + edx*2 - 2], 0x5c
je 0x457c919
mov ecx, dword [edi + 0xc]
lea eax, [edx + 1]
cmp eax, ecx
jb 0x457c8fe
lea eax, [ecx + 0x1001]
mov dword [ebp - 0x278], eax
lea edx, [ecx + 0x1011]
mov dword [ebp - 0x270], edx
cmp eax, ecx
jbe 0x457c8fe
mov ecx, edx
call fcn.045723f0
mov ecx, dword [ebp - 0x270]
mov ebx, eax
xor eax, eax
mov edi, ebx
lea ecx, [ecx*2 + 2]
shr ecx, 1
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0xc]
lea eax, [eax*2 + 0x20]
push eax
push edi
push ebx
call fcn.045bf7d0
lea eax, [ebx + 0x10]
push edi
mov dword [ebx + 8], eax
call fcn.045c460a
mov eax, dword [ebp - 0x278]
mov edi, ebx
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
mov edx, 0x5c
mov eax, dword [edi + 8]
mov word [eax + ecx*2], dx
inc dword [edi]
xor edx, edx
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov word [eax + ecx*2], dx
mov ebx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x457c94d
mov dword [ebp - 0x14], ebx
mov eax, ecx
test ecx, ecx
je 0x457c94d
cmp word [ecx], bx
je 0x457c94d
nop dword [eax]
lea eax, [eax + 2]
inc ebx
cmp word [eax], 0
jne 0x457c940
mov dword [ebp - 0x14], ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [ebp - 0x270], eax
cmp edx, ebx
ja 0x457c9ec
lea eax, [ebx + 0x11]
mov dword [ebp - 0x270], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x278], eax
cmp eax, edx
jbe 0x457c9e3
mov edi, dword [ebp - 0x270]
mov ecx, edi
call fcn.045723f0
mov ebx, eax
lea ecx, [edi*2 + 2]
shr ecx, 1
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
lea eax, [eax*2 + 0x20]
push eax
push esi
push ebx
call fcn.045bf7d0
lea eax, [ebx + 0x10]
push esi
mov dword [ebx + 8], eax
call fcn.045c460a
mov eax, dword [ebp - 0x278]
mov esi, ebx
mov edi, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp - 0x274]
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 8]
mov dword [ebp - 0x270], eax
lea edx, [ebx + ebx]
push edx
push ecx
push eax
call fcn.045bf7d0
mov eax, dword [ebp - 0x270]
lea edx, [ebx + ebx]
xor ecx, ecx
add esp, 0xc
mov word [eax + edx], cx
mov eax, dword [ebp - 0x280]
mov dword [esi], ebx
test eax, eax
je 0x457ca87
mov edi, eax
cmp word [edi], cx
mov edi, dword [ebp - 0x18]
je 0x457ca87
nop
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x457ca20
test ecx, ecx
je 0x457ca87
add ebx, ecx
lea eax, [ecx + ecx]
mov dword [ebp - 0x274], eax
cmp ebx, dword [esi + 0xc]
ja 0x457ca46
push eax
mov eax, dword [esi + 8]
add eax, edx
jmp 0x457ca6d
push ecx
lea eax, [ebx + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.04571db0
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x274]
mov dword [ebp - 0x27c], esi
mov ecx, dword [esi]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*2]
push dword [ebp - 0x280]
push eax
call fcn.045bf7d0
mov eax, dword [esi + 8]
add esp, 0xc
xor ecx, ecx
mov word [eax + ebx*2], cx
mov dword [esi], ebx
push 0x250
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.045be2d0
add esp, 0xc
test esi, esi
je 0x457caa6
mov eax, dword [esi + 8]
jmp 0x457caa8
xor eax, eax
lea ecx, [ebp - 0x26c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp + 0x10]
mov ebx, eax
mov dword [ebp - 0x270], ebx
test ebx, ebx
jle 0x457cbc0
mov esi, dword [ebp - 0x28c]
nop
mov ecx, dword [ebp - 0x26c]
test cl, 0x10
jne 0x457cb9a
test edx, edx
je 0x457caf4
cmp edx, 0xffffffff
je 0x457caf4
mov eax, ecx
and eax, edx
cmp eax, ecx
jne 0x457cb9a
cmp byte [ebp + 0x14], 0
je 0x457cb19
lea eax, [ebp - 0x240]
push eax
push dword [edi + 8]
push str._s_s
push dword [ebp - 0x284]
call fcn.0457dfb0
add esp, 0x10
jmp 0x457cb75
lea ebx, [ebp - 0x240]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x457cb22
sub ebx, ecx
sar ebx, 1
jne 0x457cb3a
mov eax, 0x45f528c
jmp 0x457cb6f
add ebx, ebx
push ecx
mov ecx, dword [ebp - 0x284]
lea eax, [ebx + 2]
push eax
call fcn.0457e850
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x274], eax
push ecx
push eax
call fcn.045bf7d0
mov eax, dword [ebp - 0x274]
add esp, 0xc
xor ecx, ecx
mov word [eax + ebx], cx
mov ebx, dword [ebp - 0x270]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x274], eax
cmp ecx, dword [esi + 8]
je 0x457cb8b
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x457cb9a
lea eax, [ebp - 0x274]
push eax
push ecx
mov ecx, esi
call fcn.0457eb80
lea eax, [ebp - 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, dword [ebp + 0x10]
test eax, eax
jne 0x457cad0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x27c]
cmp byte [ebp + 0x18], 0
je 0x457cfbe
mov ebx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x457cbfd
mov dword [ebp - 0x14], ebx
mov eax, ecx
test ecx, ecx
je 0x457cbfd
cmp word [ecx], bx
je 0x457cbfd
nop word [eax + eax]
lea eax, [eax + 2]
inc ebx
cmp word [eax], 0
jne 0x457cbf0
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x457cc0d
mov edi, dword [esi + 8]
cmp dword [esi + 0xc], ebx
ja 0x457ccbc
lea edi, [ebx + 0x11]
test esi, esi
jne 0x457cc48
mov ecx, edi
call fcn.045723f0
mov esi, eax
lea ecx, [edi*2 + 2]
shr ecx, 1
xor eax, eax
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [ebx + 1]
mov dword [esi + 4], 1
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
mov dword [esi + 8], eax
jmp 0x457ccaa
lea eax, [ebx + 1]
mov dword [ebp - 0x274], eax
cmp eax, dword [esi + 0xc]
jbe 0x457ccb9
mov ecx, edi
call fcn.045723f0
mov ebx, eax
lea ecx, [edi*2 + 2]
shr ecx, 1
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
lea eax, [eax*2 + 0x20]
push eax
push esi
push ebx
call fcn.045bf7d0
lea eax, [ebx + 0x10]
push esi
mov dword [ebx + 8], eax
call fcn.045c460a
mov eax, dword [ebp - 0x274]
mov esi, ebx
mov dword [ebx + 0xc], eax
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x27c], esi
mov edi, dword [esi + 8]
lea eax, [ebx + ebx]
push eax
push ecx
push edi
call fcn.045bf7d0
xor eax, eax
lea edx, [ebx + ebx]
mov word [edi + edx], ax
add esp, 0xc
mov dword [esi], ebx
mov eax, 0x46026fc
xor ecx, ecx
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x457cce0
test ecx, ecx
je 0x457cd3b
lea edi, [ebx + ecx]
lea ebx, [ecx + ecx]
cmp edi, dword [esi + 0xc]
ja 0x457cd00
mov eax, dword [esi + 8]
add eax, edx
jmp 0x457cd21
push ecx
lea eax, [edi + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.04571db0
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x27c], esi
mov ecx, dword [esi]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*2]
push ebx
push 0x46026fc
push eax
call fcn.045bf7d0
mov eax, dword [esi + 8]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi*2], cx
mov dword [esi], edi
test esi, esi
je 0x457cd44
mov eax, dword [esi + 8]
jmp 0x457cd46
xor eax, eax
lea ecx, [ebp - 0x26c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x278], eax
test eax, eax
jle 0x457cfbe
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x26c], 0x10
je 0x457cf9b
cmp word [ebp - 0x240], 0x2e
je 0x457cf9b
mov ecx, 0x115
call fcn.045723f0
mov esi, eax
mov ecx, 0x8b
xor eax, eax
mov dword [ebp - 0x14], esi
mov edi, esi
rep stosd dword es:[edi], eax
lea edi, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 0xc], 0x105
mov dword [esi + 8], edi
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, 0x105
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
mov edx, dword [eax + 8]
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x270], ebx
test ebx, ebx
jne 0x457ce04
mov eax, edx
test edx, edx
je 0x457ce7b
mov dword [ebp - 0x270], ebx
cmp word [edx], bx
je 0x457ce04
lea eax, [eax + 2]
inc ebx
cmp word [eax], 0
jne 0x457cdf1
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x270], ebx
cmp ecx, ebx
ja 0x457ce7b
lea eax, [ebx + 1]
mov dword [ebp - 0x274], eax
lea edi, [ebx + 0x11]
cmp eax, ecx
jbe 0x457ce78
mov ecx, edi
call fcn.045723f0
mov ebx, eax
lea ecx, [edi*2 + 2]
shr ecx, 1
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
lea eax, [eax*2 + 0x20]
push eax
push esi
push ebx
call fcn.045bf7d0
lea eax, [ebx + 0x10]
push esi
mov dword [ebx + 8], eax
call fcn.045c460a
mov eax, dword [ebp - 0x274]
mov esi, ebx
mov edx, dword [ebp - 0x288]
add esp, 0x10
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 0x270]
mov dword [ebp - 0x14], esi
mov edi, dword [esi + 8]
lea eax, [ebx + ebx]
push eax
push edx
push edi
call fcn.045bf7d0
xor eax, eax
lea edx, [ebx + ebx]
mov word [edi + edx], ax
xor ecx, ecx
add esp, 0xc
mov dword [esi], ebx
lea eax, [ebp - 0x240]
cmp word [ebp - 0x240], cx
je 0x457cf04
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x457cea5
test ecx, ecx
je 0x457cf04
lea edi, [ebx + ecx]
lea ebx, [ecx + ecx]
cmp edi, dword [esi + 0xc]
ja 0x457cecd
lea eax, [ebp - 0x240]
push ebx
push eax
mov eax, dword [esi + 8]
add eax, edx
jmp 0x457cef0
push ecx
lea eax, [edi + 0x1000]
push eax
lea ecx, [ebp - 0x14]
call fcn.04571db0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push ebx
push eax
mov ecx, dword [esi]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*2]
push eax
call fcn.045bf7d0
mov eax, dword [esi + 8]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi*2], cx
mov dword [esi], edi
mov ebx, 0x5c
test esi, esi
jne 0x457cf1e
push ecx
push 0x1001
lea ecx, [ebp - 0x14]
call fcn.04571db0
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
lea edi, [ecx + 1]
cmp edi, dword [esi + 0xc]
jbe 0x457cf3d
push ecx
lea eax, [edi + 0x1000]
push eax
lea ecx, [ebp - 0x14]
call fcn.04571db0
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov word [eax + ecx*2], bx
xor ecx, ecx
mov eax, dword [esi + 8]
mov word [eax + edi*2], cx
mov dword [esi], edi
test esi, esi
je 0x457cf58
mov eax, dword [esi + 8]
jmp 0x457cf5a
xor eax, eax
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x28c]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x284]
push dword [ebp + 0x10]
push dword [ebp - 0x280]
push eax
call fcn.0457c780
add esp, 0x14
mov byte [ebp - 4], 1
test esi, esi
je 0x457cf95
add dword [esi + 4], 0xffffffff
jne 0x457cf95
push esi
call fcn.045c460a
add esp, 4
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457cd70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x27c]
mov edi, dword [ebp - 0x18]
add dword [edi + 4], 0xffffffff
jne 0x457cfd0
push edi
call fcn.045c460a
add esp, 4
test esi, esi
je 0x457cfe3
add dword [esi + 4], 0xffffffff
jne 0x457cfe3
push esi
call fcn.045c460a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.045bc602
mov esp, ebp
pop ebp
ret
push 0x461027c
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0xffffffff
push eax
call fcn.045be262
int3