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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100408e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x1004a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x198], edi
mov eax, ecx
mov dword [ebp - 0x19c], eax
xor esi, esi
lea ecx, [ebp - 0x1bc]
push 0x1004554c
mov edx, eax
mov dword [ebp - 0x190], esi
call fcn.10005ad0
add esp, 4
cmp dword [eax + 0x14], 0xf
jbe 0x10004936
mov eax, dword [eax]
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x194], eax
cmp ecx, 0xf
jbe 0x10004986
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000497c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000497c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
cmp eax, 0xffffffff
je 0x10004cde
nop dword [eax]
test byte [ebp - 0x188], 0x10
jne 0x10004cb5
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100049e0
sub ecx, edx
lea eax, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.100020e0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
mov edi, dword [ebp - 0x34]
cmp edi, eax
jbe 0x10004a96
mov edx, edi
mov dword [ebp - 0x1c], 0
sub edx, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
cmp edi, edx
jb 0x10004cfc
sub edi, edx
lea eax, [ebp - 0x44]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0x30], 0xf
push ecx
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
add eax, edx
push eax
call fcn.100020e0
mov edx, dword [ebp - 0x198]
or esi, 3
mov dword [ebp - 0x190], esi
mov eax, edx
cmp dword [edx + 0x14], 0xf
jbe 0x10004a6a
mov eax, dword [edx]
push dword [edx + 0x10]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmova ecx, esi
push eax
call fcn.10006410
mov edi, dword [ebp - 0x34]
add esp, 8
test al, al
je 0x10004a99
mov byte [ebp - 0x189], 1
jmp 0x10004aa0
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 0x189], 0
mov eax, dword [ebp - 0x190]
test al, 1
je 0x10004ae6
and eax, 0xfffffffe
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10004ae6
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10004adc
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004976
push ecx
push esi
call fcn.1003f24b
add esp, 8
cmp byte [ebp - 0x189], 0
je 0x10004c66
mov edx, dword [ebp - 0x19c]
lea ecx, [ebp - 0x1d4]
push 0x10045550
call fcn.10005ad0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov eax, dword [ecx + 0x14]
cmova edx, dword [ebp - 0x44]
mov esi, dword [ecx + 0x10]
sub eax, esi
cmp edi, eax
ja 0x10004b58
cmp dword [ecx + 0x14], 0xf
lea eax, [edi + esi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x10004b3f
mov eax, dword [ecx]
push edi
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1a0]
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x10004b6d
push edi
push edx
mov byte [ebp - 0x1a4], 0
push dword [ebp - 0x1a4]
push edi
call fcn.10005f10
mov esi, dword [ebp - 0x190]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
or esi, 4
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x190], esi
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c0]
cmp ecx, 0xf
jbe 0x10004bf1
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004be7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004976
push ecx
push edx
call fcn.1003f24b
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c4], 0
cmova eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10004c52
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004976
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x10004c6c
mov esi, dword [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x10004ca9
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004c9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004976
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov eax, dword [ebp - 0x194]
mov edi, dword [ebp - 0x198]
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10004cd2
mov eax, dword [ebp - 0x194]
jmp 0x100049b0
push dword [ebp - 0x194]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003f23d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10005ac0
int3