Function at 0x46ff20
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x150
mov eax, dword [esp + 0x154]
push ebx
push ebp
xor ebx, ebx
push eax
mov dword [esp + 0xc], ebx
call fcn.004735d0
mov edx, dword [0x53f4e4]
mov ebp, eax
mov eax, dword [0x56ec38]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*4]
add esp, 4
test byte [eax + 0xc], 0x10
je 0x46ff88
mov eax, dword [eax]
mov ecx, dword [str._unknown_program_]
push eax
push ecx
push str._s_MONITOR:_s:
call fcn.00442db0
mov edx, dword [esp + 0x16c]
push ebp
push edx
push ebp
push str.drcpFileFindSrcFileTest___s___x_____s__n
call fcn.00442cd0
add esp, 0x1c
cmp dword [esp + 0x160], ebx
je 0x470137
mov eax, ebp
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46ffa0
push esi
sub eax, edx
push edi
mov edi, eax
lea eax, [edi + 2]
push eax
call fcn.00443680
mov esi, eax
mov edx, esi
add esp, 4
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x46ffc3
lea ecx, [esp + 0x20]
push ecx
push esi
mov byte [esi + edi], 0x2a
mov byte [esi + edi + 1], bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
push esi
mov dword [esp + 0x18], edi
call fcn.00418550
add esp, 4
cmp edi, 0xffffffff
je 0x47012a
push 0x2f
push ebp
call fcn.00417470
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x470025
mov byte [eax], bl
add eax, 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x470016
mov dword [esp + 0x18], ebp
jmp 0x470039
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x470030
mov ebx, dword [esp + 0x14]
sub eax, edx
mov edi, eax
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x470048
sub eax, edx
mov esi, eax
mov eax, dword [0x56ec38]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x53f4e4]
test byte [eax + edx*4 + 0xc], 0x10
lea eax, [eax + edx*4]
je 0x470098
mov ecx, dword [eax]
mov edx, dword [str._unknown_program_]
push ecx
push edx
push str._s_MONITOR:_s:
call fcn.00442db0
lea eax, [esp + 0x58]
push eax
push str.drcpFileFindSrcFileTest_found___s__n
call fcn.00442cd0
add esp, 0x14
push 6
push esi
push edi
push esi
mov esi, dword [esp + 0x178]
lea ecx, [esp + 0x5c]
push ecx
push esi
call fcn.004d8270
add esp, 0x18
cmp eax, 1
jne 0x470103
mov edx, dword [esi + 0x10]
cmp dword [edx], edi
jne 0x470103
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp eax, edx
mov ecx, dword [esp + 0x34]
ja 0x4700d4
jne 0x470103
cmp ecx, ebx
jbe 0x470103
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, ecx
je 0x4700eb
push eax
call fcn.00418550
add esp, 4
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.004729f0
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x470041
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x10]
push ebp
call fcn.00418550
add esp, 4
pop edi
pop esi
jmp 0x470152
push ebx
push ebp
call fcn.00502de2
add esp, 8
test eax, eax
jne 0x470149
mov ebx, ebp
jmp 0x470152
push ebp
call fcn.00418550
add esp, 4
mov eax, dword [0x56ec38]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x53f4e4]
test byte [eax + edx*4 + 0xc], 0x10
lea eax, [eax + edx*4]
je 0x47019f
mov ecx, dword [eax]
mov edx, dword [str._unknown_program_]
push ecx
push edx
push str._s_MONITOR:_s:
call fcn.00442db0
add esp, 0xc
test ebx, ebx
mov eax, 0x542f04
je 0x470191
mov eax, ebx
push eax
push str.drcpFileFindSrcFileTest_returning___s__n
call fcn.00442cd0
add esp, 8
pop ebp
mov eax, ebx
pop ebx
add esp, 0x150
ret