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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7b58
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x608554]
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 esi, ecx
push ecx
push str.CBaseInfoAddIn::DeleteAddInFiles
lea ecx, [ebp - 0x4f0]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d3418
test byte [ecx + 0x1c], 1
je 0x4d3418
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d8b50
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x81
call fcn.00401840
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x50c], edi
mov dword [ebp - 0x508], edi
mov dword [ebp - 0x504], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4f4], edi
call fcn.004b8ba0
mov dword [ebp - 0x4f8], eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ecx
push edi
call fcn.004f2130
mov ebx, eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x4fc], ebx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test ebx, ebx
jne 0x4d3495
lea eax, [ebp - 0x4f8]
mov ecx, esi
push eax
call fcn.004cdf20
lea ecx, [ebp - 0x500]
call fcn.00475e00
test ebx, ebx
jne 0x4d3815
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x508], ebx
mov esi, dword [eax]
cmp esi, eax
je 0x4d3704
nop
xor eax, eax
mov dword [ebp - 0x490], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
movq qword [ebp - 0x470], xmm0
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4a4], 7
mov word [ebp - 0x4b8], ax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edi, [esi + 0x28]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4a0]
cmp eax, edi
je 0x4d356e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4d355f
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x4a0]
push eax
call fcn.004035d0
lea eax, [edi + 0x18]
lea ecx, [ebp - 0x488]
cmp ecx, eax
je 0x4d3594
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4d3585
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x488]
call fcn.004035d0
mov eax, dword [edi + 0x34]
mov ebx, dword [edi + 0x30]
add edi, 0x38
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x470], ebx
cmp eax, edi
je 0x4d35d2
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4d35bd
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x468]
push eax
call fcn.004035d0
mov ebx, dword [ebp - 0x470]
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
push dword [ebp - 0x458]
cmovae eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x438]
push eax
call fcn.004035d0
cmp ebx, 1
jne 0x4d3626
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x50c]
push 0x2c
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
lea ecx, [ebp - 0x500]
call fcn.004771e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4d366a
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d3660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d38e8
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.00403570
lea ecx, [ebp - 0x488]
call fcn.00403570
lea ecx, [ebp - 0x4a0]
call fcn.00403570
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4d36d4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4d36d0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x4d36d0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4d36c0
mov esi, eax
jmp 0x4d36ec
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4d36ec
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4d36e0
cmp esi, dword [ebp - 0x4f8]
jne 0x4d34c0
mov ebx, dword [ebp - 0x508]
mov edi, dword [ebp - 0x50c]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
xor eax, eax
mov dword [ebp - 0x440], 0
add esp, 0xc
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov byte [ebp - 4], 7
cmp edi, ebx
je 0x4d37cb
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax]
lea eax, [ebp - 0x450]
cmp eax, edi
je 0x4d3773
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4d3764
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x450]
push eax
call fcn.004035d0
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x5c70f4
push 0xffffffffffffffff
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00437f50
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d37c4
lea eax, [ebp - 0x420]
push eax
call esi
add edi, 0x18
cmp edi, ebx
jne 0x4d3750
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x4d380f
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d3805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d38e8
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov ebx, dword [ebp - 0x4fc]
mov byte [ebp - 0x4ec], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4d385d
test byte [ecx + 0x1c], 1
je 0x4d385d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x82
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x500]
call fcn.00475ed0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4f8]
mov esi, dword [ebp - 0x4f8]
push dword [esi + 4]
call fcn.004b8bc0
mov eax, dword [ebp - 0x4f8]
push 0x78
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x4f8]
mov dword [eax], esi
mov eax, dword [ebp - 0x4f8]
mov dword [eax + 8], esi
push dword [ebp - 0x4f8]
mov dword [ebp - 0x4f4], 0
call fcn.0056deb6
add esp, 8
lea ecx, [ebp - 0x50c]
call fcn.00409b00
lea ecx, [ebp - 0x4f0]
call fcn.0040a570
mov eax, ebx
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.0056d977
mov esp, ebp
pop ebp
ret
call fcn.00574908
int3