Function at 0x401190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea ecx, [ebp - 0x30]
xor edi, edi
mov byte [ebp - 1], 0
call fcn.00401b20
lea ecx, [ebp - 0x40]
push 0xb
push ecx
lea ecx, [ebp - 0x30]
call fcn.00402090
cmp byte [eax + 7], 0xff
jne 0x4011c1
mov eax, dword [eax]
push str._deleternx
push eax
call dword [sym.imp.PNCRT.dll__stricmp]
add esp, 8
lea ecx, [ebp - 0x40]
test eax, eax
sete bl
call fcn.00401b10
test bl, bl
je 0x401204
lea edx, [ebp - 0x40]
push 0xb
push edx
lea ecx, [ebp - 0x30]
call fcn.00402000
push eax
lea ecx, [ebp - 0x30]
call fcn.00401bc0
lea ecx, [ebp - 0x40]
call fcn.00401b10
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x30]
call fcn.00401b90
cmp eax, 2
jb 0x401268
mov cl, byte [ebp - 0x29]
mov esi, dword [ebp - 0x30]
cmp cl, 0xff
lea eax, [ebp - 0x30]
jne 0x401221
mov eax, esi
cmp byte [eax], 0x22
jne 0x401268
cmp cl, 0xff
je 0x40122e
lea esi, [ebp - 0x30]
lea ecx, [ebp - 0x30]
call fcn.00401b90
cmp byte [eax + esi - 1], 0x22
jne 0x401268
lea ecx, [ebp - 0x30]
call fcn.00401b90
sub eax, 2
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push 1
push eax
call fcn.00402030
push eax
lea ecx, [ebp - 0x30]
call fcn.00401bc0
lea ecx, [ebp - 0x40]
call fcn.00401b10
call fcn.00403cc0
lea ecx, [ebp + 8]
mov dword [ebp + 8], edi
push ecx
mov dword [ebp - 8], edi
call fcn.00406000
add esp, 4
test eax, eax
jl 0x4012a4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push 0x4094d0
mov edx, dword [eax]
push eax
call dword [edx]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x4012a4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp + 8], edi
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp eax, edi
mov dword [ebp - 0x18], ecx
je 0x4012c4
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x409670
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 0x28], edi
je 0x4012df
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0x409700
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
je 0x401314
mov eax, dword [ecx]
push edi
push 2
push str.ComponentCLSID
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
push edi
push edi
push str.ComponentName
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x401311
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
cmp eax, edi
mov dword [ebp - 0x1c], edi
je 0x4013ed
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x409660
push eax
call dword [ecx]
cmp dword [ebp - 0x1c], edi
je 0x4013ed
push 0x18
call sub.PNCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x4013dd
mov ecx, eax
call fcn.004021e0
mov esi, eax
cmp esi, edi
je 0x4013dd
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 5
call fcn.00401180
mov ecx, eax
call fcn.004038f0
push eax
lea ecx, [ebp - 0x24]
call fcn.00401b20
lea ecx, [ebp - 0x24]
call fcn.00401b90
dec eax
lea ecx, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402090
push eax
lea ecx, [ebp - 0x24]
call fcn.00401bc0
lea ecx, [ebp - 0x40]
call fcn.00401b10
mov al, byte [ebp - 0x1d]
lea ebx, [ebp - 0x24]
cmp al, 0xff
jne 0x4013aa
mov ebx, dword [ebp - 0x24]
mov edi, dword [esi]
lea ecx, [ebp - 0x24]
call fcn.00401b90
inc eax
push eax
push ebx
push esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x1c]
xor edi, edi
push esi
push edi
mov edx, dword [eax]
push 6
push str.Update
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x24]
call fcn.00401b10
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x4013ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x38]
call fcn.004019e0
push edi
call fcn.004026c0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x401494
mov al, byte [ebp - 0x29]
cmp al, 0xff
lea eax, [ebp - 0x30]
jne 0x401415
mov eax, dword [ebp - 0x30]
mov edx, dword [esi]
push edi
push edi
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jne 0x40148c
mov eax, dword [esi]
push 2
push 0
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
mov ebx, eax
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x24]
lea ecx, [ebx + 1]
push ecx
call sub.PNCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x401481
mov edx, dword [esi]
push ebx
push edi
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
push edi
lea ecx, [ebp - 0x38]
mov byte [edi + ebx], 0
call fcn.00401c30
lea ecx, [ebp - 0x38]
call fcn.00402120
lea ecx, [ebp - 0x38]
call fcn.004021c0
push edi
call sub.PNCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ax, word [ebp - 0x32]
cmp ah, 0xff
je 0x4014cf
xor ecx, ecx
cmp ah, 7
sete cl
mov eax, ecx
cmp eax, edi
je 0x4014de
mov al, byte [ebp - 1]
test al, al
je 0x401982
mov al, byte [ebp - 0x29]
cmp al, 0xff
lea eax, [ebp - 0x30]
jne 0x4014c3
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401982
mov ecx, dword [ebp - 0x34]
test cl, cl
jne 0x4014de
test ch, ch
jne 0x4014de
test al, al
je 0x4014ab
lea ecx, [ebp - 0x38]
xor esi, esi
call fcn.00401b90
mov edx, eax
mov edi, str._rn_customize_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
and ecx, 0xffff
cmp edx, ecx
jb 0x40165f
mov edi, str._rn_customize_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402090
cmp byte [eax + 7], 0xff
jne 0x401529
mov eax, dword [eax]
push str._rn_customize_
push eax
call dword [sym.imp.PNCRT.dll__stricmp]
add esp, 8
lea ecx, [ebp - 0x40]
test eax, eax
sete bl
call fcn.00401b10
test bl, bl
je 0x40165f
push str.id_msg_
lea ecx, [ebp - 0x38]
call fcn.004020c0
cmp eax, 0xffffffff
je 0x40165f
mov eax, dword [ebp - 8]
xor esi, esi
cmp eax, esi
je 0x40157b
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x4095a0
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x40165a
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4095a0
push eax
call dword [ecx]
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x4015a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 8], esi
cmp dword [ebp - 0x20], esi
je 0x40165a
lea ecx, [ebp - 0x40]
call fcn.004019e0
push esi
lea edx, [ebp - 0x14]
push 7
push edx
push 0x33
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 0x32
call fcn.00401f10
push eax
push str.rnmsg
push str.rnms
call fcn.004041a0
add esp, 0x18
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
call fcn.00401f50
push 5
call fcn.00401180
mov ecx, eax
call fcn.004038f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b20
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push eax
call fcn.00401ec0
mov al, byte [ebp - 0x29]
lea edx, [ebp - 0x30]
cmp al, 0xff
jne 0x40161d
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 9]
lea ecx, [ebp - 0x10]
cmp al, 0xff
jne 0x40162a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
push edx
push esi
push ecx
mov edi, dword [eax]
push esi
push esi
push str.RNMsgPersonFile
push eax
call dword [edi + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00401b10
lea ecx, [ebp - 0x40]
call fcn.00401b10
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x40165a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 1
lea ecx, [ebp - 0x38]
call fcn.00401b90
mov edx, eax
mov edi, str._rnSchedule
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
and ecx, 0xffff
cmp edx, ecx
jb 0x4017cc
mov edi, str._rnSchedule
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402090
cmp byte [eax + 7], 0xff
jne 0x4016a8
mov eax, dword [eax]
push str._rnSchedule
push eax
call dword [sym.imp.PNCRT.dll__stricmp]
add esp, 8
lea ecx, [ebp - 0x40]
test eax, eax
sete bl
call fcn.00401b10
test bl, bl
je 0x4017cc
mov eax, dword [ebp - 8]
xor esi, esi
cmp eax, esi
je 0x4016e4
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x4095a0
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x401945
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4095a0
push eax
call dword [ecx]
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x401710
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 8], esi
cmp dword [ebp - 0x20], esi
je 0x401945
lea ecx, [ebp - 0x40]
call fcn.004019e0
push esi
lea edx, [ebp - 0x14]
push 1
push edx
push 0x33
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 0x32
call fcn.00401f10
push eax
push str.sonscheduler
push str.sons
call fcn.004041a0
add esp, 0x18
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
call fcn.00401f50
push 7
call fcn.00401180
mov ecx, eax
call fcn.004038f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b20
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push eax
call fcn.00401ec0
mov al, byte [ebp - 0x29]
lea edx, [ebp - 0x30]
cmp al, 0xff
jne 0x401786
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 9]
lea ecx, [ebp - 0x10]
cmp al, 0xff
jne 0x401793
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
push edx
push esi
push ecx
mov edi, dword [eax]
push esi
push esi
push str.RNSchedule
push eax
call dword [edi + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00401b10
lea ecx, [ebp - 0x40]
call fcn.00401b10
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x401945
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401945
xor edi, edi
cmp esi, edi
je 0x4017e8
push str.id_player_
lea ecx, [ebp - 0x38]
call fcn.004020c0
cmp eax, 0xffffffff
je 0x40194a
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
cmp eax, edi
je 0x401801
mov edx, dword [eax]
lea ecx, [ebp + 8]
push ecx
push 0x409780
push eax
call dword [edx + 0xc]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x401826
mov edx, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
push 0x409720
push eax
call dword [edx]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x401826
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp + 8], edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x401945
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
xor esi, esi
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
test ax, ax
jbe 0x4018de
mov ebx, dword [sym.imp.PNCRT.dll__stricmp]
mov eax, dword [ebp - 0xc]
push str.RealPlayer
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4018cb
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push ecx
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x4018b8
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x40189a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x409b20
push eax
call dword [ecx]
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x4018b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x14], edi
je 0x4018cb
mov eax, dword [ebp - 0xc]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
jne 0x4018de
mov eax, dword [ebp - 0xc]
inc esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
cmp si, ax
jb 0x401856
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x401938
mov cl, byte [ebp - 1]
test cl, cl
je 0x401915
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x40]
push edx
push str._deleternx
push eax
call fcn.00401ce0
add esp, 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.00401bc0
lea ecx, [ebp - 0x40]
call fcn.00401b10
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0x29]
cmp cl, 0xff
lea ecx, [ebp - 0x30]
jne 0x401923
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x401938
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x401945
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, 1
mov al, byte [ebp - 1]
test al, al
je 0x401969
test esi, esi
jne 0x401969
mov al, byte [ebp - 0x29]
cmp al, 0xff
lea eax, [ebp - 0x30]
jne 0x401962
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 8]
test eax, eax
je 0x40197d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], 0
call fcn.00406020
lea ecx, [ebp - 0x38]
call fcn.00401b10
lea ecx, [ebp - 0x30]
call fcn.00401b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4