Function at 0x59026b20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5914ebc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
push esi
push edi
push 0x591ae140
lea ecx, [esp + 0x14]
mov dword [esp + 0x18c], 1
call fcn.590a19b0
mov eax, dword [esp + 0x19c]
mov bl, 2
push 0x591ae140
push eax
mov byte [esp + 0x190], bl
call fcn.5908b099
add esp, 8
test eax, eax
jne 0x59026bab
lea ecx, [esp + 0x18]
push ecx
call fcn.5900d660
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 3
call fcn.590a2460
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call fcn.590a22e0
jmp 0x59026bbc
lea edx, [esp + 0x19c]
lea ecx, [esp + 0x10]
push edx
call fcn.590a2460
mov eax, dword [esp + 0x1a0]
push 0x591ae140
push eax
call fcn.5908b099
add esp, 8
test eax, eax
jne 0x59026be5
push str.ContentBuf.mtmp
lea ecx, [esp + 0x14]
call fcn.590a2ef0
jmp 0x59026bf6
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x14]
call fcn.590a2f50
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 0x59026de0
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 0x59026dbd
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x20]
call fcn.590a19b0
push 0x591ae140
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 5
call fcn.590a19b0
mov edx, dword [esp + 0x19c]
push 0x591ae140
push edx
mov byte [esp + 0x190], bl
call fcn.5908b099
add esp, 8
test eax, eax
jne 0x59026cd5
lea eax, [esp + 0x20]
push eax
call fcn.5900d660
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 7
call fcn.590a2460
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], bl
call fcn.590a22e0
jmp 0x59026ce6
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [esp + 0x18]
call fcn.590a2460
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.590a2f50
mov eax, dword [0x591ae1c8]
test eax, eax
je 0x59026d3f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
call fcn.590a6d60
mov ecx, dword [eax]
mov byte [esp + 0x188], 8
push ecx
push str.GetLastContentBufFile__strPath:_s_
push str.Combine
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], bl
call fcn.590a7660
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.590a18b0
mov byte [esp + 0x198], bl
call fcn.59024f50
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
lea ecx, [esp + 0x2c]
call fcn.590a6d60
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x190], 0xa
call fcn.590ad5f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], bl
call fcn.590a7660
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 5
call fcn.590a22e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x188], 4
call fcn.590a22e0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x59026c55
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.590a22e0
lea ecx, [esp + 0x19c]
mov byte [esp + 0x188], 0
call fcn.590a22e0
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x188], 0xffffffff
call fcn.590a22e0
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret