Function at 0x4a6730
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x874
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax]
push edi
mov ecx, ebx
call edx
test al, al
je 0x4a6762
mov eax, dword [ebp + 8]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
push 0
push 0x6eee68
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
push 1
push 0x6bc0cc
mov ecx, ebx
call edx
fldz
fstp qword [esp + 0x48]
push 0
fld qword [0x723578]
push str.Initializing_run_on_demand...
lea ecx, [esp + 0x48]
fstp qword [esp + 0x58]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], 0x6dbc50
call dword [0x6dbc70]
test esi, esi
je 0x4a67e3
cmp word [esi], 0
je 0x4a67e3
push esi
push str._s...
mov esi, 0x104
lea edi, [esp + 0x680]
call fcn.004af0d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
add esp, 8
push 1
mov ecx, edi
push ecx
mov ecx, ebx
call edx
jmp 0x4a67f6
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
push 1
push eax
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x48]
call eax
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test al, al
jne 0x4a6750
call fcn.00542560
test al, al
jne 0x4a6823
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea esi, [esp + 0x268]
call fcn.00401df0
mov ecx, dword [ebp + 0x10]
push str..exe
push ecx
lea edx, [esp + 0x68]
push edx
mov eax, esi
call fcn.004ad3a0
lea edx, [esp + 0x60]
lea esi, [esp + 0x470]
call fcn.004ad160
lea eax, [esp + 0x60]
push eax
push str.audiochannel.net
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.00499fa0
mov esi, dword [eax]
test esi, esi
jne 0x4a6929
call fcn.004965e0
test al, al
je 0x4a6893
lea eax, [esp + 0x60]
call fcn.00550e30
test al, al
je 0x4a692e
lea eax, [esp + 0x60]
mov esi, 2
call fcn.00401c60
test eax, eax
jbe 0x4a68e5
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
push 0
push str.Running_install_on_demand
mov ecx, ebx
call edx
mov eax, dword [ebp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.004a6170
mov esi, dword [esp + 0x3c]
test esi, esi
jne 0x4a68e5
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x20]
push esi
push str.Completed
lea ecx, [esp + 0x48]
call edx
fld qword [esp + 0x48]
mov ecx, dword [esp + 0x44]
fadd qword [esp + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call edx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
lea ecx, [esp + 0x268]
je 0x4a698a
mov edi, dword [ebp + 8]
mov dword [edi], esi
call fcn.004ad910
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 2
jne 0x4a68e5
lea eax, [esp + 0x60]
push eax
push str.www.nch.com.au
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x480]
call fcn.00499fa0
mov esi, dword [eax]
test esi, esi
jne 0x4a68e5
call fcn.004965e0
test al, al
je 0x4a6893
lea eax, [esp + 0x60]
call fcn.00550e30
test al, al
jne 0x4a6893
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push str.Cannot_verify_the_install_on_demand_component_signature._Please_contact_NCH_support.
mov ecx, ebx
mov esi, 2
call edx
jmp 0x4a68e5
call fcn.004ad910
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
push 0
push str.Installing_Application
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
push 1
push 0x6bc0cc
mov ecx, ebx
call eax
fld qword [0x723578]
mov edi, dword [ebp + 0x18]
fstp qword [esp + 0x58]
mov ecx, dword [ebp + 0x14]
push edi
push ecx
mov esi, 0x7530
call fcn.004b6ee0
test al, al
jne 0x4a6a28
nop
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x3e8
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4a6a45
cmp esi, 0x3e8
jbe 0x4a6811
fld qword [esp + 0x58]
mov eax, dword [ebx]
fadd qword [0x723c68]
mov edx, dword [eax + 0x24]
sub esp, 8
mov ecx, ebx
fst qword [esp + 0x60]
sub esi, 0x3e8
fstp qword [esp]
call edx
mov eax, dword [ebp + 0x14]
push edi
push eax
call fcn.004b6ee0
test al, al
je 0x4a69d0
mov edx, dword [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [edx + 4]
push 0x3e8
push esi
mov ecx, ebx
call eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18