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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b665
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x1004b220]
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
lea eax, [ebp - 0x4cc]
mov dword [ebp - 4], 0
push eax
call fcn.10023850
push 0x1003fc6c
push eax
lea eax, [ebp - 0x4c8]
mov byte [ebp - 4], 1
push eax
call fcn.1001b350
add esp, 0x10
mov edx, dword [ebp - 0x4cc]
or edi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003172e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10031d5e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b8], eax
push 0x1003e12c
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 4
call fcn.10006e20
test al, al
jne 0x10031773
push 0x1003e12c
lea ecx, [ebp - 0x4b8]
call fcn.10006f40
mov byte [ebp - 4], 5
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10031d68
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
push 0x1003e12c
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 6
call fcn.10006e20
test al, al
jne 0x100317bc
push 0x1003e12c
lea ecx, [ebp - 0x4b4]
call fcn.10006f40
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.1001b510
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.1001b510
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.1001b510
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x260]
add esp, 0x24
push ecx
push dword [eax]
call esi
mov edx, dword [ebp - 0x4d0]
mov ebx, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1003183a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4d4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031857
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031874
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4b4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031891
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4b8]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100318b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
je 0x100319f6
nop dword [eax + eax]
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4b8], eax
call fcn.10001b20
test eax, eax
je 0x10031d5e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10006e20
test al, al
jne 0x10031932
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10031910
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4b4]
call fcn.100071a0
mov eax, dword [ebp - 0x4c8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
push eax
call fcn.100070d0
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b8], esi
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.1001b510
add esp, 0x10
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10031986
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4b4]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100319a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x4bc]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov edx, dword [ebp - 0x4bc]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100319d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100318c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x4c0]
push eax
call fcn.10023900
push 0x1003fc6c
push eax
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 0xe
push eax
call fcn.1001b350
add esp, 0x10
mov edx, dword [ebp - 0x4c0]
mov eax, edi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031a3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10031d72
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
push 0x1003e12c
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 0x11
call fcn.10006e20
test al, al
jne 0x10031a81
push 0x1003e12c
lea ecx, [ebp - 0x4b4]
call fcn.10006f40
mov byte [ebp - 4], 0x12
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10031d7c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b8], eax
push 0x1003e12c
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 0x13
call fcn.10006e20
test al, al
jne 0x10031aca
push 0x1003e12c
lea ecx, [ebp - 0x4b8]
call fcn.10006f40
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.1001b510
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.1001b510
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.1001b510
add esp, 0x24
lea ecx, [ebp - 0x4b0]
push ecx
push dword [eax]
call esi
mov edx, dword [ebp - 0x4d4]
mov ebx, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10031b42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4d0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031b5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4cc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031b7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4b8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031b99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4b4]
mov eax, edi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031bba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
je 0x10031cf0
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4bc], eax
call fcn.10001b20
test eax, eax
je 0x10031d5e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10006e20
test al, al
jne 0x10031c32
lea ecx, [ebp - 0x484]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10031c10
sub ecx, edx
lea eax, [ebp - 0x484]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4b4]
call fcn.100071a0
mov eax, dword [ebp - 0x4c4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
push eax
call fcn.100070d0
lea esi, [eax + 0x10]
mov dword [ebp - 0x4bc], esi
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.1001b510
add esp, 0x10
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10031c86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4b4]
mov eax, edi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031ca7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x4b8]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov edx, dword [ebp - 0x4b8]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031cd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x4b0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10031bc3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x4c4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031d0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031d2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10031d42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
int3