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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b17f0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4c
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb2c], ecx
push 0x4c29fc
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x165fac
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0xb2c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x3ea9e0], eax
cmp dword [ebp + 0xc], 2
je 0x474232
cmp dword [ebp + 0xc], 3
jne 0x474498
lea ecx, [ebp - 0xb54]
call fcn.0048fb40
mov dword [ebp - 4], 0
mov ecx, 0x45cfa60
call fcn.004113b0
push eax
lea ecx, [ebp - 0xb54]
call fcn.0048fc00
push str.union_sce.txt
lea ecx, [ebp - 0xb54]
call fcn.0048fc50
push 0
lea ecx, [ebp - 0xb54]
call fcn.00411210
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x50
mov edx, dword [ebp - 0xb2c]
mov eax, dword [edx + 0x50]
mov edx, dword [eax + 0x44]
call edx
mov ecx, 0x45cfa60
call fcn.004113b0
push eax
lea ecx, [ebp - 0xb54]
call fcn.0048fc00
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xb54]
call fcn.0048fc50
push 0x4c2a18
lea ecx, [ebp - 0xb54]
call fcn.0048fc50
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xb58], eax
mov dword [ebp - 0xb34], 0
mov ecx, dword [ebp - 0xb2c]
call fcn.0047e1d0
mov dword [ebp - 0xb44], 1
lea edx, [ebp - 0xb28]
push edx
lea ecx, [ebp - 0xb54]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xb38], eax
cmp dword [ebp - 0xb38], 0xffffffff
jne 0x47433f
mov byte [ebp - 0xb2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb54]
call fcn.0048fb80
mov al, byte [ebp - 0xb2d]
jmp 0x4745ce
cmp dword [ebp - 0xb44], 1
jne 0x474479
cmp dword [ebp - 0xb28], 0x10
je 0x47445a
mov eax, dword [ebp - 0xb58]
lea ecx, [ebp + eax - 0xafc]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
shl eax, 1
mov dword [ebp - 0xb3c], eax
cmp dword [ebp - 0xb3c], 0x104
jae 0x47438f
jmp 0x474394
call fcn.00499124
mov ecx, dword [ebp - 0xb3c]
mov byte [ebp + ecx - 0x114], 0
lea edx, [ebp - 0x114]
push edx
call fcn.0049d0eb
add esp, 4
mov dword [ebp - 0xb34], eax
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [ebp - 0xb34]
mov dword [eax + 0x3ea9e4], ecx
lea edx, [ebp - 0xafc]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0xafc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 4
mov dword [ebp - 0xb40], eax
cmp dword [ebp - 0xb40], 0x104
jae 0x474401
jmp 0x474406
call fcn.00499124
mov edx, dword [ebp - 0xb40]
mov byte [ebp + edx - 0x114], 0
lea eax, [ebp - 0xafc]
push eax
mov ecx, 0x45cfa60
call fcn.004113b0
push eax
push str._s_s
lea ecx, [ebp - 0x218]
push ecx
call fcn.00431650
add esp, 0x10
mov edx, dword [ebp - 0xb34]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.004745f0
lea edx, [ebp - 0xb28]
push edx
mov eax, dword [ebp - 0xb38]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xb44], eax
jmp 0x47433f
mov ecx, dword [ebp - 0xb38]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb54]
call fcn.0048fb80
mov edx, dword [ebp - 0xb2c]
mov dword [edx + 0x3ea9e4], 0xffffffff
mov eax, dword [ebp - 0xb2c]
cmp dword [eax + 0x165fa8], 3
jl 0x4744f1
push 0x4c2a28
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x3ead18
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.0047dd30
push 0x4c2a38
mov edx, dword [ebp - 0xb2c]
add edx, 0x3ead10
push edx
mov ecx, dword [ebp - 0xb2c]
call fcn.0047dd30
mov eax, dword [ebp - 0xb2c]
cmp dword [eax + 0x165fa8], 4
jl 0x47451d
push 0x4c2a48
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x3ead20
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.0047dd30
mov ecx, dword [ebp - 0xb2c]
call fcn.0047deb0
mov edx, dword [ebp - 0xb2c]
movzx eax, byte [edx + 0xc7444]
test eax, eax
je 0x4745af
push 1
mov ecx, dword [ebp - 0xb2c]
add ecx, 0xc7428
mov edx, dword [ebp - 0xb2c]
mov eax, dword [edx + 0xc7428]
mov edx, dword [eax + 0x44]
call edx
push 0x4c2a58
lea eax, [ebp - 0x9e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea ecx, [ebp - 0x9e8]
push ecx
mov ecx, dword [ebp - 0xb2c]
add ecx, 0xc7428
mov edx, dword [ebp - 0xb2c]
mov eax, dword [edx + 0xc7428]
mov edx, dword [eax + 0x40]
call edx
push 1
mov ecx, dword [ebp - 0xb2c]
add ecx, 0xc7428
mov eax, dword [ebp - 0xb2c]
mov edx, dword [eax + 0xc7428]
mov eax, dword [edx + 0x44]
call eax
cmp dword [ebp + 0xc], 2
jne 0x4745b9
xor al, al
jmp 0x4745ce
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret 8