Function at 0x4737e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x49f008]
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 ebx, ecx
mov dword [ebp - 0x34], ebx
mov ecx, 0x4a1b28
call fcn.0046e6c0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x473e26
xor esi, esi
mov ecx, edi
push 0x4a0cc0
mov dword [ebp - 0x38], esi
call fcn.0046efb0
cmp dword [0x4a1b24], esi
jle 0x473856
push 0x4a1b20
push 0x4a0cd8
call fcn.0046e740
mov esi, eax
mov dword [ebp - 0x38], esi
jmp 0x47386f
cmp dword [ebx], esi
je 0x473879
cmp dword [ebx + 4], esi
jbe 0x473879
push ebx
push 0x4a0cd8
call fcn.0046e740
mov esi, eax
mov dword [ebp - 0x38], eax
add esp, 8
test esi, esi
je 0x473885
push esi
jmp 0x47387e
push 0x4a0ce8
mov ecx, edi
call fcn.0046efb0
test byte [0x4a1b0c], 2
je 0x473974
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x20]
push eax
call esi
movzx ebx, word [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
call esi
movzx edi, word [ebp - 0x1e]
lea eax, [ebp - 0x20]
push eax
call esi
movzx esi, word [ebp - 0x1a]
push 0x1e
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0xe
call fcn.004759ee
mov ecx, dword [ebp - 0x28]
add esp, 4
inc ecx
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
push str.___4d__2d__2d_
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0047b6a2
mov ecx, dword [ebp - 0x28]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x28], ecx
push esi
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edx
push ebx
push eax
call fcn.0046e740
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
je 0x473932
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x4c]
mov ecx, edi
push esi
mov dword [ebp - 0x28], 0
call fcn.0046efb0
test esi, esi
je 0x473971
mov eax, dword [esi]
test eax, eax
je 0x47395f
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.004759e0
add esp, 8
mov ebx, dword [ebp - 0x34]
push 0xa
mov dword [ebp - 0x30], 0
mov esi, 4
call fcn.004759ee
add esp, 4
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
push 0x49b968
push 5
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0047b6a2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0046efb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4739d8
push 2
push eax
call fcn.004759e0
add esp, 8
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4739ec
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 8], 0
mov dl, 1
mov ecx, edi
call fcn.00474950
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x473dfd
push eax
lea ecx, [ebp - 0x18]
call fcn.0046e320
mov dword [ebp - 4], 2
mov esi, 5
push 0xc
mov dword [ebp - 0x30], 0
call fcn.004759ee
add esp, 4
mov edi, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push 0xffffffffffffffff
push str..log
push 6
push edi
push eax
call fcn.0047b6a2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call fcn.0046efb0
mov byte [ebp - 4], 2
test edi, edi
je 0x473a71
push 2
push edi
call fcn.004759e0
add esp, 8
push ecx
lea edx, [ebp - 0x18]
mov ecx, 0x4a1b28
call fcn.004725b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x473bb7
mov ecx, dword [ebx + 4]
cmp ecx, 0xb
jbe 0x473bb7
test ecx, ecx
je 0x473ab1
push 0x4748a0
push 4
push ecx
push dword [ebx]
call fcn.00479350
mov ecx, dword [ebx + 4]
add esp, 0x10
xor edx, edx
lea eax, [ecx - 0xb]
mov dword [ebp - 0x34], edx
test eax, eax
je 0x473bb7
xor esi, esi
cmp edx, ecx
jae 0x473ad0
mov eax, dword [ebx]
test eax, eax
je 0x473ad0
mov esi, dword [eax + edx*4]
test esi, esi
je 0x473ba8
push 0x4a1b28
lea ecx, [ebp - 0x48]
call fcn.0046e320
push 0x4a0cc0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0046efb0
push esi
lea ecx, [ebp - 0x48]
call fcn.0046efb0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046e320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0046f400
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.004759e0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp edi, 0xffffffff
setne byte [ebp - 0x21]
test eax, eax
je 0x473b51
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [ebp - 0x2c], 0
cmp byte [ebp - 0x21], 0
mov dword [ebp - 0x28], 0
je 0x473b7e
lea ecx, [ebp - 0x48]
call fcn.0046f400
mov esi, eax
test esi, esi
je 0x473b7e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push esi
call fcn.004759e0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x473b9b
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [ebp - 0x48], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x44], 0
inc edx
lea eax, [ecx - 0xb]
mov dword [ebp - 0x34], edx
cmp edx, eax
jb 0x473ac1
mov eax, dword [ebx + 4]
xor edi, edi
test eax, eax
je 0x473c02
cmp edi, eax
jae 0x473bfa
mov esi, dword [ebx]
test esi, esi
je 0x473bfa
mov esi, dword [esi + edi*4]
test esi, esi
je 0x473bfa
mov eax, dword [esi]
test eax, eax
je 0x473be8
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.004759e0
add esp, 8
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jb 0x473bc4
mov eax, dword [ebx]
test eax, eax
je 0x473c19
push 4
push eax
call fcn.004759e0
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.004759e0
mov esi, dword [0x4a1b2c]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x3c], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004759ee
mov edx, eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x40], edx
xor ecx, ecx
mov word [edx + esi*2], ax
test esi, esi
je 0x473c7e
nop
cmp ecx, dword [0x4a1b2c]
jb 0x473c6c
xor eax, eax
jmp 0x473c75
mov eax, dword [0x4a1b28]
movzx eax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x473c60
push 0x4a0cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0046efb0
mov ebx, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.0046efb0
push 0xa
mov dword [ebp - 0x30], 0
mov esi, 4
call fcn.004759ee
add esp, 4
mov edi, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push 0xffffffffffffffff
push 0x49b968
push 5
push edi
push eax
call fcn.0047b6a2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.0046efb0
mov byte [ebp - 4], 6
test edi, edi
je 0x473cf9
push 2
push edi
call fcn.004759e0
add esp, 8
mov esi, dword [ebp - 0x3c]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x28], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004759ee
xor ecx, ecx
mov dword [ebp - 0x2c], eax
add esp, 4
xor edx, edx
mov word [eax + esi*2], cx
test esi, esi
je 0x473d48
mov edi, dword [ebp - 0x40]
mov ecx, eax
sub edi, eax
cmp edx, esi
jb 0x473d39
xor eax, eax
jmp 0x473d3d
movzx eax, word [edi + ecx]
mov word [ecx], ax
inc edx
add ecx, 2
cmp edx, esi
jb 0x473d39
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0046f400
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.004759e0
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp edi, 0xffffffff
setne byte [ebp - 0x21]
test eax, eax
je 0x473d87
push 2
push eax
call fcn.004759e0
add esp, 8
cmp byte [ebp - 0x21], 0
je 0x473dad
lea ecx, [ebp - 0x40]
call fcn.0046f400
mov esi, eax
test esi, esi
je 0x473dad
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push esi
call fcn.004759e0
add esp, 8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x473dbf
push 2
push eax
call fcn.004759e0
add esp, 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x473dd1
push 2
push eax
call fcn.004759e0
add esp, 8
mov eax, dword [ebx]
test eax, eax
je 0x473de8
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.004759e0
mov edi, dword [ebp - 0x4c]
add esp, 8
mov eax, dword [edi]
test eax, eax
je 0x473e14
push 2
push eax
call fcn.004759e0
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.004759e0
add esp, 8
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.0047540c
mov esp, ebp
pop ebp
ret