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

Disassembly:
mov eax, dword [0x424474]
sub esp, 0x548
test eax, eax
mov eax, dword [esp + 0x550]
jne 0x407775
test eax, eax
je 0x4079c5
mov eax, dword [esp + 0x54c]
push eax
call fcn.00407c30
add esp, 4
add esp, 0x548
ret
test eax, eax
je 0x407790
mov eax, dword [esp + 0x54c]
push eax
call fcn.00407c30
add esp, 4
add esp, 0x548
ret
push ebx
push ebp
push esi
push edi
call fcn.00406090
mov ebp, eax
push str.logfile.txt
mov dword [esp + 0x14], ebp
mov ecx, dword [ebp]
push ecx
push ebp
call fcn.00405df0
mov edx, dword [ebp]
push str._queue_record
push edx
push ebp
call fcn.00405df0
mov eax, dword [ebp]
push str.auto_remove
push eax
push ebp
call fcn.00405df0
mov ecx, dword [ebp]
push str.stats.txt
push ecx
push ebp
call fcn.00405df0
mov edx, dword [ebp]
push str.myFilename
push edx
push ebp
call fcn.00405df0
mov ebx, dword [esp + 0x598]
lea eax, [esp + 0x194]
push eax
push ebx
call fcn.004079d0
add esp, 0x44
test eax, eax
je 0x40781b
mov edx, dword [ebp]
lea ecx, [esp + 0x158]
push ecx
push edx
push ebp
call fcn.00405df0
add esp, 0xc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x158]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x158]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42449c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4079b8
jmp 0x40789b
mov ebx, dword [esp + 0x55c]
lea edx, [esp + 0x44]
lea eax, [esp + 0x158]
push edx
push ebx
push str._s__s
push eax
call fcn.004143bf
add esp, 0x10
mov esi, 0x423714
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4078e7
test cl, cl
je 0x4078e3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4078e7
add eax, 2
add esi, 2
test cl, cl
jne 0x4078bf
xor eax, eax
jmp 0x4078ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407999
mov esi, 0x424490
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x407925
test cl, cl
je 0x407921
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407925
add eax, 2
add esi, 2
test cl, cl
jne 0x4078fd
xor eax, eax
jmp 0x40792a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407999
mov eax, dword [esp + 0x18]
and eax, 0x10
cmp al, 0x10
je 0x407999
mov edx, dword [ebp]
xor edi, edi
test edx, edx
jle 0x407985
mov ebp, dword [ebp + 4]
mov esi, dword [ebp]
lea eax, [esp + 0x44]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x407970
test cl, cl
je 0x40796c
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x407970
add eax, 2
add esi, 2
test cl, cl
jne 0x40794c
xor eax, eax
jmp 0x407975
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407995
inc edi
add ebp, 4
cmp edi, edx
jl 0x407945
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x407999
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407894
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call fcn.00405ae0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x548
ret