Function at 0x5905a190
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x59154db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x198], ebp
call fcn.59001210
push eax
lea ecx, [esp + 0x24]
call fcn.590a0590
push 0x59187450
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 1
call fcn.590a1ad0
push str..mtmp
lea ecx, [esp + 0x24]
call fcn.590a1ad0
mov eax, dword [esp + 0x20]
push eax
call fcn.5900b040
add esp, 4
lea ecx, [esp + 0x24]
push 0x591ac690
call fcn.590a0590
mov ecx, dword [esp + 0x1a0]
push 0x591ac690
push ecx
mov byte [esp + 0x1a0], 2
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5905a259
lea edx, [esp + 0x28]
push edx
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x19c], 3
call fcn.590a1040
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 2
call fcn.590a0ec0
jmp 0x5905a26a
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x24]
push eax
call fcn.590a1040
push str.ContentBuf.mtmp
lea ecx, [esp + 0x28]
call fcn.590a1ad0
mov edx, dword [esp + 0x24]
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x14], 1
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x50]
push ecx
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x5905a409
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x198], 4
mov bl, 6
test byte [esp + 0x50], 0x10
jne 0x5905a3da
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x28]
push eax
call fcn.590a0590
push 0x591ac690
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 5
call fcn.590a0590
mov ecx, dword [esp + 0x1a0]
push 0x591ac690
push ecx
mov byte [esp + 0x1a0], bl
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5905a348
lea edx, [esp + 0x3c]
push edx
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 7
call fcn.590a1040
lea ecx, [esp + 0x3c]
mov byte [esp + 0x198], bl
call fcn.590a0ec0
jmp 0x5905a359
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x10]
push eax
call fcn.590a1040
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.590a1b30
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x20], ebp
call fcn.590a5940
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0x1a0], 8
call fcn.5900db60
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.590a6240
cmp dword [esp + 0x1c], ebp
jne 0x5905a3b4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x5905a3b8
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 5
call fcn.590a0ec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 4
call fcn.590a0ec0
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebp
jne 0x5905a2c8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x198], 2
cmp eax, ebp
je 0x5905a699
push 0x591ac690
lea ecx, [esp + 0x20]
call fcn.590a0590
mov ecx, dword [esp + 0x1a0]
push 0x591ac690
push ecx
mov byte [esp + 0x1a0], 9
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5905a46a
lea edx, [esp + 0x18]
push edx
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0xa
call fcn.590a1040
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 9
call fcn.590a0ec0
jmp 0x5905a47b
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x1c]
push eax
call fcn.590a1040
push str..mli
lea ecx, [esp + 0x20]
call fcn.590a1ad0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x5905a58c
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov byte [esp + 0x198], 0xb
mov bl, 0xc
test byte [esp + 0x50], 0x10
jne 0x5905a553
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x10]
push eax
call fcn.590a0590
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x198], bl
mov eax, dword [ecx - 8]
cmp eax, 4
jbe 0x5905a542
xor edx, edx
add eax, 0xfffffffc
mov dword [esp + 0x30], edx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], edx
call fcn.590a34e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0xd
call fcn.590a1040
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.590a0ec0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.590cbdd0
add esp, 8
test eax, eax
jne 0x5905a568
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0xb
call fcn.590a0ec0
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebp
je 0x5905a57d
jmp 0x5905a4ba
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x198], 0xb
call fcn.590a0ec0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x198], 9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 2
call fcn.590a0ec0
cmp dword [esp + 0x14], ebp
je 0x5905a699
push 0x591ac690
lea ecx, [esp + 0x18]
call fcn.590a0590
mov ecx, dword [esp + 0x1a0]
mov bl, 0xe
push 0x591ac690
push ecx
mov byte [esp + 0x1a0], bl
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5905a608
lea edx, [esp + 0x18]
push edx
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 0xf
call fcn.590a1040
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.590a0ec0
jmp 0x5905a619
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x14]
push eax
call fcn.590a1040
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push str._s.
push edx
call fcn.590a3d20
mov eax, dword [0x591ac718]
add esp, 0xc
cmp eax, ebp
je 0x5905a67b
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.590a5940
mov ecx, dword [eax]
mov byte [esp + 0x198], 0x10
push ecx
push str.strTempFilePath:_s
push str.strTempFilePath
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.590a6240
mov edx, dword [esp + 0x20]
push edx
call fcn.5900b040
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 2
call fcn.590a0ec0
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], 1
call fcn.590a0ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 0
call fcn.590a0ec0
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x198], 0xffffffff
call fcn.590a0ec0
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4