Function at 0x59026fe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5914dd83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
push esi
push edi
push 0x591ac690
lea ecx, [esp + 0x14]
mov dword [esp + 0x18c], 1
call fcn.590a0590
mov eax, dword [esp + 0x19c]
mov bl, 2
push 0x591ac690
push eax
mov byte [esp + 0x190], bl
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5902706b
lea ecx, [esp + 0x18]
push ecx
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 3
call fcn.590a1040
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call fcn.590a0ec0
jmp 0x5902707c
lea edx, [esp + 0x19c]
lea ecx, [esp + 0x10]
push edx
call fcn.590a1040
mov eax, dword [esp + 0x1a0]
push 0x591ac690
push eax
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x590270a5
push str.ContentBuf.mtmp
lea ecx, [esp + 0x14]
call fcn.590a1ad0
jmp 0x590270b6
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x14]
call fcn.590a1b30
xor esi, esi
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], esi
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x590272a0
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x1a4]
mov esi, dword [esp + 0x198]
mov ebp, dword [esp + 0x194]
mov byte [esp + 0x188], 4
mov bl, 6
test byte [esp + 0x40], 0x10
jne 0x5902727d
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x20]
call fcn.590a0590
push 0x591ac690
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 5
call fcn.590a0590
mov edx, dword [esp + 0x19c]
push 0x591ac690
push edx
mov byte [esp + 0x190], bl
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x59027195
lea eax, [esp + 0x20]
push eax
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 7
call fcn.590a1040
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], bl
call fcn.590a0ec0
jmp 0x590271a6
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [esp + 0x18]
call fcn.590a1040
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.590a1b30
mov eax, dword [0x591ac718]
test eax, eax
je 0x590271ff
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
call fcn.590a5940
mov ecx, dword [eax]
mov byte [esp + 0x188], 8
push ecx
push str.GetLastContentBufFile__strPath:_s_
push str.Combine
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], bl
call fcn.590a6240
mov edx, dword [esp + 0x190]
push edi
push ebp
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.590a0490
mov byte [esp + 0x198], bl
call fcn.59025410
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
lea ecx, [esp + 0x2c]
call fcn.590a5940
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x190], 0xa
call fcn.590ac1d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], bl
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 5
call fcn.590a0ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x188], 4
call fcn.590a0ec0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x59027115
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 1
call fcn.590a0ec0
lea ecx, [esp + 0x19c]
mov byte [esp + 0x188], 0
call fcn.590a0ec0
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x188], 0xffffffff
call fcn.590a0ec0
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret