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

Disassembly:
push 0xffffffffffffffff
push 0x59142b58
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.59094760
push 0x59172380
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 1
call fcn.59095ca0
push str..mtmp
lea ecx, [esp + 0x24]
call fcn.59095ca0
mov eax, dword [esp + 0x20]
push eax
call fcn.5900a930
add esp, 4
lea ecx, [esp + 0x24]
push 0x591949a0
call fcn.59094760
mov ecx, dword [esp + 0x1a0]
push 0x591949a0
push ecx
mov byte [esp + 0x1a0], 2
call fcn.5907de59
add esp, 8
test eax, eax
jne 0x59050499
lea edx, [esp + 0x28]
push edx
call fcn.5900d0d0
add esp, 4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x19c], 3
call fcn.59095210
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 2
call fcn.59095090
jmp 0x590504aa
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x24]
push eax
call fcn.59095210
push str.ContentBuf.mtmp
lea ecx, [esp + 0x28]
call fcn.59095ca0
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 0x59050649
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 0x5905061a
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x28]
push eax
call fcn.59094760
push 0x591949a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 5
call fcn.59094760
mov ecx, dword [esp + 0x1a0]
push 0x591949a0
push ecx
mov byte [esp + 0x1a0], bl
call fcn.5907de59
add esp, 8
test eax, eax
jne 0x59050588
lea edx, [esp + 0x3c]
push edx
call fcn.5900d0d0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 7
call fcn.59095210
lea ecx, [esp + 0x3c]
mov byte [esp + 0x198], bl
call fcn.59095090
jmp 0x59050599
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x10]
push eax
call fcn.59095210
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.59095d00
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x20], ebp
call fcn.59099b10
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0x1a0], 8
call fcn.5900d450
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.5909a410
cmp dword [esp + 0x1c], ebp
jne 0x590505f4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x590505f8
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 5
call fcn.59095090
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 4
call fcn.59095090
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebp
jne 0x59050508
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x198], 2
cmp eax, ebp
je 0x590508d9
push 0x591949a0
lea ecx, [esp + 0x20]
call fcn.59094760
mov ecx, dword [esp + 0x1a0]
push 0x591949a0
push ecx
mov byte [esp + 0x1a0], 9
call fcn.5907de59
add esp, 8
test eax, eax
jne 0x590506aa
lea edx, [esp + 0x18]
push edx
call fcn.5900d0d0
add esp, 4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0xa
call fcn.59095210
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 9
call fcn.59095090
jmp 0x590506bb
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x1c]
push eax
call fcn.59095210
push str..mli
lea ecx, [esp + 0x20]
call fcn.59095ca0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x590507cc
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 0x59050793
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x10]
push eax
call fcn.59094760
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x198], bl
mov eax, dword [ecx - 8]
cmp eax, 4
jbe 0x59050782
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.590976b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0xd
call fcn.59095210
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.59095090
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.590af550
add esp, 8
test eax, eax
jne 0x590507a8
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0xb
call fcn.59095090
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebp
je 0x590507bd
jmp 0x590506fa
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x198], 0xb
call fcn.59095090
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.59095090
cmp dword [esp + 0x14], ebp
je 0x590508d9
push 0x591949a0
lea ecx, [esp + 0x18]
call fcn.59094760
mov ecx, dword [esp + 0x1a0]
mov bl, 0xe
push 0x591949a0
push ecx
mov byte [esp + 0x1a0], bl
call fcn.5907de59
add esp, 8
test eax, eax
jne 0x59050848
lea edx, [esp + 0x18]
push edx
call fcn.5900d0d0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 0xf
call fcn.59095210
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.59095090
jmp 0x59050859
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x14]
push eax
call fcn.59095210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push str._s.
push edx
call fcn.59097ef0
mov eax, dword [0x59194a20]
add esp, 0xc
cmp eax, ebp
je 0x590508bb
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.59099b10
mov ecx, dword [eax]
mov byte [esp + 0x198], 0x10
push ecx
push str.strTempFilePath:_s
push str.strTempFilePath
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.5909a410
mov edx, dword [esp + 0x20]
push edx
call fcn.5900a930
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 2
call fcn.59095090
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], 1
call fcn.59095090
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 0
call fcn.59095090
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x198], 0xffffffff
call fcn.59095090
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4