Function at 0x442ee0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de9fc
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x66c0e0]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0xa
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], edi
call fcn.004c3ccb
xor ebx, ebx
push ebx
lea eax, [ebp - 0x74]
push edi
push eax
mov dword [ebp - 4], ebx
call fcn.00442800
add esp, 0xc
test eax, eax
je 0x4434cb
cmp dword [ebp - 0x68], 2
jge 0x442f58
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004c3df9
xor eax, eax
jmp 0x4434dd
mov ecx, edi
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442f80
test dl, dl
je 0x442f7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442f80
add eax, 2
add ecx, 2
test dl, dl
jne 0x442f60
xor eax, eax
jmp 0x442f85
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x442fa2
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004c3df9
mov eax, 0xfffffffe
jmp 0x4434dd
lea ecx, [ebp - 0x58]
call fcn.004cae19
push ebx
xor eax, eax
push 0x8020
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.004cb408
test eax, eax
je 0x4434bf
push 0x10
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004caaa5
lea ecx, [ebp - 0x58]
call fcn.004cadb4
push ebx
push 0x9001
push esi
lea ecx, [ebp - 0x58]
call fcn.004cb408
lea ecx, [ebp - 0x58]
test eax, eax
jne 0x443020
mov byte [ebp - 4], al
call fcn.004cb00b
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004c3df9
mov eax, 0xfffffffd
jmp 0x4434dd
push 0x10
lea edx, [ebp - 0x20]
push edx
call fcn.004caae7
push 0xa
lea ecx, [ebp - 0xb0]
call fcn.004c3ccb
push 0xa
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.004c3ccb
push 0xa
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004c3ccb
lea ecx, [ebp - 0x2c]
call fcn.00406050
lea ecx, [ebp - 0x34]
call fcn.00406050
lea ecx, [ebp - 0x28]
call fcn.00406050
mov dword [ebp - 0x94], vtable.CMap_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____char_const___struct__tagProgramData__struct__tagProgramData__.0
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0x11
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0xa
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xb0]
push ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], ebx
call fcn.004423c0
add esp, 8
cmp dword [ebp - 0xa4], 0
jle 0x443241
lea ecx, [ebp - 0xcc]
call fcn.004c3db3
push ebx
lea ecx, [ebp - 0xb0]
xor edi, edi
call fcn.00569307
mov esi, eax
test esi, esi
je 0x443108
mov eax, esi
test esi, esi
je 0x44331f
mov esi, dword [esi]
add eax, 8
push eax
lea ecx, [ebp - 0xcc]
call fcn.004c3f16
inc edi
test esi, esi
jne 0x4430e8
lea ecx, [ebp - 0x2c]
cmp edi, 1
jle 0x443144
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 8]
push str..lpm
push ecx
push eax
call fcn.0041f320
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
push edx
call fcn.004424c0
add esp, 0x1c
mov edi, eax
jmp 0x443149
call fcn.00405ef0
test edi, edi
jle 0x443241
lea ecx, [ebp - 0x34]
cmp edi, 1
jle 0x44317c
lea eax, [ebp - 0x2c]
push eax
call fcn.00406510
push edi
push ebx
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.00442370
add esp, 0x10
jmp 0x4431a3
mov eax, dword [ebp - 0xc8]
add eax, 8
push eax
call fcn.00406510
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4431a3
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x34]
xor eax, eax
push edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], al
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
lea esp, [esp]
test esi, esi
je 0x443230
mov eax, esi
mov esi, dword [esi]
add eax, 8
push eax
lea ecx, [ebp - 0x28]
call fcn.00406510
mov ecx, dword [ebp - 0x28]
cmp edi, 1
setle bl
push ecx
dec bl
and bl, byte [ebp - 0x24]
lea ecx, [ebp - 0x94]
call fcn.00442be0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov byte [eax + 0xc], bl
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, edi
jl 0x4431e0
add ebx, edi
mov dword [ebp - 0x30], ebx
cmp ebx, dword [ebp - 0xa4]
jl 0x4430c9
cmp dword [ebp - 0xa4], ebx
jne 0x443354
cmp dword [ebp - 0x68], 0
mov dword [ebp - 0x24], 0
jle 0x443344
mov edi, edi
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x74]
call fcn.00569307
test eax, eax
je 0x44331f
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00405fe0
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xd0]
push edx
push esi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 9
call fcn.00442450
test eax, eax
je 0x443324
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov al, byte [eax + 0x10]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x14], al
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
push 0x10
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
call fcn.004caae7
lea eax, [esi - 0x10]
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4432ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x68]
jl 0x443260
mov ecx, dword [ebp - 0x24]
xor eax, eax
cmp dword [ebp - 0x68], ecx
sete al
mov dword [ebp - 0x30], eax
jmp 0x44335b
call fcn.004a815b
add esi, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443344
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [ebp - 0x24]
xor eax, eax
cmp dword [ebp - 0x68], ecx
sete al
mov dword [ebp - 0x30], eax
jmp 0x44335b
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x58]
call fcn.004cadb4
test byte [ebp + 0x10], 1
je 0x4433f0
mov edi, dword [ebp - 0xec]
test edi, edi
je 0x4433e6
mov eax, edi
test edi, edi
je 0x44331f
mov ecx, dword [eax + 8]
mov esi, dword [ebp - 0x28]
mov edi, dword [edi]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4433d8
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4433cb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4433cb
push eax
call fcn.00405fe0
mov dword [ebp - 0x24], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4433c0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov dword [ebp - 0x28], ecx
jmp 0x4433d8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406350
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
jne 0x443377
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 7
mov dword [ebp - 0x94], vtable.CMap_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____char_const___struct__tagProgramData__struct__tagProgramData__.0
call fcn.00442a50
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44342c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44344f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004c3df9
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.004c3df9
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004c3df9
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004cb00b
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004c3df9
mov eax, dword [ebp - 0x30]
jmp 0x4434dd
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004cb00b
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004c3df9
or eax, 0xffffffff
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.005bb30e
mov esp, ebp
pop ebp
ret