Function at 0x529358
Capabilities:
Enumerate files on windows
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xbe
push 0
push 0
dec ecx
jne 0x529361
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 8]
call fcn.00405474
xor eax, eax
push ebp
push 0x529ec1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetLastError
push 1
call sub.kernel32.dll_SetLastError
push 1
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x51c]
mov ecx, 0x529ed8
mov edx, dword [ebp - 8]
call fcn.00405138
mov eax, dword [ebp - 0x51c]
call fcn.004050bc
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5293e2
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
jmp 0x529cd2
cmp dword [ebp - 4], 0
je 0x5293f8
mov eax, dword [esi + 0x300]
call fcn.004bde9c
call fcn.0048d364
cmp dword [ebp - 4], 0
je 0x529406
mov eax, dword [ebp - 4]
call fcn.0048cb7c
mov eax, dword [esi + 0x2fc]
call fcn.0044d760
mov eax, dword [esi + 0x2fc]
call fcn.004bb078
call fcn.004932f0
mov eax, dword [esi + 0x2fc]
call fcn.004bb078
call fcn.004932d0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, esi
call fcn.00528ac8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x529c1c
cmp word [ebp - 0x238], 0x2e
jne 0x529462
cmp word [ebp - 0x236], 0
je 0x529c04
cmp word [ebp - 0x238], 0x2e
jne 0x529484
cmp word [ebp - 0x236], 0x2e
jne 0x529484
cmp word [ebp - 0x234], 0
je 0x529c04
push 0x4410
push 0x2b4
lea eax, [ebp - 0x518]
push eax
mov eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x524]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00405024
mov ecx, dword [ebp - 0x524]
lea eax, [ebp - 0x520]
mov edx, dword [ebp - 8]
call fcn.00405138
mov eax, dword [ebp - 0x520]
call fcn.004050bc
push eax
call sub.shell32.dll_SHGetFileInfoW_2
test eax, eax
je 0x5294e9
mov eax, dword [ebp - 0x518]
push eax
call sub.user32.dll_DestroyIcon
jmp 0x5294f1
xor eax, eax
mov dword [ebp - 0x514], eax
test byte [ebp - 0x264], 0x10
je 0x5298d5
cmp dword [ebp - 4], 0
je 0x5295c7
mov eax, dword [esi + 0x300]
call fcn.004bde9c
push eax
lea eax, [ebp - 0x528]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00405024
mov ecx, dword [ebp - 0x528]
mov edx, dword [ebp - 4]
pop eax
call fcn.004bd800
mov ebx, eax
mov edx, 6
mov eax, ebx
call fcn.0048bee8
mov edx, 6
mov eax, ebx
call fcn.0048be90
push dword [ebp - 8]
lea eax, [ebp - 0x530]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00405024
push dword [ebp - 0x530]
push 0x529ee4
lea eax, [ebp - 0x52c]
mov edx, 3
call fcn.0040519c
mov eax, dword [ebp - 0x52c]
call fcn.004f2950
test al, al
je 0x5295c7
mov eax, dword [esi + 0x300]
call fcn.004bde9c
mov ecx, 0x529eec
mov edx, ebx
call fcn.004bd800
mov ebx, eax
mov edx, 6
mov eax, ebx
call fcn.0048bee8
mov edx, 6
mov eax, ebx
call fcn.0048be90
mov eax, dword [esi + 0x2fc]
call fcn.004bb078
mov edx, dword [ebp - 0x14]
call fcn.004baa9c
mov ebx, eax
lea eax, [ebp - 0x534]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00405024
mov edx, dword [ebp - 0x534]
mov eax, ebx
call fcn.004ba91c
xor edx, edx
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x538]
lea edx, [ebp - 0x304]
mov ecx, 0x50
call fcn.00405024
mov edx, dword [ebp - 0x538]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x540]
lea eax, [ebp - 0x250]
call fcn.004f2f14
mov edx, dword [ebp - 0x540]
lea eax, [ebp - 0x53c]
call fcn.00405040
mov edx, dword [ebp - 0x53c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x548]
lea eax, [ebp - 0x260]
call fcn.004f2f14
mov edx, dword [ebp - 0x548]
lea eax, [ebp - 0x544]
call fcn.00405040
mov edx, dword [ebp - 0x544]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x550]
mov eax, dword [ebp - 0x264]
call fcn.004f2fbc
mov edx, dword [ebp - 0x550]
lea eax, [ebp - 0x54c]
call fcn.00405040
mov edx, dword [ebp - 0x54c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x558]
lea eax, [ebp - 0x258]
call fcn.004f2f14
mov edx, dword [ebp - 0x558]
lea eax, [ebp - 0x554]
call fcn.00405040
mov edx, dword [ebp - 0x554]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x248]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x560]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x560]
push eax
mov eax, dword [ebp - 0x244]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x564]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x564]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x560]
lea eax, [ebp - 0x55c]
call fcn.00405040
mov edx, dword [ebp - 0x55c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x264]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x56c]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x56c]
lea eax, [ebp - 0x568]
call fcn.00405040
mov edx, dword [ebp - 0x568]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x574]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x574]
push eax
mov eax, dword [ebp - 0x250]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x578]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x578]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x574]
lea eax, [ebp - 0x570]
call fcn.00405040
mov edx, dword [ebp - 0x570]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x580]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x580]
push eax
mov eax, dword [ebp - 0x250]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x584]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x584]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x580]
lea eax, [ebp - 0x57c]
call fcn.00405040
mov edx, dword [ebp - 0x57c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x254]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x58c]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x58c]
push eax
mov eax, dword [ebp - 0x258]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x590]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x590]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x58c]
lea eax, [ebp - 0x588]
call fcn.00405040
mov edx, dword [ebp - 0x588]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0x514]
xor edx, edx
mov eax, ebx
call fcn.00492dcc
inc dword [ebp - 0x14]
jmp 0x529c04
mov eax, dword [esi + 0x2fc]
call fcn.004bb078
call fcn.004baa84
mov ebx, eax
lea eax, [ebp - 0x594]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00405024
mov edx, dword [ebp - 0x594]
mov eax, ebx
call fcn.004ba91c
lea ecx, [ebp - 0x59c]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x244]
call fcn.004f30ec
mov edx, dword [ebp - 0x59c]
lea eax, [ebp - 0x598]
call fcn.00405040
mov edx, dword [ebp - 0x598]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x5a0]
lea edx, [ebp - 0x304]
mov ecx, 0x50
call fcn.00405024
mov edx, dword [ebp - 0x5a0]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x5a8]
lea eax, [ebp - 0x250]
call fcn.004f2f14
mov edx, dword [ebp - 0x5a8]
lea eax, [ebp - 0x5a4]
call fcn.00405040
mov edx, dword [ebp - 0x5a4]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x5b0]
lea eax, [ebp - 0x260]
call fcn.004f2f14
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x5ac]
call fcn.00405040
mov edx, dword [ebp - 0x5ac]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x5b8]
mov eax, dword [ebp - 0x264]
call fcn.004f2fbc
mov edx, dword [ebp - 0x5b8]
lea eax, [ebp - 0x5b4]
call fcn.00405040
mov edx, dword [ebp - 0x5b4]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x5c0]
lea eax, [ebp - 0x258]
call fcn.004f2f14
mov edx, dword [ebp - 0x5c0]
lea eax, [ebp - 0x5bc]
call fcn.00405040
mov edx, dword [ebp - 0x5bc]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x248]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5c8]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x5c8]
push eax
mov eax, dword [ebp - 0x244]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5cc]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x5cc]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x5c8]
lea eax, [ebp - 0x5c4]
call fcn.00405040
mov edx, dword [ebp - 0x5c4]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x264]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5d4]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x5d4]
lea eax, [ebp - 0x5d0]
call fcn.00405040
mov edx, dword [ebp - 0x5d0]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5dc]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x5dc]
push eax
mov eax, dword [ebp - 0x250]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5e0]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x5e0]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x5dc]
lea eax, [ebp - 0x5d8]
call fcn.00405040
mov edx, dword [ebp - 0x5d8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5e8]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x5e8]
push eax
mov eax, dword [ebp - 0x250]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5ec]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x5ec]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x5e8]
lea eax, [ebp - 0x5e4]
call fcn.00405040
mov edx, dword [ebp - 0x5e4]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x254]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5f4]
mov eax, 8
call fcn.00409920
lea eax, [ebp - 0x5f4]
push eax
mov eax, dword [ebp - 0x258]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5f8]
mov eax, 8
call fcn.00409920
mov edx, dword [ebp - 0x5f8]
pop eax
call fcn.00404a00
mov edx, dword [ebp - 0x5f4]
lea eax, [ebp - 0x5f0]
call fcn.00405040
mov edx, dword [ebp - 0x5f0]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0x514]
xor edx, edx
mov eax, ebx
call fcn.00492dcc
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x529436
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
test eax, eax
jne 0x529c33
mov eax, 0x529ef8
call fcn.004451e0
cmp dword [ebp - 4], 0
je 0x529c49
mov eax, dword [esi + 0x300]
call fcn.004bde9c
call fcn.0048d3b0
mov eax, dword [esi + 0x2fc]
call fcn.004bb078
call fcn.004934cc
mov eax, dword [esi + 0x2fc]
call fcn.0044d760
mov eax, dword [esi + 0x3b4]
call fcn.004a8894
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jge 0x529c8e
mov eax, dword [esi + 0x3b4]
call fcn.004a8894
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x3b4]
mov dl, byte [eax + 0x275]
xor dl, 1
call fcn.00436600
mov eax, dword [esi + 0x3b4]
mov dl, byte [eax + 0x275]
xor dl, 1
call fcn.00436600
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x3b4]
call fcn.004a88d0
lea eax, [esi + 0x3f8]
mov edx, dword [ebp - 8]
call fcn.00404e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529ecb
lea eax, [ebp - 0x5f8]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x5f0]
call fcn.00404e5c
lea eax, [ebp - 0x5ec]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x5e4]
call fcn.00404e5c
lea eax, [ebp - 0x5e0]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x5d8]
call fcn.00404e5c
lea eax, [ebp - 0x5d4]
call fcn.00404730
lea eax, [ebp - 0x5d0]
call fcn.00404e5c
lea eax, [ebp - 0x5cc]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x5c4]
call fcn.00404e5c
lea eax, [ebp - 0x5c0]
call fcn.00404730
lea eax, [ebp - 0x5bc]
call fcn.00404e5c
lea eax, [ebp - 0x5b8]
call fcn.00404730
lea eax, [ebp - 0x5b4]
call fcn.00404e5c
lea eax, [ebp - 0x5b0]
call fcn.00404730
lea eax, [ebp - 0x5ac]
call fcn.00404e5c
lea eax, [ebp - 0x5a8]
call fcn.00404730
lea eax, [ebp - 0x5a4]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0x59c]
call fcn.00404730
lea eax, [ebp - 0x598]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0x590]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x588]
call fcn.00404e5c
lea eax, [ebp - 0x584]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x57c]
call fcn.00404e5c
lea eax, [ebp - 0x578]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x570]
call fcn.00404e5c
lea eax, [ebp - 0x56c]
call fcn.00404730
lea eax, [ebp - 0x568]
call fcn.00404e5c
lea eax, [ebp - 0x564]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x55c]
call fcn.00404e5c
lea eax, [ebp - 0x558]
call fcn.00404730
lea eax, [ebp - 0x554]
call fcn.00404e5c
lea eax, [ebp - 0x550]
call fcn.00404730
lea eax, [ebp - 0x54c]
call fcn.00404e5c
lea eax, [ebp - 0x548]
call fcn.00404730
lea eax, [ebp - 0x544]
call fcn.00404e5c
lea eax, [ebp - 0x540]
call fcn.00404730
lea eax, [ebp - 0x53c]
mov edx, 9
call fcn.00404e74
lea eax, [ebp - 8]
call fcn.00404e5c
ret