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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e38d1
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x66c0e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], eax
call fcn.004b5c24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47b878
push 0x80004005
call fcn.004047e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0
call fcn.004b5c24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47b8ab
push 0x80004005
call fcn.004047e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x160], esi
lea ecx, [ebp - 0x158]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x15c], 0
call fcn.0047b630
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.00406510
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47b90f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x154]
cmp dword [ecx - 0xc], 0
je 0x47ba92
push str..
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0040c560
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47b96e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x47ba92
jmp 0x47b980
cmp byte [ebp - 0x124], 0
je 0x47ba75
mov ecx, 0x5f99e0
lea eax, [ebp - 0x124]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b9b8
test dl, dl
je 0x47b9b4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b9b8
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b998
xor eax, eax
jmp 0x47b9bd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47ba75
mov ecx, 0x5f99dc
lea eax, [ebp - 0x124]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b9f0
test dl, dl
je 0x47b9ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b9f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b9d0
xor eax, eax
jmp 0x47b9f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47ba75
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x124]
push ecx
push edx
lea eax, [ebp - 0x160]
push str._s_s
push eax
call fcn.004065c0
mov esi, dword [ebp - 0x160]
add esp, 0x10
cmp dword [esi - 0xc], 0
jl 0x47ba40
push str.cnvlog.txt
push esi
call fcn.005be869
add esp, 8
test eax, eax
je 0x47ba40
sub eax, esi
cmp eax, 0xffffffff
jg 0x47ba6f
mov ecx, dword [ebp - 0x164]
push esi
call fcn.0047ae00
test eax, eax
jne 0x47ba6f
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x47ba66
lea edx, [ebp - 0x124]
push edx
call fcn.00423550
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x47ba75
inc dword [ebp - 0x15c]
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47b980
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bab2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x154]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47badb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bb30e
mov esp, ebp
pop ebp
ret 4