Function at 0x403b40
Capabilities:
Delete file

Disassembly:
sub esp, 0x420
mov eax, dword [0x4170a4]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push edi
push 0x208
xor ebx, ebx
lea eax, [esp + 0x21c]
push ebx
push eax
call fcn.00409080
add esp, 0xc
call fcn.00404a40
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
imul edx, edx, 0x34
lea ecx, [ecx + ecx*8]
mov ecx, dword [ecx*4 + 0x4180d8]
add ecx, edx
mov edx, dword [ecx + 0x20]
cmp edx, 0xffffffff
je 0x403bdd
cmp dword [ecx + 0x24], eax
jg 0x403b9a
cmp edx, eax
jge 0x403bdd
cmp dword [esi + 0x28], ebx
je 0x403bab
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x24]
call eax
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
imul edx, edx, 0x34
lea ecx, [eax + eax*8]
mov eax, dword [ecx*4 + 0x4180d8]
mov byte [eax + edx + 0x30], 1
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00406670
add esp, 0x420
ret
cmp byte [0x419678], bl
jne 0x403c10
mov ecx, dword [0x41912c]
push ebx
push 0x405850
push ebx
push 0xae
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
cmp eax, ebx
mov dword [0x419670], eax
je 0x403c10
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x20]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x24]
mov ecx, dword [edx*4 + 0x4180d8]
imul eax, eax, 0x34
mov edx, dword [eax + ecx + 0x18]
add eax, ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x224]
call fcn.00404cb0
xor ecx, ecx
add esp, 0xc
test eax, eax
setge cl
sub ecx, 1
and ecx, 0x80004005
mov dword [esp + 0xc], ecx
jl 0x403e11
mov eax, dword [esi + 0x20]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x24]
mov ecx, dword [edx*4 + 0x4180d8]
imul eax, eax, 0x34
cmp dword [ecx + eax + 0x18], 0x90
jne 0x403c7f
mov byte [0x41943d], 1
cmp byte [0x419678], bl
jne 0x403c97
mov eax, dword [0x419670]
cmp eax, ebx
je 0x403c97
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
imul edx, edx, 0x34
lea eax, [eax + eax*8]
add eax, eax
mov ecx, dword [eax + eax + 0x4180d8]
add eax, eax
add ecx, edx
cmp byte [ecx + 0x29], bl
je 0x403e11
cmp byte [ecx + 0x2a], bl
jne 0x403cd5
mov ebx, dword [eax + 0x4180ec]
lea edi, [esp + 0x218]
call fcn.00404ef0
jmp 0x403e11
cmp byte [0x419678], bl
je 0x403da0
mov edx, dword [eax + 0x4180d0]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push edx
push str.SafetyAddon
call ebp
test eax, eax
jne 0x403d49
push 0x206
lea eax, [esp + 0x16]
push ebx
push eax
mov word [esp + 0x1c], bx
call fcn.00409080
mov ecx, dword [0x419460]
add esp, 0xc
push ecx
push str._quite__i___d
mov eax, 0x104
lea edi, [esp + 0x18]
call fcn.00401e10
mov eax, dword [esi + 0x20]
lea edx, [eax + eax*8]
mov ebx, dword [edx*4 + 0x4180ec]
add esp, 8
lea ecx, [esp + 0x218]
call fcn.00404db0
xor ebx, ebx
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*8]
mov ecx, dword [eax*4 + 0x4180d0]
push ecx
push str.Messenger
call ebp
test eax, eax
jne 0x403e11
push 0x206
lea edx, [esp + 0x16]
push ebx
push edx
mov word [esp + 0x1c], bx
call fcn.00409080
add esp, 0xc
push str._messengeronly___q
mov edx, 0x104
lea edi, [esp + 0x14]
call fcn.00401d20
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*8]
mov ebx, dword [eax*4 + 0x4180ec]
jmp 0x403e05
mov ecx, dword [eax + 0x4180d0]
push ecx
push str.SafetyAddon
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x403de3
push 0x206
lea edx, [esp + 0x16]
push ebx
push edx
mov word [esp + 0x1c], bx
call fcn.00409080
mov eax, dword [0x41967c]
add esp, 0xc
sub eax, ebx
je 0x403de3
sub eax, 1
jne 0x403e11
push str._360__i
jmp 0x403d83
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
lea eax, [eax + eax*8]
add eax, eax
mov edx, dword [eax + eax + 0x4180d8]
mov ebx, dword [eax + eax + 0x4180ec]
add eax, eax
imul ecx, ecx, 0x34
mov edi, dword [edx + ecx + 0x2c]
lea ecx, [esp + 0x218]
call fcn.00404db0
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
imul ecx, ecx, 0x34
lea edx, [eax + eax*8]
mov eax, dword [edx*4 + 0x4180d8]
mov al, byte [eax + ecx + 0x28]
mov ecx, dword [esp + 0x424]
neg al
pop edi
pop ebp
pop ebx
sbb eax, eax
and eax, dword [esp]
xor ecx, esp
call fcn.00406670
add esp, 0x420
ret