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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5037eb
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x53f030]
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
mov dword [ebp - 4], 0
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c1c71
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 1
push eax
call fcn.004c3330
add esp, 4
test eax, eax
jne 0x4c1caa
push 1
push 0x50962c
lea ecx, [ebp - 0x274]
call fcn.0043b750
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c1cc6
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov ebx, dword [ebp - 0x274]
lea eax, [ebp - 0x26c]
push ebx
push 1
push str.ConfigV_d._s_
push eax
mov byte [ebp - 4], 2
call fcn.0043ad30
add esp, 0x10
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c1d13
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x278]
push esi
push str._s.xml
push eax
mov byte [ebp - 4], 3
call fcn.0043ad30
add esp, 0xc
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c1d5e
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 8]
push eax
call fcn.004c2a10
add esp, 8
test eax, eax
jne 0x4c1e14
mov edx, dword [ebp - 0x288]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 3
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c1db3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c1dd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c1df3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c2349
mov ecx, dword [ebx]
push ebx
jmp 0x4c2344
mov ebx, dword [ebp - 0x288]
lea eax, [ebx - 0x10]
push eax
mov dword [ebp - 0x29c], eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
push dword [eax - 0xc]
push eax
call fcn.00452320
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push edi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x284], eax
cmp eax, 0xffffffff
je 0x4c22a6
lea ecx, [ecx]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x270]
call fcn.0043a420
push dword [esi - 0xc]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00458170
mov edx, dword [ebp - 0x270]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c1eeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
cmp dword [esi - 0xc], 0
jle 0x4c1fb8
push 0x2e
push esi
call fcn.004d94a2
add esp, 8
test eax, eax
je 0x4c1fb8
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4c1fb8
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x268]
call fcn.0043b0a0
push dword [eax]
call fcn.004dad74
mov dword [ebp - 0x280], eax
add esp, 4
mov eax, dword [ebp - 0x2a0]
or edx, 0xffffffff
add eax, 0xfffffff0
mov dword [ebp - 0x27c], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1f69
mov ecx, dword [eax]
push dword [ebp - 0x27c]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x294]
mov ecx, eax
mov dword [ebp - 0x27c], ecx
cmp eax, dword [ebp - 0x290]
jb 0x4c1f9c
inc eax
lea ecx, [ebp - 0x298]
push eax
call fcn.004911c0
test al, al
je 0x4c1ff9
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x298]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x4c1fb1
mov edx, dword [ebp - 0x280]
mov dword [ecx], edx
inc eax
mov dword [ebp - 0x294], eax
add esi, 0xfffffff0
mov byte [ebp - 4], 6
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c1fd6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x284]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4c2003
mov esi, dword [ebp - 0x26c]
jmp 0x4c1ea0
push 0x8007000e
call fcn.0043a9b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x294]
cmp esi, 2
jbe 0x4c228d
push 0x4c4a30
push 4
push esi
push dword [ebp - 0x298]
call fcn.004dbad0
lea ecx, [esi - 2]
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x268], eax
test ecx, ecx
jle 0x4c2102
mov esi, dword [ebp - 0x26c]
mov edi, edi
add edi, 0xfffffff0
lea ecx, [ebx - 0x10]
cmp ecx, edi
je 0x4c20b2
cmp dword [edi + 0xc], 0
jl 0x4c209d
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4c209d
push ecx
call fcn.0043a9d0
add esp, 4
mov dword [ebp - 0x284], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c2092
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x284]
add eax, 0x10
mov dword [ebp - 0x264], eax
jmp 0x4c20ac
push dword [ebx - 0xc]
lea ecx, [ebp - 0x264]
push ebx
call fcn.0043b750
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x294]
jae 0x4c2145
mov ecx, dword [ebp - 0x298]
push dword [ecx + eax*4]
lea eax, [ebp - 0x264]
push esi
push str._s_d.xml
push eax
call fcn.0043cd30
mov edi, dword [ebp - 0x264]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x268]
inc eax
mov dword [ebp - 0x268], eax
cmp eax, dword [ebp - 0x280]
jl 0x4c2050
add edi, 0xfffffff0
lea esi, [ebx - 0x10]
cmp esi, edi
je 0x4c215e
cmp dword [edi + 0xc], 0
jl 0x4c214f
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x4c214f
push esi
call fcn.0043a9d0
add esp, 4
lea edx, [edi + 0xc]
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c213a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x264], eax
jmp 0x4c215e
push 0x80070057
call fcn.0043a9b0
push dword [ebx - 0xc]
lea ecx, [ebp - 0x264]
push ebx
call fcn.0043b750
push 0x513530
lea ecx, [ebp - 0x264]
call fcn.00481560
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x4c228d
lea ebx, [esi + 0xc]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx], 0
mov ecx, eax
jl 0x4c21b6
cmp ecx, dword [esi]
jne 0x4c21b6
mov ebx, esi
lea ecx, [esi + 0xc]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4c21f2
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x4c2386
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004d93d7
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
lea edx, [ecx + 2]
jmp 0x4c2210
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2210
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.00452320
mov esi, dword [ebp - 0x268]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c225d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x29c]
lea ebx, [esi + 0xc]
test eax, eax
jne 0x4c2194
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4c22a0
push eax
call fcn.004d92bb
add esp, 4
mov esi, dword [ebp - 0x26c]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c22c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x29c]
mov ecx, edi
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c22e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c2309
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c2326
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x274]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c2349
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4c236a
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.004d89fb
mov esp, ebp
pop ebp
ret
call fcn.0043b9d0
int3