Function at 0x5299c1
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x595224
push eax
mov eax, 0x4b44
mov dword fs:[0], esp
call fcn.00550870
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x4b64]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x4b5c], ebx
jne 0x5299ed
mov dword [esp + 0x4b5c], 0xffffffff
jmp 0x52a447
cmp dword [esi + 0x74], ebx
jne 0x529a02
mov dword [esp + 0x4b5c], 0xffffffff
jmp 0x52a447
push 0x5ea034
lea ecx, [esp + 0x4b6c]
call fcn.00563b2e
or edi, 0xffffffff
cmp eax, edi
je 0x529b36
lea ecx, [esp + 0x48]
call fcn.00566653
lea eax, [esp + 0x48]
push ebx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5ea034
mov byte [esp + 0x4b6c], 1
call fcn.0056877a
push ecx
lea edx, [esp + 0x4b78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x4b70], 2
call fcn.00568481
mov byte [esp + 0x4b6c], 1
call fcn.0043ebe0
mov eax, dword [esp + 0x60]
add esp, 0x10
cmp eax, 2
je 0x529a8b
mov byte [esp + 0x4b5c], bl
lea ecx, [esp + 0x48]
jmp 0x52a43b
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
push eax
call fcn.00568481
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x4b5c], 3
add ecx, 4
push ecx
lea ecx, [esp + 0x4b6c]
call fcn.00568845
mov edx, dword [esi + 0x74]
lea ecx, [esp + 0x18]
add edx, 0x628
push edx
call fcn.0056877a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.005503ed
add esp, 8
mov byte [esp + 0x4b5c], 3
test eax, eax
lea ecx, [esp + 0x18]
je 0x529b10
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x4b5c], 1
call fcn.0056870c
mov byte [esp + 0x4b5c], bl
lea ecx, [esp + 0x48]
jmp 0x52a43b
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x4b5c], 1
call fcn.0056870c
lea ecx, [esp + 0x48]
mov byte [esp + 0x4b5c], bl
call fcn.00566686
lea ecx, [esp + 0x60]
call fcn.00566653
lea edx, [esp + 0x60]
push 1
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5ea030
mov byte [esp + 0x4b6c], 5
call fcn.0056877a
push ecx
lea eax, [esp + 0x4b78]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x4b70], 6
call fcn.00568481
mov byte [esp + 0x4b6c], 5
call fcn.0043ebe0
mov eax, dword [esp + 0x78]
add esp, 0x10
cmp eax, 3
jne 0x52a430
push 0x5fe7d8
lea ecx, [esp + 0x28]
call fcn.0056877a
mov ecx, dword [esi + 0x74]
mov byte [esp + 0x4b5c], 7
add ecx, 0x660
push ecx
lea ecx, [esp + 0x48]
call fcn.0056877a
lea ecx, [esp + 0x78]
mov byte [esp + 0x4b5c], 8
call fcn.00566653
lea edx, [esp + 0x78]
push ebx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5ea034
mov byte [esp + 0x4b6c], 9
call fcn.0056877a
push ecx
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x4b70], 0xa
call fcn.00568481
mov byte [esp + 0x4b6c], 9
call fcn.0043ebe0
mov eax, dword [esp + 0x90]
add esp, 0x10
xor esi, esi
cmp eax, ebx
jle 0x52a3fd
lea ecx, [esp + 0x30]
call fcn.00566653
lea ecx, [esp + 0x30]
push ebx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5ea030
mov byte [esp + 0x4b6c], 0xb
call fcn.0056877a
push esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x4b6c], 0xc
call fcn.00434b30
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00568481
mov byte [esp + 0x4b6c], 0xb
call fcn.0043ebe0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x44]
mov eax, dword [edx]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.005503ed
add esp, 0x18
test eax, eax
jne 0x529d8d
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004cd470
add esp, 8
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x1c]
add ecx, 8
lea eax, [esp + 0x28]
push ecx
push edx
push eax
mov byte [esp + 0x4b68], 0xd
call fcn.0056893b
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4b60], 0xe
call fcn.00568845
lea ecx, [esp + 0x28]
mov byte [esp + 0x4b5c], 0xd
call fcn.0056870c
push ebx
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00568481
call fcn.004416c0
add esp, 8
cmp eax, ebx
je 0x529d7c
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2cc]
push eax
push ecx
call fcn.0043a650
add esp, 8
test eax, eax
je 0x529d7c
lea edx, [esp + 0x2e0]
lea ecx, [esp + 0x48]
push edx
call fcn.005481e4
lea eax, [esp + 0x14]
push str._H:_M
push eax
lea ecx, [esp + 0x50]
call fcn.0054834d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
push eax
push edx
call fcn.005503ed
add esp, 8
mov byte [esp + 0x4b5c], 0xd
test eax, eax
lea ecx, [esp + 0x14]
je 0x529db3
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b5c], 0xb
call fcn.0056870c
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b5c], 9
call fcn.00566686
mov eax, dword [esp + 0x80]
inc esi
cmp esi, eax
jl 0x529c2b
jmp 0x52a3fd
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b5c], 0xb
call fcn.0056870c
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b5c], 9
call fcn.00566686
mov esi, 0x5999f4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
push edi
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x4b64], 0x10
call fcn.00435e20
push fcn.0056870c
push 0x43e950
push 0x104
lea eax, [esp + 0x750]
push 4
push eax
call fcn.0055139f
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x24]
push str..
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x4b68], 0x12
call fcn.005689a1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b60], 0x13
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x4b5c], 0x12
call fcn.0056870c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2cc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, edi
jne 0x529ed6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b5c], 0x11
call fcn.0056870c
push fcn.0056870c
push 0x104
lea eax, [esp + 0x74c]
push 4
push eax
mov byte [esp + 0x4b6c], 0x10
call fcn.0054fe4b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], esi
cmp eax, ebx
je 0x52a3fd
push eax
call fcn.00567b2c
add esp, 4
jmp 0x52a3fd
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5fe7d8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2f8]
mov dword [esp + 0x2ac], ebx
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x2bc], ebx
mov dword [esp + 0x2c8], ebx
call fcn.0056877a
mov esi, eax
lea edx, [esp + 0x24]
push 0x5ea038
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x4b68], 0x14
call fcn.005689a1
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x4b68], 0x15
call fcn.0056893b
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b5c], 0x18
call fcn.0056870c
lea ecx, [esp + 0x74]
mov byte [esp + 0x4b5c], 0x17
call fcn.0056870c
lea edx, [esp + 0x2f8]
lea ecx, [esp + 0x2c]
push edx
call fcn.0056877a
mov eax, dword [eax]
push 0x5e9a84
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
setne byte [esp + 0x13]
call fcn.0056870c
cmp byte [esp + 0x13], bl
je 0x52a199
lea eax, [esp + 0x2f8]
lea ecx, [esp + 0x20]
push eax
call fcn.0056877a
mov eax, dword [eax]
push 0x5eb630
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne byte [esp + 0x13]
call fcn.0056870c
cmp byte [esp + 0x13], bl
je 0x52a0bd
test byte [esp + 0x2cc], 0x10
je 0x52a096
push ebx
push 0x1f4
mov dword [esp + 0xa4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0xa8], esp
push edx
mov byte [esp + 0x4b78], 0x19
call fcn.00568481
mov byte [esp + 0x4b74], 0x17
call fcn.004417e0
add esp, 0x18
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x2b0], edx
jmp 0x52a0d2
mov eax, dword [esp + 0x2e8]
mov ecx, dword [esp + 0x2ec]
shl eax, 0x20
or eax, ecx
mov dword [esp + 0x9c], 1
mov dword [esp + 0x2ac], eax
jmp 0x52a0cb
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], ebx
mov ecx, dword [esp + 0x14]
push 0x104
lea edx, [esp + 0x1a8]
push ecx
push edx
call fcn.0043a0b0
lea edi, [esp + 0x304]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xa0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2e0]
push ecx
lea ecx, [esp + 0x4c]
call fcn.005481e4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2bc], edx
mov dword [esp + 0x2c0], eax
mov eax, dword [ecx]
push eax
call fcn.00550577
mov ecx, 0x8e
lea esi, [esp + 0x98]
lea edi, [esp + 0x510]
mov dword [esp + 0x2bc], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
add esp, 4
lea ecx, [esp + 0x30]
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
call fcn.00435e20
mov ecx, dword [esp + 0x34]
lea eax, [esi + esi*8]
shl eax, 3
sub eax, esi
lea esi, [esp + 0x50c]
lea edi, [ecx + eax*8]
mov ecx, 0x8e
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x2cc]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x4b5c], 0x12
call fcn.0056870c
cmp esi, ebx
jne 0x529ed6
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x5fe7d8
lea ecx, [esp + 0x2c]
call fcn.0056877a
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x4b5c], 0x1a
jle 0x52a30f
xor esi, esi
mov eax, dword [0x5f9f88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x40c]
push 0xa
push ecx
mov edx, dword [eax + esi + 0x21c]
mov eax, dword [eax + esi + 0x218]
push edx
push eax
mov byte [esp + 0x4b6c], 0x1b
call fcn.00551ab7
mov ecx, dword [esp + 0x44]
add esp, 0x10
lea edx, [esp + 0x20]
fld qword [ecx + esi + 0x228]
push str._Y__m__d__H:_M:_S
push edx
fstp qword [esp + 0x50]
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], ebx
call fcn.0054834d
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push eax
lea edx, [esp + 0x410]
mov eax, dword [ecx + esi + 8]
push edx
push eax
mov eax, dword [ecx + esi + 0x224]
lea edx, [ecx + esi + 0xc]
lea ecx, [esp + 0x24]
push edx
push eax
push str._d::_s::_d::_s::_s
push ecx
mov byte [esp + 0x4b78], 0x1c
call fcn.00563eb4
add esp, 0x1c
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b5c], 0x1b
call fcn.0056870c
mov edx, dword [esp + 0x38]
dec edx
cmp edi, edx
je 0x52a2b0
push 0x5ea034
lea ecx, [esp + 0x1c]
call fcn.00568ae8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax - 8]
mov ecx, dword [ecx - 8]
lea edx, [ecx + eax + 1]
cmp edx, 0x3e70
jge 0x52a2fe
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call fcn.00568b24
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b5c], 0x1a
call fcn.0056870c
mov eax, dword [esp + 0x38]
inc edi
add esi, 0x238
cmp edi, eax
jl 0x52a1f0
jmp 0x52a30f
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b5c], 0x1a
call fcn.0056870c
mov ecx, dword [esp + 0x28]
push 0x5fe7d8
push ecx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x52a39e
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4000
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
push ecx
push edx
call fcn.0043a0b0
mov eax, dword [esp + 0x4b78]
add esp, 0xc
cmp eax, ebx
lea eax, [esp + 0xb54]
push ebx
push ebx
push ebx
push eax
jne 0x52a385
push 0x95
jmp 0x52a38a
push 0x99
mov ecx, dword [esp + 0x4b78]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [edx + 0x68]
call fcn.0048fc90
lea ecx, [esp + 0x28]
mov byte [esp + 0x4b5c], 0x12
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b5c], 0x11
call fcn.0056870c
push fcn.0056870c
push 0x104
lea eax, [esp + 0x74c]
push 4
push eax
mov byte [esp + 0x4b6c], 0x10
call fcn.0054fe4b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0x5999f4
cmp eax, ebx
je 0x52a3fa
push eax
call fcn.00567b2c
add esp, 4
or edi, 0xffffffff
lea ecx, [esp + 0x78]
mov byte [esp + 0x4b5c], 8
call fcn.00566686
lea ecx, [esp + 0x44]
mov byte [esp + 0x4b5c], 7
call fcn.0056870c
lea ecx, [esp + 0x24]
mov byte [esp + 0x4b5c], 5
call fcn.0056870c
mov byte [esp + 0x4b5c], bl
lea ecx, [esp + 0x60]
call fcn.00566686
mov dword [esp + 0x4b5c], edi
lea ecx, [esp + 0x4b68]
call fcn.0056870c
mov ecx, dword [esp + 0x4b54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4b50
ret 0xc