Function at 0x459d20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x16bc
call fcn.00476ea0
mov eax, dword [0x548280]
xor eax, esp
mov dword [esp + 0x16b8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
push esi
push edi
test ebx, ebx
je 0x45a1d3
test eax, eax
je 0x45a1d3
mov edx, dword [ebp + 0x10]
xor edi, edi
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459d77
sub ecx, esi
sar ecx, 1
je 0x45a1d3
push edx
lea ecx, [esp + 0xa94]
call fcn.0045b880
mov eax, dword [esp + 0xe98]
test eax, eax
je 0x459dca
cmp word [esp + eax*2 + 0xa92], 0x5c
je 0x459dca
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5c
push eax
lea ecx, [esp + 0xa98]
call fcn.0045c850
push dword [ebp + 0x14]
lea ecx, [esp + 0xea4]
call fcn.0045b880
mov eax, dword [esp + 0x12a8]
test eax, eax
je 0x459e0a
cmp word [esp + eax*2 + 0xea2], 0x5c
je 0x459e0a
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5c
push eax
lea ecx, [esp + 0xea8]
call fcn.0045c850
push dword [esp + 0xe98]
lea eax, [esp + 0x12b8]
mov dword [esp + 0x16bc], edi
mov dword [esp + 0x12b4], eax
lea ecx, [esp + 0x12b4]
xor eax, eax
mov word [esp + 0x12b8], ax
lea eax, [esp + 0xa98]
push eax
call fcn.004490d0
push 1
push 0x540c44
lea ecx, [esp + 0x12b8]
call fcn.0045c850
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x12b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x45a1b3
mov esi, dword [esp + 0x10]
jmp 0x459e80
test byte [esp + 0x20], 0x10
je 0x459ffb
mov ecx, 0x53ac74
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459eba
test dx, dx
je 0x459eb6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459eba
add eax, 4
add ecx, 4
test dx, dx
jne 0x459e94
xor eax, eax
jmp 0x459ebf
sbb eax, eax
or eax, 1
test eax, eax
je 0x459ffb
mov ecx, 0x540c48
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459ef6
test dx, dx
je 0x459ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x459ed0
xor eax, eax
jmp 0x459efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x459ffb
push dword [esp + 0xe98]
lea eax, [esp + 0x688]
mov dword [esp + 0xa8c], 0
mov dword [esp + 0x684], eax
lea ecx, [esp + 0x684]
xor eax, eax
mov word [esp + 0x688], ax
lea eax, [esp + 0xa98]
push eax
call fcn.004490d0
push dword [esp + 0x12a8]
lea eax, [esp + 0x278]
mov dword [esp + 0x67c], 0
mov dword [esp + 0x274], eax
lea ecx, [esp + 0x274]
xor eax, eax
mov word [esp + 0x278], ax
lea eax, [esp + 0xea8]
push eax
call fcn.004490d0
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459f86
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x688]
call fcn.0045c850
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459fb0
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x278]
call fcn.0045c850
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x278]
push ebx
push edx
lea edx, [esp + 0x690]
mov eax, dword [ecx]
push edx
push dword [esp + 0x28]
push esi
call dword [eax + 0x6c]
add edi, eax
jmp 0x45a198
mov ecx, 0x53ac74
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a02a
test dx, dx
je 0x45a026
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a02a
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a004
xor eax, eax
jmp 0x45a02f
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a198
mov ecx, 0x540c48
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a066
test dx, dx
je 0x45a062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a066
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a040
xor eax, eax
jmp 0x45a06b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a198
push dword [esp + 0xe98]
lea eax, [esp + 0x688]
mov dword [esp + 0xa8c], 0
mov dword [esp + 0x684], eax
lea ecx, [esp + 0x684]
xor eax, eax
mov word [esp + 0x688], ax
lea eax, [esp + 0xa98]
push eax
call fcn.004490d0
push dword [esp + 0x12a8]
lea eax, [esp + 0x278]
mov dword [esp + 0x67c], 0
mov dword [esp + 0x274], eax
lea ecx, [esp + 0x274]
xor eax, eax
mov word [esp + 0x278], ax
lea eax, [esp + 0xea8]
push eax
call fcn.004490d0
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a0f6
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x688]
call fcn.0045c850
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a120
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x278]
call fcn.0045c850
mov eax, dword [ebx]
lea ecx, [esp + 0x274]
push ecx
mov ecx, ebx
xor esi, esi
call dword [eax + 0x78]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x45a168
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x74]
test eax, eax
je 0x45a168
mov esi, dword [eax + 4]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x278]
push esi
push edx
lea edx, [esp + 0x690]
mov eax, dword [ecx]
push edx
push dword [esp + 0x28]
push dword [esp + 0x24]
call dword [eax + 0x68]
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x45a198
inc edi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x459e80
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x16b8]
xor ecx, esp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x16c4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 0x18