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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b8e1
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x10026010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.10009570
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.10009570
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.10009570
add esp, 0xc
mov dword [ebp - 0x6c4], 0
mov dword [ebp - 0x6c0], 0
mov dword [ebp - 0x6bc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.10008ce3
add esp, 8
test eax, eax
je 0x10004aa3
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1000dc64
add esp, 0xc
lea eax, [ebp - 0x420]
push str.DumpFile.dmp
push 0x104
push eax
call fcn.1000b2f6
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004caf
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x438], 0
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x428], 0
lea edx, [eax + 2]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004b44
sub eax, edx
lea ecx, [ebp - 0x438]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10002200
mov byte [ebp - 4], 1
lea edx, [ebp - 0x438]
push str.DumpFile_
lea ecx, [ebp - 0x468]
call fcn.10004ec0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x450]
call fcn.10004ec0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.10002170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x438]
call fcn.10002170
mov eax, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x450]
push ecx
cmp eax, dword [ebp - 0x6bc]
je 0x10004be1
mov ecx, eax
call fcn.10002c20
add dword [ebp - 0x6c0], 0x18
jmp 0x10004bed
push eax
lea ecx, [ebp - 0x6c4]
call fcn.10004fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.10002170
lea eax, [ebp - 0x6b8]
push eax
push esi
call edi
test eax, eax
jne 0x10004b00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x6c0]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x6c4]
sub esi, ecx
imul esi
push 0x10004940
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x6c0]
push eax
call fcn.100051f0
mov ecx, dword [ebp - 0x6c0]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x6c4]
mov ebx, 0xa
sub ecx, edi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x10004caf
mov esi, 0xf0
cmp dword [esi + edi + 0x14], 8
lea eax, [esi + edi]
jb 0x10004c81
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x6c0]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x6c4]
inc ebx
sub ecx, edi
add esi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10004c75
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x6c4]
test esi, esi
je 0x10004d45
mov edi, dword [ebp - 0x6c0]
cmp esi, edi
je 0x10004ce4
nop
mov ecx, esi
call fcn.10002170
add esi, 0x18
cmp esi, edi
jne 0x10004cd0
mov esi, dword [ebp - 0x6c4]
mov ecx, dword [ebp - 0x6bc]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10004d1d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004d61
push ecx
push esi
call fcn.10007aa5
add esp, 8
mov dword [ebp - 0x6c4], 0
mov dword [ebp - 0x6c0], 0
mov dword [ebp - 0x6bc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007a97
mov esp, ebp
pop ebp
ret
call fcn.1000da96
int3