Function at 0x45a1f0
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 edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
push esi
push edi
test edx, edx
je 0x45a660
test eax, eax
je 0x45a660
mov ecx, edx
xor edi, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a242
sub ecx, esi
sar ecx, 1
je 0x45a660
push edx
lea ecx, [esp + 0xa94]
call fcn.0045b880
mov eax, dword [esp + 0xe98]
test eax, eax
je 0x45a295
cmp word [esp + eax*2 + 0xa92], 0x5c
je 0x45a295
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 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 0x45a2d5
cmp word [esp + eax*2 + 0xea2], 0x5c
je 0x45a2d5
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 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 esi, eax
cmp esi, 0xffffffff
je 0x45a640
test byte [esp + 0x20], 0x10
je 0x45a4bb
mov ecx, 0x53ac74
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a37a
test dx, dx
je 0x45a376
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a37a
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a354
xor eax, eax
jmp 0x45a37f
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a4bb
mov ecx, 0x540c48
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a3b6
test dx, dx
je 0x45a3b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a3b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a390
xor eax, eax
jmp 0x45a3bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a4bb
push dword [esp + 0xe98]
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 + 0xa98]
push eax
call fcn.004490d0
push dword [esp + 0x12a8]
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 + 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 0x45a446
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x278]
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 0x45a470
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x688]
call fcn.0045c850
push dword [esp + 0x1c]
mov eax, dword [ebx]
lea ecx, [esp + 0x688]
push ecx
lea ecx, [esp + 0x27c]
push ecx
push dword [esp + 0x20]
mov ecx, ebx
push dword [esp + 0x28]
call dword [eax + 0x64]
add edi, eax
jmp 0x45a62c
mov ecx, 0x53ac74
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a4ea
test dx, dx
je 0x45a4e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a4ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a4c4
xor eax, eax
jmp 0x45a4ef
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a62c
mov eax, 0x540c48
lea ecx, [esp + 0x4c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x45a526
test dx, dx
je 0x45a522
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x45a526
add ecx, 4
add eax, 4
test dx, dx
jne 0x45a500
xor eax, eax
jmp 0x45a52b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a62c
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 0x45a5b6
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 0x45a5e0
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x278]
call fcn.0045c850
push dword [esp + 0x1c]
mov eax, dword [ebx]
lea ecx, [esp + 0x278]
push 0
push ecx
lea ecx, [esp + 0x690]
push ecx
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x2c]
call dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x45a62c
inc edi
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a340
push esi
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 0x14
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 0x14