Function at 0x4bdcdf
Capabilities:
Enumerate files on windows

Disassembly:
push 0x34c
mov eax, 0x50bed2
call fcn.004fb730
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x354], ebx
and dword [ebp - 4], 0
mov eax, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x350], ebx
and dword [ebp - 0x34c], 0
cmp dword [esi + 0x14], 8
jb 0x4bdd16
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004b5915
mov ecx, esi
call fcn.004bdcc1
push esi
test al, al
je 0x4bdf07
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
call fcn.00455579
mov dword [ebp - 4], 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4bdd50
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
push 0x5c
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x4bdda4
cmp dword [esi + 0x14], 8
jb 0x4bdd65
mov esi, dword [esi]
cmp word [esi + ecx*2 - 2], 0x2f
je 0x4bdda4
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
jae 0x4bdd93
cmp dword [ebp - 0x14], 8
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4bdda4
push edx
push dword [ebp - 0x350]
lea ecx, [ebp - 0x28]
push 1
call fcn.0045572d
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x4bddaf
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00455627
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x348]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34c], 1
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x354], esi
mov byte [ebp - 4], 5
cmp esi, 0xffffffff
push 7
pop edi
je 0x4bdea3
xor eax, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x2c], edi
call fcn.00455536
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x4bde3c
mov ecx, eax
call fcn.00455bff
add dword [ebx + 4], 0x18
jmp 0x4bde44
push eax
mov ecx, ebx
call fcn.0046057d
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4bde81
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bde78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bdf82
push edx
push ecx
call fcn.0047834a
pop ecx
pop ecx
and dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x348]
push eax
push esi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x4bddf8
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
je 0x4bdeb3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4bdef0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bdee7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bdf82
push edx
push ecx
call fcn.0047834a
pop ecx
pop ecx
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
mov eax, ebx
call fcn.004fb6da
ret 4
mov edx, 0x535db8
lea ecx, [ebp - 0x40]
call fcn.004ad389
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x358]
push ecx
mov ecx, eax
call fcn.00457f7a
push str.WT::System::IO::CDirectory::GetFileSystemEntries
push 0x123
push str.E:_bamboo_agent_home_2xml_data_build_dirPGSC_MON_JOB1monolith_sourcePhoenixWtSystemIoDirectory.cpp
push dword [eax + 4]
lea ecx, [ebp - 0x9c]
push dword [eax]
call fcn.004b3ef8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00455362
lea ecx, [ebp - 0x9c]
call fcn.004b4228
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xf8]
call fcn.004b3c43
push 0x5626ac
lea eax, [ebp - 0xf8]
push eax
call fcn.004d4a8e
call fcn.004d7bfa
int3