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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568d17
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5d6b80]
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 eax, dword [ecx + 0x14]
lea esi, [ecx + 0x14]
cmp dword [eax - 0xc], 0
je 0x49351e
push 0x5c
push eax
call fcn.00529034
add esp, 8
test eax, eax
jne 0x493352
or eax, 0xffffffff
jmp 0x493356
sub eax, dword [esi]
sar eax, 1
inc eax
mov ecx, esi
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0045b030
push dword [0x5d68f8]
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00480bb0
push str._ask_search.xml
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00480bb0
add esp, 0x18
push dword [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.APN_.xml
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00480bb0
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0045a580
mov edx, dword [ebp - 0x264]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x493406
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4934b4
call fcn.0045adc0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x49353a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push 0x57e340
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x264]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x493497
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x493424
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x26c]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4934d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4934fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x49351e
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.00525878
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0045a8f0
int3