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

Disassembly:
push 0xffffffffffffffff
push 0x4f18e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b4
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x4d4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x4cc], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
jne 0x452e26
mov ecx, dword [ecx + 0xcc]
lea eax, [esp + 0x30]
push 3
push eax
add ecx, 4
call fcn.00473440
mov ebp, dword [eax]
push ebp
mov dword [esp + 0x4d8], ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp eax, 4
mov dword [esp + 0x3c], 0x30
jle 0x452ca5
add eax, 0xfffffffc
mov dword [esp + 0x18], eax
push 4
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x452c06
mov edx, dword [esp + 0x1c]
push esi
mov ecx, dword [edx + 0xcc]
call fcn.004d0810
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], 0x30
push eax
push 1
push 4
push ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x5c]
test ah, 1
je 0x452c88
cmp esi, ebx
je 0x452c88
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
cmp eax, ebx
je 0x452c50
push eax
call fcn.004de3a6
add esp, 4
mov dword [edi], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x452c63
push eax
call fcn.004de3a6
add esp, 4
mov dword [esi + 0x10], ebx
push esi
call fcn.004de3a6
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], 0x20
push ecx
push 1
push 4
push ebp
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push 0x400
push 4
push ebp
call dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x452be0
mov eax, dword [esp + 0x4d8]
mov ecx, dword [0x525784]
cmp eax, ecx
je 0x452d09
cmp dword [eax - 0xc], ebx
jge 0x452cc8
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x452ccd
cmp dword [ecx - 0xc], ebx
jge 0x452ce0
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x4e0]
call fcn.004021f0
jmp 0x452d02
lea ecx, [esp + 0x4d8]
call fcn.00402350
mov eax, dword [0x525784]
mov dword [esp + 0x4d8], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x4d8]
mov eax, dword [eax - 8]
lea ecx, [esp + 0x4d8]
dec eax
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00407030
mov ecx, dword [esp + 0x10]
push 0x5c
push ecx
mov byte [esp + 0x4d4], 1
call fcn.004dec29
add esp, 8
cmp eax, ebx
jne 0x452d3f
or ebp, 0xffffffff
jmp 0x452d47
sub eax, dword [esp + 0x10]
sar eax, 1
mov ebp, eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x794]
mov eax, dword [edx + 0x798]
lea esi, [edx + 0x790]
push ecx
push eax
push eax
call fcn.00474230
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.0040e140
cmp ebp, ebx
mov dword [esi + 8], edi
jle 0x452de7
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
sub eax, ebp
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004071a0
mov eax, dword [esi + 8]
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov ecx, esi
mov byte [esp + 0x4d8], 2
call fcn.00473f40
mov eax, dword [esp + 0x18]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x4cc], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x452de7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452de7
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x4cc], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x452e26
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452e26
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
lea eax, [esp + 0x4d8]
push 0x516a38
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00402910
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov byte [esp + 0x4d4], 3
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x30], esi
je 0x453460
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0xb0], ebx
jne 0x453459
mov edx, dword [0x50d0e0]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x98]
or edi, 0xffffffff
test eax, eax
mov dword [esp + 0x14], edx
je 0x452efb
lea ecx, [esp + 0x98]
shr ecx, 0x10
jne 0x452eb6
xor eax, eax
lea edx, [esp + 0x98]
mov ax, dx
lea ecx, [esp + 0x14]
push eax
call fcn.00407b60
jmp 0x452efb
lea eax, [esp + 0x98]
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x452efb
push esi
lea ecx, [esp + 0x18]
call fcn.00402190
test eax, eax
je 0x452efb
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x452efb
mov edi, dword [esp + 0x14]
mov eax, ecx
lea esi, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or edi, 0xffffffff
mov ecx, dword [esp + 0x14]
push 0x510318
push ecx
mov byte [esp + 0x4d4], 4
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4533fc
mov edx, dword [esp + 0x14]
push 0x510310
push edx
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4533fc
mov al, byte [esp + 0x6c]
test al, 6
jne 0x4533d3
test al, 0x10
jne 0x453247
mov eax, dword [0x50d0e0]
lea ecx, [esp + 0x98]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x452fc8
lea edx, [esp + 0x98]
shr edx, 0x10
jne 0x452f83
xor eax, eax
lea ecx, [esp + 0x98]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00407b60
jmp 0x452fc8
lea edx, [esp + 0x98]
push edx
call ebp
mov esi, eax
cmp esi, ebx
je 0x452fc8
push esi
lea ecx, [esp + 0x14]
call fcn.00402190
test eax, eax
je 0x452fc8
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x452fc8
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov byte [esp + 0x4cc], 5
call fcn.00408c00
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push ebx
push 0x516a2c
lea ecx, [esp + 0x18]
call fcn.00414af0
test eax, eax
jle 0x45320f
cmp dword [esp + 0x24], ebx
jne 0x453040
push 0x14
mov dword [esp + 0x28], 1
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453027
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x453029
xor eax, eax
mov ecx, dword [esp + 0x4d4]
push eax
push ebx
push 0x900
push ecx
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_AppendMenuW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x4d8]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040d460
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x4d0], 6
call fcn.00431670
push 0x14
mov byte [esp + 0x4d0], 7
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453095
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov esi, eax
jmp 0x453097
xor esi, esi
mov ecx, dword [esp + 0x4dc]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 2]
push ecx
call fcn.004de48f
mov edi, eax
add esp, 4
mov dword [esi + 0x10], edi
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
cmp ecx, ebx
jbe 0x4530de
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call fcn.004df3e0
add esp, 8
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2bc]
lea edx, [esp + 0x2bc]
push 0x104
rep stosd dword es:[edi], eax
push edx
push 0x5162b0
push str.InternetShortcut
lea ecx, [esp + 0x44]
call fcn.00431700
mov ebx, eax
lea eax, [esp + 0x98]
push eax
call fcn.004debba
lea ebp, [eax + ebx + 2]
lea ecx, [ebp + ebp]
push ecx
call fcn.004de48f
add esp, 8
mov edi, eax
test ebp, ebp
mov dword [esi + 0xc], edi
jbe 0x453155
mov ecx, ebp
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea edx, [esp + 0x98]
push edx
call fcn.004debba
mov ecx, dword [esi + 0xc]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0xa0]
push eax
push ecx
call fcn.004df950
add esp, 0x10
test ebx, ebx
jle 0x4531a0
mov edx, dword [esi + 0xc]
push 0x516a28
push edx
call fcn.004df3b6
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x2c4]
push eax
push ecx
call fcn.004df3b6
add esp, 0x10
mov edx, dword [esi]
mov eax, dword [esp + 0x4d4]
push esi
push edx
push 0x100
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x4fb734
test eax, eax
je 0x4531d0
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50d0e4]
mov dword [esp + 0x38], 0
mov byte [esp + 0x4cc], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45320f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45320f
mov edx, dword [esp + 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x4cc], 4
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4533d3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4533d3
mov edx, dword [esp + 0x10]
jmp 0x4533c7
cmp dword [esp + 0x24], ebx
jne 0x45328c
push 0x14
mov dword [esp + 0x28], 1
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453273
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x453275
xor eax, eax
mov dword [eax], ebx
push eax
mov eax, dword [esp + 0x4d8]
push ebx
push 0x900
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4d8]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_s_
push ecx
mov byte [esp + 0x4dc], 8
call fcn.004074f0
add esp, 0x10
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edx, dword [esp + 0x4dc]
mov ebp, eax
push edx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0040bd90
mov ecx, dword [esp + 0x24]
push ebp
call fcn.00452b60
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x45330b
or ecx, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
mov esi, eax
jmp 0x45330d
xor esi, esi
lea ecx, [esp + 0x98]
mov dword [esi], 0xffffffff
push ecx
mov dword [esi + 4], 0xffffffff
call fcn.004debba
lea ebx, [eax + 1]
lea edx, [ebx + ebx]
push edx
call fcn.004de48f
add esp, 8
mov edi, eax
test ebx, ebx
mov dword [esi + 0xc], edi
jbe 0x45334c
mov ecx, ebx
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.004df3e0
mov edx, dword [esp + 0x4dc]
add esp, 8
push esi
push ebp
push 0x510
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InsertMenuW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45339c
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push 1
lea ecx, [eax + 0x790]
mov eax, dword [eax + 0x798]
push eax
call fcn.00473f40
mov eax, dword [esp + 0x18]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x4cc], 4
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4533d3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4533d3
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x4cc], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x453433
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453433
jmp 0x453423
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x4cc], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x453433
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453433
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x453459
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ecx + 0xb0], ebx
je 0x452e74
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x50d0e4]
mov byte [esp + 0x4cc], 0
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x453497
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453497
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x4d8]
mov edx, dword [0x50d0e4]
mov dword [esp + 0x4cc], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4534d7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4534d7
mov edx, dword [esp + 0x4d8]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c0
ret 0xc