Function at 0x10003da0
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 0x10008c59
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc18
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x200
lea eax, [ebp - 0x238]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xa60], 0
lea ecx, [ebp - 0xa70]
mov dword [ebp - 0xa5c], 0xf
mov byte [ebp - 0xa70], 0
push 0
push 0x1000a32d
call fcn.10005950
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10002980
cmp dword [eax + 0x14], 0x10
jb 0x10003e3b
mov eax, dword [eax]
push str.MainSDKAcPowerNotification
push eax
lea eax, [ebp - 0x238]
push str._s_s
push eax
call fcn.10006140
mov edx, dword [ebp - 0x18]
add esp, 0x10
cmp edx, 0x10
jb 0x10003e8b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003e81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
lea ecx, [ebp - 0x238]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003e94
sub ecx, edx
lea eax, [ebp - 0x238]
push ecx
push eax
lea ecx, [ebp - 0xa70]
call fcn.10005950
sub esp, 0x18
mov ecx, esp
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x1000a77c
mov byte [ecx], 0
call fcn.10005950
lea eax, [ebp - 0xaa0]
push eax
call fcn.100043b0
push 0x200
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa40]
cmp dword [ebp - 0xa8c], 0x10
lea eax, [ebp - 0xaa0]
cmovae eax, dword [ebp - 0xaa0]
push ecx
lea ecx, [ebp - 0xa80]
push ecx
lea ecx, [ebp - 0xa7c]
push ecx
lea ecx, [ebp - 0xa78]
push ecx
lea ecx, [ebp - 0xa74]
push ecx
lea ecx, [ebp - 0xa3c]
push ecx
push str._d__d__d__d:_d:_d
push eax
call fcn.10001290
mov eax, dword [ebp - 0xa3c]
add eax, 0xfffff894
mov dword [ebp - 0xaa4], 0xffffffff
mov dword [ebp - 0xab0], eax
mov eax, dword [ebp - 0xa74]
dec eax
mov dword [ebp - 0xab4], eax
mov eax, dword [ebp - 0xa78]
mov dword [ebp - 0xab8], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebp - 0xabc], eax
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0xac0], eax
mov eax, dword [ebp - 0xa40]
mov dword [ebp - 0xac4], eax
lea eax, [ebp - 0xac4]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
add esp, 0x24
sub eax, 0xd2f00
mov dword [ebp - 0xa88], eax
lea eax, [ebp - 0xa88]
sbb edx, 0
mov dword [ebp - 0xa84], edx
push eax
lea eax, [ebp - 0xae8]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea eax, [ebp - 0xae8]
xorps xmm0, xmm0
push eax
push str._Y__m__d
lea eax, [ebp - 0x34]
push 0x20
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x438]
push 0x21
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea ecx, [ebp - 0x438]
mov dword [ebp - 0xa48], 0
add esp, 0x24
mov dword [ebp - 0xa44], 0xf
mov byte [ebp - 0xa58], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004030
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
lea ecx, [ebp - 0xa58]
call fcn.10005950
push 0
push ecx
lea ecx, [ebp - 0xa58]
mov byte [ebp - 4], 2
call fcn.100046c0
mov esi, eax
cmp esi, 0xffffffff
je 0x1000408a
push 0
sub esp, 8
lea ecx, [ebp - 0xa58]
push esi
call fcn.100056b0
push esi
push ecx
lea ecx, [ebp - 0xa58]
call fcn.100046c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x10004065
cmp dword [ebp - 0xa44], 0x10
lea eax, [ebp - 0xa58]
cmovae eax, dword [ebp - 0xa58]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [ebp - 0xa40], eax
lea eax, [ebp - 0xa38]
push 0x200
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa70]
cmp dword [ebp - 0xa5c], 0x10
lea eax, [ebp - 0xa38]
cmovae ecx, dword [ebp - 0xa70]
push ecx
push str._s.log
push eax
call fcn.10006140
add esp, 0xc
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xa3c], eax
cmp eax, 0xffffffff
je 0x10004299
test byte [ebp - 0xc28], 0x10
jne 0x10004270
lea eax, [ebp - 0x638]
mov ecx, 0x80
lea esi, [ebp - 0xbfc]
lea edi, [ebp - 0x638]
push 0x2e
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
lea ecx, [ebp - 0x638]
add esp, 8
lea edx, [ecx + 1]
mov byte [eax], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004160
sub ecx, edx
lea eax, [ebp - 0x638]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005950
push 0
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.100046c0
mov esi, eax
cmp esi, 0xffffffff
je 0x100041af
nop
push 0
sub esp, 8
lea ecx, [ebp - 0x2c]
push esi
call fcn.100056b0
push esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100046c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x10004190
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
cmp eax, dword [ebp - 0xa40]
jg 0x10004232
push 0x200
lea eax, [ebp - 0x838]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xbfc]
cmp dword [ebp - 0xa5c], 0x10
lea eax, [ebp - 0xa70]
cmovae eax, dword [ebp - 0xa70]
push ecx
push eax
lea eax, [ebp - 0x838]
push str._s_s
push eax
call fcn.10006140
lea eax, [ebp - 0x838]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
add esp, 0x18
test eax, eax
jne 0x10004232
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1000426a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004260
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e7b
push edx
push ecx
call fcn.1000783f
add esp, 8
mov eax, dword [ebp - 0xa3c]
lea ecx, [ebp - 0xc28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000428d
mov eax, dword [ebp - 0xa3c]
jmp 0x10004110
push dword [ebp - 0xa3c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0xa44]
cmp edx, 0x10
jb 0x100042d5
mov ecx, dword [ebp - 0xa58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100042cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100042cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
mov edx, dword [ebp - 0xa8c]
mov dword [ebp - 0xa48], 0
mov dword [ebp - 0xa44], 0xf
mov byte [ebp - 0xa58], 0
cmp edx, 0x10
jb 0x1000432c
mov ecx, dword [ebp - 0xaa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004322
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004322
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
mov edx, dword [ebp - 0xa5c]
mov dword [ebp - 0xa90], 0
mov dword [ebp - 0xa8c], 0xf
mov byte [ebp - 0xaa0], 0
cmp edx, 0x10
jb 0x10004383
mov ecx, dword [ebp - 0xa70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004379
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004379
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
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.1000782e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4