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

Disassembly:
push 0x48
mov eax, 0x10186b81
call fcn.10145d80
mov dword [ebp - 0x28], ecx
xor esi, esi
push str.bdbar
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.10058786
push 0x101aa380
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], esi
call fcn.10147b95
add esp, 0xc
test eax, eax
jne 0x10090250
push str.__xml_version_1.0__encoding_utf_8_____n_t_toolbar__n_t__toolbar_
push dword [ebp - 0x38]
call fcn.10149b21
push dword [ebp - 0x38]
call fcn.101475da
add esp, 0xc
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10126d24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x100906a1
cmp eax, esi
jl 0x100906a1
mov dword [ebp - 0x14], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push ecx
mov byte [ebp - 4], 3
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x1009068a
cmp eax, esi
jl 0x1009068a
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x20]
push eax
push str.custombuttons
push ecx
mov byte [ebp - 4], 4
call fcn.10126e98
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp ecx, esi
je 0x10090673
cmp eax, esi
jl 0x10090673
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.1008ec13
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
push 0x101aa468
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10126e98
mov ecx, dword [ebp - 0x24]
add esp, 0xc
cmp ecx, esi
je 0x1009065c
cmp eax, esi
jl 0x1009065c
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
push str.subkey
push ecx
mov byte [ebp - 4], 6
call fcn.10126e98
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
cmp ecx, esi
je 0x10090645
cmp eax, esi
jl 0x10090645
and word [ebp - 0x54], 0
push str.user
lea ecx, [ebp - 0x54]
call fcn.10014b08
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101a34dc
push eax
mov byte [ebp - 4], 7
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xb4]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call ebx
push 0x1019f188
lea ecx, [ebp - 0x40]
call fcn.10007b11
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.1008ffc1
lea ecx, [ebp - 0x40]
call fcn.10003b75
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push str.userConfig
push dword [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.10126e98
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
test ecx, ecx
je 0x1009062e
xor esi, esi
cmp eax, esi
jl 0x1009062e
mov eax, dword [0x101f3028]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xa
call fcn.1011de11
mov dword [esp], str.configuser.xml
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xb
call fcn.10007b6e
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.10007845
lea ecx, [ebp - 0x40]
call fcn.10003b75
lea ecx, [ebp - 0x44]
call fcn.10003b75
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10090495
lea ecx, [ebp - 0x28]
call fcn.10003b75
mov eax, dword [ebp - 0x2c]
cmp eax, esi
mov byte [ebp - 4], 6
je 0x10090437
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov byte [ebp - 4], 5
je 0x10090448
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, esi
mov byte [ebp - 4], 4
je 0x10090459
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, esi
mov byte [ebp - 4], 3
je 0x1009046a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x1009047b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x100906af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100906af
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.10126d24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, esi
je 0x10090617
cmp eax, esi
jl 0x10090617
mov dword [ebp - 0x34], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
push str.IToolbar
push ecx
mov byte [ebp - 4], 0xe
call dword [eax + 0x94]
mov ecx, dword [ebp - 0x34]
cmp ecx, esi
je 0x10090600
cmp eax, esi
jl 0x10090600
push ecx
lea ecx, [ebp - 0x3c]
call fcn.10056fc1
cmp dword [ebp - 0x3c], esi
mov byte [ebp - 4], 0xf
jne 0x10090526
mov eax, dword [ebp - 0x34]
cmp eax, esi
mov byte [ebp - 4], 0xd
je 0x1009050c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, esi
mov byte [ebp - 4], 0xa
je 0x1009041e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1009041e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x3c]
push eax
call dword [ecx + 0x54]
push dword [ebp + 8]
and word [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
call fcn.10014b08
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0x10
movsd dword es:[edi], dword [esi]
call dword [ecx + pe_nt_image_headers32]
lea eax, [ebp - 0x54]
push eax
call ebx
mov eax, dword [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 0xe
je 0x10090577
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 0xd
je 0x10090588
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
test eax, eax
mov byte [ebp - 4], 0xa
je 0x10090599
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
call fcn.10003b75
mov eax, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 6
je 0x100905b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 5
je 0x100905c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 4
je 0x100905d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 3
je 0x100905e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 2
je 0x100905f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
jmp 0x10090480
cmp ecx, esi
mov byte [ebp - 4], 0xd
je 0x1009050c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1009050c
cmp ecx, esi
mov byte [ebp - 4], 0xa
je 0x1009041e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1009041e
test ecx, ecx
mov byte [ebp - 4], 6
je 0x100905b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x100905b2
cmp ecx, esi
mov byte [ebp - 4], 5
je 0x10090448
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10090448
cmp ecx, esi
mov byte [ebp - 4], 4
je 0x10090459
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10090459
cmp ecx, esi
mov byte [ebp - 4], 3
je 0x1009046a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1009046a
cmp ecx, esi
mov byte [ebp - 4], 2
je 0x1009047b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1009047b
cmp ecx, esi
mov byte [ebp - 4], 1
je 0x100906af
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp + 8]
call fcn.10003b75
call fcn.10145e58
ret 4